- TutorialstagDiv Social Counter Tutorial
Hello!
You can duplicate the cloud single post template, give it another name, and assign it to the business category’s posts. See https://forum.tagdiv.com/topic/different-logo-in-categorypage/ for more information. So, you can have a different template for your special posts. Edit that template and add the element called “raw HTML” and the code in that element.
Thank you!
Hi,
I need to add a custom HTML if a single post is in a specific category. Let’s say that category is “Business”
I need to put this html below the TITLE of the single post.
The custom HTML simple it’s just a <DIV>
SAMPLE:
<div>Sponsored</div>
How can I achieve this?
Requirement:
1. If a single post is belongs to “Business” category – add an the HTML below the Single Post Title.
NOTE: I already tried creating a custom function using the_title WP filter however – the problem is that it affects the menu items on my FOOTER area. My Footer Area is a cloud template and has a navigation menu block.
Can anyone help me how to achieve this?
thanks
Hello Axel!
You can change that easily by using cloud templates and not default templates.
We recommend using 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/
Thank you!
Hi,
You should have for each language cloud templates – https://i.imgur.com/4agmUtg.png -> https://forum.tagdiv.com/using-theme-translations-together-wpml/.
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.
Thank you!
Hello,
The page loading speed can depend on many factors, and each website is unique from this point of view. Let me explain some of these factors and maybe they give you some starting points for optimizing your website. A good choice for the page speed, could be the mobile layout which contains fewer elements because it can improve a bit your page speed.
There are many optimization guides provided by our users here in the forum, some made by us; you could check some of them
– https://www.infophilic.com/get-almost-100-pagespeed-newspaper-theme/
– https://forum.tagdiv.com/cache-plugin-install-and-configure/
– https://forum.tagdiv.com/how-to-make-the-site-faster/
– https://forum.tagdiv.com/topic/high-number-of-ajax-request/
– https://forum.tagdiv.com/topic/score-100100-pagespeed-with-newspaper-wordpress-theme/
– https://www.andraware.com/wp-rocket-for-newspaper-theme/
– https://forum.tagdiv.com/topic/page-speed-guide-for-2023-beginners-and-advanced/
– https://forum.tagdiv.com/topic/newspaper-theme-speedify-your-website/
– https://forum.tagdiv.com/topic/tutorial-chriss-custom-optimizations-for-functions-php-etc/
– https://forum.tagdiv.com/cloudflare-cdn/
– https://forum.tagdiv.com/topic/theme-causing-high-cpu-usage-2/
– https://forum.tagdiv.com/topic/sql-querys-high-cpu/
– https://forum.tagdiv.com/topic/newspaper-theme-slow-to-respond/
– https://premium.wpmudev.org/blog/optimizing-your-wordpress-database-a-complete-guide/
– https://underconstructionpage.com/optimize-wordpress-database/
– https://crunchify.com/better-optimize-wordpress-database-all-in-one-guide/
Also, pagespeed is not covered by support -> https://forum.tagdiv.com/newspaper-theme-support/
If you use Wp Rocket, you can try to exclude the following files
/jquery-?[0-9.](.*)(.min|.slim|.slim.min)?.js
/jquery-migrate(.min)?.js
/wp-content/plugins/td-composer/legacy/Newspaper/js/tagdiv_theme.min.js
tdBlocksArray
To be able to optimize and to remove CLS and LCP please check these guide => https://developers.google.com/web/tools/lighthouse/ -> https://www.sqlpac.com/en/documents/google-pagespeeds-lighthouse-6-new-features-lcp-cls.html -> https://web.dev/lighthouse-whats-new-6.0/ -> https://web.dev/lcp/ -> https://web.dev/cls/
Thank you!
Hello,
Yes, you can import the template from tagdiv Cloud Library in the section shop -> https://i.imgur.com/Vb7BenC.png. Please make sure that you have tagdiv shop activated.
Thank you!
Hi,
For a standard template is not implemented, please use a cloud template https://forum.tagdiv.com/design-post-pages-using-cloud-library-templates/
Thank you!
Hi,
You can assign a template for each taxonomy from the front end -> https://i.imgur.com/4VqIpHf.png or in cloud templates -> https://i.imgur.com/Pz9OAg2.png
Thank you!
Hello,
Please activate the tagdiv cloud library and clear the cache.
Thank you!
Hello
I finally kind of figured out how the taxonomy for the directories works, but I am running into an issue naming/renaming/editing the name of the template that determines the slug.
I tried both a Tagdiv prebuilt taxonomy and a custom post type (both from the cloud library. They work fine, but I cant change the name.
I even tried the renaming option at the top of the TagDiv composer:
cpt Blank – Custom Post Type EDIT TITLE
CREATE MOBILE TEMPLATE
When I click Edit the window, a pop up appears where I can rename it, but I get this message:
Invalid template type! Please make sure your are editing a supported template type title.
This happens whether I select edit title or create for both the custom taxonomy and the custom post type.
Below are links to the site that show the url based on the template. I would like to change them to align with the site- it looks a little weird to have a fishing site with a doctors pro 3 slug/url.
I am not a coder or programmer, so I am hoping there is a way to do this without editing code.
Hoping you can provide guidance.
Current Urls:
https://theledger.whatchacatchin.com/tdb_templates/custom-taxonomy-doctors-pro-3/
https://theledger.whatchacatchin.com/tdb_templates/blank-custom-post-type/
preferred urls:
https://theledger.whatchacatchin.com/boatandguidedirectory
https://theledger.whatchacatchin.com/fishingreportdirectory
Hi
THis is the error I’m getting while enabling the cloud library plugin. WHen I disable it, the website works fine.
With just the 2 plugins of tagdiv, the same error happens.
When I disable the cloud library plugin, the website works fine without crashing.
Hello @atleemcfellin !
You can edit the homepage with the TagDiv Composer; click on those elements and check the settings on the left side of the editor.
Check the flex block settings from here: https://forum.tagdiv.com/flex-block-settings-guide/
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/
I hope that helps you!
Thank you!
Hello!
Take a look here in this video for example where I build 6 columns: https://www.screencast.com/t/mZ2c5XamTFN2
In the flex block 1, there are some settings: https://prnt.sc/5Vr1zzKv4UYk
Also, you can install a section from the Cloud Library with an already done layout: https://prnt.sc/D3lGREu3iFwh -> https://prnt.sc/VTH4RpmnuGsw
Thank you!
Hi,
The mobile theme comes with its own 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)).
So, if you want to use the cloud templates, then you need to disable the mobile theme and AMP plugins, and then use the responsive version.
You can disable the mobile theme plugin on the pages from the Gutenberg editor using the following option => https://www.screencast.com/t/axXRJsWby
Also, please check this topic where I explained each mobile version -> https://forum.tagdiv.com/topic/mobile-version-not-working-properly-2/ -> https://forum.tagdiv.com/topic/amp-pages-not-working-well-with-this-theme/ and choose what mobile version you want.
Thank you!
Hi,
My recommendation is that before updating the theme to make a full backup for the database and current website, disbale the extra plugins during the update process, after that update the theme manually – https://forum.tagdiv.com/how-to-update-the-theme-2/ (after the theme update, make sure that the needed plugins are installed, like tagDiv Composer, maybe tagDiv Standard Pack and tagDiv Cloud Library).
In the worst cases, the settings in the theme panel may be lost (there have been isolated cases), in these cases, after the theme plugins that were previously used are activated, you will have to use a backup for the theme panel -> https://forum.tagdiv.com/import-export-theme-settings/
Thank you!
Can you please write out the steps for this, “You can for Cloud Templates to copy-paste the code => https://i.imgur.com/SSgIAGm.png from a template to a new template.” Where would I add a new post template in the new site? I find these screenshots so difficult to understand when I have to go back and forth in multiple tabs to get an answer.
Hi
As mentioned before, the Cloud Library plugin makes some error on my website. When I disable the plugin, the website works fine.
Is it possible to send me a previous version of the plugin to check if it will solve the problem or not?
Hello!
Probably yes, but we recommend using new blocks and cloud templates instead of standard templates and features.
Thank you!
Hello!
Deactivate ALL plugins except tagDiv ones, also if you are using a cache plugin, deactivate it, clear all cache and try again.
Also, if you are using Cloudflare, please make sure that is set as in our guide https://forum.tagdiv.com/cloudflare-cdn/, you need to disable the Rocket Loader.
Thank you!
Hello,
This is the easy option.
You can for Cloud Templates to copy-paste the code => https://i.imgur.com/SSgIAGm.png from a template to a new template.
Also, you can check this topic https://forum.tagdiv.com/topic/move-theme-changes-from-staging-to-live/
Thank you!
Hello Yanko!
Yes. You can have a cloud template for tags or categories. In their pages, you can use flex loop to display the posts automatically. You can create something like this: https://prnt.sc/OQgTIn0c2sP6 similar as in this demo: https://demo.tagdiv.com/newspaper_app_find_pro/ -> https://prnt.sc/YlrS68z1TXED
Thank you!
Hello @abreham !
That is a different block with one post. You can import that homepage/sections from the Cloud Library: https://prnt.sc/i-teraBQ2Lxs -> https://prnt.sc/Fv11m0N5mRPt
Thank you!
So I have to import all the templates in the xml file? I can’t just export/import 1 cloud template?
Hello Julien!
Check our documentation from here:
– https://forum.tagdiv.com/introduction-cpt-acf-newspaper-theme/
– https://forum.tagdiv.com/create-frontend-submission-form/
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/
I hope that helps you!
Thank you!
When I selected the cloud library option and choose one of the templates, I hit insert and it never inserted.