- 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
I needed multiple authors names below the title and multiple authors boxes on articles. Using the various solutions found on this forum I have compiled a complete solution
Plugin used: Co Authors Plus 3.2.2
Multiple authors links below the article title
Modified files: find the file template that you want to use > loop-single.php, loop-single(1, 5, 9, 10).php, single_template_(2, 3, 4, 6, 7, 8, 11, 12, 13).php,
Replace this:
<?php echo $td_mod_single->get_author();?>
With:
<?php
if (td_util::get_option(‘tds_p_show_author_name’) != ‘hide’) {
//echo $td_mod_single->get_author();
$coauths = get_coauthors();
if (count($coauths) > 1) {
echo ‘<div class=”td-post-author-name multiple-authors”><div class=”td-author-by”>De către</div>’;
foreach ($coauths as $key => $coauth) {
echo ‘user_nicename . ‘”>’ . $coauth->display_name . ‘‘;
}
echo ‘<div class=”td-author-line”> – </div></div>’;
} else {
echo $td_mod_single->get_author();
};
}?>
CSS:
header .td-post-author-name.multiple-authors a {
margin-right: 0;
}
header .td-post-author-name.multiple-authors .td-author-by {
margin-right: 5px;
}
.td-post-author-name.multiple-authors a:after {
content:”,”;
margin-right: 6px;
}
.td-post-author-name.multiple-authors a:last-of-type:after {
content:””;
margin-right: 3px;
}
Multiple authors boxes on article page
Modified files: find the file template that you want to use > loop-single.php, loop-single(1-13).php
Replace this:
<?php echo $td_mod_single->get_author_box();?>
With:
<?php
if (td_util::get_option(‘tds_show_author_box’) != ‘hide’) {
//echo $td_mod_single->get_author_box();
$coauths = get_coauthors();
if (count($coauths) > 1) {
echo ‘<div class=”author-box-list”>’;
foreach ($coauths as $key => $coauth) {
echo ‘<div class=”author-box-wrap”>user_nicename . ‘”>’;
echo get_avatar( $coauth->user_email, ’96’ );
echo ‘<div class=”desc”><div class=”td-author-name vcard author”><span class=”fn”>user_nicename . ‘”>’ . $coauth->display_name . ‘</span></div>’;
echo ‘<div class=”td-author-description”>’ . $coauth->description . ‘</div>’;
echo ‘</div><div class=”clearfix”></div></div>’;
}
echo ‘</div>’;
} else {
echo $td_mod_single->get_author_box();
};
}?>
Note: the multiple author boxes will work only with default users gravatar, not with the custom avatar plugins
Hope that helps
Hi,
The Latest articles section can be removed by selecting the default page template, in the page attributes settings
– https://www.screencast.com/t/dAa5WxDT
This section will always be displayed on the bottom of the page, it cannot be moved on top of the page. However you can place on pages any block or grid from the available ones, in any position or order, with the composer
– https://forum.tagdiv.com/tagdiv-composer-tutorial/
Latest articles could be any block you want, with the content sorted by latest and the same name if that is what you want. This is a useful guide abut the block settings and options
– https://forum.tagdiv.com/block-settings-guide/
Some footer templates come with predefined content, others are empty templates
– https://forum.tagdiv.com/footer-templates/
You can choose an empty footer template, and insert the widgets you want, in the Widgets section
– https://www.screencast.com/t/boLeDbvnDf0f
There is a weather widget in the theme, more about it here
– https://forum.tagdiv.com/weather-widget/
But you can try others as well, if required.
Thanks
My URL: http://majorfuss.com
1. I have Grid 4 for my categories template. How can I manually choose the posts that show in the grid?
2. The pagination at the bottom of my categories’ article display uses ‘pages 1, 2, etc’. How can I change this from pages to ‘Load more’ option? https://snag.gy/DpWXei.jpg
3. When I’m on the Music category page, the “Music” main menu item has a permanent hover. Is it possible for all music categorised posts to include this hover as well? https://snag.gy/4xAUJO.jpg
4. LazyLoad animations. I want to keep the images in my top grid ‘Fade & Scale’, but I want the rest of the images on the site to appear immediately without LazyLoad. Is there a way to do this? If not, is there a way to disable LazyLoad on the site entirely? (Disabling it in the theme panel doesn’t work.)
5. This might be a WordPress issue, but just incase you are able to help me: I would like four “News” subcategories for each parent category Music, TV, Movies, Toys. So the URLs for my posts would be “music/news”, “tv/news”, etc.
However, WordPress won’t allow me to create a duplicate “news” slug for each of the four parent categories. Are you aware of a way round this? A plugin, perhaps?
Thank you very much as always.
I have selected module 19 for article display view. However, the result is not the same as the one showed in official page. All the words in each post are fully loaded instead of partially loaded and result in a very strange layout. Please see attached photos for reference. I hope there is some solution to solve this problem.



