Search Results for 'child theme'

Results from the Forum
Simion C.
tagDiv Staff

Hi,

There are no translation options for the woocommerce tabs. Please use the solutions mentioned in this article -> https://rudrastyh.com/woocommerce/rename-product-tabs-and-heading.html

The codes can be added in a child theme functions file, or with a code plugin such as this one -> https://wordpress.org/plugins/insert-headers-and-footers/

Please try it.

Thank you!

mattemkadia
Participant
#0

Hi guys, I’d like to use custom default images on my website, so I’ve created the image path in my child theme, but it doesn’t seem to work.

By default, if no featured image is set, it will use default images from the following path.

/wp-content/plugins/td-composer/legacy/Newspaper/assets/images/no-thumb/td_1920x0.png

I’ve uploaded my own custom images to the following path, but they’re not working.

/wp-content/themes/child-theme/Newspaper-child/td-composer/legacy/Newspaper/assets/images/no-thumb/td_1920x0.png

What am I missing?
Thanks
Matt

Danny
Participant
#0

Hope this is ok to post here if not admin can delete it if prefered. My site scores 100 in the performance section using LiteSpeed Cache (wich is free) now i have a smal personal site so i also use the QUICKCloud CDN service wich is not too expensive (i put in 10 euros over a year a go and still have 3 euro left) this by itself already will boost your site speed by alot) but i wont dive into all the LiteSpeed Cache options and settings but it is a great free alternative.

So for those not using a expensive cache program like WPRocket that has a setting to preload your fonts but still would likle the benefits you can add a function to the theme’s functions.php file its best adviced to set up and do this on the Newsmag Child theme. This will also remove the font from ther Network dependency tree.

My site scored 100 already before i preloaded the font but it just adds up with all other optimizations so the Newsmag websites can really be blazing fast! DRiFT MAFIA Website

Just open the functions.php file in your prefered texteditor and ad this code at the bottom:
I could nott post the code for some reason probly safety
code

Page Speed Website

Simion C.
tagDiv Staff

Hi,

Currently I see some kind of custom mobile menu, or from a plugin, on top of the theme mobile menu -> https://prnt.sc/xr6is1rpWCft That extra mobile menu is displayed over the entire mobile header actually, meaning that I can’t click on the theme mobile menu, the logo, or the search.

If I delete that extra menu using the browser inspector, then the theme mobile menu seems to work correctly -> https://prnt.sc/tTDRcRp4z_Qw It opens correctly. So the only problem I see is that there is an extra menu in the mobile header, making it impossible to interact with the theme header.

About updating, if the website broke after updating the PHP, that can be caused by multiple things. Could be because of a plugin that doesn’t support newer PHP versions, or custom code, or the child theme as I see you use one, or an inactive extension in the new PHP version, or other causes. I suggest testing on a staging/testing clone of the main website, in order to deal with the issues there first.

From the theme perspective, if you update it just make sure to install this standard pack plugin -> https://prnt.sc/zkjDfLHkzSHy That’s a plugin we added in Newspaper 10. Normally it’s optional, but for older websites it’s required. Older websites are built with the older blocks, grids, templates, etc. and they will not display correctly without that plugin.

Thank you!

marcownl
Participant
#0

Hi tagDiv team,

I want to set my content width to 1200px (modern news-site layout: full-bleed bars, centered 1200px content column) on zzpnieuws.nl, running Newspaper 12.7.6 with a child theme.

In this forum, your staff has described the solution as follows:

– Simion C. (Sep 2025, topic “How to customize the page width”): “So for a page like your homepage, you must edit it with the composer, click on the rows and stretch them to 1200px, it takes very little time.”
– Calin (Aug 2025, topic “banner in my header”): “you can adjust the row width using tagDiv Composer […] the row to be stretched to 1200px instead of the default.”

However, this stretch control does not appear anywhere in my tagDiv Composer:

1. When I select a Row (both on a regular Composer page and in my header Cloud Template), hovering over the left/right edges of the row in the preview shows no drag handles and no resize cursor.
2. The Row settings panel (tabs General / Divider / Layout / Css) contains no stretch or row-width dropdown. The Layout tab only has column layout, alignment, order and “occupy remaining space”. The Css tab only has a manual pixel Width field.
3. Theme Panel → Template Settings has no global site/content width setting either.

