- NewsmagPage templates
- NewsmagCategory templates
- NewsmagFooter templates
- NewsmagDefault post templates
- NewsmagPost templates
- NewsmagHomepage â How to build and set it
- NewsmagtagDiv Composer Tutorial
- NewsmagCustom Post Type Support
- NewsmagNewsmag documentation
- NewsmagHow to use the Visual Composer plugin
- NewsmagHeader styles
- NewsmagSmart sidebar
- NewsmagCategory grid styles
- NewsmagCategory top post styles
- NewsmagHow category settings work
- NewsmagFeatured images
Hi Lucian,
Thanks for your feedback;
but Your solution doesn’t solve entirely my problem.
Here is why:
your fix removes ALL featured images from being displayed.
But some posts are illustrated with an ‘active’ feature image which i would like to keep being displayed, like the 3rd one on the page http://le-meilleur-du-golf.com/golf-swing/fun-insolite/ , called ‘A quoi ressemblera le golf dans le futur ?’
(http://le-meilleur-du-golf.com/jeu-de-golf-futur/)
If i apply your css fix, the image here will be removed as well, which is not good.
So the css fix should should remove only feature image of posts with post template ‘style 5’
is it easy to fix?
thanks a lot
Likely need to Google how to modify WordPress, as not a theme function, if you want to redirect all author pages to contact page.
For the templates, you would likely need to edit the “author” element in the templates to replace the default link to author template to the contact us page.
So, to hack the theme, you would likely start by looking at the single post template you’re using, then find the block which pulls the author name, and then edit from there.
Hi,
Not sure what you mean as the VC page builder can’t be used on archive pages. I have also checked your site and found that you have more that 3 posts on your archive page: http://screencast.com/t/cFMc2CCFaBe
You can chose the number of posts which appear on blog page/category pages/archive page.. from here: http://screencast.com/t/AzYuvDTe
Please let me know if you have managed so get this done.
For a homepage without the latest articles section you have to use the default page template or the page builder with title.
Thanks
Hi! Congrats on the great template. In fact I was going to use Newspaper for my site initially âwhich I bought a month agoâ but then I saw Newsmag and had to change my plans and buy this one too.
I am migrating my site from Joomla, and have everything set but a few things that I really need help, please:
1.- I need to hide author on post (both below title and author box) on some categories. I need most of the categories to show the author, but I need to hide it on two or three.
2.- I loved megamenu, and for it to work properly I had to group some categories in a parent category, but this way my permalink get changed, too long (I’m using the custom option /%category%/%postname%/). So, is there a way to have three or four categories on a megamenu without having to group these categories under one parent?
3.- Little white spaces between Video List and Footer, and between Block 2 (black, sidebar) and Video List –> dev site
4.- The image cropping is not working right. Images on Megamenu are being stretched instead of cropped. Is there a way to crop all images (thumbs) on the template?
5.- I customized date format on the top menu, and other format for blocks, but now I need a third format for posts. how can i do this (Post template style 2)?
6.- I need a sidebar widget (Facebook like box) to not show on screens from 768px to 1023px. And how can I center it on the column when showing?
7.- On 2-columns Slider (homepage), is it possible to not show Views and Comments? And is it possible to change the half-opaque-layer to something like this:

Regards,
Felipe Z.
Hi,
Sorry for the delay!
You can do it via page builder using the Visual Composer plugin and set your page to full width then chose a custom layout for your page then use the widgetised sidebar element to set an already created sidebar or just build your sidebar adding other VC elements/widgets/blocks: http://screencast.com/t/zwsOdVFTwoE
You can also set a sidebar to the whole page, from here: http://screencast.com/t/R7eysHLebf0
Please also go trough our documentation:
* https://forum.tagdiv.com/homepage/
* https://forum.tagdiv.com/sidebars/
Please provide a link top your site so I can check this or if you use the “Homepage â bg + with article list”
or “Homepage â bg â no article list” page templates make sure you don’t use a slider as those template already add a big slider to the page so you wont need to add another, that’s why you get two slider on page.
You can remove the slider you have added in order to fix this or you can use another template and add it yourself.
Hope this helps!
Thanks
Hi,
The loop-single.php file is the template file for the default post page: http://screencast.com/t/3MZq4AieBz
Thanks
Yes I did. “Show featured image” is on and the template is #4.
Strangely, when I look at the source code of any page, the image is well preloaded. But not displayed.
Hi,
I’m not sure i understand you question. Can i see how that pages looks? Because at this time your site is under construction. Can you give us access to see the issues?
Do you want a full page width without sidebar. Use a blank template, a homepage – blank if you want a full width page.
Thanks!
I add a page for handling the “contact us” function, and I add the default template “contact us”. Is this supposed to be a complete template with fields for names etc?
I just get a page with som dummy text (which I can change of course), and the Contact details and About us headers. And nothing more.
I would expect this theme to have a complete contact us (default) template. Can you help me out?
i want to use style 3 for CPT single page Hotel. Can you tell me how to make it work?
Thanks
Hi,
I’m not sure I understand. Have you managed to get this done finally?
We haven’t made any tests with this plugins so I can’t let you know how you can achieve this.
Not sure if this is an possible solution in your case but if you want to use this shortcode [button color="" size="" type="outlined" target="" link=""][/button] instead of the default button and use the do_shortcode() function and add the button where you want it in the template, replacing the default button.
If this doesn’t work I suggest you also ask this question to plugin’s support page or get someone to help you with this as you need custom for this.
Hope this helps!
Sorry for the inconvenience and thanks for the message!
Hi,
I want to make a template for single post with custom sidebar name “Course”.
How can I modified the single.php so that there is no option of the sidebar and just display sidebar name “Course”?
thanks
st
======
<div class=”td-container td-post-template-default”>
<div class=”td-container-border”>
<div class=”td-pb-row”>
<?php
//the default template
switch ($loop_sidebar_position) {
default: //sidebar right
?>
<div class=”td-pb-span8 td-main-content” role=”main” itemprop=”mainContentOfPage” itemscope=”itemscope” itemtype=”<?php echo td_global::$http_or_https?>://schema.org/Blog”>
<div class=”td-ss-main-content”>
<?php
locate_template(‘loop-single.php’, true);
comments_template(”, true);
?>
</div>
</div>
<div class=”td-pb-span4 td-main-sidebar” role=”complementary” itemscope=”itemscope” itemtype=”<?php echo td_global::$http_or_https?>://schema.org/WPSideBar”>
<div class=”td-ss-main-sidebar”>
<?php get_sidebar(); ?>
</div>
</div>
<?php
break;
case ‘sidebar_left’:
?>
<div class=”td-pb-span4 td-main-sidebar” role=”complementary” itemscope=”itemscope” itemtype=”<?php echo td_global::$http_or_https?>://schema.org/WPSideBar”>
<div class=”td-ss-main-sidebar”>
<?php get_sidebar(); ?>
</div>
</div>
<div class=”td-pb-span8 td-main-content” role=”main” itemprop=”mainContentOfPage” itemscope=”itemscope” itemtype=”<?php echo td_global::$http_or_https?>://schema.org/Blog”>
<div class=”td-ss-main-content”>
<?php
locate_template(‘loop-single.php’, true);
comments_template(”, true);
?>
</div>
</div>
<?php
break;
case ‘no_sidebar’:
//td_global::$load_featured_img_from_template = ‘art-slide-big’;
td_global::$load_featured_img_from_template = ‘full’;
?>
<div class=”td-pb-span12 td-main-content” role=”main” itemprop=”mainContentOfPage” itemscope=”itemscope” itemtype=”<?php echo td_global::$http_or_https?>://schema.org/Blog”>
<div class=”td-ss-main-content”>
<?php
locate_template(‘loop-single.php’, true);
comments_template(”, true);
?>
</div>
</div>
<?php
break;
}
?>
</div> <!– /.td-pb-row –>
</div>
</div> <!– /.td-container –>
Hi,
This happens because you use the “homepage -with articles list” template and the second sidebar which appears at the bottom of the page is the sidebar for the latest articles section which uses it’s own sidebar as the one from the top.
You can remove it/or change it by editing your homepage and setting the latest articles section to full width or chose another sidebar for it, liken this: http://screencast.com/t/oIx0wssF
To avoid duplication you can use a custom sidebar for each section.
Thanks
Hi,
The google webmaster 404 errors are natural as there aren’t any pages using that URL.
The ?s=xxx is the default WordPress search URL structure, the same one is present on our demo page: http://demo.tagdiv.com/newspaper/?s=ipad
You do have a search template which you can customize from here: http://screencast.com/t/6ZRSTWwf
Thanks
Hi,
Please make sure that you select the homepage with articles list template first then you should have the latest articles section below the editor: http://screencast.com/t/JUOuCjYoTN
You can also make sure that you have it enabled from screen options, like this: http://screencast.com/t/Udv14d10Epd
Please also make sure that you update the theme to the latest version (4.6.1).
Thanks
Hi,
You can use shortcodes and add the items directly into posts’s template using the do_shortcode function. You need to edit the loop-single.php file and add the items you want above the title like this: http://screencast.com/t/G89bn6ykN
You can do use the do_shortcode function like this: https://forum.tagdiv.com/topic/how-to-create-attachment-page-like-this-in-newsmag/#post-31168
Thanks
Hi,
Sorry for the delay!
The theme was designed to be responsive so you don;t need to use a plugin. This happens when you use a mobile theme. Unfortunately this is how the theme works as it uses the same code for all screen widths styled via css which means that changing a pages content affects all screens, mobile also.
You can find more info about this here: https://forum.tagdiv.com/topic/mobile-template/#post-27060
Thanks
I forgot to setup “Page Attributes for this template: Homepage with article list”, so, now is all right
Hi – we migrated our site to your excellent NewsMag template a couple of days ago – all went smoothly and we’re thrilled with the result! Just one thing we need some help with… As a news site we want to include the post’s published date/time and also the date/time of any subsequent edits – as per the screen shot below. Can you help us with the necessary edits to the single.php file to achieve it? Thanks in advance! Plan to move another of our sites to the template in the near future – but it’s a bit more complex – so we’ll have a few questions for you first đ

Best place to find BBpress support is on the BBpress site/forum, as BBpress is designed to work with all themes, and so the compatibility with WP 4.1 is likely due to BBP needing update:
See – https://bbpress.org/forums/
Themes
bbPress 2.x plugin for WordPress has built-in theme support. All required elements such as front-end editing are included. This means that all functionality will work, even when a theme has no specific bbPress templates or code included with it. To get started customizing bbPress see Theme Compatibility.
Theme Compatibility
Codex Home â Theme Compatibility
bbPress 2.x has built-in theme support. All required elements such as front-end editing are included. This means that all functionality will work, even when a theme has no specific bbPress templates or code included with it.
All bbPress compat can be overridden using a theme or another plugin. Check bbp-theme-compat template wrappers for what a normal theme should include.
To customize bbPress:
The directory âwp-content/plugins/bbpress/templates/default/â contains the directories âbbpressâ, âcssâ, âextrasâ, and âjsâ, and the file âbbpress-functions.phpâ.
â˘The âbbpressâ directory contains template parts. Copy any of them into a directory named âbbpressâ in your themes root, so it looks like: /wp-content/themes/%your-theme%/bbpress/
â˘The âextrasâ directory contains optional root level page templates, to make life a little easier when customizing; copy any you want to use or modify into the root of your theme. eg. /wp-content/themes/%your-theme%/
â˘The âcssâ directory contains style sheets that work with the default markup. Copy any you want to modify into a directory named âcssâ in your themeâs root. eg. /wp-content/themes/%your-theme%/css/
â˘Basically, you could copy the entire âbbpressâ and âcssâ directories out of bbPressâs default template directory, and into your theme, and bbPress will use the ones located inside your theme instead. Pretty neat, eh?
Hi guys,
I am trying to add a new custom module but I still get the following error:
Fatal error: Class ‘td_module_16’ not found in …/includes/shortcodes/td_block_1.php on line 49
Things I did:
1. created td_module_16.php with the same almost the same content as td_module_4.php:
<?php
class td_module_4 extends td_module {
function __construct($post) {
//run the parrent constructor
parent::__construct($post);
}
function render() {
ob_start();
?>
<div class="<?php echo $this->get_module_classes();?>" <?php echo $this->get_item_scope() ?>>
<div class="td-module-image">
<?php echo $this->get_image('td_300x194'); ?>
<?php if (td_util::get_option('tds_category_module_4') == 'yes') { echo $this->get_category(); }?>
</div>
<?php echo $this->get_title(12); ?>
<div class="meta-info">
<?php //echo $this->get_author();?>
<?php //echo $this->get_date();?>
<?php echo $this->get_comments();?>
</div>
<div class="td-excerpt">
<?php echo $this->get_excerpt(25); ?>
</div>
<?php if(empty(td_global::$is_wordpress_loop)){echo $this->get_quotes_on_blocks();}?>
<?php echo $this->get_item_scope_meta(); ?>
</div>
<?php
return ob_get_clean();
}
}
2. Edited td_block_1.php, because I want to use this custom module inside this block:
function inner($posts, $td_column_number = '') {
$buffy = '';
$td_block_layout = new td_block_layout();
if (empty($td_column_number)) {
$td_column_number = td_util::vc_get_column_number(); // get the column width of the block from the page builder API
}
$td_post_count = 0; // the number of posts rendered
if (!empty($posts)) {
foreach ($posts as $post) {
$td_module_16 = new td_module_16($post);
$td_module_6 = new td_module_6($post);
switch ($td_column_number) {
case '1': //one column layout
$buffy .= $td_block_layout->open12(); //added in 010 theme - span 12 doesn't use rows
if ($td_post_count == 0) { //first post
$buffy .= $td_module_16->render();
} else {
$buffy .= $td_module_6->render();
}
$buffy .= $td_block_layout->close12();
break;
case '2': //two column layout
$buffy .= $td_block_layout->open_row();
if ($td_post_count == 0) { //first post
$buffy .= $td_block_layout->open6();
$buffy .= $td_module_16->render();
$buffy .= $td_block_layout->close6();
} else { //the rest
$buffy .= $td_block_layout->open6();
$buffy .= $td_module_6->render();
}
break;
case '3': //three column layout
$buffy .= $td_block_layout->open_row();
if ($td_post_count == 0) { //first post
$buffy .= $td_block_layout->open4();
$buffy .= $td_module_16->render();
$buffy .= $td_block_layout->close4();
} else { //2-3 cols
$buffy .= $td_block_layout->open4();
$buffy .= $td_module_6->render();
if ($td_post_count == 4) { //make new column
$buffy .= $td_block_layout->close4();
}
}
break;
}
$td_post_count++;
}
}
$buffy .= $td_block_layout->close_all_tags();
return $buffy;
}
3. I added the following code to td_config.php:
'td_module_16' => array (
'text' => 'Module 4 custom',
'img' => get_template_directory_uri() . '/includes/wp_booster/wp-admin/images/panel/module-4.png',
'used_on_blocks' => array ('td_block_1', 'td_block_2'),
'excerpt_title' => 12,
'excerpt_content' => 25,
'enabled_on_more_articles_box' => true,
'enabled_on_loops' => true,
'uses_columns' => true, // if the module uses columns on the page template + loop
'category_label' => true
),
What did I forget to do?
Hello team tagdiv
I have peculiar issues when i am using custom fonts with newspaper theme.
In one of my staging site http://div.wpdiv.com/ i am using self hosted custom font Titillium and assigned font properties to appropriate sections via…
Custom Typography > Post Title Template Style 2, Post Content, Top Menu, Main Menu, Sub Menu Mega Menu, Widget Title and where ever it needs and saved the settings successfully.
But some of the above sections, custom typography is not applied (ex : Megamenu Drop down text underneath mega menu images)
http://s2.postimg.org/66cf4nlzd/megamenu_CSS.png
When i analyze this issue, font face is loading successfully without any issues when i check it via ‘view source’ of current page. But when i analyze it via firebug, the specific mega menu CSS selector property seems disabled.
Why custom fonts are loading for some sections which is successfully applied via Custom Typography settings.
Kindly help me
With regards
Selvam.S
Marius,
After deleting the widgdgetized sidebar from my js_composer page (Home Page), I get this error:
Fatal error: Call to undefined function wpb_widget_title() in /home/wwwtriby/public_html/Tribyoot/wp-content/plugins/js_composer/include/templates/shortcodes/vc_single_image.php on line 64
It looks like some kind of incompatibility between Tagdiv and js_composer.
Philip
Hello,
We are using the Adsense plugin in order to manage our adsense campaigns. Before the update, it was working fine but now, the adsense banners are breaking the template (in the sidebar and at the bottom of the page), as you can see here:
How can we solve that?
Thank you.
Hi,
I’m not sure what do you want exactly, from there you will find different page structure. If you want to create another page templates, each page is a php file, see here all pages: http://screencast.com/t/uhNCjZauyfoK
If you want to try you can duplicate one of them and modify like you want, but don’t forget to rename the file with other name and the template name is inside in file.
For more details about page templates, you can read on WordPress codex here: http://codex.wordpress.org/Page_Templates
Thanks!