- 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
Hi,
First you’ll need to set a mobile logo in Newspaper>Theme panel>Headers>Logo for mobile
-> https://www.screencast.com/t/ng7ndiJpek
-> https://www.screencast.com/t/H8RToieCnd
After that you’ll need to set a custom css in amp files
Here is the css for center the logo on amp
.td-logo amp-img {
left: 50%;
transform: translateX(-50%);
}
The above code is a bit of CSS code to change the AMP style page, please edit here -> https://www.screencast.com/t/vIUHFAbD6uRH There’s no option for custom CSS code for AMP version, sorry! You need to follow the above advice if you want to customize your AMP version.
the path is wp-content>plugins>td-amp>templates>styles.php
results-> https://www.screencast.com/t/ypZ7UyOkP
Thank you for your understanding!
Hi,
That part is part of page template for that page you have set the Page Builder + Latest Articles + Pagination if you want to remove that latest articles change the page template to default -> https://forum.tagdiv.com/page-templates-2/
-> https://www.screencast.com/t/MOqzV1psfgmZ
Thank you for your understanding!
Hi. I’m having the same problem. I created my own home page and header (without a template) but that same header is not transferring to my posts. How can I create a global custom header for posts?
Thanks
Hello,
Thank you for reply. I think I did everything correctly what you suggested, however, the add is not appeared on my homepage.
Now, I have questions.
1. Is this possible to add “In-feed ad” in either “LATEST ARTICLE” or “RELATED ARTICLE”?If so, how can I do that?
2. I tried other way to get code. I entered my homepage URL as Google recommended. However, I got this message: “We couldn’t find any feeds on your page.Either your page has no feeds or we couldn’t detect them”
I am using “Lifestyle Magazine” template and didn’t customize so much. Why they can’t find any feeds on my blog?
Thank you,
Hello,
I have installed a glossary tooltip plugin for the definitions section of my site. This plugin uses the newspaper 9 post theme template to create each term page. However, how can I not show the date and author for these definition pages, but keep showing them on my regular post pages? I have emailed the tooltip plugin company as well, however, because they are using your theme’s template I thought I should email you as well. Here is one of my site’s definition term pages: https://www.techsiting.com/definition/vram/. Below is the php code of the term page, please help:
<?php get_header(); ?>
<div id=”left-area”>
<?php if (have_posts()) : while (have_posts()) : the_post(); ?>
<h1><?php echo apply_filters(‘cmtt_glossary_template_before_title’, get_option(‘cmtt_glossaryCustomTemplateBeforeTitle’, ‘Term: ‘));?><?php echo get_the_title() ?></h1>
<?php if (has_post_thumbnail()) : ?>
” title=”<?php the_title_attribute(); ?>”>
<?php the_post_thumbnail(); ?>
<?php endif; ?>
<?php the_content(); ?>
<?php
endwhile;
endif;
?>
</div>
<?php get_sidebar(); ?>
<?php
get_footer();
Hi team
I get this error message on my homepage (staging copy) after updating from 9.2.2 to 9.5. The site is wefrb.dk. The staging copy (where the error can be seen) is staging1.wefrb.dk.
Can you help, please?
Best regards from Lars
Fatal error: Uncaught Error: Call to undefined method td_api_header_style::_helper_show_header() in /home/wefrb341/staging/1/wp-content/themes/Newspaper-child/header.php:43 Stack trace: #0 /home/wefrb341/staging/1/wp-includes/template.php(688): require_once() #1 /home/wefrb341/staging/1/wp-includes/template.php(647): load_template(‘/home/wefrb341/…’, true) #2 /home/wefrb341/staging/1/wp-includes/general-template.php(41): locate_template(Array, true) #3 /home/wefrb341/staging/1/wp-content/themes/Newspaper/page.php(7): get_header() #4 /home/wefrb341/staging/1/wp-includes/template-loader.php(74): include(‘/home/wefrb341/…’) #5 /home/wefrb341/staging/1/wp-blog-header.php(19): require_once(‘/home/wefrb341/…’) #6 /home/wefrb341/staging/1/index.php(17): require(‘/home/wefrb341/…’) #7 {main} thrown in /home/wefrb341/staging/1/wp-content/themes/Newspaper-child/header.php on line 43
Hi,
If you want you can install that demo
Installing demos -> https://forum.tagdiv.com/installing-demos/
or if you wan only some parts of that demo you can use tagDiv Cloud Library and import only those templates/pages that you want/need.
Thank you!
Hi,
Unfortunately you can not use tagDiv Cloud Library to build page templates, if you want to have the same structure on page you can build one with TagDiv Composer and when you create a new page just copy and past the content ( https://www.screencast.com/t/zkxfblzK ) in the new page, after that edit with composer and change the content.
Thank you for your understanding!
Hi,
Unfortunately in v9.5 the empty page template has been removed, now you can remove the header per page, using the header manager. An option will be added for the footer. If you require it, you can download it from here – http://cdn.tagdiv.com/wp-content/uploads/2019/02/page-empty.zip
Place it in the main theme folder, upload it by FTP for example
– http://prntscr.com/mo17zp
Then select it for the pages you want. The footer will be removed and the header can be disabled
– http://prntscr.com/mo17bw
Thank you!
You can apply cloud post templates just as default templates. After you import it it will appear in the general options – http://prntscr.com/mo20fe
Also in the post edit screen – http://prntscr.com/mo20x5
Importing a page or section from the cloud library section, a new page will be created. You can find it in the pages section – http://prntscr.com/mo24yh
Maybe I am misunderstanding, sorry if I am.
Hi Simon,
When I added page empty, and them select it on page template – still I have an error 🙁
Regards
Indeed, the empty page template has been removed, now you can remove the header per page, using the header manager. An option will be added for the footer. If you require it, you can download it from here – http://cdn.tagdiv.com/wp-content/uploads/2019/02/page-empty.zip
Place it in the main theme folder, upload it by FTP for example
– http://prntscr.com/mo17zp
Then select it for the pages you want. The footer will be removed and the header can be disabled
– http://prntscr.com/mo17bw
Editing the revolution slider blank template with the composer will cause problems. That would be useful if you wish to display only a slider provided by the plugin, by entering it’s shortcode in the page content, in the backend – http://prntscr.com/mo18vk
Sorry for the inconvenience.
Hey,
Love the cloud templates. I’ve made one for a page (see screenshots) that I can’t figure out how to use for a page.
The template is clearly there within the cloud template section.
But how can it be used for a page? When I create a new page there’s no option to select the template, as is the case with a post template.
Thanks,
Keith
Hi Simon…I am clearly missing something here. I installed the plugin, added the templated I wanted (Single Post Template 10) and can see it under the Cloud Templates listing. How do I bind it to a page?? I cannot get it to work no matter what instructions I follow. What am I missing? Thanks!
Hi,
Here are the set that I made without to set any opacity
-> https://www.screencast.com/t/diE8BZaXN
-> https://www.screencast.com/t/IWJc1auaMF
-> https://www.screencast.com/t/5ilitJEiBGtm
So the content of website will still be there, if you want to have a tarnsparent background you can edit the page/template with TagDiv Composer and set the background color on row to be transparent -> https://www.screencast.com/t/xEratGRasa
or you can set this custom css in Newspaper>theme panel>Custom code>Custom css
-> https://www.screencast.com/t/rLbUiRWQif
.td-container-wrap {
background-color: #ffffffdb;
}
Thank you!
Hi,
Maybe you modified the page template files directly or in a child theme, please check if that is the case. In post pages it seems to work properly.
Also something unusual I am noticing is that the category pages seem to use the Newsmag theme, while the posts and rest of the website uses Newspaper.
Thanks
Only cloud header templates can be edited, the predefined header templates cannot. You can create/import a header template and save it, then you can set it in general or in specific pages
– http://prntscr.com/mnmyxh – http://prntscr.com/mnmz7p
Hi,
I updated Newspaper 9.5 and JS Composer and Visual Composer
Now, I cannot create a post or a page
When I activate debug mode, I have this :
Notice: Trying to get property of non-object in /home/laremcombv/www/wp-content/plugins/js_composer/include/autoload/post-type-default-template.php on line 29
Warning: Creating default object from empty value in /home/laremcombv/www/wp-admin/includes/post.php on line 662
Notice: Undefined property: stdClass::$ID in /home/laremcombv/www/wp-admin/post-new.php on line 71
Notice: Undefined property: stdClass::$post_date in /home/laremcombv/www/wp-admin/edit-form-advanced.php on line 144
Notice: Undefined property: stdClass::$post_status in /home/laremcombv/www/wp-admin/edit-form-advanced.php on line 196
Notice: Undefined property: stdClass::$post_status in /home/laremcombv/www/wp-admin/edit-form-advanced.php on line 230
Notice: Undefined property: stdClass::$post_type in /home/laremcombv/www/wp-includes/taxonomy.php on line 202
Notice: Undefined property: stdClass::$post_type in /home/laremcombv/www/wp-includes/taxonomy.php on line 204
What can I do ?
Thx
Hi,
Note that the tagDiv Composer is a builder made for create/edit pages and templates from tagDiv Cloud Library not for creating posts, indeed you can create/edit single post templates from cloud library for post.
Thank you for your understanding!
Hi,
Our theme will generate one thumb for each thumb that is enable in theme panel,even if those are used or not-> https://forum.tagdiv.com/theme-thumbs/ , also are set in modules and modules are st in blocks, so those thumbs are not only for homepage (main page), this is for all pages and templates that can be edit wit tagDiv Composer
Please disable the thumbs that you are not using, in this way will be created only for the thumbs you need.
Thank you!
Hi Simion,
I searched over and over and found the issue: since 9.5 there is no blank template anymore, I switched and/or started using the Slider Revolution Blank Template instead. That caused the issue! When I switch to standard it works.
Next question (somehow I didn’t find on the forum): what can I do to make that page “blank”?
Dear Support,
please help me to solve the following issue:
When I refresh Newspaper theme to v9.5 I realized these problems:
Notice: Trying to get property of non-object in /public_html/wp-content/themes/Newspaper/includes/wp_booster/td_util.php on line 50
Notice: Undefined variable: tdc_header_template_id in /public_html/wp-content/themes/Newspaper/includes/wp_booster/td_util.php on line 187
This issue appeared only on these pages: https://tess.hu/category/ and https://tess.hu/category/tesstippek/
How can I solve it?
I am looking for your reply.
BR,
Janos
From what I know Bogdan re-added the empty page template which should now work as before, a test page here – https://desdelaraiz.com/tagtiv-test-page-landing-page/
So for the pages you want to have no header and footer, edit them and set that page template. You can remove the header from the header manager section in the composer.
Hi,
If I understand correctly you want to have diferent background on homepage and posts, if is so this can be achieve using single post templates from tagDiv Cloud Library and set background color on templates or you can use custom css
-> https://www.screencast.com/t/0XEM0MiA
-> https://www.screencast.com/t/yYfkqy64
Thank you!
Hi,
Homepage – How to build and set it -> https://forum.tagdiv.com/homepage-how-to-build-and-set-it/
If you want to have as homepage a page with a slider and latest post only all you need to do is to build a page add a slider -> https://www.screencast.com/t/4JSQXszynFBe and a post loop -> https://www.screencast.com/t/sj8b4cvc
After that all you need to do is to set it as homepage.
In order to change the page template please use the Gutenberg.
Thank you!