- NewspaperDesign your Post Pages using the Cloud Library Templates
- NewspaperDesign your post pages using the Default Templates
- NewspaperPage templates
- NewspaperCreate a form contact page
- NewspaperCloud Library Templates
- NewspaperCloud Library – Category Templates
- NewspaperHomepage – How to build and set it
- NewspaperPost templates
- NewspaperDefault post templates
- NewspaperCategory templates
- NewspaperPost template ads
- NewspaperSingle External Shortcode and External Shortcode
- NewspaperWP Rocket and Newspaper Theme: Optimization Guide
- NewspaperSearch setup for custom post type
- NewspapertagDiv Composer – Website Manager
- NewspaperBookmark – Save For Later
- NewspaperFlex Block Builder and Flex Loop Builder
- NewspaperModules Builder in Newspaper Theme
- NewspaperIntroduction to CPT and ACF with Newspaper Theme
- NewspaperCreate a frontend submission form
Hello,
Our theme allows the sidebar to be positioned either left or right but you cannot have both at the same time. Only on pages can you achieve this in the tagdiv composer. On posts and other templates besides pages, this cannot be accomplished.
Please read this guide: https://forum.tagdiv.com/smart-sidebar-2/
Thank you!
Please read this guide: https://forum.tagdiv.com/page-templates-2/
Thank you!
Hi,
That filter would be present on default category pages, if enabled
– https://www.screencast.com/t/M13Xdt96Y
Each category template will display it
– https://www.screencast.com/t/bWINp575YT
Taxonomies do not have templates or specific settings in the matter, so they will not display the pull-down filter.
Thanks
For our site we have created an abc index for our posts.
We have a taxonomy built called “alphabetical_letter” which houses all the articles, which are on their own again divided into live-review, album-review and so forth.
We are now in the process of making seperate loop files/taxonomy files.
In our example we did this for the letter N for muziekrecensies category, so that this will display only all articles marked with the category muziek-recensies and the taxonomy alphabetical letter N, using the code further below.
The loop has been set for the first 30 posts, only strange thing is that after this the load more function from the theme kicks in, and displays all articles, not just the ones with the keyword N in the alphabetical letter taxonomy, but all the other ones from the category muziekrecensies.
Is there a way to solve this please ?
the page where this is happening can be seen here (posts currently set to -1 for reviewing reasons):
for the loop-albumrecensies.php
<?php
/**
* If you are looking for the loop that's handling the single post page (single.php), check out loop-single.php
**/
// $global_flag_to_hide_no_post_to_display - comes from page-category-big-grid.php and is a flag to hide the 'No posts to display' message if on category page there are between 1 and 5 posts
global $loop_module_id, $loop_sidebar_position, $global_flag_to_hide_no_post_to_display;
///if we are in wordpress loop; used by quotes in blocks to check if the blocks are displayed in blocks or in loop
td_global::$is_wordpress_loop = true;
$td_template_layout = new td_template_layout($loop_sidebar_position);
if (empty($loop_module_id)) { //not sure if we need a default here
$loop_module_id = 1;
}
$td_module_class = td_api_module::_helper_get_module_class_from_loop_id($loop_module_id);
//disable the grid for some of the modules
$td_module = td_api_module::get_by_id($td_module_class);
if ($td_module['uses_columns'] === false) {
$td_template_layout->disable_output();
}
$args = array(
'post_type' => 'post',
'posts_per_page' => '30',
'tax_query' => array(
'relation' => 'AND',
array(
'taxonomy' => 'alphabetical_letter',
'field' => 'term_id',
'terms' => array( '437' ), //this is by id
),
array(
'taxonomy' => 'category',
'field' => 'slug',
'terms' => array( 'muziek-recensies' ), //this is by slug
),
),
);
// The Query
query_posts( $args );
// The Loop
if (have_posts()) {
while ( have_posts() ) : the_post();
echo $td_template_layout->layout_open_element();
if (class_exists($td_module_class)) {
$td_mod = new $td_module_class($post);
echo $td_mod->render();
} else {
td_util::error(__FILE__, 'Missing module: ' . $td_module_class);
}
echo $td_template_layout->layout_close_element();
$td_template_layout->layout_next();
endwhile; //end loop
echo $td_template_layout->close_all_tags();
} else {
/**
* no posts to display. This function generates the __td('No posts to display').
* the text can be overwritten by the themplate using the global @see td_global::$custom_no_posts_message
*/
echo td_page_generator::no_posts();
}
this for the taxonomy-alphabetical_letter-n.php
<?php
/**
* the custom taxonomy template
* This file is loaded by WordPress on custom taxonomies. You can further customize this template
* for specific taxonomies by copying this file to taxonomy-yourTaxonomyName.php
*/
get_header();
global $loop_module_id, $loop_sidebar_position;
// get the current taxonomy object - note that it's note complete
$current_term_obj = get_queried_object();
//read the loop variables for this specific taxonomy
$loop_module_id = td_util::get_taxonomy_option($current_term_obj->taxonomy, 'tds_taxonomy_page_layout');
$loop_sidebar_position = td_util::get_taxonomy_option($current_term_obj->taxonomy, 'tds_taxonomy_sidebar_pos');
if (empty($loop_module_id)) {
$loop_module_id = 1; // module_1 is the default
}
// sidebar position used to align the breadcrumb on sidebar left + sidebar first on mobile issue
$td_sidebar_position = '';
if($loop_sidebar_position == 'sidebar_left') {
$td_sidebar_position = 'td-sidebar-left';
}
?>
<div class="td-main-content-wrap td-container-wrap">
<div class="td-container <?php echo $td_sidebar_position; ?>">
<div class="td-crumb-container">
<?php echo td_page_generator::get_taxonomy_breadcrumbs($current_term_obj); // get the breadcrumbs - /includes/wp_booster/td_page_generator.php ?>
</div>
<!-- content -->
<div class="td-pb-row">
<?php
switch ($loop_sidebar_position) {
default: //default: sidebar right
?>
<div class="td-pb-span8 td-main-content">
<div class="td-ss-main-content">
<div class="td-page-header">
<h1 class="entry-title td-page-title">
<span><?php echo $current_term_obj->name ?></span>
</h1>
</div>
<?php locate_template('loop-albumrecensies.php', true);?>
<?php echo td_page_generator::get_pagination(); ?>
</div>
</div>
<div class="td-pb-span4 td-main-sidebar">
<div class="td-ss-main-sidebar">
<?php get_sidebar(); ?>
</div>
</div>
<?php
break;
case 'sidebar_left':
?>
<div class="td-pb-span8 td-main-content <?php echo $td_sidebar_position ?>-content">
<div class="td-ss-main-content">
<div class="td-page-header">
<h1 class="entry-title td-page-title">
<span><?php echo $current_term_obj->name ?></span>
</h1>
</div>
<?php locate_template('loop-albumrecensies.php', true);?>
<?php echo td_page_generator::get_pagination(); ?>
</div>
</div>
<div class="td-pb-span4 td-main-sidebar">
<div class="td-ss-main-sidebar">
<?php get_sidebar(); ?>
</div>
</div>
<?php
break;
case 'no_sidebar':
?>
<div class="td-pb-span12 td-main-content">
<div class="td-ss-main-content">
<div class="td-page-header">
<h1 class="entry-title td-page-title">
<span><?php echo $current_term_obj->name ?></span>
</h1>
</div>
<?php locate_template('loop-albumrecensies.php', true);?>
<?php echo td_page_generator::get_pagination(); ?>
</div>
</div>
<?php
break;
}
?>
</div> <!-- /.td-pb-row -->
</div> <!-- /.td-container -->
</div> <!-- /.td-main-content-wrap -->
<?php
get_footer();
Hello inapex,
Sorry but please notice that our theme does not have any such an option that allows you to add many ads to your category pages, unfortunately! You should do it through the code using the do_shortcode() method according to your category template used by you. Please check the following topic from here -> https://forum.tagdiv.com/topic/ads-on-category-pages/ because there was explained how you could add that thing. For more information about the is_category(categroy_ID) function, please consult here -> https://developer.wordpress.org/reference/functions/is_category/
Hope that help!
Thanks.
Hi,
No what i mean is for me to set up the Titles & Meta on the homepage of the website
Usually (before i change to newspaper template) i can set it up here :
https://www.screencast.com/t/3y1898xCZO
But after changing to Newspaper template the option is gone :
https://www.screencast.com/t/lSEDionY
Hi, I cant seems to find options to add any adds in the category page, is this possible ? or not an option in the newspaper template?
Hi,
No need to provide the license key in the forum, if we require it we will request only by email. I will remove it from your post, note that the forum is public and all users can see the topics.
From what I can see you are using a blog style front page at the moment with module 15 selected. If you want to keep the default WordPress blog (latest articles list) and change the module, you can do that in the Theme panel->Template settings
– https://www.screencast.com/t/i6v0iSglyeZ
Module 15 will display the whole contents of the posts when selected for the blog style homepage.
Alternatively you can build a page with the tagDiv composer (or WPBakery page builder) and set it as homepage
– https://forum.tagdiv.com/homepage-how-to-build-and-set-it/
Choose one page builder and deactivate the other, when both are active there could be issues. So if you use the tagDiv composer for example, deactivate the WPBakery plugin.
Thanks
Hi,
That demo uses a footer page, you can edit that page here for example
– https://www.screencast.com/t/stzKeF8LlyR
Since a few updates ago you can now use pages in the footer section, in addition to the footer templates.
Thanks
I updated newspaper theme to 8.7.3 from 8.7.2 and I see this error on frontpage
wp_booster error:
Internal error: The system tried to use an att that does not exists! class_name: td_res_context Att name: “f_title_font_size” as “tds_newsletter4-f_title_font_size” The list with available atts is in td-multi-purpose.php register_templates()
/home/newswebsite1/public_html/wp-content/themes/Newspaper/includes/wp_booster/td_css_res_compiler.php
Please help
My 404 page doesn’t shows for a broken link.
I got it to select 404 template from Theme panel but can you please tell me where I can can put error text massage. Please give me location screenshot…
Thanks…
Hi,
Once entered in the theme panel ad spot the ad will be displayed on all pages. Maybe a solution would be to hide it if you are not using Adsense, just for that page. That is possible with a CSS code. I could give you a solution if that is the case and you can provide a link to the page.
Or maybe use the empty page template for the landing page but then the whole header and footer will not be displayed.
How can I stretch a row to the full width size? Please tell.Can I use WPBakery page builder to stretch a row?
The below is from your blog.
Moreover, starting with the 8.5 version, the Newspaper template offers you the option to stretch a row to the full width size. To gain even more flexibility, in Newspaper Theme you can choose the content area size from 1200 to 1800 px, while the row is at full width. On these rows, you can add any multipurpose element or the blocks marked as “Full” in tagDiv Composer
Thanks
Version 8.7.3 – April 18th, 2018
new: font settins can now be saved as a preset and apply on all the blocks from tagDiv Composer easly
fix: pinteres board url
fix: facebook videos support now works again
fix: we updated to the latest instagram api, this should fix all the problems
fix: updated multipurpose plugin with fixes for: boarders, image settings, newsletter and font settings
fix: Big grid slider with no posts
fix: Various css fixes
fix: header ad when block template 17 is used
fix: gallery slider now works in pages as expected
fix: background click ad on template 8
fix: amp points and percents are working as expected now
fix: css fixes for trending now block
Hi. The video used hast a small black fringe at the top, but in the Big Grid used in the homepage this fringe is much bigger. We’re using the Post Template Style 8 and video format post, we think the problem is how the thumbnail is being generated for the Big Grid 4.
Hello jp11123,
You should try the pagebuilder+latest articles+pagination as page template. Please check more details at our documentation from here -> https://forum.tagdiv.com/page-templates-2/
Thanks for your understanding!
Hi,
Let’s take them one at a time. What exactly do you mean by generating visuals? if you could provide some examples maybe and more details about it it would be helpful.
All pages can be created and designed as you wish. That means that each page can have a different page template
– https://www.screencast.com/t/n5qomSwz9RiR
And the page content you want – https://www.screencast.com/t/SHvdYtHEvjz9
This is a guide for the composer and also the block settings
– https://forum.tagdiv.com/tagdiv-composer-tutorial/
– https://forum.tagdiv.com/block-settings-guide/
Please correct me if I misunderstand something.
Thanks
Hi,
We will try to help you with the problems you are having.
1. Don’t know what exactly you want to insert. Once installed and active the option to edit pages with the tagDiv composer will appear in many places
– https://www.screencast.com/t/YlNOVF86vq5w
– https://www.screencast.com/t/zJKN2fCS267e
– https://www.screencast.com/t/UYKSKp24zST
2. The weather widget works properly if you configure it as specified here
– https://forum.tagdiv.com/weather-widget/
– https://www.screencast.com/t/0PKq7X7tygs
I have checked top bar and widget and they are both working. Try changing the API key and make sure you use valid locations.
3. If you could provide some more details about what exactly is the problem it would be helpful. For the posts I inspected I see that you use post template 5, this template does not display the featured image in the post page
– https://forum.tagdiv.com/post-templates-2/
The thumbnails that are created seem to not be created properly
– https://www.screencast.com/t/cO2cr4Xd88
The module you are using for the blog page uses this thumbnail
– https://www.screencast.com/t/bEmz1toX5Vx
Please regenerate the thumbnails using this guide, this should re-create all the thumbs
– https://forum.tagdiv.com/search/regenerate/
Thanks
Hi,
Unlike WPBakery page builder which can be enabled for posts, the tagDiv composer cannot be used on posts at the moment. The WPBakery page builder has options to save templates
– https://www.screencast.com/t/aWFwTtbCeZX
The tagDiv composer has options to save rows or elements on the page
– https://www.screencast.com/t/AD3psdCfX
– https://www.screencast.com/t/GrLyMvs8kbl
These can then be used on other pages.
Posts at the moment will have to be styled with the predefined post templates
– https://forum.tagdiv.com/post-templates-2/
You can either choose post templates for each post as you wish, or have them inherit a global setting from the theme panel
– https://www.screencast.com/t/vCAwfgvmSKCO
– https://www.screencast.com/t/GM0iPhjMt
Thanks
Hi,
The tagDiv composer cannot be used to create posts at the moment, only pages
– https://forum.tagdiv.com/tagdiv-composer-tutorial/
Posts have predefined templates you can choose from
– https://forum.tagdiv.com/post-templates-2/
This will change in a future update, there will be modifications to how the posts are created. I cannot say more unfortunately.
Thanks
I updated to the latest 8.7.3 for two different sites and one of them is giving me an error on the main home page. The other site is working perfectly. The code is below. It is for the site https://epicdigest.com I updated using ftp. You could check out how the page looks visiting the site.
wp_booster error:
Internal error: The system tried to use an att that does not exists! class_name: td_res_context Att name: “f_title_font_size” as “tds_newsletter5-f_title_font_size” The list with available atts is in td-multi-purpose.php register_templates()
/home/juicee5/epicdigest.com/wp-content/themes/Newspaper/includes/wp_booster/td_css_res_compiler.php
Hi,
Maybe there are not enough posts in the categories, only posts that belong to the currently viewed category page will be displayed. First the top grid will be populated and if there are more posts they will be displayed below the grid.
This is unusual since it seems there are similar number of posts in all your category pages. So that could mean that something is not working as intended. If you made any modifications to the category template files or maybe the loop file, please try and remove them temporarily. Additionally deactivate all non theme plugins as a quick test, check if this solves the issue. Let us know.
Thanks
Hi,
I just want to add at the end of every blogpost (articles) few links (for every blog post). So I’m looking where can I find and edit the structure page for all my articles to add like a widget that I can edit to apply it on all my articles in once.
I’ve found a way to do that with the side bar and I search now how can I do the same things bug with the other part (just below my articles) not the side bar… How can I add element on this kind of pages ?
In the WP menu, when I go in “Newspaper” – “Theme Panel” – “Template Settings” – “Blog and post template”
I have few choices but how can I create a new one ? Or modify one that altready exist ?
Thanks
Hello,
you can change the block title colors from the tagdiv composer page builder:
https://www.screencast.com/t/RL6dg8UiM5vd
Unfortunately if you use the wpbakery page builder, the color options for the title are no longer present because of the implementation we made for our own page builder. If this is the case, you can use this css in the theme panel-> custom css box to change colors:
.td_block_template_4 .td-block-title > *{
color:white!important;
background-color:#8224e3 !important
}
Thank you!