- 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
Configuration
– WordPress
– Newspaper theme
– Doctors Pro Templates in use
The live search in the header is working fine but no results are shown on the search page. In the tag div editor I have removed Post Type from CPT search. I have also removed all the custom Taxonomies and Post types. Any help will be appreciated.
Yeah – We’re only using TD Composer for our homepage. All our post editing is using the classic editor and we don’t really update the post template all that often.
Hi,
I would like to make some changes in code regarding the templates that are responsible for
– post loops
– Single post pages
– Some flex boxes
On category and tag pages I use post loop. On single post page i use template from cloud library with some design modifications. But i need some “under the hood” modifications in php for single as well as for the post loops. Can you tell me which php templates are responsible fr this as I can see many of them inside the Newspaper theme folder as wel as in the td-composer folder.
Thanks. And if there is more information needed, please let me know.
Hello,
Please provide the link to your website.
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/
If you created the mobile pages with tagDiv Composer, then 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 then 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
Mobile responsive version of the theme and the mobile page editor can be edit with tagDiv Composer, the mobile theme plugin not.
For example, you can have the mobile theme plugin activate 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 activate.
So, if you want to design the pages with tagDiv Composer, you can use the mobile page or mobile responsive version.
Thank you!
Hello,
One other question- why does my homepage not match the Newsmag Homepage. I chose the default homepage and expected it to look like this: https://demo.tagdiv.com/newsmag/#
Instead, it looks like this: https://staging4.divorcemoneykids.com/
I’ve tried changing the Archive templates, but that doesn’t change the homepage. I’m not sure what else to adjust.
After spending some time checking all the cloud templates I then found this toggle button in the theme panel was turned on. It has now fixed the flex blocks that have the correct settings on the page templates.
This is now solved.
Hi karemfouad, I moved this topic from Newsmag to Newspaper because it appears that the theme you are using is Newspaper.
1. The tagDiv Optin builder is already activated and updated – https://i.imgur.com/ostWkQA.png there is only a problem with the plugin version, the version should be 1.6.1 and because it is 1.6,1 the update button is all the time display.
2. Since you are using the Newspaper theme you’ll need to add the ads using tagDiv Composer on pages and cloud templates, please check our guide from here – https://forum.tagdiv.com/article-ads/ – https://forum.tagdiv.com/ads-adsense-overview/ -> https://www.youtube.com/watch?v=biTpVVlr8j8
3. If you want to hide it only on mobile please use tagDiv Composer, edit the single post template and select the author box, the hide it on each view port. There is an option that displays hidden elements, like in your screenshot. Please activate it from the website manager https://i.imgur.com/4sPQZ2U.png – https://prnt.sc/yhtJPDWeozed It may be needed to refresh the page in the composer after activating it. Please try it. Also, the hide option should be set on each viewport – https://i.imgur.com/p5dMrnt.png
4. To have the same content on mobile as on desktop then please disable the tagDiv Mobile theme plugin.
Thank you!
Hello,
You can use the flex blocks and set on them what category of posts you want to show, and then this block will display the same posts for all categories; if you set the special filter for the current category, which dynamically displays the posts from that category within each category https://forum.tagdiv.com/flex-block-settings-guide/
The Posts Loop automatically filters the posts depending on the cloud template you set (for example, on the category page, there will be posted posts from that category) https://forum.tagdiv.com/posts-loop/
Thank you!
Hello @Jabed !
Ok. Please follow the steps:
1. Go to the Cloud Templates and duplicate the category template: https://app.screencast.com/BNzUFeC6LowNM
2. Rename the duplicated template with the name of the category you wish to assign. https://app.screencast.com/xYkkdBFTeIF88
3. You can edit with the tagdiv composer each template to change it and add the elements you need for each category: https://app.screencast.com/GBXyRRA5lZMGH
4. You should assign them. So, the simple way is to go to the theme panel settings: https://app.screencast.com/mpuweTKi1QfH2
You can see that the Early Middle Ages category has a special template assigned. You can do the same for your posts. Also, you can view each category page and assign the template from here: https://app.screencast.com/mLGsvgRnfMmjs
I hope that helps you!
Thank you!
Hi,
Yes, you need to duplicate the single post template -> https://i.imgur.com/vqOM6oJ.jpeg and are the same steps as for a page. You need to assign that single post template on the posts that you don’t want a footer.
Thank you!
Hello,
I created an “Mobile Template”, but when I save their is no update on my phone.
I tried lot of times, with cache cleaning, my problem started after installed AMP plugin, I delete it, but nothing change
Dear support, it is possible to reduce the space between the checkout title and billing heading on the checkout page of the watches template like how is presented on the blog Gadgets checkout page.
Please find attached on issue presented : https://drive.google.com/file/d/16HnNBxMn9xeWPj3htZE0qzs6kpHf7i44/view?usp=sharing
Thanks
Hello!
1. The images are the featured images of the posts. Create a custom module with the help of the module templates: https://forum.tagdiv.com/modules-builder-newspaper-theme/
For example: https://app.screencast.com/F2RMbiqUiUJlo -> in flex block builder should look like this for every article: https://app.screencast.com/G6hHCQdZzUU00
2. You can filter the post IDs, and they will never change, and the block will always display the same posts. https://app.screencast.com/U4xdUp5oerbLF
3. Only if you will use cloud templates and not the default templates from Learndash.
4. This feature is useful when you do not want to display the same article on that page. The settings can be found in Gutenberg -> Post Settings(scroll down to see it) when you edit the page.
Thank you!
I need to set up a Page on WeTeachSuccess.org to handle a special workshop offering.
I want to use this template https://demo.tagdiv.com/newspaper_trucking_services_pro/news-section/
Questions:
1. How can I make the large image a static image instead of pulling a post?
2. I want to make the smaller blocks static offerings from other posts. How do I assign these to specific posts?
3. We also use Learndash. Can I assign these smaller blocks to courses from the Learndash section of our site? Or can I make oe of the small images static and then just supply a link plus some static copy?
I see a reference in your docs to enabling “Unique Articles” for a page. Is this the method? I don’t know where to find this Page setting.
Thank you.
Hi,
Checkout this website when i right click on feature image it does not showing option for open image in new tab like an image check: https://share.zight.com/NQuAy6WB
When I open my blog post and right click on image its shows like an image check: https://share.zight.com/nOu7qjLb
Both websites are using same theme and template than whats the difference?
Also when I set feature image there is no option to set full size check: https://share.zight.com/8LuNv866
Also one more thing when I check my blog post speed on https://pagespeed.web.dev/ its show 89 on mobile if I remove feature image from the post. when I enable feature on top after heading (h1) its show only 40 in mobile. how can decrease that speed for just 1 image? and how can I resolve that speed issue without removing feature image after h1 in the post?
Hello,
In the single post template the image is full size, you need to edit the page/templates and select the blocks. For block 1 you can set the image height and width -> https://i.imgur.com/MJY85wY.jpeg
You can not add it in the footer, only if you create a mobile template -> https://tagdiv.com/newspaper-10-3-7-update-brings-customizable-and-fast-mobile-pages
To avoid adding the block in the footer section, you can reorder the columns, as I said above.
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!
Hello @Adrie!
Please make sure the settings are set to show the published date and not the modified date. For example:
– homepage, flex block 1 settings: https://app.screencast.com/Jor62PnL7C5Lc
– single template, using the single post date: https://app.screencast.com/dRwTFaIH0sLBn
Thank you!
The reason I asking this is because the website is huge. It has 200-300 pages. A few using a template, but at least 30-40 is unique, so if you have a bulk option to do this, that would be fantastic.
Hello,
Did you update the theme, WordPress, or PHP, or make some changes?
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!
Hello!
We have 3 options available 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!
One of the reasons we purchased Newspaper was because we really liked the Art Blog Pro layout. But when trying to implement it, the options don’t match up with what ABP looked like? For example, on the home page, the main block doesn’t have any options that look as clean as the ABP template page. They all include that “Latest, Feature, Popular” filter. There’s just so much unused space. I’ve been looking and looking and don’t see any way to remove the “Latest, feature…” option? Help would be appreciated.
The image won’t load for some reason. But here is the link
Hello!
Sure. By using cloud templates, you can have also different headers. One could be global and another one could be assigned manually on the templates you need. See https://forum.tagdiv.com/topic/different-logo-in-categorypage/ for more information.
Thank you!
Hello, thank you for your response, everything worked out great except now I stumbled on another issue:
The setup is: Left author pic (ok) – Right-top Author name (problem), Right-bottom article title (ok).
When setting the author name in the custom module template, it shows a random author (no problem here) but on the frontend it shows all editorials as written by the admin account. In tag-div editor they are assigned ok, but not on the published page. Is there a fix for this?
Thank you,
Andrei.
Hello!
I recommend using cloud templates. You can build a sidebar with the TagDiv Composer. Steps:
1. Insert one new row (or delete an existing one).
2. Divide into two columns (2/3 + 1/3).
3. You can add whatever element you want from the tagdiv Composer to the second column and consider it a sidebar
If you have an extra shortcode or a code you can use the elemnts called column text or raw html.
A shortcode can be inserted also by using the element called “Column text” or “Text with title”. “Column text” and “text with title” elements have a button called “edit content” and if you click on that button, the WP Editor will open, and you can add some text/code/shortcode there. Close the WP Editor from X, save the changes from Composer and view the page to see the changes.
We recommend to use cloud/PRO templates in order to have the possibility to edit them with the TagDiv Composer which contains a lot of functions and features, please check our tutorial here: https://forum.tagdiv.com/tagdiv-composer-tutorial/
More documentation about the cloud templates is here:
– https://forum.tagdiv.com/cloud-library-templates/
– https://forum.tagdiv.com/design-post-pages-using-cloud-library-templates/
– https://forum.tagdiv.com/cloud-library-category-templates/
For the question 2, some blocks can be made with the custom modules: https://forum.tagdiv.com/modules-builder-newspaper-theme/ but the complex ones, you need some extra custom code. Or if you have the blocks already made with an extra plugin, then you can add it there as I explained above. Please take care of a plugin conflict.
For customization and other services, you can contact our custom work team here: https://tagdiv.com/premium-customization-services/, and they can find a solution for your needs.
Thank you!