- NewspaperWP Rocket and Newspaper Theme: Optimization Guide
- TutorialsDefault Block Settings Guide
- TutorialsOffset Feature
Generally you can’t use a commercial theme for AMP pages without major re-construction.
Much simpler to use the Automattic AMP plugin then modify the default template.
The AMP format is about speed on a phone and not ‘presentational’ elements as on desktop.
( I don’t work here; but using AMP for 2 years )
Hi,
There is no documentation for changes in the code like this. The article titles displayed on modules (h3) could be changed like this if absolutely required
– https://forum.tagdiv.com/topic/how-to-change-home-page-postarticle-headings/
And the block titles for each block template
– https://www.screencast.com/t/Gixgnzl2dbkB
Thanks
Check your Google News sitemap. Theme has zero control over what Google News captures (we’ve been in Google news since the 2005 beta, with 15 sites captured daily). Google checks the sitemap first, then uses its classic bot. If there is no image specified (e.g., a featured image set, showing in the Google News sitemap, or if you have your sitemap set to use multiple images), GN may capture the first or largest image in text after first paragraph as was the case prior to GN specific sitemap.
If you have proper open graph meta tags, and a Google News sitemap; those will be the first cases for images captured. When you use certain images as ‘backgrounds’ even if set as featured they may skip that and use first ‘in post’ image.
So, if you are getting different results with SAME post on two different themes, then YOU need to determine WHAT you are doing differently; e.g., again, if you use a large featured image OUTSIDE the post, or as background on one theme, and as inline image in another, Google may treat those as two different things. Not apples to apples.
Theme provides many options for how images are placed; so if Google is not following your ‘Google News Sitemap’ properly, to fall back on the ‘on page capture’ method, which is outside anybody’s control.
Put another way – nothing the theme developers can do — YOU need to choose a page template that works with GN if they are skipping your GN Sitemap for some reason and/or ignoring your og:image tag(s).
Also note, Google may not show images at all sometimes depending on desktop or mobile view; may show mobile view on desktop, etc. They are in a transition to ‘mobile first’ which you can tell when you see vertical story boxes in borders vs old school laundry list method of display.
NEWS GROUPINGS:
ALSO: if your story is a follow-on (clone or ‘also ran’) of a news item already published elsewhere, they may “group” your news item with those as a “related news…” grouping, and choose the first or last post in that group as the image shown, in certain instances; again, nothing you can do about THAT
-
This reply was modified 8 years by
simchris.
You cannot. And you do not have to. The default template is exactly like the page builder + latest but without the latest articles section. There is no other difference between templates.
Thanks.
hi,
I can not cut back the default template, so I can not reach my goal … I just want to use this page template as my homepage.
Hi,
That would be the page title, it should only appear if the page template with title is selected
– https://www.screencast.com/t/3imZUHnx3kGg
You could select the default page template, this will not display the page title.
Thanks
Hello,
When using an overlay menu, you will have to make the menu visible for all other templates besides the page and implement the css for that page only. Please make the menu black or other colors so you can see it on every other template and then add this css code to your page in the tagdiv composer:
.home .td-header-wrap .td-header-menu-wrap .sf-menu>li>a{
color:white;
}
Thank you!
Hey, hello! As you said, I followed the second method of changing the page template to achieve the effect I want. But there was a new problem, the first page of the navigation bar will display the name of the page, I want to shield them, what should I do?