My questions:

– Where exactly is the “stretch row to 1200px” control in Newspaper 12.7.6? Is it a drag interaction in the preview, a setting, or something that must be enabled first?
– Is this feature version-, license- or configuration-dependent?
– If it is genuinely unavailable in my setup: what is your recommended, update-safe way to achieve a 1200px content width site-wide (including the default single post and category templates) without breaking the responsive grid and thumbnail calculations?

Setup: Newspaper 12.7.6 (deploy mode: deploy), child theme (originally generated on Newspaper 9), tagDiv Composer + Cloud Library active, header built as a Cloud Template, LiteSpeed Cache, hosting at Cloud86.

Screenshots attached: (1) the Row settings panel showing the four tabs without a width option, (2) a selected row in the preview where no drag handles appear on the edges. See images here: https://postimg.cc/gallery/3xm1fCyimages

Thanks,
Marco — zzpnieuws.nl

Simion C.
tagDiv Staff

Then you could try a code like this one:

add_action( 'add_meta_boxes', 'tu_remove_meta_boxes', 999 );
function tu_remove_meta_boxes() {
if ( ! current_user_can( 'manage_options' ) ) {
remove_meta_box( 'td_post_theme_settings_metabox', 'post', 'normal' );
}
}

It can be loaded as a PHP code snippet with a code plugin like this one https://wordpress.org/plugins/insert-headers-and-footers/
Or it can be loaded in a child theme functions file.
It could be loaded in the main theme functions file as well, but this way it will be lost after a theme update and has to be entered again. The more permanent solutions is with a code plugin or child theme.

The code should remove the theme post settings for everyone but admins. You could test it.

Thank you!

Simion C.
tagDiv Staff

Hi,

To clarify, the system is automatic, it detects the websites where the key is used but it doesn’t “know” which one is not used anymore. The key must be manually reassigned to the new staging. You can simply ask us to do it.

I see that besides the main website you have 10 staging websites and a localhost install. Out of the 10 staging websites only two of them still work, staging 13 and staging 14. I assume you are currently using staging 14, so I removed the others and assigned they to that one.

Updating the theme is a very simple process. There is an automatic update method which requires a few clicks to update everything -> https://prnt.sc/n9nttzqjdv0N And there are the manual methods as well.

All the theme plugins are provided in the full theme package, meaning this option when you check in your themeforest account -> https://prnt.sc/47jptx7y-tEo That package is the same for everyone. After extracting it the plugins can clearly be found in a folder called plugins -> https://prnt.sc/F68dem0h66Rb

Even without the theme package from themeforest, the plugins can simply be installed from the theme plugins panel -> https://prnt.sc/C3L-mK8stOvR

So unless there are actual issues during or after updating, a theme update can be performed in a few minutes. I’m not sure why it requires a developer to do it, maybe that’s necessary if there are customizations in the child theme, which is fine. But there are also some guides on how to do it:
https://tagdiv.com/update-newspaper-theme/
https://tagdiv.com/how-to-install-plugins-and-update-plugins/
It looks to me that something that normally takes a few minutes to research and perform, is unnecessarily made complicated.

In case I am misunderstanding something, or if you have more questions, let me know.

Thank you!

RangeleyWebDesign
Participant
#0

I am trying to assign my staging site as the 2nd site for the license. There is no way to assign it because you say I have another staging site that is licensed. That is incorrect. The license applies to TravelMaine.com but the staging2.travelmaine.com was deleted a long time ago. Why are you making me buy another license for a new staging site? That does not seem fair to me. 

Also, my developer said the site is breaking on the staging site when they try to update because I need the two plugins (see message below). Why are they not included in the update? Is this happening because you will not allow me to use my license on a staging site? Please advise ASAP!

Hello Lisa,

Thank you for contacting our Help Desk.

We have completed testing of the theme update on the staging site.

The Newspaper parent theme was upgraded successfully, while the child theme remained in place as expected. However, after the update, we found an issue with two required companion plugins, td-composer and td-cloud-library. These plugins did not remain active properly after the upgrade, which caused problems with the theme functionality and page layout.

Because of this, we reverted the change after testing so the site would remain stable and continue working as expected.

At this point, the issue does not appear to be with the update process itself, but rather with the plugin versions that should match the updated theme version. The package provided seems to be missing the corresponding plugin files, or it does not include the correct versions needed for this release.

