- NewspaperWP Rocket and Newspaper Theme: Optimization Guide
- TutorialsFrom WPBakery to tagDiv Composer
- TutorialsOffset Feature
- TutorialsWhat is Ajax preloading?
Hello,
I’m using Newspaper Theme and I’ve created a custom taxonomy called “Especial” to group special content (like Halloween or Christmas).
I’d like to assign an image to each taxonomy (for example, a representative image for “Halloween”, “Christmas”, etc.) and display it in the taxonomy block (e.g. tdb_category_list or similar).
I’m using Toolset to manage the custom taxonomies, but Newspaper doesn’t seem to recognize any image field by default.
My questions are:
Does Newspaper have a built-in field or recommended method to assign an image to a taxonomy term?
If not, what’s the best way to register and display it (via custom field, ACF, or Toolset)?
Which field slug or meta key should I use so the theme recognizes it automatically in the block?
Buenas tardes, los técnicos de mi sitio web https://www.lasvocesdelpueblo.com/ han señalado como problema crítico al plugin “tagDiv Standard Pack” con la “Versión 2.7.1”. No han logrado encontrar una actualización en su soporte y está haciendo que mi página web no funciona correctamente. Durante el proceso, lo han desactivado y el problema ha desaparecido. Además, han comprobado que la “Versión 2.7.1” de tagDiv Standard Pack es la más pequeña de todas las versiones de los plugines de la plantilla “Newspaper – News & WooCommerce WordPress Theme by tagDiv” y temen que se haya quedado obsoleto. Por ejemplo, cuando estemos en WordPress (crear entrada nueva, editando entrada o página, publicando noticias, yendo a la biblioteca, etc.) la respuesta es rápida, unos 3 segundos. Pero cuando queremos navegar en la web como usuarios, es decir, usando ahora los recursos de la platilla “Newspaper – News & WooCommerce WordPress Theme by tagDiv”, la web carga lentamente, unos 10 segundos. Sin embargo, cuando desactivamos el plugin “tagDiv Standard Pack”, la web responde correctamente, al menos unos 3 segundos navegando como usuario.
Otro interrogante es sobre “PHP Version 8.1.33” de Newspaper.
Le rogamos que nos diga: ¿qué hacer para solucionar ese problema?
Muchas gracias
Atentamente
Hello,
I’ve created a custom discount shortcode for my WordPress website to display the product discount percentage (for example, “50% OFF”).
The shortcode works correctly on the desktop template, but it’s not showing on the mobile template.
I’ve shared my website URL, temporary admin login, and FTP details with your developer account (contact@tagdiv.com) for review.
I also included the product page link, the code snippet, and a detailed explanation in the email for reference.
Please help me make this shortcode fully functional on the Product Page for both desktop and mobile versions.
Good morning,
My site https://www.nuvoledibellezza.com/ is structured with main categories and subcategories.
Is it normal for the breadcrumb to only show the main category and not the subcategory where the article is located? I have only 1 level of subcategory: category >subcategory
For example this article: https://www.nuvoledibellezza.com/lerbolario-canapa-crema-viso-detergente-olio-opinioni/
This has the main category “Viso,” which is a subcategory of Beauty. The breadcrumb should be:
Home > Beauty > Viso > …name of the article…
But I can only see Home > Beauty > …name of the article… (without the subcategory)
Please can you help me?
Many thanks
Hi,
I’m not sure if I understand what you need. Do you need something that includes teh links from where the submission was made? For example, if it is from this page https://double-glazing-windows.co.uk/tdcpt_directories/ada-windows-ltd/ to include that page link? if so, unfortunately, there is no option for this in the theme but I think it can be done with a JavaScript and an extra custom field, in the moment when the submit button is clicked and the js to run and get the current url and setit in teh custom filed (taht element will be need to be set on the page, but it can be set as hidden).
Thank you!
Dear sir/madam, I have just now purchase newspaper theme by tagdiv. My website is broken. I need to cancel the subscription and refund my paid price. Kindly cancel the subscription and refund my paid price. Thanks
Dear sir/madam, I have just now purchase newspaper theme by tagdiv. My website is broken. I need to cancel the subscription and refund my paid price. Kindly cancel the subscription and refund my paid price. Thanks
Hi, I am using (example) setupdomain.com to check how I can set up this theme so that I can use the same settings on maindomain.com. Now, to fully use setupdomain.com, it is asking me to enter the purchase code. If I enter the code, will I still be able to use it on the maindomain.com when I finally replicate the settings there? Thanks
Hi,
Please try with a better cache plugin, for example, you can try WP-Optimize https://wordpress.org/plugins/wp-optimize/ or if you can, a pro cache plugin like WP Rocket (wp super cache is ok, but it does not minify the code, provides only cache).
Hi,
To resolve the footer situation you need to edit the footer with tagDiv Composer – https://i.imgur.com/tZqYt1s.png select an element then set the mobile viewport – https://i.imgur.com/LNWfo2f.png all elements that are displayed on desktop in footer will be displayed on mobile in the footer, so in case the menu is not displaying all menu elements, most probably some of them have been hidden. Also, use the theme options on viewports as mobile, each option that has a left border can be set per viewport port as example – https://i.imgur.com/JqZtTzo.png
The theme has it own search elements that can be used https://i.imgur.com/3IxcBVZ.png but if you want to use a separate one that can be set using a shortcode, then set the shortcode directly in column text or text with title elements in the text zone – https://imgur.com/DSSni9j
If you need to set the elemnts from a page in order, then is no need of that csee, just use the order from columns with tagDiv Composer – https://tagdiv.com/flexibility-rows-columns-newspaper-theme/
To remove space between elements, selct the elements and adjust the padding and margings – https://i.imgur.com/WfDr8c8.png
Thank you!
Hi,
If teh code is set in the theme panel > analytics/js code, then it will be loaded in the place associated with the holder where the code was set: https://i.imgur.com/Foeew48.png for example, if is before the /head, it will be between the head tags.
Thank you!
Estou com 6 problemas, no https://glostv.com/ pode me ajudar a resolver eles, preciso resolver, pretendo comprar mais um tema no final do mês de Vocês, mas preciso resolver isso. Primeiro, Rodapé no dispositivo móvel não mostra “Sobre nós, contato”. Links rápidos e links úteis não estão no meio, e sim embaixo. Abaixo GosTV, slogan, Assistir canais de TV, não aparece na mesma linha. Olhe link https://ibb.co/Cs5sZzFr
Segundo, A página inicial e nenhuma página estática (página, não postagem) não permite/oferece a opção de colocar shortcode para colocar campo de pesquisa. Não existe essa opção para páginas no TagDiv Composer! Comprei plugin de pesquisa e não consigo utilizar. Eu pesquiso e aparece nada. Olhe aqui. https://ibb.co/YT33pMyJ. No entanto, em postagens de blog, aparece normalmente o campo para shortcode. Tem algum defeito. Na postagem normal aparece, olhe aqui, https://ibb.co/QvwxFmwj. O “defeito está somente nas páginas, o TagDiv Composer! não aparece o bloco/opção de shortcode para ser adicionado.” não tem como editar editor normal, pois tem ser editor TagDiv Composer!.
terceiro, Como citei, não consigo colocar nenhum shortcode em páginas/postagens (reafirmando o item 2), porém não consigo mudar esse campo de pesquisa horrível no cabeçalho. Já quebrei o site várias vezes tentando resolver isso aqui https://ibb.co/M5M35FyV. Eu tentei no TagDiv Composer! e via código, não consigo. Tenho o plugin Ajax Search Pro, que usa shortcode para adicionar botão de pesquisa e não vai. Aqui, https://ibb.co/M5M35FyV, precisaria usar isso, https://ibb.co/KjsV4FD2.
quarto. https://ibb.co/RG6MtMws Em dispositivo móvel, preciso muito que nessa página e em todas feitas com o TagDiv Composer! apareçam esses blocos na seguinte sequência: Canais relacionados e Canais em destaque. Montei um CSS e não funcionou:
CSS
@media (max-width: 767px) {
.tdi_99 {
order: 1 !important;
}
.tdi_82 {
order: 2 !important;
}
}
Somente para dispositivo móvel, mas não quero ter que criar uma página móvel separada para elas. Teria que ficar desse jeito https://ibb.co/TDymN4NR, um debaixo do outro e o restante continuasse. Não queria criar página móvel para todos. link https://glostv.com/tv-sete-lagoas
quinto, Preciso muito diminuir a altura e largura do formulário de contato. Está muito grande. É possível com um CSS personalizado? Se for possível, ajude. https://glostv.com/contato
sexto, Me passe CSS personalizado para dispositivo móvel para remover o espaçamento disso aqui https://ibb.co/99z0MQZ6 nesta página: https://glostv.com/estados.
-
This reply was modified 9 months by
RENATO.
Hello Calin, we got the tagDiv Standard Pack plugin but my question about it’s elemements is about their source. For example I load the Module Featured Image, I cant see the source of this image.
We want the module to show the article we mark with a certain tag. These elements dont have a tag source available.
Also why dont you consider changing your code? I am sure we are not the only customers having issue with their LCP, if you load the image properly and not as background you can all your customer sites load faster.
Regards
Giorgos
Hi,
If you want to set teh social link, make sure that you set them with https://www.your social, for example, setting the facebook link https://www.facebook.com/TagDiv/ https://i.imgur.com/8jrfXZ8.png the results – https://i.imgur.com/4Nuot6X.png
Thank you!
Hi,
Could you provide an example of how you’d like to look? Maybe there is one of our demos that has the same layout you like?
Thank you!
Will you be introducing any AI-powered features into the TagDiv Composer soon? For example, do you plan to add an AI-based template builder or other smart tools to make designing easier?
I have followed all of your instructions and tutorials. I worked with ChatGPT for 1 hour trying to debug.
Here is what is happening
If I enter ANYTHING with https:// in front of it. It just blanks back out when I save
If I enter anything without https://, it just adds it as an extension to my domain.
Example:
linkedin.com/in/psboyce/
just becomes
https://creditenforcer.com/linkedin.com/in/psboyce/
—
I have already tried clearing all Caches. I have also tried deactivating ALL 3rd-party plugins.
Nothing works.
Please help – thank you
UPDATE: Sorta…
unable to edit any templates (e.g., post or category templates). When I attempt to open a template for editing, the Composer editor either fails to load, displays a blank screen, or encounters an error, preventing any modifications.
Crucially, the TagDiv Composer seems to work for editing regular pages and posts. I’m guessing the problem is specifically localized to the template editing functionality?
I’ve already done many troubleshooting steps, including:
WordPress & Theme/Composer Versions:
– My WordPress core is up-to-date. 6.8.3
– Dashboard says WP, Themes and Plugins are all up to date. but on the Newspaper updates page it shows I need to update to 12.7.3
– Newspaper theme currently updated to 12.6.9, can’t upto to 12.7.3
Theme Reinstallation Attempts:
– I’ve tried a significant process to ensure theme integrity: I manually downloadeed 12.7.3 from ThemeForest and then performed a fresh, clean update to the current latest version of the Newspaper theme and its associated plugins. This was done to rule out any corrupted files. It wont et me update though, it doesnt complete it.
Site Restore:
– I performed a full site restore from a recent working backup, but the template editing issue persists.
Caching Management:
– I have thoroughly cleared all levels of caching: my WordPress caching plugins (e.g., [mention specific plugin if you use one]), server-side cache via my hosting provider, CDN cache (Cloudflare, etc.), and my browser cache (including incognito mode).
PHP Environment Configuration:
– I have verified my server’s PHP version (currently running 8.3.22)
– I have also manually increased critical PHP limits in my php.ini and wp-config.php, including:
– memory_limit 1024M
– post_max_size 1024M
– upload_max_filesize 1024M
– max_execution_time 600
– max_input_vars 5000
WordPress Core Diagnostics:
– I’ve checked the WordPress Site Health tool, and it reports no issues
– I’ve re-saved permalinks from the WordPress settings.
– I’ve tested editing in different browsers, ccomputers and incognito/private windows.
Plugin Conflicts:
– While pages/posts edit fine, I have also systematically deactivated non-TagDiv plugins that might interact with editors or custom content types to check for conflicts, but the template editing issue remained.
My leading hypothesis is that the problem may be tied to a version mismatch or conflict? My current system is detecting Newspaper Theme 12.6.9, while it seems certain theme components or template assets might have been created or are expecting an environment compatible with Newspaper Theme 12.7.3? This discrepancy appears to specifically affect the way TagDiv Library interacts with or loads template files, as all other Composer functionalities for pages and posts appear to be working correctly.
Could you please provide guidance on this specific issue? I can provide screenshots, access to the browser console, or temporary admin access if needed.
Thank you for your urgent attention to this matter.
-
This reply was modified 9 months by
mikeshecky.
Long story short. Something must have been corrupted in a Newspaper theme file. Hosting helped, had to do a theme restore, then a full site restore.
Hoping to be at the last mile of the fix… I cannot edit ANY templates. Gives me an error. Which I am hoping is related to another issue. It tells me I need to update from 12.6.9 –> 12.73. I click to update, take me to a screen that says everything is up to date. Which it isn’t, because it still says Im on 12.6.9.
TLDR. Restored, assume I was on 12.7.3 Now stuck on 12.6.9. And wont let me edit templates, Im assuming because it partially thinks Im on 12.7.3/12.6.9? Child theme too FYI. Screenshots included.
HELPPPPPPPPPPPPPPPPPP
michaelryanmoney.com
Screenshots
Hi
I installed Today News Pro from Cloud Templates.
When I installed all the examples, I also installed the opt-in builder plugin.
How can I completely remove the tables and options of tagDiv Opt-In Builder?
Thanks for your answer
Regard
Paolo
Hi,
As I understand what you are saying, you mean that you want to display cpts that are part of the current taxonomy and the one set in “Multiple terms filter:” using the option Posts(cpts) must belong to all terms, unfortunately that is not how that option works. The option Posts(cpts) must belong to all terms refers strictly to the IDs set in Multiple terms filter: for example if you set 2 IDs there, the displayed articles must be part of both taxonomies – https://i.imgur.com/DKYfMua.png
Thank you!
Hi, Thanks for your quick response,
That is not the issue,
If you check, in the first & second sections, it is showing few other posts which are not related to the current taxonomy itself. In both the sections, it is showing the correct category posts, but it is also showing other taxonomy posts also (but these are related to the category which we mentioned in ).
Please check the screenshot – https://jumpshare.com/s/B5ttQdmkmGv3p0RBfUlD
In this sample page,
First section should show – only Marketing Industry posts, within that marketing Industry taxonomy it should show Text posts
Similarly, second section should show, only Marketing Industry posts, within that marketing Industry taxonomy it should show Image posts
So, it is losing ‘Current Taxonomy’ logic in those sections, and showing all the posts related to category ‘text’ and ‘image’
-
This reply was modified 9 months by
umeshyellaboina.
Hello
I’ve created a custom shortcode function in my functions.php file to show the discount percentage (e.g. “50% OFF”) dynamically on my WooCommerce product pages.
The shortcode works perfectly on desktop, and even when I view the desktop version on mobile, it displays correctly.
However, when I use a custom mobile template, the shortcode output does not appear at all.
Here’s my code setup:
functions.php
function product_discount_percentage_shortcode() {
// Ensure we are on a product page, or have a valid product context
global $product;
// Check if the global $product object is available
if ( ! is_a( $product, 'WC_Product' ) ) {
// Attempt to get product ID from the loop/query if not on single product page
$product_id = get_the_ID();
if ( $product_id ) {
$product = wc_get_product( $product_id );
}
}
// Check if we successfully have a product object
if ( ! is_a( $product, 'WC_Product' ) ) {
return '';
}
// --- Calculation and Output Logic ---
// 1. Check if the product is on sale
if ( $product->is_on_sale() ) {
// 2. Handle Simple and Variable Products differently for prices
if ( $product->is_type('simple') ) {
$regular_price = (float) $product->get_regular_price();
$sale_price = (float) $product->get_sale_price();
} elseif ( $product->is_type('variable') ) {
// For variable products, we'll calculate the *maximum* possible discount
// by comparing the highest regular price and the lowest sale price.
$prices = $product->get_variation_prices( true );
// Exit if there are no variations or prices
if ( empty( $prices['regular_price'] ) || empty( $prices['sale_price'] ) ) {
return '';
}
// Get the highest regular price and the lowest sale price across all variations
$highest_regular_price = max( $prices['regular_price'] );
$lowest_sale_price = min( $prices['sale_price'] );
// Use these for the calculation (finding the max discount)
$regular_price = (float) $highest_regular_price;
$sale_price = (float) $lowest_sale_price;
} else {
// Not a simple or variable product, so we can't calculate easily
return '';
}
// 3. Final calculation check and execution
if ( $regular_price > 0 && $sale_price < $regular_price ) {
$discount_amount = $regular_price - $sale_price;
// Calculate the percentage discount: (discount_amount / regular_price) * 100
$percentage = round( ( $discount_amount / $regular_price ) * 100 );
// Return the output string (don't use echo in shortcodes)
$output = '<span class="woocommerce-discount-percentage">';
$output .= '' . esc_html( $percentage ) . '% ' . esc_html__( 'OFF', 'your-text-domain' );
$output .= '</span>';
return $output;
}
}
// Return empty string if not on sale or calculation conditions are not met (0% off)
return '';
}
// Register the shortcode with WordPress
add_shortcode( 'product_discount_percentage', 'product_discount_percentage_shortcode' );
CSS :
.woocommerce-discount-percentage {
display: inline-block;
padding: 7px 8px;
margin-left: 0px;
background-color: #e44d26;
color: #ffffff;
border-radius: 4px;
font-size: 0.9em;
text-transform: uppercase;
line-height: 1;
}
.woocommerce-discount-percentage strong {
font-weight: 700;
font-size: 1.1em;
}
.summary .price + .woocommerce-discount-percentage {
margin-left: 10px;
vertical-align: middle;
}
Shortcode Used: [product_discount_percentage]
so finally the issues is
Works fine on desktop version.
Works fine when viewing desktop layout on mobile browser.
❌ Does not display when using a custom mobile template.
Could you please confirm:
How can I make this shortcode work inside tagDiv mobile templates?
Also in adobe type code we have -> <link rel=”stylesheet” href=”https://use.typekit.net/ubz4gdu.css”> and font name WarnockPro
but body, p {
font-family: Roboto;
font-size: 16px;
} css is in higher level than
.tk-warnock-pro {
font-family: “warnock-pro”, serif;
} for wexample if we place the class in cms elements.
Hi TagDiv Team,
Like some other users, I’m consistently getting the following error when editing new pages or the homepage (but not posts): Error at zones: 6(models): 0(dom) “The model does not match the content. Current state has involved an issue.”
This even happens immediately after I download one of your pre-built templates—even before adding any shortcodes.
What I discovered:
After some testing, I found that if I use the “Post Type Switcher” plugin to change the page type (in the Classic Editor) from Page → Cloud Template, the error in Composer disappears completely!
Once I do that:
I can edit the page in Composer without any errors.
The layout works as expected.
However:
The page is then removed from the Cloud Template list, since it’s technically no longer a “Page” it is a Cloud Template type.
It only displays properly if I access it through a URL like
https://example.com/tdb_templates/news
If I try to access it normally at https://example.com/news, I either get a blank page or a critical error.
My theory
It seems that posts don’t trigger this error because the Theme Panel → Templates section includes a redirect or link definition for posts and single templates. That likely ensures TagDiv Composer initializes the correct “zone” mapping.
For pages and the homepage, there’s no equivalent setting in the Theme Panel, so Composer may be loading the wrong internal model—hence the zone mismatch.
The problem
At the moment, I can’t create or edit any new pages or homepage layouts without this error.
Only posts work normally.
Possible solution idea
If my guess is right, perhaps the Composer needs a way to assign a Cloud Template mapping (like the Post templates) for Pages and Homepage in the Theme Panel. That might resolve the zone mismatch entirely.
Do you have any other workaround or insight on this?
It’s currently blocking all new page and homepage creation.
Thanks for your help!