I want to screen out the contents of the picture red box …
I posted something about this on the forum last year, with some code to add to the category and tag templates to add a ‘page x’ to the descriptions on the page and h1. I have no idea where that is now, but included the php code to fix that.
e.g.
Stuff About Bunnies – Page 2
and
Page 2 – Wonderful bunny category description page.
<?php
/**
* The single post loop Default template
**/
if (have_posts()) {
the_post();
$td_mod_single = new td_module_single($post);
?>
<article id=”post-<?php echo $td_mod_single->post->ID;?>” class=”<?php echo join(‘ ‘, get_post_class());?>” <?php echo $td_mod_single->get_item_scope();?>>
<div class=”td-post-header”>
<?php echo $td_mod_single->get_category(); ?>
<header class=”td-post-title”>
<?php echo $td_mod_single->get_title();?>
<?php if (!empty($td_mod_single->td_post_theme_settings[‘td_subtitle’])) { ?>
<p class=”td-post-sub-title”><?php echo $td_mod_single->td_post_theme_settings[‘td_subtitle’];?></p>
<?php } ?>
<div class=”td-module-meta-info”>
<?php echo $td_mod_single->get_author();?>
<?php echo $td_mod_single->get_date(false);?>
<?php echo $td_mod_single->get_comments();?>
<?php echo $td_mod_single->get_views();?>
</div>
</header>
</div>
<?php echo $td_mod_single->get_social_sharing_top();?>
<div class=”td-post-content”>
<?php
// override the default featured image by the templates (single.php and home.php/index.php – blog loop)
if (!empty(td_global::$load_featured_img_from_template)) {
echo $td_mod_single->get_image(td_global::$load_featured_img_from_template);
} else {
echo $td_mod_single->get_image(‘td_696x0’);
}
?>
<?php echo $td_mod_single->get_content();?>
</div>
<footer>
<?php echo $td_mod_single->get_post_pagination();?>
<?php echo $td_mod_single->get_review();?>
<div class=”td-post-source-tags”>
<?php echo $td_mod_single->get_source_and_via();?>
<?php echo $td_mod_single->get_the_tags();?>
</div>
<?php echo $td_mod_single->get_social_sharing_bottom();?>
<?php echo $td_mod_single->get_next_prev_posts();?>
<?php echo $td_mod_single->get_author_box();?>
<?php echo $td_mod_single->get_item_scope_meta();?>
</footer>
</article> <!– /.post –>
<?php echo $td_mod_single->related_posts();?>
<?php
} else {
//no posts
echo td_page_generator::no_posts();
}
Hi,
maybe (hopefully) my problem is simpler that I think but I really need some help here: Could you show me how to create an archive (a collection of all previous posts, sorted by day, month, year…)?
As far as I understand I should create a new Page called “Archive”, then in the side bar under “Attributes” choose Template –> Archive (which should be archive.php). The problem is that only templates like “Pagebuilder + Empty Page, Pagebuilder + Overlay…” show up here, but no Archive Template.
So I added a comment-line to archive.php to make it show in the dropdown – which it does now. But when I select it, all I get is an empty page (except for the headline “Archive”).
Could you help me and show me how I can display content on the archive page now?
Hi,
If the mobile theme is installed, this requires content for pages to be entered through the mobile editor
– https://www.screencast.com/t/wPSsa0plC8K
Note that the plugin is optional, it is used for example if you want to display a different, lighter version of the website. The front page is predefined, only one template template will be shown on all posts, category pages etc.
In case you want to display the same content from desktop on mobile, simply deactivate it. You can find out more about the mobile theme here
– https://forum.tagdiv.com/the-mobile-theme/
We will try and add more features to the mobile theme in coming updates.
Thanks
Hi,
The latest articles section comes with the page template, it can be removed by selecting a different page template, like the default template for example
– https://www.screencast.com/t/9tqlDSmSs
Thanks
I’m currently checking my page a bit in terms of SEO. I came across the following error.
I do not know if it comes from the theme or the plugin. But due to the text post_views_count 0, slide_template default, tdc_dirty_content 1 I suspect the source in the theme.
Where can this come from?
It can be found here, for example
https://salzsau-panorama.de/veranstaltungsort/sportpark-kreideberg/
Hi,
I believe it would be possible. There is a page template that places the menu as an overlay, also making it transparent
– https://www.screencast.com/t/WYZWbqn3cgE
The rows have an option to set a YouTube video
– https://www.screencast.com/t/rEhzs3CTZ3Z
So you could create a similar design with these suggestions, the overlay page template and row video background. For the moment the video are only supported from YouTube, an ID must be entered
– https://www.screencast.com/t/oM9MnD2I
Thanks
Hey, we bought the Template yesterday. We installed it and it worked. Have edited the page with the TagDivComposer. Now we wanted to make small changes today. the TagDivComposer does not work anymore. Clicking on Edit with TD Composer will cause a gray circle to rotate. Forever.
Hello,
If you want to remove the menu on pages, there is a blank page template that allows you to remove the menu completely: https://www.screencast.com/t/m8Q9lcuO
If you want to remove the menu completely from your website you will have to remove the theme code from here: https://www.screencast.com/t/4kaTJSrLTD
Thank you!
Hi,
That does not seem to be coming from the theme, from little I can see in the screenshot. The theme will display the date and author name on modules and blocks, in pages. Those can be disabled in the theme panel
– https://www.screencast.com/t/GvSeoqzU
But that does not seem like an element added by the theme. It could be added there wither by a plugin or maybe modifications to the theme files (page templates maybe).
If you could provide a link to your website where this displayed, we will inspect it and try to identify where exactly it originates.
Thanks
Hi,
That is unusual, the mobile version will display exactly the same content as desktop, the filtering will not be changed in any way. Unless you use the mobile theme, then a different version will be displayed on mobile
– https://forum.tagdiv.com/the-mobile-theme/
There will be a top grid showing three posts from the Featured category, and a latest articles section below. Also there will be predefined templates for the post pages, category pages etc.
If you are not using the mobile theme, and there is a filtering problem, please provide a link to your website so we can inspect it.
Thanks
All WP themes read the comment count data from the WP dbase; it’s up to the comment plugin to ‘write’ that info to the dbase. Disqus does that, but it doesn’t seem to work on the author page, but does on the post pages themselves, I found when I used it. Facebook is loaded on FB’s system so not really technically possible without setting up some API hooks which is outside normal scope of theme.
I don’t work here -just some feedback.
Theme has worked fine with Disqus since 2013, so not an issue as long as you setup the sync properly to save data into your WP install — not managed by theme. Again, only issue is the comments count on ‘author page’ template; which can be removed from the template. May not work on modules, but I always turned that off as I thought it served no purpose and used system resources.
Food for thought anyway.
Hi,
The latest articles section will always be displayed on then bottom of the page, after the content of the page. It cannot be moved to a different location.
Consider using the available blocks and grids, for example a block can be named Latest articles, sorted by latest posts and placed on top of the page
– https://www.screencast.com/t/9lvLSL90Z1q1
You can paginate blocks like this
– https://www.screencast.com/t/cc2zqV2No
So you could create a replica of the Latest articles on top using a block, and deactivate the one on bottom. It can be deactivated by selecting a different page template
– https://www.screencast.com/t/AHppPVqCceB
Thanks
Hello,
The latest post loop will show all of the articles you have. You can limit the number shown on each page but not the whole number. This can only be done on individual blocks. The solution here would be not to use the page builder + latest articles section. Instead switch to the default template and create a block named latest articles and limit the pagination for it to the number of posts you want.
Thank you!
Hello friends, from yesterday to today TagDiv Composer stopped working suddenly for no reason.
When you try to edit any page or even a new page, it tries to load, however it enters infinite loading, without opening the visual composer editor blocks.
In the inspect Chrome browser console function, the following error appears:
x Uncaught TypeError: Cannot read property ‘next’ of undefined
js_files_for_wrapper.min.js:18
at Object.multiNext (js_files_for_wrapper.min.js:18)
at Object.parse (js_files_for_wrapper.min.js:18)
at Object._getPostOriginalContentJSON (js_files_for_wrapper.min.js:192)
at js_files_for_wrapper.min.js:383
at Function.m.each.m.forEach (underscore.min.js:5)
at js_files_for_wrapper.min.js:383
at Function.m.each.m.forEach (underscore.min.js:5)
at Object.updateSavedShortcodes (js_files_for_wrapper.min.js:382)
at Object.init (js_files_for_wrapper.min.js:365)
at js_files_for_wrapper.min.js:385
See the printscreen: https://www.screencast.com/t/gmmbZuKbLC
Remember that I tried everything, accessed through several browsers, disabled all the plugins and even tried to go back to the previous version of Newspaper, but nothing worked.
The only thing different that I remember doing yesterday, before the problem, was to test the new function to save sections (shortcodes, rows) the templates, to use them on other pages. However, I do not know if this may have influenced the error.
I hope you find the fault.
Thank you!
I’m trying to update a shortcode for a child template, its posible customize a custom shortcode on a child-theme folder like visual-composer with vc_templates ¿?
Like this https://wpbakery.atlassian.net/wiki/spaces/VC/pages/524294/vc+set+shortcodes+templates+dir
Thanks !
Hello,
If you want to hide the post name in desktop as well, you simply remove the @media (max-width:767px) { part and then the code will affect all of the screen sizes.
As for the breadcrtumbs on homepage, please change the page template: https://forum.tagdiv.com/page-templates-2/
Thank you!