- 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
Hello FarrahGillani,
I have checked your website and I saw that you are using the category template style 2 for your category pages, right? So, if you want to add your logo under the category title, you will have to add this in td_category_template_2.php. You can add your logo image using the do_shortcode method. First of all, you will have to create your shortcode for your logo, using the Text Block element from Visual Composer and then you will have to add this under the title in the core file.
1) Create your shortcode, like this -> http://screencast.com/t/7wrTbk1sO -> http://screencast.com/t/aLBXrotZzYr
2) Place the code in the corresponding category template file, like this -> http://screencast.com/t/FZcfgYnMie
The code for this example is ->
<?php echo do_shortcode('[vc_row][vc_column][vc_column_text]<a href="http://192.168.0.214/site2/logo-header/"><img class="alignnone size-full wp-image-3166" src="http://192.168.0.214/site2/wp-content/uploads/2016/07/logo-header.png" alt="logo-header" width="272" height="90" /></a>[/vc_column_text][/vc_column][/vc_row]');?>
The result you should see here -> http://screencast.com/t/Hasz018hCGfd
Hope this helps!
Thanks for your understanding!
Hello MoschatoTavros.gr,
1)However, I suppose that this type of problem is cache or CDN related. Please try to clear all of them, purge CDN files if you are using the CDN system and also, please try to clear the server cache. If you do not have any access to do it, please request this thing to do from your hosting provider. Also, if your problem will still there, please send us an email at contact@tagdiv.com with your log-in information (wp-admin) so we can further inspect the issue. Also, please provide the link of this topic so we can easily identify you.
2)I suppose that you want to display the ads after the main menu bar, for every post,page and category page, right? Please notice that our theme does not have such an option to add this but only with a bit of coding. The only way to add a banner ad above the menu is using the do_shortcode method which you will have to add in the corresponding file for page/post/category template. For example, to display the add to the category pages, can simply use a do_shortcode function in the category template like so: http://screencast.com/t/3AhOEXNl9lPl
<div class="mycustomclass">
<?php echo do_shortcode('[td_block_ad_box spot_id="custom_ad_1"]');?>
</div>
It will need a few css adjustments to remove the bottom margin and add a top margin for it to position properly so you can use the custom class assigned to the div element.
To affect the posts pages you will have to add the core file corresponding to post template used by you and then add the do_shortcode there, like this -> http://screencast.com/t/nbArnFDgR9yc
In order to achieve best results, please check your custom Ad 1 to have added a valid ad code in it, like this -> http://screencast.com/t/ZwBAoy3zAKo
If you are not aware of the steps in this regard, please consider hiring a freelancer/developer to help you because we cannot provide customization services at the moment, sorry!
Hope this helps!
Thanks for your understanding!
HI
We use this method for pagination: http://screencast.com/t/47EozHLicwt
td_page_generator::get_pagination();
Try to use it in your post template and check how it goes, it should work fine.
Thanks!
Hi
I am not very sure what you’re trying to do and what part of the site do you want to affect. Basically if you want to run php code must be edited the file which generate the page that you want to modify. For example if you want to change a post you have to edit the files corresponding with post template used.
Provide more specific details about what you’re trying to do so we can inspect it closer and maybe we can help but note that we can’t offer custom services for the moment. We can only point a way of how to achieve the desired result but you will have to implement the code.
Thanks!
I would like an answer too, im non-stop looking for add a sidebar in the “travel-skin” homepage, and remove some things form the sidebar in the pages-template in the same skin.
For some reason I can’t find where to configure the sidebar topics and title in Newspaper. I’m using the recipe variant of Newspaper, but I imagine its the same place in the Newspaper template manager or wordpress backend. This is specific section on front page I’m talking about: http://imgur.com/jvdOPcm
Hi. I have to put some code in either homepage ,categories and single posts that I can’t do with Visual Composer, cause it contains php code. I need a way to put php code or through a sidebar, or through a block, or a template part. I’m trying with block but documentation for me is not complete enough and I cannot understand if blocks can do it. Please give some hint so I can proceed. Thanks.
HI
You can customize the layout from Visual Composer using custom css but you have to be careful at the code and also make sure that the page won’t be affected by your customizations. To change the layout using custom code you will need lots of customizations and tests in order to achieve the desired result.
You have to find the most optimal; solution depending by desired layout for your page. If the html structure requires new spans for content the you have to make a new page template but if the layout can be customized only with custom css then you can use it without a custom post template.
Note that we can’t offer customization services at the moment so if you’re not aware of the steps that must be taken in order to complete this task my advice is to look for someone who can help you with implementation or hire a freelancer to do it for you.
Thanks!
Hi TagDiv,
I wish to use smart list 6 for my post in order of 1-10 Next Next pages.
I created the new post and had 10 headlines for each paragraph 1-10 and selected style 6.
But even after the update and save, all 10 points appear on the same page and post is not appearing like style 6 template in next next order.
Also, I have a starting paragraph which is an introduction and want it to appear on all 1-10 pages on top.
Pls guide what am I missing.
thanks
The other solution could be using a custom page template (by uploading page-{slug}.php) and put my HTML code after the <div class=”td-pb-span12 td-main-content” role=”main”>. Which of the two solutions is better for perfmance/seo?
Hi
I used the WordPress Reset as you suggested and reinstalled / activated the Newspaper template. But now I do not even the actual template — just a sort of blog page with little in it. Where is the actual template with all the dummy content it comes with??? Here is what I have now:
http://rawfoodlife.com/wpress/
I created a new login for you for admin access using your name, Bogdan, and the password:
G$CHln(GyGs$%jUomite%ne3
Many thanks,
Bob Ross
Hi
My site switched to Newspaper in 2015 and found the set up of the theme pretty easy, using Visual Composer and other elements to design my homepage – http://www.tottenhamblog.com – and post templates – http://www.tottenhamblog.com/2016/07/12/done-deal-spurs-finally-sign-vincent-janssen/
I now urgently need to edit both my homepage and post template layouts but can’t get to the page where these can be altered. I’m not sure if it’s me just being incredibly stupid (extremely possible) or whether there’s been some loss of functionality.
The site is up to date with WordPress and on Newspaper 7.2. I updated Visual Composer yesterday also – which incidentally seems to have stopped my social buttons in the sidebar from displaying.
Can anyone help?
Hello Sylvester77,
Unfortunately, our does not have such an option for this, using the single template 7. If you want to add the copyright for your images, using the Single template 7, you will have to use the Caption for your image and then you will have to make some changes in order to display this caption in the meta info area in that image. So, in order to achieve this, please try to consult the following topic here -> https://forum.tagdiv.com/topic/request-time-option-for-publish-date-on-post-page/ and the result you should see here -> http://screencast.com/t/RJoA2TD4Eo As a hint, please notice that you will have to replace the 6 with the 7 and also, you will have to add the condition in single_template_7.php, which is corresponding to post template 7.
As you can see, this is not a simple task and if you are not aware of the steps in this regard, please consider hiring a freelancer/developer to help you because we cannot provide customization services at the moment, sorry!
Thanks for your understanding!
Hello,
Our theme offers these settings for the archive page: http://screencast.com/t/w7Bfv13T but unfortunately the archive page title cannot be changed. You can use seo yoast to change the titles. Here is a reference: https://kb.yoast.com/kb/yoast-wordpress-seo-titles-metas-template-variables/
Thank you!
Hello,
I could use the help of our community with schema.org. I run clean SEO on my website and I realized that my site just not performs and got kicked out of the rankings. Since I am employed as a SEO Manager, I analyzed the schema.org codes and realized that the structure of the newsmag theme is not easy to understand.
I think this issues is really important for everybody who is using the theme. A good, clean (seo)-site struture is important in our time!
Basically I want to change:
header.php
index.php
single.php
page.php
footer.php
sidebar.php
Sounds simple at the beginning. So, my goal is that searchengines should understand our pages better.
This article has a simple instructions, but when I looked at our Theme … just stopped by.
This is the article: http://www.bloggingspell.com/add-schema-org-markup-wordpress/
Would be nice if somebody of you or ever theme-creator can help me and the unexperienced community to improve our rankings. I would like know where i can change the following items ->
Greetings from Germany
Editing header.php (Header Template)
Find:
<body <?php body_class(); ?>>
Replace with:
<body <?php body_class(); ?> itemscope=”itemscope” itemtype=”http://schema.org/WebPage”>
Find:
<header id=”masthead” class=”site-header” role=”banner”>
Replace with:
<header id=”masthead” class=”site-header” itemscope=”itemscope” itemtype=”http://schema.org/WPHeader” role=”banner”>
Find:
<h1 class=”site-title”>
Replace with:
<h1 class=”site-title” itemprop=”headline”>
Find:
<h2 class=”site-description”>
Replace with:
<h2 class=”site-description” itemprop=”description”>
Find:
<nav id=”site-navigation” class=”main-navigation” role=”navigation”>
Replace with:
<nav id=”site-navigation” class=”main-navigation” itemscope=”itemscope” itemtype=”http://schema.org/SiteNavigationElement” role=”navigation”>
Editing index.php (Homepage Template)
Open up your theme index.php and edit these lines:
Find:
<main id=”main” class=”site-main” role=”main”>
Replace with:
<main id=”main” class=”site-main” role=”main” itemprop=”mainContentOfPage” itemscope=”itemscope” itemtype=”http://schema.org/Blog”>
Find:
<article id=”post-<?php the_ID(); ?>” <?php post_class(); ?>>
Replace with:
<article id=”post-<?php the_ID(); ?>” <?php post_class(); ?> itemscope=”itemscope” itemtype=”http://schema.org/BlogPosting” itemprop=”blogPost”>
Find:
<h2 class=”entry-title”>
Replace with:
<h2 class=”entry-title” itemprop=”headline”>
Find:
<div class=”entry-thumb”>
Replace with:
<div class=”entry-thumb” itemprop=”image”>
Find:
<time class=”entry-time published” datetime=”<?php the _time(‘c’); ?>>
Replace with:
<time class=”entry-time published” datetime=”<?php the _time(‘c’); ?>” itemprop=”datePublished”>
Find:
<span class=”author-link”>
Replace with:
<span class=”author-link” itemscope=”itemscope” itemtype=”http://schema.org/Person” itemprop=”author”>
Find:
<span class=”author vcard”>
Replace with:
<span class=”author vcard” itemprop=”name”>
Find:
<div class=”entry-summary”>
Replace with:
<div class=”entry-summary” itemprop=”text”>
Find:
<div class=”entry-content”>
Replace with:
<div class=”entry-content” itemprop=”text”>
Editing single.php (Post Template)
Open up your single.php and make these changes:
Find:
<main id=”main” class=”site-main” role=”main”>
Replace with:
<main id=”main” class=”site-main” role=”main” itemprop=”mainContentOfPage” itemscope=”itemscope” itemtype=”http://schema.org/Blog”>
Find:
<h1 class=”entry-title”>
Replace with:
<h1 class=”entry-title” itemprop=”headline”>
Find:
<div class=”entry-content”>
Replace with:
<div class=”entry-content” itemprop=”text”>
Find:
<time class=”posted-on published” datetime=”<?php the _time(‘c’); ?>>
Replace with:
<time class=”posted-on published” datetime=”<?php the _time(‘c’); ?>” itemprop=”datePublished”>
Find:
<span class=”author-link”>
Replace with:
<span class=”author-link” itemscope=”itemscope” itemtype=”http://schema.org/Person” itemprop=”author”>
Find:
<span class=”author vcard”>
Replace with:
<span class=”author vcard” itemprop=”name”>
Find:
<div class=”entry-thumb”>
Replace with:
<div class=”entry-thumb” itemprop=”image”>
Find:
<div class=”entry-content”>
Replace with:
<div class=”entry-content” itemprop=”text”>
Editing page.php (Page Template)
Open up your page.php and edit these lines:
Find:
<main id=”main” class=”site-main” role=”main”>
Replace with:
<main id=”main” class=”site-main” role=”main” itemprop=”mainContentOfPage” itemscope=”itemscope” itemtype=”http://schema.org/Blog”>
Find:
<article id=”post-<?php the_ID(); ?>” <?php post_class(); ?>>
Replace with:
<article id=”post-<?php the_ID(); ?>” <?php post_class(); ?> itemscope=”itemscope” itemtype=”http://schema.org/BlogPosting” itemprop=”blogPost”>
Find:
<h1 class=”entry-title”>
Replace with:
<h1 class=”entry-title” itemprop=”headline”>
Find:
<div class=”entry-content”>
Replace with:
<div class=”entry-content” itemprop=”text”>
Editing footer.php (Footer Template)
Open your footer.php and change these lines:
Find:
<footer id=”colophon” class=”site-footer” role=”contentinfo”>
Replace with:
<footer id=”colophon” class=”site-footer” role=”contentinfo” itemscope=”itemscope” itemtype=”http://schema.org/WPFooter”>
Editing sidebar.php (Sidebar Template)
Open up your sitebar.php file and change this line:
Find:
<div id=”secondary” class=”widget-area” role=”complementary”>
Replace with:
<div id=”secondary” class=”widget-area” role=”complementary” itemscope=”itemscope” itemtype=”http://schema.org/WPSideBar”>
Hello,
The page you are referring to is a woocommerce product archive so the sidebars have to be removed from template settings here: http://screencast.com/t/VwFyfNmRWJ
Thank you!
Hello,
Unfortunately if you want to place a widget on the homepage you will have to edit the theme files as there is no setting for it in the theme. You can edit the page template itself or even create a custom page template you can add code to. https://forum.tagdiv.com/topic/overriding-page-pagebuilder-latest-php-in-child-theme
Then after you create your new page template (a copy of one of the existing template), you can use a do_shortcode function in the file to add content to it: https://developer.wordpress.org/reference/functions/do_shortcode/
You can also use standard html and php if you have the proper coding knowledge. If you need help with the code needed, you will have to get some hired help as we cannot offer any custom work at the moment.
Thank you!
Hi
If you’re using default p[age template: http://screencast.com/t/AiwIJp2BL for page’s layout there shouldn’t be displayed the title. If you still can’t manage to fix this please provide a link whee we can inspect it closer and we will get back to you in shortest time.
Thanks!
HI
You can use page builder+latest articles as page template and set the post limits to a higher value then your posts number, here is an example: http://screencast.com/t/AiwIJp2BL If you want to display all post content on homepage choose module 15 for page’s layout.
Hope this helps.
Thanks!
Hi,
I tried this CSS code
.td-page-title {
display:none;
}
But still all the page titles are visible, could you please let me know how to hide all the page titles. Basically I don’t need to show any of the page title. Heard that we can use some plug-ins too to hide the page title, please let me know which one is the best way, editing css or using a plug in.
I added Taboola ad codes to my website yesterday and the ads are only showing up on some pages. According to my analytics, they are only showing up 84% of the time.
I am currently only using Smart List 6 and the default post template with the right sidebar position. The Taboola ads show up on the Smart list and regular posts, but only on some of them. It seems to be completely random.
Any ideas how to fix?
Thank you!
Hi
Could someone point me to the settings that would enable me to remove the page border and also make the header and footer full width instead of page width please?
I would rather not install another template if possible.
Thank you.
site is womensgolf.com
Hi. I have a lot of pages on the web and I want them to look like normal navigation on mobile without having to adapt, without using theme for mobile pages, such as Home Page. It is possible that the mobile theme only works for categories and articles from the web … The intention is to harness the speed of the mobile template categories and articles.
Thanks for the reply and sorry for my English
Hello,
If you want to add content to the sidebars and footer, you need to access the widgets area of WP and place content in your sidebars: http://screencast.com/t/VMEdA9Em
If your homepage does not use a side-bar but a split row in visual composer you have to add content directly in page edit like so: http://screencast.com/t/66rmu3YPUWeJ
Please read the documentation as you will find much useful information that can help you on your project:
https://forum.tagdiv.com/footer-templates/
https://forum.tagdiv.com/sidebars-tutorial/
Thank you!
Hi,
I did what you said but It din´t work yet…
The header.php file was like that:
<body <?php body_class() ?> itemscope=”itemscope” itemtype=”<?php echo td_global::$http_or_https?>://schema.org/WebPage”>
<div id=”fb-root”></div>
<script>(function(d, s, id) {
var js, fjs = d.getElementsByTagName(s)[0];
if (d.getElementById(id)) return;
js = d.createElement(s); js.id = id;
js.src = “//connect.facebook.net/pt_BR/sdk.js#xfbml=1&version=v2.6&appId=1006446862796383″;
fjs.parentNode.insertBefore(js, fjs);
}(document, ‘script’, ‘facebook-jssdk’));</script>
<?php /* scroll to top */?>
<div class=”td-scroll-up”><i class=”td-icon-menu-up”></i></div>
<?php locate_template(‘parts/menu-mobile.php’, true);?>
<?php locate_template(‘parts/search.php’, true);?>
<div id=”td-outer-wrap”>
<?php //this is closing in the footer.php file ?>
It´s a but different than the example you showed, the exemple you showed was a newsmag, my one is a newspaper.
The loop-single.php was like that:
<?php echo $td_mod_single->get_content();?>
<div class=”fb-comments” data-href=”<?php echo https://portalmaesefilhos.com.br/ ($td_mod_single->post->ID); ?>” data-width=”600″ data-numposts=”5″></div>
</div>
So, I just paste the in the files you showed, but I went to my website and nothing changed!
I didn´t make any change in the single.php file, I saw you marked with a red box thos files, but I didn´t do anything in there.
Now I will put the orinal codes in header.php and loop-single.php and think what I can do to solve it.
Thanks again!