- NewspaperDesign your Post Pages using the Cloud Library Templates
- NewspaperDesign your post pages using the Default Templates
- NewsmagPage templates
- NewspaperPage templates
- NewspaperCreate a form contact page
- NewspaperCloud Library Templates
- NewspaperCloud Library – Category Templates
- NewsmagCategory templates
- NewsmagFooter templates
- NewsmagDefault post templates
- NewsmagPost templates
- NewsmagHomepage – How to build and set it
- NewspaperHomepage – How to build and set it
- NewspaperPost templates
- NewspaperDefault post templates
- NewspaperCategory templates
- NewspaperPost template ads
- Apitd_api_single_template::update_key
- Apitd_api_single_template::update
- Apitd_api_single_template::add
Ok so after screwing around for a bit I have the following functions that make everything but the selector for it being a video post. So without that I can’t set it to show the video over the features image. Here is what I have
add_action(‘init’, ‘register_theme_metaboxes’, 10000);
function register_theme_metaboxes() {
include_once get_template_directory() . ‘/includes/wp_booster/wp-admin/external/wpalchemy/MetaBox.php’;
new WPAlchemy_MetaBox(array(
‘id’ => ‘td_post_theme_settings’,
‘title’ => ‘Post Settings’,
‘types’ => array(“sfwd-lessons”),
‘priority’ => ‘high’,
‘template’ => get_template_directory() . ‘/includes/wp_booster/wp-admin/content-metaboxes/td_set_post_settings.php’,
));
}
add_action(‘init’, ‘register_post_metaboxes’, 10000);
function register_post_metaboxes() {
include_once get_template_directory() . ‘/includes/wp_booster/wp-admin/external/wpalchemy/MetaBox.php’;
new WPAlchemy_MetaBox(array(
‘id’ => ‘td_page’,
‘title’ => ‘Page template settings’,
‘types’ => array(“sfwd-lessons”),
‘priority’ => ‘high’,
‘template’ => get_template_directory() . ‘/includes/wp_booster/wp-admin/content-metaboxes/td_set_page.php’,
));
new WPAlchemy_MetaBox(array(
‘id’ => ‘td_post_video’,
‘title’ => ‘Featured Video’,
‘types’ => array(“sfwd-lessons”),
‘priority’ => ‘low’,
‘context’ => ‘side’,
‘template’ => get_template_directory() . ‘/includes/wp_booster/wp-admin/content-metaboxes/td_set_video_meta.php’,
));
new WPAlchemy_MetaBox(array(
‘id’ => ‘td_homepage_loop’,
‘title’ => ‘Homepage latest articles’,
‘types’ => array(“sfwd-lessons”),
‘priority’ => ‘high’,
‘template’ => get_template_directory() . ‘/includes/wp_booster/wp-admin/content-metaboxes/td_set_page_with_loop.php’,
));
}
Hi,
Is it possible to use Yoast for Breadcrumbs instead of the Newmag breadcrumbs? I tried to activated the Yoast breadcrumb via the Plugin options but it broke my main menu, even though I had deactivated the NewsMag breadcrumb under template settings.
Do i need to edit my theme files to accomodate this? (I’m using a child theme)
The reason I need this is becase I have a plugin (Sabai directory for a directory with reviews) and NewsMag doesnt recognise the category hierarcy. The plugin developer recommends using Yoast.
It’d be great to hear your thoughts (I know I’m talking about 2 other plugins, but I guess I may have to edit the page.php file?)
Thaaaaanks 🙂
Claire
Hi
To hide the author name and date for a specific category page try adding this code in td_module.php file like here: http://screencast.com/t/a0NTeGRu just replace the category name:
and !in_category('vogue')
To hide those info from posts that belongs to a specific category you need to add a condition in the file corresponding with the post template used: http://screencast.com/t/5JHbRQVHtv0 – http://screencast.com/t/pDeoshW9OH The same condition must be added if you want to hide the author box: http://screencast.com/t/BHNB4FJ7lVVx
<?php
if (!in_category('vogue')) {
echo $td_mod_single->get_author();
}?>
Also you will need this custom css in theme panel custom css:
.td-post-views {
display: inline-block;
margin-left: 0!important;
}
Let me know how it goes!
Thanks!
Hello travisnw,
You cannot do that from visual composer unfortunately but there is a small workaround you can try. Enable the Pagebuilder+latest articles+pagination template like so: http://screencast.com/t/r5anFQEglpb6
Then you can add modules to the latest articles widget like so: http://screencast.com/t/1gCKxGkN8o
You can also create your own blocks if you have a bit of code knowledge, if not, you can hire a freelancer to do it for you.
Thank you.
Hi,
You have to alter each post template that you use replace the get_date code with your code(I guess that you will use modified time function) – http://screencast.com/t/nGmyI6Dl – https://codex.wordpress.org/Function_Reference/the_modified_time
As reference check this topic(is from newsmag but it works the same) – https://forum.tagdiv.com/topic/post-page-edit-help/#post-32126
Thanks!
Hello all. I have a problem and can’t find any solution in the forum. I’ve created a CPT named “products”. I use the usual categories for this CPT.
For exemple i’vd created a category named “lingerie” for use with the CPT.
And my problem is if i want to display the category page for lingerie. There is no content, the CPT is not on the page.
I tried to use the CPt with taxonomies but i have the same problems. The template seems to don’t know how to display the custom post types.
Hi,
Unfortunately doesn’t exist a tabs widget, but you can create your tabs in a page and copy the shortcode in a text widget and place it in your sidebar – http://screencast.com/t/bkCKW7QI – http://screencast.com/t/9c0Ssvayg Then set the sidebar for the template you want – http://screencast.com/t/ApzEwDB5mx
You may need additional customization as the tab was not designed to be used like a widget, so using the shortcode in a text widget may require some css customization.
Thanks!
-
This reply was modified 10 years by
Alin [tagDiv].
When using the Backend Editor/Visual Composer for our home page, it is showing the incorrect modules. I believe it is just showing the default modules for a blank page template (a Slide, 3 Block 1s, an empty space, and a RAW HTML box). If you switch over to Classic Mode, you can see all of the coding for our homepage… so it’s still there and still functioning… but we are unable to access/edit it using the Visual Composer for fear of resetting it back to a default page. Any idea how we can get that back working again?
Thanks!
Hi Alin,
I figured out what the issue was. In the plugin’s calendar settings under the display tab, the default template was set to “Default Events Template”, so I switched it to “Default Page Template” (theme’s default page) and the error went away! So I think that was the issue. Everything looks good now.
Thank you for your very prompt replies in regards to support. That’s impressive!
I have been edited on the file index.php
It seems true now
<?php ini_set('display_errors', 0); ?>
<?php
if (function_exists('get_header')) {
get_header();
}else{
/* Redirect browser */
header("Location: http://" . $_SERVER['HTTP_HOST'] . "");
/* Make sure that code below does not get executed when we redirect. */
exit;
}; ?>
<?php
//set the template id, used to get the template specific settings - this was the old home.php template
$template_id = 'home';
//prepare the loop variables
global $loop_module_id, $loop_sidebar_position;
$loop_module_id = td_util::get_option('tds_' . $template_id . '_page_layout', 15); //module 1 is default
$loop_sidebar_position = td_util::get_option('tds_' . $template_id . '_sidebar_pos'); //sidebar right is default (empty)
// 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">
<div class="td-container td-blog-index <?php echo $td_sidebar_position; ?>">
<div class="td-crumb-container">
<?php echo td_page_generator::get_home_breadcrumbs(); ?>
</div>
<div class="td-pb-row">
<?php
switch ($loop_sidebar_position) {
default:
?>
<div class="td-pb-span8 td-main-content">
<div class="td-ss-main-content">
<?php
locate_template('loop.php', true);
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">
<?php
locate_template('loop.php', true);
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':
td_global::$load_featured_img_from_template = 'full';
?>
<div class="td-pb-span12 td-main-content">
<div class="td-ss-main-content">
<?php
locate_template('loop.php', true);
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();
Thank you again
Hi
The big grid display the article according to the filter set in his settings: http://screencast.com/t/rj7OIOXK Also you can chose the big grid that match the best with your preferences from Visual Composer.
If you’re using page builder + latest as a page template, there are the post loop settings and you can apply different filters: http://screencast.com/t/E3BUvHzDBJL
In case you’re using a block to display the latest news also have in Visual Composer editor option to apply different filters for each block that your using: http://screencast.com/t/O3oPzG8uZ
Finding a freelancer on envato sites it’s easy just type a keyword or two related with your needs or simply browse the categories available there, in your case the most effective would be WordPress: http://studio.envato.com/explore/wordpress
Thanks!
Yea unfortunately that seems what I need to do.
By removing the old theme, that won’t delete my homepage block settings and stuff right? All that is saved via DB correct?
Really sucks all these wicked themes come injected with so much extra code to make it more appealing to the general audience. I understand it increases more sales, but really burdens those who only need the theme for blog site, not ecommerce, buddypress and so on.
I appreciate your support, and the great theme. I will try again this weekend with total reinstall and by adding all my edits in. Which shouldnt be that bad, we only use 2 of the post templates and the css done by you guys was so stellar that getting the look back on the site would be a breeze.
If epic fail again then looks like I need to get in touch with someone to make us a custom theme geared towards our site.
Hello AilyRoot,
I think you are referring to the sub-footer settings at the bottom of the page here:
https://forum.tagdiv.com/footer-templates/
The sub-footer with the copyright info can be configured from the theme panel:
http://screencast.com/t/Ca2MtntOeYOh
If this is not what you meant let me know.
Thank you.
Hi,
1. You have to create the shop page and add the title like this – http://screencast.com/t/Ka7nhasy9Qf6 Then set your shop page from Woocommerce settings – http://screencast.com/t/xSlOqLXtmqpq
You can uncomment the breadcrumbs from the woocommerce template – http://screencast.com/t/PVp3i4U72
2. For contact page you can use pagebuilder with title template – http://screencast.com/t/IlidAcl2DQlj
3. Regarding the social counter issue, please note that is not live count, it may need some time to update the counter. Also you can try to clear cache if you use a cache plugin.
Thanks!
-
This reply was modified 10 years by
Alin [tagDiv].
Well, WordPress does the redirect to the 404 page, so you actually need to redirect the 404 to a page not text. You could simply modify the existing 404 template to be a single html page with a message, which is best solution.
Just edit the existing theme 404 template.
Hi,
Installing the Newspaper theme this doesn’t mean that it will automatically change the old shortcodes for you homepage. You will have to create a new page using the Visual Composer pagebuilder, set the page template.. – https://forum.tagdiv.com/block-settings-tutorial/ also a video tutorial that may help – https://www.youtube.com/watch?v=rgWqozuqmJk then set it as frontpage. You don’t have to be a developer to do this, just to have some basic WordPress knowledge and also we will answer for the theme related issues. Please note that if you install the demo without content it will import only some fonts, colors… it will not add new pages, posts, categories and also it will not change the frontpage.
Also if you want to keep your site running, you can install the theme on a subdomain to customize it. You can find more information on the subject here: http://www.passiveincomereality.com/how-to-create-a-sub-domain-in-wordpress/ You can also find a plugin for maintenance. Something like https://wordpress.org/plugins/wp-maintenance-mode/
Hope this helps!
Hi,
I guess that you refer to the latest articles section on your page. If you want to not display them please change the page template to default – http://screencast.com/t/ZmubTYEUmX
Thanks!
Good morning Team TagDiv,
I have a multisite (http://ideas2live4.com) where I want to show some post excerpts from sub.sites on the main site landing page.
I know that I can link the title block to those sites but is there an easy way to modify the template to bring in those external posts.

I have previously done this with another site but it required extensive theme customization and am hoping there is a simpler solution with Newspaper theme 🙂
Thanks,
David Wilks
Hello!
I use in Page footer template Style2. I wonder how to translate POPULAR CATEGORIES title in footer widget in Style2?
In Translations is only Popular Category.
Thanks.
Best regards.
hi.
Following error show in category.
wp booster error:
td_api_base::mark_used_on_page : a component with the ID: td_category_template_2 is not set.
/home/akmaster/public_html/wp-content/themes/Newsmag/includes/wp_booster/td_api.php
wp booster error:
Missing parameter: ‘file’
/home/akmaster/public_html/wp-content/themes/Newsmag/includes/wp_booster/td_autoload_classes.php
wp booster error:
The category template td_category_template_2 doesn’t exist. Did you disable a tagDiv plugin?
/home/akmaster/public_html/wp-content/themes/Newsmag/includes/wp_booster/td_api.php
I have done the following steps:
-In theme panel (category) disabled category “Still showing error”
“Delete all cache ok”
-Delete and upload plugin
Other
Theme version : 2.2
worpress : 4.3
Systema Status
Theme config
Theme name i Newsmag
Theme version i 2.2
Theme database version i 2.2
Speed Booster v4.1 – Disabled – incompatible plugin detected: add-to-any/add-to-any.php
waiting for your reply
thank
I’ve a problem with category page. If i select template 6 no titles appears. Can you help me ?

Hi
!. I am not sure what effect you want to obtain, please provide more specific details or an image pointing that effect.
2. Try this custom css in theme panel > custom css: http://screencast.com/t/KOlwsSjl
.page-nav-post a:last-child{
float: right;
}
3. Try this custom css: http://screencast.com/t/Bzfbw5YLr3Z
.td-icon-menu-right:before {
position: relative;
top: -4px;
left: 4px;
float: right;
}
.td-icon-menu-left:before {
position: relative;
right: 4px;
}
4. To display the pagination above the article button add you need to remove the the ad from post content: http://screencast.com/t/PWgzx852 then place the ad after the pagination function in posts’s template file, like this: http://screencast.com/t/pgCbyqSPF You can use the do_shortcode(' ') function and insert the ad shortcode from VC: http://screencast.com/t/W4SFKPnoShn – http://screencast.com/t/lqaJxdVdMee in every post template files coresponding for the post templetes used.
5. I found an image below your article bottom ad which create that blank space http://screencast.com/t/5RAdn7ht07Z I am not sure why appear there, but seems to be added by the above ads so you should check if the ad code it’s valid.
Thanks!
Hi
You can add the post setting in page settings area modifying the td_template_settings.php file like here: http://screencast.com/t/XCljbePUV but note that you will need custom modification in theme’s core files to make the post settings works on pages. These customization require good coding skills, so my advice is to you look for a developer from sites like: http://studio.envato.com/ if you don’t know how to do it yourself as we cannot offer any type of custom work.
Regarding the ads system you can use the ad box from Visual Composer: http://screencast.com/t/6ztbMPDV – http://screencast.com/t/mgPrhxRfqhwY to get the same functionality as article ads in posts.
Thanks for the message!
Hi
1. If you want to avoid the article duplication on the page enable unique article option from page template settings: http://screencast.com/t/j5cU58YT
Also you can customize every block to display article according to category, author, tags, those option can be found in block settings: http://screencast.com/t/N5WAmg4oOK there you can name your blocks as you like: http://screencast.com/t/EFfw1Vm1lg More details about blocks you can find in our documentation: https://forum.tagdiv.com/block-settings-overview/
2. Please check this link regarding the logo: https://forum.tagdiv.com/logo-newsmag/ It’s not necessary to upload logo as we have, you can upload any logo as it’s recommended in our documentation.
Hope this help but if you still need assistance please let me know.
Thanks!
Sorry for jumping in, but again it’s related 🙂
You can make a similar smart list by selecting post template 7 and then selecting smart list 3 in the “smart list” tab in your post settings.
You start the post with a H3 heading then add your image below (I use 300×350) if I have a sidebar on the page then add your text below that, your next section of the post follows below that in the same format so your H3 heading for the next step in the article acts as your page break. If you follow? So it goes like this…
H3 heading (page break)
300×350 image
Your article text
H3 heading (page break for 2nd page)
300×350 image
Your article text
H3 heading (page break for 3rd page)
300×350 image
Your article text
H3 heading (page break for 4th page )
300×350 image
Your article text
You get the same effect but it does look a little cramped with a small image and not a lot of space for text if you have the sidebar active.
I can’t get my Google ads to show at the bottom of the post for some reason even though they are set to show in post and at the top and bottom of a post. Maybe you can add a large image to fill the top part of the container and then push the text and a square Google ad as shown in the link so it sits beside the text? I haven’t tried that yet.
This method used to be shown on the demo but doesn’t seem to be on there now, not sure why that is? Maybe it’s obsolete or had problems???????
I’ve just tried to disable the sidebar and this makes the post full width. You can do this by disabling the sidebar in the post settings by altering the sidebar position
I’m guessing if you use a larger image and change the style of the pagination then the only other thing you need is a way of adding a Google ad to this specific post type or adding one in the editor? Not sure how you do that as I’m new to ads but I’ll give it a try
Anyway, it’s a start 🙂
D