To proceed safely, we would need the complete theme package for this version, including the bundled plugin files, so we can install the matching versions and test the update again.

Please send over the full package if available, and we will be happy to continue from there.

Best Regards,

Kamen Kumanov
Technical Support Supervisor

Simion C.
tagDiv Staff

Hi,

There isn’t unfortunately.

It could be done with a code, the one from the bottom of this topic seems to work https://stackoverflow.com/questions/69767414/exclude-category-from-search-results-in-wordpress Just replace the ID with your own. This is for excluding one or more categories from the search results. It can be modified to include one or more categories instead, by changing it here to IN -> https://prnt.sc/KCFcDuHLzh7h

It can be loaded in the theme functions, or a child theme functions, or with a code plugin like this one https://wordpress.org/plugins/insert-headers-and-footers/

You could give it a try.

Thank you!

emailwie
tagDiv Member

Hlw, my site Europenewswire.net is News publishing service provide.
It has much child site where continuously publishing news using feed.
But the problem is- I need to create XPATH of single news title to grab it perfectly on child site.
XPATH needs a unique class/ID of title of single page. But Unfortunately I see your Newspaper theme use common class for single news title and other all template news title. That is very hard to create XPATH. that’s why I need a custom or unique calss

Simion C.
tagDiv Staff

Hi,

I would like to ask what’s the purpose of adding a class on the title? If maybe it’s for design purposes, you could just target the titles in the post pages like this

.single-post .entry-title {}

No need for adding a new class just for targeting the titles in post pages. Or is it required for something else perhaps?

The module single base file isn’t customizable in the child theme unfortunately. it’s a code theme file, not a template. Modifying it directly will work, but it negates the purpose of the child theme. Maybe there are other better ways to do what you want. Could you explain the purpose of adding the class and using a child theme overall? I will try to help with what I can.

Thank you!

sridhar.edesk
tagDiv Member

Hi Simion,

Thank you for checking and clarifying the issue.

We understand that the templates are custom-built through the child theme and therefore cannot be edited using the composer. The reason we customized the header and footer is to ensure they match the overall look and feel of our website and maintain consistent branding across all pages.

Please let us know if there is any recommended approach from your side that would still allow us to retain these customizations while using the composer for other sections.

Thank you!

Simion C.
tagDiv Staff

I have checked and replied by email. As I mentioned there, the issue happens because you are using custom built templates from a child theme, this kind of templates can’t be edited with our composer. This is normal. Only content and templates provided by our theme can be edited with the composer.

Thank you!

emailwie
tagDiv Member

Hlw, I want to override single news page title.
<h1 class=”entry-title”>news title….</h1>

here I want to add a new class like <h1 class=”entry-title my_custom_class”>news title….</h1>

but how can I override this file by child theme ?
I got the exact file of this title that is :
/wp-content/plugins/td-composer/legacy/common/wp_booster/td_module_single_base.php

will it be work If I copy this file into directly child theme ?

regio-online
Participant
#0

Hello tagDiv Support,

We are currently migrating a large regional news platform to Cloud Templates and are running into a query/filtering limitation that we are unsure how to solve correctly within Newspaper / tagDiv Composer.

Our setup is somewhat unusual, so I will explain it carefully.

Current Site Structure

We operate a Dutch regional news platform with approximately 57 regional categories.

Examples:

Regio Gouda
Regio Rotterdam
Regio Drechtsteden
etc.

Articles are intentionally assigned to multiple categories simultaneously.

Example article structure:

Regio Gouda
Zuid-Holland Province Category
Sometimes Binnenland (National)
Sometimes another regional umbrella category

This multi-category structure is required editorially and for SEO/distribution purposes.

What We Are Trying To Achieve

We want to replace static regional landing pages with dynamic category archive pages using Cloud Templates.

Example:

Instead of:
https://regioonline.nl/regio-gouda/

We want to use:
https://regioonline.nl/category/regio-gouda/

with a Cloud Template assigned to the category.

The goal is:

show posts from the current region
ALSO show related province-level content
BUT still prioritize/display correct regional content
WITHOUT manually configuring 57 static pages
The Problem

Inside Flex Blocks / Big Grid Flex blocks, the queries behave differently between:

