- 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
I have a category with three subcategories. Now I want to create a template for the main category with different blocks and a list of all items underneath.
For example:
Block 1: the three most recent articles in subcategory A
Block 2: the three most recent articles in subcategory B
Block 3: the three most recent articles in subcategory C
Followed by the standard listing for all articles in the categories.
Now the problem: Since the categories do not receive new articles evenly every day, the articles in block 1, 2, 3 are also included in the listing of all articles. Normally you would work with an offset, but this is not possible in this case and would only work if no subcategories were included.
For pages there is the option “Unique article”, couldn’t this option also be used for the categories? This would give Newspaper users much more freedom in the design of the category pages
Hi,
The tagDiv Composer is our page builder and it can be used for building pages and cloud templates, but not for creating posts. For this, you’ll need to use Gutenberg or a classic editor.
Using tagDiv Composer, you can build/edit the single post template (the layout of the posts).
Here is a video that will show you how to use the builder to create a website from scratch https://www.youtube.com/watch?v=SoGQ0d5kIBg to do this you’ll need to have the posts already.
Also, on our channel https://www.youtube.com/channel/UCOT1RiNysIPCTPSnVZskwtQ, you can find more videos that can help you and documentation https://forum.tagdiv.com/newspaper-theme-documentation/ and you can ask us here on the forum or email if you have any questions.
Thank you!
I am frustrated as I can’t seem to see how to edit the content inside the single post template default pro. It should be the simplest thing to do but it seems that there are only styling options available and nowhere where I can edit the pre-formatted content.
I have rolled back Newspaper to the previous version and disabled many plugins But still no where to see how to replace the content. I know that I can add fresh blocks but I want to edit the template that I have imported.Am I missing something obvious?
Ps see attached screenshot
https://app.screencast.com/TECKDo9LKAm9Z
Hi,
Need a little help in choosing which Yoast content types should be indexed via search engines.
The Yoast plugin picks up a few extra content types created by the theme. The list includes Review Emails, Posts, Pages, Reviews and Cloud Templated.
The ‘Reviews System’ is disabled under General Post Settings in the theme panel, so I’m not sure why Review Emails and Reviews are showing.
What I’m curious about is the Cloud Templates. Would disabling this prevent posts using a specific template from being indexed?
Thanks!
Hi,
If you want to add it to have it for all posts with the same button, then you can edit the template with tagdiv composer and there is the button -> https://i.imgur.com/9d0bCwD.png – https://i.imgur.com/BwGWhua.jpg You need to use a cloud template -> https://forum.tagdiv.com/design-post-pages-using-cloud-library-templates/
Thank you!
Hi,
“And I need another help with the category page section category header color change. How to do that. https://prnt.sc/aULGynP4Ihln”
For the category block titles you can try this custom css:
.category .td-category-header .entry-title span{
color: white;
background: green;
}
The tagDiv Composer can be used on Newsmag only on page = https://forum.tagdiv.com/tagdiv-composer-tutorial-2/ the rest of templates and options are in the theme panel – https://i.imgur.com/SaLqRwt.png
Thank you!
Hi there. There is a problem with the search that’s inside the header. When i click it, the box opens, i write the search term and i get results, but if i click on the search button or on the View all results button, I get an empty page, with no results for the search term that I entered there. There’s no specific problem on my website, the same does on your demo!
Please fix it and tell me what to do!
Hello!
Yes. You can have a different header template instead of the global one for the pages and assign it to every special page.
Thank you!
Hello!
You should place the menu in the header, which is global, in order for it to appear. The page templates are different from the other templates, like category or post templates. You should add the menu element to the content on every page or just once in the header.
Thank you!
Hello!
If you use cloud templates, then edit the page with the TagDiv Composer, click on the module, and check the settings to see if the category is set to be shown or not.
Or else, if you use default templates, then please check in the theme panel -> Block Settings -> Category tag on Modules/Blocks if the option is enabled for the modules you’re using and want to display the category tag.
Thank you!
Hello,
If you’re seeing only those please make this adjustment in the tagDiv Composer plugin -> wp-content/plugins/td-composer/legacy/common/wp_booster/td_first_install.php
=> https://www.screencast.com/t/yO3iU8E5JhH
Then hit a save in the theme panel and then revert the code back to the original, this will make the social icons appear properly again -> https://forum.tagdiv.com/design-post-pages-using-default-templates/.
Thank you!
Hello Rachael!
Edit this page https://bluemonkee.dev/cds/ with the tagdiv composer, click on the website manager and make sure you have a header template assigned on this page. For more information, please check this guide: https://forum.tagdiv.com/tagdiv-composer-website-manager/
Thank you!
Hello Henry!
Our templates contain dummy data or some elements that you did not set a value for.
Check out this guide: https://forum.tagdiv.com/what-is-ajax-preloading/.
The link to the particular post doesn’t exist anymore.
Edit the page like this: https://app.screencast.com/89kodsIN5s4Yf, and check from where this text comes. You can easily delete the element or change the text.
Thank you!
Hi merson, that section is referring to the latest articles and is coming from the page template – https://i.imgur.com/SAHBYCu.png – https://forum.tagdiv.com/newsmag-page-templates/ therefore it can be edited only with css, you can try this one for the category:
.page-template-page-pagebuilder-latest .td-pb-article-list .td-post-category{
color: black;
background: red;
}
This one for block title
.page-template-page-pagebuilder-latest .td-pb-article-list .block-title{
color: black;
background: red;
}
And this one for the read more –
.page-template-page-pagebuilder-latest .td-pb-article-list .td-read-more a{
color: black;
background: red;
}
The code should be set in the theme panel > custom code> custom css – https://i.imgur.com/hTdVp8n.png
I hope this will help you!
Thank you!
Hello,
Please tell me where it only appears on one page or the entire site. Did you add any code or elements from another plugin?
Please follow the steps from this topic https://forum.tagdiv.com/topic/error-at-zones-6models-1dom-the-model-does-not-match-the-content-currene/ if you have a child theme; please use the main theme.
You can try to revert an old revision on a page/template -> https://www.wpbeginner.com/beginners-guide/complete-guide-to-wordpress-post-revisions/
Thank you!
One more question; the category I am changing has content and a widgetized sidebar. This works fine everywhere, except on this new category template which shows it as 1 column and the sidebar below (https://www.waterforum.net/category/premium-artikel/).
Even when I try a tdc layout from another page which looks fine on home is also 1 full column on the category instead of 2/3 or 3/4.
Already checked column layout and all I can think of.
Hello,
You have the mobile theme plugin activated; please deactivate it.
Using our theme, you can choose from 3 mobile versions
-> mobile responsive => https://www.screencast.com/t/oJ2ShOp47
-> mobile theme plugin => https://forum.tagdiv.com/the-mobile-theme/
-> mobile page => https://tagdiv.com/newspaper-10-3-7-update-brings-customizable-and-fast-mobile-pages/ The option that you need to use.
Suppose you created the mobile pages with tagDiv Composer. In that case, when you install the Mobile Theme plugin, your pages will be overwritten by the plugin (the mobile theme comes with its templates for page, post, category, etc, so your current templates from the desktop theme will get converted to the mobile theme layout, the page content is made without builders in mobile editor => https://www.screencast.com/t/xbgZG8kH also, the options that are provided to edit the mobile theme version are limited (this keeps the things simple)).
This is a video about Responsive Newspaper Theme, AMP & Mobile Theme, Mobile Pages & Templates -> https://www.youtube.com/watch?v=SpGkOnJeNZY.
So, the mobile responsive is what you see when that you select the viewport on phone => https://www.screencast.com/t/matV17hH, so some settings may apply for each viewport(where is the border blue), and others are not(where the border is black).
The mobile page has the mobile templates from Cloud Library => https://www.screencast.com/t/YCcZ8rL8
The Mobile responsive version of the theme and the mobile page editor can be edit with tagDiv Composer, the mobile theme plugin cannot.
For example, you can have the mobile theme plugin activated and use the mobile page/mobile responsive version for the homepage/pages, but for the categories pages/404 page, you can’t use the mobile page/mobile responsive version if you have the mobile theme plugin activated.
So, if you want to design the pages with tagDiv Composer, you can use the mobile page or mobile responsive version.
Also, please check this topic https://forum.tagdiv.com/topic/amp-pages-not-working-well-with-this-theme/
Thank you!
Hello,
You have the mobile theme plugin activated; please deactivate it.
Using our theme, you can choose from 3 mobile versions
-> mobile responsive => https://www.screencast.com/t/oJ2ShOp47
-> mobile theme plugin => https://forum.tagdiv.com/the-mobile-theme/
-> mobile page => https://tagdiv.com/newspaper-10-3-7-update-brings-customizable-and-fast-mobile-pages/ The option that you need to use.
Suppose you created the mobile pages with tagDiv Composer. In that case, when you install the Mobile Theme plugin, your pages will be overwritten by the plugin (the mobile theme comes with its templates for page, post, category, etc, so your current templates from the desktop theme will get converted to the mobile theme layout, the page content is made without builders in mobile editor => https://www.screencast.com/t/xbgZG8kH also, the options that are provided to edit the mobile theme version are limited (this keeps the things simple)).
This is a video about Responsive Newspaper Theme, AMP & Mobile Theme, Mobile Pages & Templates -> https://www.youtube.com/watch?v=SpGkOnJeNZY.
So, the mobile responsive is what you see when that you select the viewport on phone => https://www.screencast.com/t/matV17hH, so some settings may apply for each viewport(where is the border blue), and others are not(where the border is black).
The mobile page has the mobile templates from Cloud Library => https://www.screencast.com/t/YCcZ8rL8
The Mobile responsive version of the theme and the mobile page editor can be edit with tagDiv Composer, the mobile theme plugin cannot.
For example, you can have the mobile theme plugin activated and use the mobile page/mobile responsive version for the homepage/pages, but for the categories pages/404 page, you can’t use the mobile page/mobile responsive version if you have the mobile theme plugin activated.
So, if you want to design the pages with tagDiv Composer, you can use the mobile page or mobile responsive version.
Also, please check this topic https://forum.tagdiv.com/topic/amp-pages-not-working-well-with-this-theme/
Thank you!
Hello,
You have the mobile theme plugin activated; please deactivate it.
Using our theme, you can choose from 3 mobile versions
-> mobile responsive => https://www.screencast.com/t/oJ2ShOp47
-> mobile theme plugin => https://forum.tagdiv.com/the-mobile-theme/
-> mobile page => https://tagdiv.com/newspaper-10-3-7-update-brings-customizable-and-fast-mobile-pages/ The option that you need to use.
Suppose you created the mobile pages with tagDiv Composer. In that case, when you install the Mobile Theme plugin, your pages will be overwritten by the plugin (the mobile theme comes with its templates for page, post, category, etc, so your current templates from the desktop theme will get converted to the mobile theme layout, the page content is made without builders in mobile editor => https://www.screencast.com/t/xbgZG8kH also, the options that are provided to edit the mobile theme version are limited (this keeps the things simple)).
This is a video about Responsive Newspaper Theme, AMP & Mobile Theme, Mobile Pages & Templates -> https://www.youtube.com/watch?v=SpGkOnJeNZY.
So, the mobile responsive is what you see when that you select the viewport on phone => https://www.screencast.com/t/matV17hH, so some settings may apply for each viewport(where is the border blue), and others are not(where the border is black).
The mobile page has the mobile templates from Cloud Library => https://www.screencast.com/t/YCcZ8rL8
The Mobile responsive version of the theme and the mobile page editor can be edit with tagDiv Composer, the mobile theme plugin cannot.
For example, you can have the mobile theme plugin activated and use the mobile page/mobile responsive version for the homepage/pages, but for the categories pages/404 page, you can’t use the mobile page/mobile responsive version if you have the mobile theme plugin activated.
So, if you want to design the pages with tagDiv Composer, you can use the mobile page or mobile responsive version.
Also, please check this topic https://forum.tagdiv.com/topic/amp-pages-not-working-well-with-this-theme/
Thank you!
Hi Friends,
The latest update of the Newspaper theme has caused our post pages to render inside what looks like a frame and it is throwing these two errors:
Warning: require(/home/customer/www/thevalley.life/public_html/wp-content/plugins/td-standard-pack/Newspaper): failed to open stream: No such file or directory in /home/customer/www/thevalley.life/public_html/wp-includes/comment-template.php on line 1618
Fatal error: require(): Failed opening required ‘/home/customer/www/thevalley.life/public_html/wp-content/plugins/td-standard-pack/Newspaper/’ (include_path=’.:/usr/local/php74
Anyone have an idea about what happened or have dealt with this before?
Here is a link to one of our post pages:
https://thevalley.life/fire-doused-at-redwood-road-nail-salon-2/
Theme is not throwing errors for any other pages on the site. We have comments turned off throughout the site. The theme is a recent install. Updated to Version: 12.6.4. All plugins up to date and none that are ‘specialized’ beyond the theme standards.
Hi
I’m using a plugin which by default adds an audio player before the_content(). It’s fine with the default template but when I change it to another single page template from the cloud library it doesn’t show. I’ve also tried to get it to work by adding its shortcode using both Raw HTML and Single External Shortcode elements but still nothing (the shortcode can be used to specify where on the page the player is to feature if you don’t want its default position).
The plugin devs say “Our shortcode will only function whistle running inside The Loop”.
The template I’m using is Magazine Pro. Are there any theme php files that can be our devs can edit? (I’m also having an issue which a special type of video ad which again I think normally uses The Loop).
Thanks
I did a theme upgrade from version 9.x to the latest version. I know there were several major versions I upgrades at once, but I took a chance… After the upgrade I can´t view the start page properly https://www.roslagsbanan2.se/ or the posts http://www.roslagsbanan2.se/hyra-ut-i-andra-hand/, but the pages look OK https://www.roslagsbanan2.se/for-maklare/.
I have updated and activated TagDiv Composer and Cloud Libary. I assume I need to something with the post templates, but what? I have tried to update a post, but it did not help.
About the start page; I made it so long time ago that it can be made in Visual Composer (or whatever the name was). I am tempted to try to open it in TagDiv Composer and save it from there, but I decided to ask for advice here first. (I know it is said that the start page needs to be created again from scratch changing from Visual Composer to Tag Dig Composer, but I have previously successfully just opened and saved another start page in TagDiv Composer).
I am not a developer, I can do configurations within the theme, but no coding or too technical suggestions.
Thanks.
Hi, so, I am a somewhat of a novice, was making a wordpress site years ago and have decided to try again, so i have moderate experience.
When I read this on your instructions regarding ‘child themes’
“Please note that most of the child theme modifications are no longer required as the Cloud Library plugin allows you to create templates for posts, categories, tags, archives, 404 pages, author templates, search templates,etc.
This way your modifications no longer require code modification and are truly update proof.”
It confuses me.
I do not intend on altering the code (for now) and I just want to use the website theme and it’s features but I am confused about this ‘no longer needed child theme’ and then ‘lets help you figure out how to instal a child theme’ right after.
For now, I just want to know what the best way is to install this so that I will not run into unforeseen complications down the road.
What is the process/circumstances of ‘NOT’ using the child theme and updating your theme?
What is the process/circumstances of using the child theme and updating your theme?
I guess if your instructions were a bit more detailed regarding this I would no be so confused right now. Once you start saying ‘no need for child theme’ I guess it would be better to explain why more than just a link that leads to instructions that do not actually tell you anything about that.
Perhaps one day after setting everything up, all the blogs, all the personal edits of theme pages and logos, if I then need to change something in the code THEN I would need the child theme? If so THEN is it possible to instal child theme or is this something I should do ahead of time just in case?
lol, explain it to me like I am 5 years old 🙂
Thanks.
I’m using a Newspaper theme version 12.6.3 with Style PRO prebuild site from cloud.
Is there a possibility to override totally or partially the category template parts or maybe use some Tagdiv Composer php block?
I don’t want to use standard pack because its not so good for SEO/Speed.
What I want to do is:
1 – First show subcategories of actual category with title and background of each subcategory in one module, similar what I have with posts on homepage but with subcategories of actual category: rometm.com
2 – Next behind this module I will show top posts of actual category featured by my own criteria
I’m not asking for help with code implementation, just explaining what I want to do. So you can advise me the best options to override this parts.
Thank you!
Hello @sotirisa!
We have 3 options for mobile versions that you can use:
1. Responsive version: A responsive version of your website looks similar to the desktop version. TagDiv Composer is used to edit the page.Click on the mobile viewport: https://www.screencast.com/t/XDQJedlggSB. There, you can see your mobile version and edit or adjust the elements to look better.
2. Mobile pages: https://tagdiv.com/newspaper-10-3-7-update-brings-customizable-and-fast-mobile-pages
3. Mobile theme plugin: The Mobile Theme is a performance-optimized theme included in the main Newspaper theme that only loads on mobile devices. It comes with its own templates and designs for pages, posts, categories, etc., so your current templates from the desktop theme will get converted to the mobile theme layout. Please see https://forum.tagdiv.com/the-mobile-theme/ and https://forum.tagdiv.com/mobile-theme-introduction/ for more information.
A full explanation is here: https://www.youtube.com/watch?v=SpGkOnJeNZY
If you need to use mobile version 1 or 2, then you need to uninstall the Mobile Theme plugin and AMP.
Thank you!