Hi there!
Is it possible to use only the Visual Composer to build pages and posts? If so, do I need to deactivate your page builder?
I’m very familiar with Visual Composer and there are a ton of add-ons and extensions that will add more functionality that we need.
I also need to know if we don’t use your page builder what challenges will we face or what features will we lose?
Can I still use your post templates if I use VC?
Hi,
I am using the “mega menu from pages” option for some of my menu items (e.g. “Hindernisläufe”) and it works great on the homepage. But when being on a post or page and hovering over this specific menu item with the “mega menue from pages” setting, the content or elements of the post / page are loaded into the mega menue.
# Normal view on Homepage
Image: https://picload.org/view/dgaalcdi/bildschirmfoto2017-09-22um02.2.png.html
URL: https://www.mudradar.de/
# Example for Social Buttons loaded into Mega Menu
Image: https://picload.org/view/dgaalcdl/bildschirmfoto2017-09-22um02.2.png.html
URL: https://www.mudradar.de/live-stream-spartan-andorra-1910
# Example for whole Content loaded into mega Menu
Image: https://picload.org/view/dgaalcda/bildschirmfoto2017-09-22um02.3.png.html
URL: https://www.mudradar.de/testbericht-ocr-laufschuh-more-mile-cheviot-3-1460
Yes, I am definetely aware that you only support a specific number of plugins and that the above described effect may (!) have something to do with plugins that are not on your list.
I am using Shariff for the Social media Buttons (because we have special privacy restrictions in Germany regarding those buttons and your implemented social media buttons are unfortunately not allowed to be used in Germany).
And for the Review I am using WP Product Review Lite because your implemented review functionality does not offer the option to put the Box above the content and have special fields like Affiliate Links, etc.
I fully understand that you can not support 3rd party plugins, and I don’t expect you to. But I am kindly asking you to take a look into this Newspaper related bug. It seems not to be a “not supported plugin bug”, but a general one.
I can not use the included “mega menue from page” option because of unpredictable site effects that haven’t something to do with a 3rd party plugin but with your theme’s mega menue itself. Btw: it doesn’t matter which post template I am using – the described mega menue bug occurs everytime.
Please don’t get me wrong – your theme is great and the functionality and scalability is really amazing. But from my understanding there should be a general guarantee that the site or design does not break due to plugins that have nothing to do with the theme’s functionality.
I would really appreciate when you could check the described bug and won’t answer this post with the generic “we only support the following plugins…”.
Many thanks in advance! Looking forward to hearing from you!
Regards,
Dinah
Chris,
Here is the error log from NGINX for broken website:
2017/09/21 23:10:41 [error] 1597#1597: *122945 FastCGI sent in stderr: “PHP message: PHP Fatal error: Uncaught Error: Call to undefined function is_category() in /var/www/neosagon.gr/wp-content/themes/Newspaper/includes/wp_booster/td_page_generator.php:25
Stack trace:
#0 /var/www/neosagon.gr/wp-includes/class-wp-hook.php(298): td_page_generator::get_breadcrumbs_json_ld(”)
#1 /var/www/neosagon.gr/wp-includes/class-wp-hook.php(323): WP_Hook->apply_filters(NULL, Array)
#2 /var/www/neosagon.gr/wp-includes/plugin.php(453): WP_Hook->do_action(Array)
#3 /var/www/neosagon.gr/wp-includes/general-template.php(2589): do_action(‘wp_head’)
#4 /var/www/neosagon.gr/wp-content/themes/Newspaper/header.php(11): wp_head()
#5 /var/www/neosagon.gr/wp-includes/template.php(688): require_once(‘/var/www/neosag…’)
#6 /var/www/neosagon.gr/wp-includes/template.php(647): load_template(‘/var/www/neosag…’, true)
#7 /var/www/neosagon.gr/wp-includes/general-template.php(45): locate_template(Array, true)
#8 /var/www/neosagon.gr/wp-content/themes/Newspaper/page.php(7): get_header()
#9 /var/www/neosagon” while reading upstream, client: 79.131.71.135, server: neosagon.gr, request: “GET / HTTP/2.0”, upstream: “fastcgi://unix:/run/php/php7.0-fpm.sock:”, host: “neosagon.gr”, referrer: “https://neosagon.gr/wp-admin/tools.php?page=tc-options”
You can see that ../Newspaper/includes/wp_booster/td_page_generator.php calls undefined function is_category() at line 25.
Please help me to resolve the issue.
Sotiris
Hi,
The title meta will be displayed in the page source regardless of it being displayed on the actual page or not (by selecting the page with title template in the page attributes section). There are settings in The Yoast SEO plugin for this
– https://www.screencast.com/t/LEpg3iRXqr
– https://www.screencast.com/t/7E9l0jJX
Please correct me if I misunderstand what you are asking.
Thanks
Hi,
The Latest articles section can be removed from the page, by selecting the default page template, in the page attributes settings
– https://www.screencast.com/t/LUrRVy2kMwB
More information about the page templates here
– https://forum.tagdiv.com/page-templates-2/
The sidebar would be removed as well by disabling the Latest articles, this section can have a sidebar set to it
– https://www.screencast.com/t/kwRLo4KMh7
Widget in the sidebars can be customized in Appearance->Widgets
– https://www.screencast.com/t/XaB09ZXyYG
Thanks
Hi,
That cannot be changed. That is the way the mobile theme is designed, the front page content cannot be edited. The mobile theme will apply predefined templates for the front page, post page, category page, smart lists etc. This is intended for the purpose of making the mobile theme as light as possible on performance.
Content for mobile pages is limited to the Mobile editor.
You can choose not to activate the plugin, then the same content from desktop will be displayed, adapted for all devices.
Thanks
Hello, thank you for your information, but how can I change Homepage – the “Mobile Theme” single predefined page template.
top grid – displays 3 featured posts (posts included in the Featured category)
latest articles – displays the latest articles
Thank you
Hello mskssk1,
Notice that you can use the Latest posts as sort type for your Blocks and also, notice that if you want and if you like it, you can use a page template which has implemented the Latest Articles at the bottom of the page. Please check the manual here -> https://forum.tagdiv.com/newsmag-page-templates/
I suppose that you are referring to the Ajax Filter option which can be found in Block Settings, according to our manual, like this -> https://forum.tagdiv.com/block-settings-guide/
Thanks for your understanding!
Hello stylewish,
Notice that you can try using a block set up by Latest or you can set up your page template to be Page Template+Latest Articles+Pagination -> https://forum.tagdiv.com/page-templates-2/.
Thanks for your understanding!
Hi,
You can simply edit the page with the composer and change the block template header style, to the one you want for each block on the page
– https://www.screencast.com/t/3R8S16sWrc
Here you can see all the available block header styles
– https://demo.tagdiv.com/newspaper/block-header-1/
Also more useful information about the block settings and options here
– https://forum.tagdiv.com/block-settings-tutorial/
Please let us know if you need further help.
Thanks
Hi,
There is no page or post template at the moment that does not display the header and footer. These elements are meant to appear on the whole website, meaning pages, posts category pages etc.
The only way is to hide them like shown, that would be the easiest if this is required.
Thanks
Hi,
If you mean the post sharing in the post page, that can be disabled in the theme panel
– https://forum.tagdiv.com/sharing/
The socials displayed in the header and footer can be disabled like this
– https://forum.tagdiv.com/top-bar-templates/
– https://www.screencast.com/t/goLzT0zL2
Or the accounts can be removed from the Social networks settings
– https://www.screencast.com/t/sMnYDm3kYEm7
Thanks
Hello!
Thank you for your wonderful work everybody, seriously appreciate the layout, simplicity and design.. Truly..
I’m currently in the process of getting my site ready to publish but I’m having difficulty removing the page navigation on the home page.
Specifically the text in the top left corner that reads ‘home > home’
Is this in built to the design, or is there a way for me to remove it?
Also, I have selected ‘PageBuilder + Page Title’ as the template, yet I don’t want the Page Title displayed. Is there anyway to have just the PageBuilder option?
Thank you kindly!
Hi,
You will have to keep trying until you get the desired results. Unfortunately I cannot test this on my end, so I cannot provide a surely working solution. Roll back to the code that worked before. Double check the code conditions added and make sure there are no syntax mistakes and the code is written properly (maybe use an online PHP code checker after you are done just to be sure)
Comments for pages are defined in the page templates files as you mention, and the comment section for posts is in the single files
– https://www.screencast.com/t/s39qAeb3
Thanks
Hi Simion,
thanks for your reply. I understand that normally the pages are meant to be built with the offered templates, blocks, elements, etc. But in this case I definitely need a customized solution, because I just need the design (HTML & CSS) to make a dynamic page look like template 8.
The homepage one top post is very similar to what the page should look like – that’s great! I just need to figure out how to fill the content dynamically – the functionality offered within the homepage one top post via page builder does not fulfill my needs.
But this will be my task, I fully understand that you can not support individual customization requests.
Thanks for your suggestions.
Dinah
Hi,
Pages need to be built with the page editors, and the elements that are available not through template code modifications. Something similar to post template 8 is the Homepage post element
– https://demo.tagdiv.com/newspaper/homepage-one-top-post/
You can place that on pages, and use the posts you want. This may be what you are looking for.
Thanks
Hi,
If the tagDiv composer is interfering with other Visual composer elements, deactivate this editor from the plugins section. Then everything will have to display like before.
Deactivate the tagDiv composer, then simply create pages with Visual composer.
There should be no issues like grids displaying like you mention, even if both editors are active
– https://www.screencast.com/t/wCIbRfhAop3Q
– https://www.screencast.com/t/VuR7LEHQ
This could be caused by other things, like custom code, plugins or maybe a child theme. Please try as a test to deactivate all other plugins except theme plugins, and check if this has any effect. The page template you are referring to has to display properly with both composers active, or just with Visual composer.
Thanks
Hello,
Our theme cannot go full screen width. It has a fixed width of 1078 px for the main content. On pages you can use a stretch row option from the row settings and you can force the header and footer to be full width from the theme panel: https://www.screencast.com/t/4gBGF2cG9c2q
You will not be able to make the post, categories and other templates full width though.
Thanks.
Hi,
The background color or image when set, will be displayed in the background of pages and posts
– https://forum.tagdiv.com/background-introduction/
The inner containers and article content area will not be affected. I see you have used custom code to modify the default color for that post template
– https://www.screencast.com/t/bfrMVVmY
You could do that for the default post template if that is what you need, like this
– https://www.screencast.com/t/wwEBx0v6Lyi
.single_template .post {
background-color: #eff5f7;
}
The code must be entered in Theme panel->Custom CSS section, if you decide to use it. Please correct me if I misunderstand.
Thanks
Hi,
We have not tested this slider add-on with the theme, please note that the theme functionality may not be compatible with such a slider for the featured image inside the post page. As it can be seen in the post template files the theme has a different featured image implementation, it may not be easy to do something like this, or even possible.
Thanks
Hi,
I use the Event Calendar plugin with the post type = “tribe_events” that is also successfully recognized in CPT & Taxonomy from your theme. I also use a child theme in which I copied the page.php (that is used from the Event Calendar plugin to list the events).
Now I want that the comment_template is always displayed in the page.php (of my child theme) when the post type = “tribe-events”. Because the comments can only be enabled / disabled in the Theme Panel for ALL pages without any exceptions.
Therefore I made some amendments in the page.php that worked pretty well – the post type is recognized successfully and the comments are always shown, when the post type = tribe events. When the post type is not tribe events the comments template is not shown 🙂 The disadvantage of this is, that in case I want to use the comments on another page in future, it won’t work properly without making changes to the code. Because I disabled the settings in Theme Panel with my amendments.
So I tried to enhance my code a little bit to show the comments always for post type = “tribe events” AND to make the settings in the theme panel still work.
(...)
<div class="td-page-header">
<h1 class="entry-title td-page-title">
<span><?php the_title() ?></span>
</h1>
</div>
<div class="td-page-content">
<?php
the_content();
// check if post type is tribe-events
if (get_post_type() == 'tribe_events' ) {
echo 'Yes, post type is tribe events <br />';
$checkcomment = comments_template('', true); //show comments
// when post type NOT tribe events, check what is set in Theme Panel
} else {
echo 'Nope, post type is not tribe events <br />';
$td_enable_or_disable_page_comments = td_util::get_option('tds_disable_comments_pages'); //check settings
// when comments not allowed in Theme Panel settings, don't show comments
if ($td_enable_or_disable_page_comments != 'show_comments') {
echo 'Sorry, comments are not allowed for pages';
$checkcomment = comments_template('', false);
// when comments are allowed in Theme Panel settings, show comments
} else {
echo 'Great, comments are allowed for pages';
$checkcomment = comments_template('', true);
}
}
endwhile; //end loop
}
?>
</div>
<?php echo $checkcomment;?>
</div>
(...)
Unfortunately the comments template is not displayed on any other pages (although I enabled it in the Theme Panel settings) than on the one with post type =tribe-events”.
On all pages my “testing texts” from the echos (like “Great, comments are allowed for pages”) are always correct (depending on my settings in the theme panel). So the code seem to work …almost… properly :-/
Could you please help me or give me advice whether I have overseen something?
Many Thanks in advance,
Dinah