- 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!
If you use a cloud template, you should edit the homepage with the tagdiv Composer and add your logo.
Thank you!
Hi,
That depends. The theme has an option to set a background image for each category https://prnt.sc/gQRJ5oHWRBpv
But if you want to just display an image, it could be done like this. Are you using Yoast SEO perhaps, or a similar SEO plugin? These add a text editor for the category description, and you could add the image there https://prnt.sc/aFbLqPwF_u1Q and the image will appear in the category page.
It could also be done using a custom field, but that will involve code modifications to the category template to display the custom field, also with a condition to display it only in the desired category. It’s easier to do it with the category description if possible.
Thank you!
Hello!
Unfortunately, those shortcodes are available only on single templates.
The shortcodes available for pages are the Author box and authors box, and using a flex block 1, you can display the author and the post date.
Thank you!
Yes that is what I did. I rolled back to a previous state from the hosting providers backup before updating. However, it is still the same issues.
I reverted to previous version 12.6.8 and for now I am just recreating lost colors and fonts, and also re-assigning and re-designing the templates. See https://double-glazing-windows.co.uk
Unfortunately there is still issues with the new update.
The social share buttons on the blog are no longer visible. But the main issue with 12.6.9 is that when frontend user submits a CPT “domain”, the submit button is loading forever and the page is not redirecting to my designated link (but I still receive the users submission in the backend). User doesn’t know this of course so they cannot proceed to payment with paypal (a custom link I made for one-time payments.
This issue does not exist for me on 12.6.8 so for now so I will wait until you fix the bugs before updating as I lost a lot of things and I have other licences on my other websites which I don’t want to experience the same issues.
Thanks for now.
Hello,
AMP is deprecated as of January 2023-> https://developer.bigcommerce.com/docs/storefront/wordpress/platform-integration/enabling-amp so we don’t longer recommend it.
You have the mobile theme version now, so you can disbale the plugins to check the responsive version.
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.
Thank you!
Hello,
You have a header template from Cloud Library, then you need to edit with tagDiv Composer https://www.screencast.com/t/Y5j6ArY8Ug, select the logo and set there the image, make sure that is set to show and delete the logo text or SVG code-> https://imgur.com/ve11Fwt -> https://forum.tagdiv.com/add-logo-newspaper/ For mobile please edit with tagDiv Composer, select the viewport on phone, select the header logo and change it => https://i.imgur.com/cR7F0v4.png
You can to add the favicon, in Theme Panel -> Header -> Logo and Favicon => https://www.screencast.com/t/H4ucPC2wwz
Also, on the homepage there’s an option Customize icon => https://www.screencast.com/t/I2uVvP4b -> Site identity -> Site icon -> Change image -> publish => https://www.screencast.com/t/lY9WEOZEj also, here https://i.imgur.com/s3kT6q8.png
Thank you!
Hi, how can edit this text? (Search)
Since it is a pop-up modal I can’t edit directly with Tag-Div Composer. It is from Cali Sight header cloud template so I couldn’t find the page for edit too.
Hello,
In td_011 are store all the data from the theme, there all set the settings, cloud templates, backup for theme panel, pages and so on. -> https://imgur.com/k7nkIRg
If you have more settings and a big website then is possible that the database to grow, there are set data for posts and pages, categories, authors. You can change the limit of backups from here https://imgur.com/Riz0x9H
You can use this plugin https://wordpress.org/plugins/aaa-option-optimizer/ to sort and delete the autoloaded options. I see that the limit for the autoloaded options size is 800 KB. Some found a way to increase that limit so the message goes away – https://wordpress.org/support/topic/autoloaded-options-issue-in-site-health/ But it would be best to actually check and maybe reduce the autloaded options. This plugin looks great for that – https://wordpress.org/plugins/aaa-option-optimizer/ If you want I’ll install the plugin and then you can analyze the reports and stop unnecessary options from loading.
Thank you!
Hi,
The images are the featured images set for the posts. That big section at the top is an element that displays one post, this one https://prnt.sc/nIRgMuD-U1Gl The image is the featured image of the post.
Then there is a block which you can customize with the composer https://prnt.sc/vYy2-euuVvdT
The latest articles is added in the page by the page template, the settings for it are in the backend page edit screen https://prnt.sc/JbUWzp9ORFM- here https://prnt.sc/Omm05rdb2F8y If you want you can remove that latest article section by selecting the default page template https://prnt.sc/sfjO8So0M6lH and then add more content blocks on the page with the composer https://prnt.sc/fuH3HSBHVUbD
Please let me know if you have more questions.
Thank you!
Hello,
I recommend checking if you use standard templates from the theme panel, blocks from 1 to 25, and big grid blocks. Replace them with cloud templates and Flex block and big grid flex blocks, and disable the tagdiv Standard pack plugin. The prebuilt website doesn’t affect your page speed and how the website loads, but maybe on the other website, you have other extra plugins, and you optimized the website using the cache plugin, a plugin for images, and the OMGF plugin for Fonts. This depends on how your website is optimized and what plugins you use. You can provide the link to your website to check it.
Thank you!
Is there a way (either in cloud template or in the code) to display a post like in category pages like the one linked below, but make it so if there was no content in the post itself, it would show the meta fields and featured image, but disable the link so it showed up in the category listings, but would not link to the blank post?
https://tonylaubach.net/category/storm-chase-logs/chase-logs-2023/
So something similar to..
If content=true, then link to post. If content=false, no link would occur.
How do you change the image and remove stuff from the home page with newsmag. I’m using the fashion template and can’t get rid of the demo content image. It only lets me edit one block too.
OK, I solved it following your suggestion. Thanks.
But now I have another problem: I created different templates for the categories but I can’t assign them anymore.
Let me explain better:
– I created 3 different category templates
– I enter category “X” and try to assign a certain type of template by clicking on the appropriate link
– the page reloads but the template hasn’t changed
Until yesterday everything was working correctly. Could this problem be due to the update to the new version of Newspaper?
Hi,
I’m sorry for the delayed response. What I don’t understand is why you would want the footer to be sticky because it normally appears when the page content is long, and there is no extra space there. Maybe for pages with little content, you could duplicate the template and assign it individually only to those pages where you want the footer to be sticky -> https://i.imgur.com/aD1IzEA.png
Thank you!
I’ve managed to work it down to where the problem is, but still can’t find what’s causing it.
I have all plugins switched off apart from TagDiv Library and Composer.
I have 2 mega menus that link to pages.
The DOM issue comes when I add in either the ‘flex loop builder’ or ‘flex block builder’ into the 2 pages i’m using as mega menus.
For the Module Template that i’m calling, I created a blank template, with no details on it – and even that is throwing the DOM errors, so there’s nothing broken/wrong in the template.
Even if I create a Flex Block Builder on one menu, and Flex Loop Builder into the other menu, I still get the DOM issue.
I’ve also created empty pages where i’ve stripped ALL of the header/footer/content and just left the menu, and I still receive the error.
Hi,
We recommend WPML plugin for translations: https://forum.tagdiv.com/using-theme-translations-together-wpml/
You need to translate the English (original language) the template for each language in part – https://i.imgur.com/CDmeHCf.png you should have them for each language cloud template – https://i.imgur.com/4agmUtg.png
A much simpler and faster alternative is to duplicate the cloud template you want to use in another language, edit it and select the desired language – https://i.imgur.com/z1CqgBo.png (edit the name) – https://i.imgur.com/dPX8ROs.png – https://i.imgur.com/Lc81IgP.png This method needs to be used to translate all cloud templates.
The pages are created with tagDiv Composer which is a page builder, when WPML is used it cannot translate everything that was built with the page builder and must be edited for each language separately. Please open the page in the editor and click on translate – https://i.imgur.com/TXH6y1c.png. After, if you duplicate the template, you can edit it to change the logo, menu, and whatever you want.
When you make the corrections, make sure you are on the page with the language you are editing, and if you use the cache, or object cache, please clear it.
Please check this topic https://forum.tagdiv.com/topic/missing-strings-on-wpml/
Have a great day!
Hello!
This demo uses listings and is a taxonomy template, so you can not assign it on any page; it is only on a taxonomy. When you install the demo without content, you need to set it up to look like in the demo. When you install it with content, then you need to have the ACF plugin installed and active. For more info, check this guide: https://forum.tagdiv.com/installing-demos/
Thank you!
Hello,
We do not recommend setting two posts loop on the same page/template because most of the settings from the first loop element will be inherited for the second one.
For flex block, you should choose the current category“: Category – Current category ”special filter: https://forum.tagdiv.com/flex-block-settings-guide/
Thank you!
Hi TagDiv Team,
I hope you’re doing well. I would like to inquire about the display of the Newspaper theme on mobile devices.
I have checked it using Safari and Chrome on my iPhone 13.
On the desktop version, everything appears perfectly, and when using developer mode to preview the mobile layout, there are no issues. However, when I check it on my actual phone, only the homepage inherits the template’s styles, while other pages do not.
Could you provide any suggestions on how to fix this issue? I would appreciate your guidance.
Thank you!
website– https://xingbow.com
iamge– https://imgur.com/a/erYUqsT
Best regards,
Sean
hello
yes of course I understand perfectly well in fact it does not produce me any inconvenience to work them from PAGE of WordPress.
It was just a matter of order, to know if I could also see in Cloud Templates, and have everything organized there.
For the past two days, the “edit the template” option has not been available on the homepage. Nevertheless, it is available on other pages and posts. It’s just the homepage. I checked in all different browsers, cleared the cookies, and checked in incognito mode. The issue remains. I also updated the Newspaper theme today, but the issue still remains. Please fix.
I have a problem with the category template.
In my site categories are used by two post types (Post and News).
In a specific category template I have planned that these two post types are in separate blocks, but for some reason the block that should only show “post” also shows news.
You can check the problem on this page: https://www.mrw.it/hosting/
The first block (on a blue background) should only show 3 post type contents => IT WORKS
The second block with a light gray background should show 9 news type contents with ajax pagination => IT WORKS
The third block should only show post type contents => IT DOESN’T WORK because it also shows news!
Can you help me?
Hello,
For now, my website mediago.id using prebuilt themes and only set up for the mobile version ” ” . How can I switch to the desktop version?
Thank you
Hello!
I am working on a custom post type for events (i have some ACF field set for them that includes start date field). I’ve managed to create custom post type template and it works fine. On an individual event page I would like to display a flex grid (similar one like we have below the posts) that displays upcoming next four events and I want to make sure that old events are not shown.
I am able to display grid of four items but it will just show them based on latest publish time (which is fine for posts but not fine for events). Is it possible in Newspaper to filter the grid based on a field from post metadata? It would be a basic filter like: IF date >= now THEN include in display
If thats not possible using such condition can I use at all my custom metadata fields for a given custom post type in sorting/filtering in Newspaper grids? Just trying to find a creative way how to just show the events grid without including past ones. Maybe you have some idea based on your experience with CPT/ACF and Newspaper?
Hi,
I answered here: https://forum.tagdiv.com/topic/how-do-i-insert-a-complete-page-template-i-accidentally-deleted-a-page/. Please check it.
Thank you!