- NewspaperDesign your Post Pages using the Cloud Library Templates
- NewspaperDesign your post pages using the Default Templates
- NewsmagPage templates
- NewspaperPage templates
- NewspaperCreate a form contact page
- NewspaperCloud Library Templates
- NewspaperCloud Library – Category Templates
- NewsmagCategory templates
- NewsmagFooter templates
- NewsmagDefault post templates
- NewsmagPost templates
- NewsmagHomepage – How to build and set it
- NewspaperHomepage – How to build and set it
- NewspaperPost templates
- NewspaperDefault post templates
- NewspaperCategory templates
- NewspaperPost template ads
- Apitd_api_single_template::update_key
- Apitd_api_single_template::update
- Apitd_api_single_template::add
Hello tagDiv Support Team,
I am building a generic Taxonomy Archive Template using the tagDiv Cloud Library/Composer. This template is assigned to a Custom Taxonomy (e.g., prompts) and needs to load correctly for all terms within that taxonomy (e.g., /prompts/term-A, /prompts/term-B, etc.).
My goal is to display content in two separate Flex Blocks, each filtered by the current taxonomy term AND a specific Category ID.
1. Goal (Desired Query Logic):
I need to enforce the following AND logic within each Flex Block, dynamically, without hardcoding the current Taxonomy Term ID:
Section 1 (Text Posts): Posts must belong to (Current Taxonomy Term) AND (Category ID 87).
Section 2 (Image Posts): Posts must belong to (Current Taxonomy Term) AND (Category ID 88).
2. Current Setup (Flex Block Filter Settings):
I am using a Flex Block and configuring the Filter tab as follows (for Section 1, Category ID 87):
Category filter: Taxonomy – Current (Used to inherit the current term)
Multiple terms filter: 87 (Hardcoded ID of the specific category)
Posts(cpts) must belong to all terms: Checked (Intended to force the AND logic)
3. Issue/Failure Point:
Despite setting the Posts(cpts) must belong to all terms checkbox, the Flex Block query is incorrectly executed.
Observed Result: The block is showing posts that belong to Category ID 87 but are associated with OTHER, unrelated taxonomies or terms outside of the current archive page.
Example: When viewing /prompts/term-A, the block is showing posts tagged with Category ID 87, but whose main taxonomy term is from a different, unrelated taxonomy (e.g., from the guides taxonomy or another custom taxonomy).
4. Request:
Could you please advise on the correct combination of settings within the tagDiv Flex Block or provide a precise workaround to generate a strict, generic WP_Query that enforces the dynamic (Current Taxonomy Term) AND (Specific Category ID) relationship?
If this combination is not possible via the standard UI, please provide a filter or shortcode parameter that achieves this specific tax_query requirement.
Thank you for your time and assistance!
Hi there,
we came across this issue:
Installing wpml:
– in the template overview as written in your tutorial it works fine BUT
– the cloud template overview does not load correctly with the languages
– the cloud templates wont load correctly in theme panel when you try to give the translated categories the correct translated cloud template.
We made a fix and now it works.
If you guys are interested write an e-mail and I’ll share the code (not sure if you want code in the forum).
Maybe you can then look for a lasting solution.
Here a summary what it does:
Summary: What the Plugin Does
Problem it solves:
When you switch languages in WPML, tagDiv’s Cloud Templates Library and Theme Panel don’t update – they keep showing templates from the wrong language because they use their own cached language setting.
How it fixes it:
1. Client-Side (JavaScript):
Intercepts all HTTP requests (AJAX, Fetch API, XMLHttpRequest) made by tagDiv
Automatically adds the current WPML language parameter (lang=en or lang=de) to every request
Sets language cookies that tagDiv reads (wpml_lang, _icl_current_language)
This ensures tagDiv’s JavaScript always requests templates in the correct language
2. Server-Side (PHP):
Forces WPML to use the language from the URL parameter (?lang=en)
Switches WPML context during AJAX requests so WordPress queries return content in the right language
Filters template metadata to ensure the correct translated templates are loaded
In simple terms:
The plugin acts as a “translator” between WPML and tagDiv, making sure they both agree on which language is currently active. It catches every request tagDiv makes and stamps it with the correct language code before it reaches the server.
Result:
✅ Cloud Templates Library shows correct language templates
✅ Theme Panel dropdowns show correct language templates
✅ Language switching works immediately without page refresh issues
Cheers.
Hello after updating toNewspaper to 12.7.3 my whole Template including header background image and logo an all settings where crasht. My Site came up with a complete new lauyout and I did not find my old settings in my Theme Panel.
Is it the intention that only cloud templates are available? I actually use a child theme to prevent this, but it probably has something to do with the Tagdiv Composer settings.In any case, my homepage became just a news list without all the layouts and texts selected in the TAGDiv Composer and using tagdiv Standard Pack
Hi, I have a problem on the results page after using the “search” function.
Both the plugin and the template are up to date, and this behavior is new.
From the homepage: click on the magnifying glass “search” icon, and you can try typing something like “Bhutan” and pressing Enter.
When the search results page loads, these two error lines appear:
Warning: Illegal offset type in /home/mhd-01/www.trolleygirl.it/htdocs/wp-content/plugins/td-composer/legacy/common/wp_booster/td_util.php on line 1196
Warning: Illegal offset type in /home/mhd-01/www.trolleygirl.it/htdocs/wp-content/plugins/td-composer/legacy/common/wp_booster/td_util.php on line 1196
I found the corresponding file, but I don’t know what I need to modify.
I emailed the Sql support, but they told me that the errors clearly refer to the **td-composer** plugin. We don’t know whether this might be due to an incompatibility with other plugins, with the active PHP version, or with the theme you are using in WordPress.
In any case, the **td-composer** plugin is not working properly.
Could you please help me?
Thank you,
Stefania
I use the Classic template.
At the very top I have Flex Block 2 and the latest post is displayed there. Below I have Posts Loop and I would like the latest posts to be displayed there, but apart from the one displayed in Flex Block. This means that the newest ones will be displayed in Posts Loop, but without the most recently written ones. I don’t want a duplicate on the home page.
Issue Summary
A fatal TypeError occurs in TagDiv Composer’s td_util.php file when performing search queries on sites using the Newspaper theme. The error prevents pages from loading and disrupts user experience.
Error Details
Perform a search query (e.g., /?s=term).
Error triggers during template loading.
Root Cause
In the get_template_id method, the code assumes td_cpt option is always an array:
$td_cpt = td_util::get_option('td_cpt');
if ( !empty( $td_cpt[$post_type]['search_tpl'] ) ) {
// ...
}
However, get_option may return a string in some cases, causing the TypeError when using array syntax.
Suggested Fix
Add an array type check before access:
$td_cpt = td_util::get_option('td_cpt');
if ( is_array($td_cpt) && !empty( $td_cpt[$post_type]['search_tpl'] ) ) {
$cpt_search_template_id = $td_cpt[$post_type]['search_tpl'];
}
This affects sites with CPT searches, leading to broken search functionality. We recommend implementing this fix in future plugin updates to ensure compatibility and stability.
The “edit with tagdiv composer” is not working: The side menu to enable editing doesnt load but gives 404 error page. Have cleared cache, have tried to uninstal theme and reinstal it. Have also tried o uninstal tagdiv composer plugin and reinstal it and activate it but still geting this error message
Please help. Been on this for days now.
Thank you.
On my category pages, this error appears at the top of the browser window:
Warning: Undefined array key “tdb_templates” in /home3/macropho/public_html/blog/wp-content/plugins/td-cloud-library/includes/tdb_functions.php on line 659
The error was resolved after deactivating the WPML plugin. Is the Newspaper incompatible with the plugin? I really need the WPML plugin to make the site multilingual.
I need to create a post template that displays vertical videos, such as YouTube Shorts and IG Reels. I’ve tried using tagdiv to create a new template and layout, adding a shorts link to the video feature position, just like the default video template. However, the video won’t display on the front page. I’d like to know if tagdiv templates can display vertical videos like YouTube Shorts and IG Reels?
Do I need to use any plugins? Could you recommend any?
Hello,
Yes, just edit the page where the socials are with tagDiv Composer and select the icons element, then check this option https://i.imgur.com/xfToq7E.png
Unfortunately, if you are using standard templates and the theme panel option, then there is no option to enable the open in a new tab.
Thank you!
I had some ads hidden on my website https://padeldelosandes.com.ar because I didn’t want to show the empty placeholder until i sold it, so I I hid them in the CSS tab. Now I want it to be visible again but when I select Display/Show and save the changes, nothing happens, it’s still hidden even though I see it in the preview panel. I was able to unhide them in the home page but it’s not working in the Single Post Template. Help please!
If you enter in any post you won’t see the ad below the header like in the homepage.
Hi,
suddendly in every article page I just see this and all the contents are hidden!
Example: https://www.trolleygirl.it/visitare-il-louvre-in-poche-ore/
wp_booster error:
td_api_base::mark_used_on_page : a component with the ID: single_template_6 is not set.
/home/mhd-01/www.trolleygirl.it/htdocs/wp-content/plugins/td-composer/legacy/common/wp_booster/td_api.php
Please help!
Hi,
To set a page to full width (or a cloud template), you’ll need to edit it with tagDiv Composer like this -> https://i.imgur.com/i5IUJ9E.jpg add or select a row and stretch it after your needs -> https://i.imgur.com/WKYebPX.jpg -> https://i.imgur.com/TO1BZ3M.png -> https://i.imgur.com/Yq8UCv3.jpg
If you want to make the layout full-width, then to change the website width, you need to make sure that you don’t have set a background color/image in the Theme Panel, because this makes your website boxed. Make sure this option is disabled => https://www.screencast.com/t/ejiNPCBF
Thank you!
Hi,
It appers taht the last chnages on your homepage made this situation. most of the time the problem is from a shortcode that is not compatible with our theme or a plugin conflict, therefore after you set it with tagDiv Composer and save the page/cloud template, the next time when you try to edit it, you’ll get that error.
If is only for one page or a cloud template (it can be on the header or footer, you can change them for tests and see if the problem persists), this is from some settings/shortcodes set on it and it can be fixed using the page revision https://wordpress.com/support/page-post-revisions/
if the situation persists, make a full backup and contact us via email at contact@tagdiv.com and provide wp-admin access. We’ll check it as soon as we can.
Thank you!
When I go to the search page gives me this error
Fatal error: Uncaught TypeError: Cannot access offset of type array on string in /usr/www/users/hurawa/wp-content/plugins/td-composer/legacy/common/wp_booster/td_util.php:1196 Stack trace: #0 /usr/www/users/hurawa/wp-content/plugins/td-composer/legacy/common/wp_booster/td_util.php(340): td_util::get_template_id() #1 /usr/www/users/hurawa/wp-content/plugins/td-composer/legacy/common/wp_booster/td_wp_booster_functions.php(513): td_util::check_header() #2 /usr/www/users/hurawa/wp-includes/class-wp-hook.php(324): td_load_css_fonts() #3 /usr/www/users/hurawa/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters() #4 /usr/www/users/hurawa/wp-includes/plugin.php(517): WP_Hook->do_action() #5 /usr/www/users/hurawa/wp-includes/script-loader.php(2299): do_action() #6 /usr/www/users/hurawa/wp-includes/class-wp-hook.php(324): wp_enqueue_scripts() #7 /usr/www/users/hurawa/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters() #8 /usr/www/users/hurawa/wp-includes/plugin.php(517): WP_Hook->do_action() #9 /usr/www/users/hurawa/wp-includes/general-template.php(3192): do_action() #10 /usr/www/users/hurawa/wp-content/plugins/td-composer/legacy/Newspaper/header.php(8): wp_head() #11 /usr/www/users/hurawa/wp-content/plugins/td-composer/td-composer.php(254): require_once(‘/usr/www/users/…’) #12 /usr/www/users/hurawa/wp-includes/class-wp-hook.php(324): {closure}() #13 /usr/www/users/hurawa/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters() #14 /usr/www/users/hurawa/wp-includes/plugin.php(517): WP_Hook->do_action() #15 /usr/www/users/hurawa/wp-content/themes/Newspaper/header.php(2): do_action() #16 /usr/www/users/hurawa/wp-includes/template.php(810): require_once(‘/usr/www/users/…’) #17 /usr/www/users/hurawa/wp-includes/template.php(745): load_template() #18 /usr/www/users/hurawa/wp-includes/general-template.php(48): locate_template() #19 /usr/www/users/hurawa/wp-content/plugins/td-cloud-library/wp_templates/tdb_view_search.php(8): get_header() #20 /usr/www/users/hurawa/wp-includes/template-loader.php(106): include(‘/usr/www/users/…’) #21 /usr/www/users/hurawa/wp-blog-header.php(19): require_once(‘/usr/www/users/…’) #22 /usr/www/users/hurawa/index.php(17): require(‘/usr/www/users/…’) #23 {main} thrown in /usr/www/users/hurawa/wp-content/plugins/td-composer/legacy/common/wp_booster/td_util.php on line 1196
I have noticed a problem with the theme.
I have configured the Woocommerce product page on Cloud Template.
I select the Shop page on Cloud Template.
From the Shop page, I open the Woo product templates page.
I configure the product by adding social sharing, favourite product, and TAG.
I save the page.
These configurations are not visible in the product.
Can you check why this is happening?
Document screenshot https://drive.google.com/file/d/1Sbvt3s-LzCM_-JEwFNuxwOJTPd3k8otd/view?usp=sharing
Hi Calin!
Thanks for your fast reply! We are using Newspaper 12.7.1 and 12.6.8.
I asked our Admin to make the update. He always insists on doing it himself.
I will let you know when it’s done.
It’s for the following websites:
https://magazin.s-vorteilspartner.de/
https://s-quin-magazin.de/
https://www.starmag.online/
https://flin-magazin.de/
I am not sure about your question about the elements. We are using pages that are built with the standard tagDiv Composer, also standard header and footer templates. There is currently no <main> and other landmarks generated by the theme. Can you check it with the webbrowser or do you need screenshots or other info?
Thanks a lot!
Gunnar
Hello, Unfortunately I don’t know exactly how Polylang works, but if you want to translate a page or a cloud template from one language to another, what needs to be done is a duplicate of that page/template in another language, after which you will have to use tagDiv Composer to change the text and images, because these are not automatically translated and there is no manual translation system like for articles in the original language and the language you want to translate into.
Thank you!
Hi,
You’ll have cloud pages and cloud homepages if you import them from cloud – https://i.imgur.com/iTzTpQJ.png, but those will not be templates for pages; they will be pages created with tagDiv Composer. There are no templates for pages. If you have a page and you want to use it on other pages, just duplicate that page and edit it.
Thank you!
Hello tagDiv Support Team,
I am using the **Newspaper Theme** with the **tagDiv Composer** for page building and have chosen to use the **Polylang** plugin (free version) for multilingual content, as I am already committed to this tool. I understand your documentation primarily recommends WPML, but I am seeking a workaround/solution for Polylang.
**The Problem:**
When creating a new translation (e.g., from English to Hindi) for a page built entirely with the tagDiv Composer, the new page is created but the **Composer’s layout is blank**, requiring me to rebuild the entire page structure manually for every language.
**What I Have Tried (Based on Polylang best practices):**
1. I have set the Polylang synchronization option for **Custom fields** to be checked/active. This is normally what copies page builder data.
2. I have also checked **Taxonomies**, **Featured image**, and **Page template** synchronization.
**My Goal:**
Is there an officially recommended method or a known configuration setting within the tagDiv Theme Panel that ensures the entire **tagDiv Composer structure** (the shortcodes/page data) is copied over when using the Polylang translation feature, similar to how it works with WPML?
Specifically, where does the tagDiv Composer store its page data, and can this meta key be whitelisted or synchronized by Polylang?
Any guidance on maintaining page layouts across languages with Polylang would be highly appreciated.
Thank you!
Olá, tudo bem?
Meus modelos de Homepage templates e Page templates não estão aparecendo no menu Cloud Templates. E não consigo mudar para deixar mais de um template salvo como backup. Preciso de ajuda. Segue imagens em anexo.
Link das imagens:
– Cloud templates sem os modelos (imagem 1): https://conexaobet.com/wp-content/uploads/2025/10/imagem_1.jpg
– Homepage que criei e salvei de backup, mas não aparece mais no cloud template (imagem 2): https://conexaobet.com/wp-content/uploads/2025/10/imagem_2-1.jpg
Observação: A minha Home page foi criada e eu salvei como modelo de template, mas ela sumiu do Cloud Templates. Isso que preciso corrigir.
If I insert any post flex grid or loop in category page like https://gulfaimagazine.com/category/latest-news/ which is a default template or even a custom page like https://gulfaimagazine.com/videos/, it doesn’t display the post thumbnails. The instruction on the placeholder image is Enable thumb from THEME PANEL BLOCK SETTINGS and on the Theme Panel page, there is no such setting available.
Hi,
Can you provide some more details about this situation?
Indeed, our theme is making a request for each block and element used on a page/template to get the right results and configuration, but there should not be such problems.
Thank you!
Hi,
The theme panel settings are only for a part of fonts, you should also check using tagDiv Composer on pages and cloud templates, because those have elements that already have set individual fonts and you need to change them to default or other font – https://forum.tagdiv.com/font-customization/ https://i.imgur.com/ja5JFRT.png
Thank you!
Hi,
We know WPML might work a bit differently with other themes, but with the Newspaper theme, translations for pages and cloud templates are handled through the built-in TagDiv Composer.
Thanks so much for your understanding, and we’re really sorry for any inconvenience this may cause!