Static pages using manual “Multiple Terms Filter”
Dynamic category archive pages using Cloud Templates

Example:

On the static page:

the block correctly shows a Zuid-Holland province article

But on the Cloud Template category archive:

the same block instead shows another regional article

Even though both posts contain overlapping categories.

Important Technical Detail

We discovered that:

category_ids behaves differently from normal category archives
category__in and internal TagDiv query handling appear to override or merge unexpectedly
multi-category posts are handled differently inside Cloud Templates versus static pages

While inspecting the theme code, we also noticed references to _current_cat handling internally in td_block.php, but we could not find official documentation about whether this value is actually supported for Flex/Grid block filtering in Cloud Templates.

We also tested custom filters through:

td_shortcode_to_args
td_data_source_blocks_query_args

inside the child theme.

However, this caused unstable or inconsistent behavior, especially with:

Big Grid Flex blocks
Flex blocks
mixed category/province logic

We reverted these changes because we do not want to maintain custom query modifications that could break after theme updates.

Our Main Question

Is there an officially supported way in Newspaper / tagDiv Composer to achieve the following:

For a category Cloud Template:

dynamically use the CURRENT category
include additional province categories
optionally exclude national categories
while preserving predictable ordering and matching behavior in Flex/Grid blocks

WITHOUT custom core edits.

Example desired logic for “Regio Gouda”:

Include:

current category (Regio Gouda)
province category (Zuid-Holland)
national regional pool category

Exclude:

Binnenland

And this should work dynamically for all regional categories.

Additional Question

Does Newspaper internally prioritize:

category_ids
category__in
queried object
tax_query
current archive context

in a specific order inside Flex Blocks / Big Grid Flex blocks?

Because it appears that archive context may override manually configured multiple term filters.

Final Question

Would you recommend:

using Cloud Templates for this setup
OR
keeping static regional landing pages

given this multi-category architecture?

We would really appreciate technical guidance or best practices from your side before rebuilding all regional pages again.

Thank you very much.

Calin
tagDiv Staff

Hi,
Yes, you can do that. The file that you should copy under the child theme is under this path: wp-content/plugins/td-composer/legacy/Newspaper/single.php. Make sure that you copy both files, single and loop single (the files should be set directly in the child theme, not under \parts\single).
In our guide, we mentioned how to overwrite only the standard pack templates- https://forum.tagdiv.com/the-child-theme-support-tutorial/ that are in a different place.

emailwie
Participant
#0

Hi I’m using default post template of newspaper theme, check my attachment. Now I want to override this “default post template” by child theme.
but I didnot find the exact default post template on newsparer main theme,
I tried this path: /wp-content/plugins/td-standard-pack/Newspaper/parts/single/single_template_1.php
I thought this one is default post template but I sw this one is not default post template.

Can you please help me to find out the exact path and file ?

https://snipboard.io/2WovJj.jpg
rete

Calin
tagDiv Staff

Hi,
Could you please provide a bit more detail?
Are you referring to changes made in the Theme Panel settings or modifications made directly within the theme files? If changes were made directly to the theme files, please note that these will be overwritten during a theme update. In such cases, it’s recommended to use a child theme for customizations.
If you are referring to Theme Panel settings, these should not be affected by a theme update.

A few recommendations:
– always perform a full backup before running any updates
– before updating the theme, take note of the active theme plugins, and after the update, ensure all required plugins are installed and up to date. If any required plugin is missing, you can reinstall it from Newspaper > Plugins

How to Update the Newspaper Themehttps://forum.tagdiv.com/how-to-update-the-theme-2/

Thank you!

Calin
tagDiv Staff

Hi,
Error 522 (Connection Timed Out) indicates that Cloudflare is unable to establish or complete a connection to the origin server. This typically occurs when the server is unavailable, under heavy load, or actively blocking Cloudflare IP ranges. The error is triggered either when the initial TCP handshake is not completed within 15–19 seconds, or when the server fails to respond to a request within 90 seconds.
Please test the site using only the theme’s required plugins (td plugins). If a child theme is currently active, switch to the main theme. Ensure that all caching mechanisms, including page cache and object cache, are fully disabled during testing.
In the majority of cases, this issue is caused by a third-party plugin. If the site functions correctly with only the theme plugins enabled, proceed by reactivating the remaining plugins one at a time, verifying functionality after each step. This process will help identify the plugin responsible for the issue.
Review the error logs from both WordPress and the hosting environment to identify any underlying issues. If error log is not currently enabled, activate debugging and error log, then reproduce the issue to capture relevant errors. Once completed, analyze the logs for any newly recorded entries that may indicate the root cause.

