- Apitd_api_single_template::update_key
- Apitd_api_single_template::update
- Apitd_api_single_template::add
- ApiAPI – Single Template – Introduction
- ApiPractical example – How to add a new Block and Module
- ApiAPI – Category top section style – Introduction
- Apitd_api_module::update
- Apitd_api_module::add
- ApiAPI – Modules – Introduction
- Apitd_api_block::update
- Apitd_api_block::add
- ApiAPI – Blocks – Introduction
- ApiUsing the Theme API in plugins
Hello,
breadcrumbs will only appear in the page builder+page title template if you use visual composer elements: http://screencast.com/t/IH92J2VAGRSb
It will appear in the other templates as well but only if there is no visual composer element on the page.
Thank you!
Hi,
Unfortunately the content background cannot be changed from the theme panel. The main content area has different containers for pages and for posts. you can use a custom css to do it but it will not work properly on some post templates.
You can try it out like so:
.td-main-content-wrap, .post{
background-color:red!important
}
Some post templates however will not get the background as they use different classes. You cna use your browser inspector to see them and add the classes to the code.
I hope this helps.
Thanks.
Hi
On page-builder+title post template is no need to detect the page-builder as the page structure is different. The indicated code remained there from previous versions of the theme but no have no usage with the current implementation and can be removed with no problems.
Thanks!
-
This reply was modified 10 years by
Andrei L..
Hi
If you’re using page-builder+title as a page template then you can use this css in theme panel > custom code > custom css to hide the page tile:
.td-page-title{
display: none;
}
Regarding the error make sure you made the changes exactly as I indicated in previous screens as the indicated error appear when the php code returns an invalid html structure. The php code have a syntax which must be respected otherwise will return errors.
If you still need guidance on this or you’re not aware of the steps you need to take in this regard please consider hiring a developer or a freelancer to do this for you as we can’t offer customization services at the moment.
Thanks!
In Theme panel, under “Blog and posts template”, I have selected “M1” as article display view, coupled with the right sidebar position.
However, there is no sidebar, and the article text (as well as the image, if it is wide enough) fills the entire width of the screen – please see for example
http://vastavalkea.fi/2016/01/29/konkurssikypsan-talousjarjestelman-kuolinkouristukset/
Previously, the image and the text were restricted to 700 pixels in width.
The problem occurred when I changed the way in which e.g. search results and archives are shown. This seems to have affected the way in which individual posts, too, are shown.
Thanks for quick guidance!
Not sure if this has to do with WordPress or Newspaper, but I noted a strange thing. While editing individual post setting https://gyazo.com/0e3d62f1f50b69054865e704547b8286 if I click on a different template and Preview changes and leave the page *without* clicking on Update, the new setting becomes permanent. To ensure it wasn’t due to cache, I went back and forth and seems like there is an issue. You may want to look into it. Thanks.
Hi, I installed Fashion demo but I don’t find where is set background image for static News page. I understood that is strictly related to visual composer template, surely for this block: [td_block_homepage_full_1 sort=”featured” td_filter_default_txt=”All”], but where can I edit the images?
B/R
Looking at the code in the file page-pagebuilder-title.php, I don’t see how the page builder detection is working, since once the variable is set, it’s never tested:
...
/**
* detect the page builder
*/
$td_use_page_builder = false;
if (method_exists('WPBMap', 'getShortCodes')) {
$td_page_builder_short_codes = array_keys(WPBMap::getShortCodes());
if (td_util::strpos_array($post->post_content, $td_page_builder_short_codes) === true) {
$td_use_page_builder = true;
}
}
//no page builder detected, we load a default page template with sidebar / no sidebar
?>
<div class="td-container">
<div class="td-container-border">
<div class="td-pb-row">
<?php
switch ($loop_sidebar_position) {
...
hi Bogdan,
thank you.
I did exactly what you kindly suggested, look:
<div class="td-main-content-wrap">^M
^M
<div class="td-container td-post-template-1 <?php echo $td_sidebar_position; ?>">^M
<div class="td-crumb-container"><?php echo td_page_generator::get_single_breadcrumbs($td_mod_single->title); ?></div>^M
<?php echo do_shortcode('[td_block_ad_box_spot_id="custom_ad_4"]')?>
<div class="td-pb-row">^M
<?php^M
^M
//the default template^M
switch ($loop_sidebar_position) {^M
default:^M
?>^M
it shows on the page as text: [td_block_ad_box_spot_id=”custom_ad_4″]
http://snag.gy/xrnsX.jpg
let me know
thank you
Hi
I am not sure how do you want to change the authors display on post/pages so please provide more specific deteils about what you’re trying to do and maybe I can help.
Meanwhile you can try to edit the functions which generate the authors here:
– for post the function is located in td_module_single_base.php here: http://screencast.com/t/ZGfzKtyN5I This function is called in each file corresponding for each post template: http://screencast.com/t/M5h69wJ5
– for pages the function is located in td_module.php here: http://screencast.com/t/2CxKOXLhI The function is called in each file which generate a module’s layout: http://screencast.com/t/cqLTdKZJa
– for authors box the code is located in td_block_authors.php here: http://screencast.com/t/BPVFo5Xf
Thanks!
Hello,
Unfortunately the read more button will only work in module 15 (category templates, tag templates and the latest article on pages) The post templates are custom made and the read more tag will not work. You can however use the nextpage tag and have pagination on your posts as an alternative.
Thank you!
Hello guys, just bought you Theme and really like it.
But like always for beginners I need some support.
I have some minor issues in the homepage http://www.urban.dog/urbandog/
1. Ad is showing not in the same height as block next to it
How can I optimize the height. Ad should be shown at same height as content and the Tag “Advertisment above”
http://www.screencast.com/t/fmefOPnXTBvh
2. I´ve set a block content and try to set a border, but the border is not shown. How can i set the border?
Is like that: http://www.screencast.com/t/SubMELexY
And should be like that: http://www.screencast.com/t/wekMFMJx
3. Space between Title Block and Big Grid Block
I´ve set a extra Title Block as you can not set Title with big grid blocks but now the space is bigger than on normal blocks with Title. How can i change a smaller space, so it should look the same as other blocks?
See here: http://www.screencast.com/t/S2ZCdj1g
4. DARK Theme works but need customs CSS for sidebar black fonts
I´ve changed some css so have a dark theme but on post pages I want to keep the template white, the issue is the sidebar copy is also white. How can i change it to black for the post pages?
See here: http://www.screencast.com/t/aVJeaKuzZq
The CCS I´ve added with help of the forum here:
.td-footer-wrapper, .td-banner-wrap-full, .td-main-content-wrap,
.td-main-page-wrap, .td-category-grid, .td-category-header {
background-color: #141414;
}
.entry-title a,
textarea
{
color: white !important;
}
Thank you
I think that maybe you checked it while I was testing some more. It looks fine when I set the Template in Page Attributes to Pagebuilder + pagetitle, but the issue is when I use the Default template. I don’t want a page title on my home page. Check now, I’m not fiddling with it.
Hi,
I’m using NewsMag. My page code is:
[vc_row css=".td-top-border{border-top-width: 1px !important;}"][vc_column width="2/3"][td_block_slide limit=”3″][td_block_2 custom_title="DON\'T MISS" border_top="no_border_top" limit="6" ajax_pagination="next_prev"][td_block_1 custom_title="GADGETS WORLD" border_top="no_border_top"][td_block_15 custom_title=”LIFESTYLE” limit=”8″][/vc_column][vc_column width="1/3"][td_block_social_counter facebook="themeforest" twitter="envato" youtube="Envato" border_top="no_border_top"][td_block_9 custom_title=”LIFESTYLE” border_top=”no_border_top” ajax_pagination=”next_prev”][vc_wp_posts title="RECENT POSTS" number="5" show_date="1"][td_block_2 custom_title="LATEST REVIEWS" limit="3"][/vc_column][/vc_row]
On the Page Template settings the Sidebar Position is set for full-page.
In Page Attributes I have chosen Default Template.
The issue is that the 2nd column appears below the first, instead of next to it. What else should I be doing? You can see the page here.
BUG (Tested in Chrome latest, 1366×768, Example page: http://inserbia.info/today/2016/01/serbian-police-vs-arab-refugee-children/):
– Header Style 8 (Hybrid menu 2) – When sticky menu is turned on, when user scrolls down and sticky menu appears, the mega menu is floated left instead center. Also, default logo space size (i think it was 250px) goes over first menu item and prohibits hovering/opening of associated submenu.
– After upgrading (Newspaper 3 to Newspaper 6) and turning on Ajax for page view counter, all page views reset to 0 views (30K+ posts). It is not big deal for me, but still … Example page had 50K+ views.
IMPROVEMENT:
– There should be a notice (maybe there is a one but I didn’t saw it) that users cannot start video in video post if default post template (site wide) is set to Style 7. Currently, only featured image (video grab) is present but there is no video file to watch (upgrade from Newspaper 3 to latest). Check example page.
– Changing default post template for all posts and single post is great, but how about changing default post template category based? I.e. I really like Style 7, but it is not good for my Video category, so I want to change ONLY in category “Video” to be default post Style 1.
– There should be 1 more field added for posts (where source, via, … is) and that is Photo credits.
– It would be nice to have (on frontend) for each post: Date and time published, date and time updated, click to get shortlink (if shortlinks are enabled).
– Add AMP support for mobile resolutions.
PERVERSION:
– Add HTML5-based Text-To-Speech library so we can have “Read me!” button on front.
Is there a way to have a featured image for a page like in the post templates? I’ve looked through all the setting and I can’t find where to do set this. Am I missing it or is it not there. Is there a handy workaround?
Hello,
This behavior is only present on post templates with big featured images. The easiest thing to do is make the posts with pagination use template 1 or 2 and the featured image will not show up on other pages. unfortunately there is no easy solution to make the other post templates display the same (3, 4, 6, 7, 8) This is the way they were designed.
Thank you!
Since I don’t see this topic in the theme documentation I found the following suggestion on the net on how to enter the code. I have simply copy-pasted the code in the Theme panel’s Analytics section and replaced the ID with my ID. I need to know if this is the right way of doing.
———————–
Adding the following code (known as the “JavaScript tracking snippet”) to your site’s templates is the easiest way to get started using analytics.js.
The code should be added before the closing </head> tag, and the string ‘UA-XXXXX-Y’ should be replaced with the property ID (also called the “tracking ID”) of the Google Analytics property you wish to track.
Tip: If you do not know your property ID, you can use the Account Explorer to find it.
<!– Google Analytics –>
<script>
(function(i,s,o,g,r,a,m){i[‘GoogleAnalyticsObject’]=r;i[r]=i[r]||function(){
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
})(window,document,’script’,’//www.google-analytics.com/analytics.js’,’ga’);
ga(‘create’, ‘UA-XXXXX-Y’, ‘auto’);
ga(‘send’, ‘pageview’);
</script>
<!– End Google Analytics –>
———————————-
Thanks.
Hello! I’m using your excellent Travel template in my site, http://www.southamerica-tours.net. I wanted to set a customized background image for the homepage, so I configured it in “Row Settings > Image”, as you can see in the blog. However, the image block has a little offset, moving a few pixels downward.
I’d like to eliminate this little gap between the header and the background image, would you please help me out with this issue, if there’s any option to configure or css style to edit? Thank you and best regards!
Good Morning, we are running Newspaper in a site with high trafic and more than 200k posts.
Besides, our site has a 2 hour trafic peak in which 50% of its readers navigate the template. This result in about 400 simultaneous sessions.
In that moment the load of the server becomes very high.
I need to reduce the load in that peak and I am plannig to have two home pages. One for the peak and other for the rest of the day.
I need to disable the queries that load the server: the pagination in the categories and the pagination that appear when a reader click in a tag. But I d not know how to do it.
Also i will apreciate other advice to could clean the template and get a light versión for the moments of high traffic.
Thank you very much for your helping.
Best regards from argentinian Patagonia!
Guillermo
I need to make a landing page without header but in a single page of the web, you agrege one blank header but it does not work well in the template that recommend to me. I work with visual composser and ulitmate addons, the solution must be compatible with these plugins
Hello nejrab,
If you want to disable the latest articles on your page, you have to change the template that you are using to Default template or Pagebuilder+page title, like this -> http://screencast.com/t/EVg1io7q If you want to find our more information about our page templates, please consult our documentation here -> https://forum.tagdiv.com/page-templates-2/
Hope this helps!
Thank you for the message!
Hey guys,
I’m trying to build a page using a Visual Composer template. I found a template I like but would like to delete a few elements, like ad blocks, that I don’t need. But when I click the trash can to delete them, nothing happens. I know others have had this issue recently (http://seventhqueen.com/support/forums/topic/visual-composer-issue-deletetrash-not-working) but I have not been able to find a solution. Thanks!
I just read this good tutorials that guide you in the customization of the amp template