Calin
tagDiv Staff

Hi,
There are a few situations where this issue can occur: plugin conflicts, redirects, or a 404 page modified in a child theme.
I assume you may have already checked these, but if you can share a link where we can review the issue, we’ll do our best to identify the cause.

Calin
tagDiv Staff

Hi newsru, is it possible to have an extra plugin or something that is interfering. Here is how you can do, enabled the debug https://developer.wordpress.org/advanced-administration/debug/debug-wordpress/, after that disable all plugins except the theme plugins and and in case you are using a child theme, disable lit and set the main theme, after that update the php version and see if the site is crashing, if no, start enable the plugins one by one and check after each plugin to see if the site crash until you discovered de plugin that is creating the problem.

EWP
Participant
#0

Hi tagDiv team,

I have a Flex Block 1 (configured as “Latest news” widget in the homepage left column)
that renders empty in the frontend but displays posts correctly in the Composer editor preview.

DETAILS:
– Theme: Newspaper v12.7.5 (REGISTERED)
– Demo installed: Newsweek PRO
– Site: https://eurowaypoint.com
– WordPress: 6.9.4
– PHP: 8.2.30

THE PROBLEM:
– In Composer editor: the Flex Block 1 shows the latest 5 published posts correctly
– In frontend (incognito browser, logged out): the block container is generated
(div id=”tdi_96″ class=”td_block_inner td-mc1-wrap”) but completely empty —
no child modules are rendered inside
– 24 published posts exist in the database
– Other blocks on the same homepage (Big Grid Flex 1, other Flex Block 1 instances)
work correctly and display posts
– No JavaScript errors in browser Console
– The block has no special filters configured (Category: All, all filter fields empty)

WHAT I’VE ALREADY TRIED:
– Cleared all caches (SiteGround, WP Super Cache disabled, browser hard reload)
– Restored Homepage from a 3-day-old revision (no improvement)
– Disabled all third-party plugins one by one (Wordfence, SG Optimizer, etc.)
– Verified block configuration in Composer (Filter tab, Layout tab — all default/empty)
– Forced re-save of the block (changed limit number and saved)
– Removed custom CSS that contained :has() selectors

WHAT I NOTICED:
The block was working until I made some modifications today (changed page slug from
/plans/ to /newsletter/, edited some HTML custom blocks for Subscribe links).
The Latest block stopped rendering at some point during these changes.
Restoring an older Homepage revision did NOT fix it.

Could this be a corrupted block state in the database? Is there a way to reset
the block’s internal cache or regenerate its configuration?

Thank you for your help.

Calin
tagDiv Staff

Hi,
First, make sure you have a complete backup of your website and database. After that, clear the cache and disable all plugins except the required td plugins and the cache plugin. Then clear the cache again and check if the issue persists.
Also, verify whether you’re using the main theme or a child theme. If a child theme is active, switch to the main theme and test again.

Calin
tagDiv Staff

Hi,

I see, thank you for the details so far. Could you please create a staging environment and provide access to the wp-admin, along with cPanel or FTP credentials for the staging site, so we can investigate the issue?
If possible, please send the access details via email to contact@tagdiv.com. Also, include as many details as you can about the issue, it’s especially helpful to know if you’re using a child theme, any custom code, or additional plugins.
We’ll review everything as soon as possible and determine the cause of the problem, along with the best solution.

Thank you!

Calin
tagDiv Staff

Hello,

If you would like this section to appear across the entire website, the implementation will be slightly more complex. It will need to be integrated into the footer template rather than simply placed at the bottom of an individual page, which appears to be the current setup.
A suitable approach would be to create a child theme and modify the footer template within it. From there, the desired section can be added so that it displays consistently across all pages.
Please note that the Newsmag theme offers more limited frontend customization compared to Newspaper. As a result, certain adjustments particularly those involving templates often require changes within a child theme, especially when the needed options are not available in the theme panel settings.

Thank you.

Viewing 25 results - 1 through 25 (of 12,866 total)