- NewspaperChild Theme Support
- NewspaperIntroduction to CPT and ACF with Newspaper Theme
- NewspaperHow to Update the Newspaper Theme
- NewspaperWhat’s Included in the Newspaper Theme Package
- NewspaperFlex Block Settings Guide
- NewspaperPrimary Category: Build a hierarchy for your website
- NewspaperBreadcrumbs
- NewspaperHow to Install Newspaper via FTP
- NewspaperHow to Install Newspaper via WordPress
Hi,
The child theme is need only if you make changes in the theme files, but in this case the pages have been created with the theme builder tagDiv Composer, so when you’ll update the theme just make sure that all tagDiv plugins that you have activated now will also be updated and enabled after the theme upadtes (you can cehck the theme plugins under Newspaper > plugins).
Thank you!
I have several custom page templates build with the composer. Will these be overwritten with an update? Do I need a child theme? The docs say you don’t really need a child theme with the templates but I am not sure about custom templates. Thanks for your help
i am developer so what should i do please provide me full code i had made child theme too
Hi,
For the issue related to the license key check, I recommend excluding that process from Redis object caching, you can try this code https://pastebin.com/PgCB3rap Please add this code to your child theme’s functions.php file.
If the issue persists, you can temporarily disable Redis during admin login as a fallback method to ensure access. This can help prevent lockouts when the licensing server is unreachable or when caching interferes with admin functionality.
if ( is_admin() && isset($_GET['redis_off']) ) {
define('WP_REDIS_DISABLED', true);
}
I have also notified a developer about this situation when he has time to check.
Thank you!
Hi simchris,
Please try this code in .htaccess
RewriteEngine On
RewriteCond %{REQUEST_FILENAME} -f [OR]
RewriteCond %{REQUEST_FILENAME} -d
RewriteRule ^ - [L]
RewriteRule ^CALIF/default-CAnewswire-800x600\.jpg$ - [L,NC]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule \.(?:gif|jpe?g|png|bmp)$ /CALIF/default-CAnewswire-800x600.jpg [L,NC]
If it is not working, you can try this code in functions.php in the child theme
add_filter('redirect_canonical', function($redirect_url, $requested) {
if (preg_match('/\.(gif|jpe?g|png|bmp)$/i', $requested)) {
return false; // stop WP from “guessing” a post for missing images
}
return $redirect_url;
}, 10, 2);
I hope one of those will work for you!
i have try a lot without plugin
in child theme can we do get some please i try a lot
please can you guide me
send me code
i will put in my child theme
Hello,
I’m using Newspaper with WooCommerce and trying to display a “Sold Out” badge/overlay on products that are out of stock.
I’ve already added hooks in my child theme’s functions.php (e.g. woocommerce_before_shop_loop_item_title and woocommerce_before_single_product_summary) but they don’t output anything, because Newspaper overrides the WooCommerce templates.
Could you please let me know:
Which Newspaper template file(s) handle the product loop and the single product layout so I can safely add my custom code in the child theme?
Is there a Newspaper-specific hook/action I should use to inject a “Sold Out” badge instead of standard WooCommerce hooks?
My goal: when a product is Out of Stock, show a <span class=”sold-out-overlay”>Sold Out</span> on the product thumbnail in the shop/category view, and on the featured image in the single product page.
Thanks in advance for clarifying the correct place to override/add this.
my website: https://newsbytes.ph
my problem: when i update to php8.3 from 7.4, i get this error:
Deprecated: Function create_function() is deprecated in /home/qesrqyjl/public_html/wp-content/themes/Newspaper-child/functions.php on line 41
Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the td-cloud-library domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the init action or later. Please see Debugging in WordPress for more information. (This message was added in version 6.7.0.) in /home/qesrqyjl/public_html/wp-includes/functions.php on line 6121
i have already purchased a license just to ask this question in this forum.


Hello, Simion!
1. Tell me, please, after disabling and even deleting the tagDiv Mobile Theme plugin, my website on mobile devices continues to show the title from the mobile theme, and sidebar blocks appear instead of the content. https://prnt.sc/Ekgttv5v4YeH
All caching plugins are disabled, and the plugin for the mobile theme has been removed. How can I return the site to its normal display?
Sample page: https://dev.giport.ru/news/society-news/lq-111-letnyaya-yaponka-katalas-na-velosipede-do-glubokoj-starosti
2. When the mobile theme is enabled, the forum is not displayed.: https://prnt.sc/x50-QgWRSGp1
How to make some categories https://dev.giport.ru/forum was it displayed on mobile devices in the regular version?
Maybe in a child theme in a file functions.php can I add some kind of hook?
3. Could you upload screenshots to your server on the forum? After a few months, the screenshots on prnt.sc they become unavailable. And you very often show solutions to problems there.
==================
1. Подскажите, пожалуйста, после отключения и даже удаления плагина “tagDiv Mobile Theme” мой сайт на мобильных устройствах продолжает показывать заголовок из мобильной темы, а вместо содержимого появляются блоки боковой панели https://prnt.sc/Ekgttv5v4YeH
Все плагины для кэширования отключены, а плагин для мобильной темы удален. Как я могу вернуть сайт к нормальному отображению?
Пример страницы: https://dev.giport.ru/news/society-news/lq-111-letnyaya-yaponka-katalas-na-velosipede-do-glubokoj-starosti
2. При включенной мобильной теме форум не отображается: https://prnt.sc/x50-QgWRSGp1
Как сделать, чтобы некоторые категории https://dev.giport.ru/forum отображалась на мобильных устройствах в обычной версии?
Может в дочернюю тему в файле functions.php можно добавить какой-то хук?
3. Не могли бы вы сделать на форуме загрузку скриншотов на ваш сервер? По прошествию нескольких месяцев скриншоты на prnt.sc становятся недоступными. А вы там очень часто показываете решения проблем.
Hi,
Can you please do a test using only tagDiv plugins? Also, in case you have a child theme, please set the main theme for this test.
Thank you!
Hey Calin,
Yes, a developer modified functions.php of the parent theme and that was the issue. All modifications have been moved to the child theme and the child theme functions. Thank you for your help.
Hi,
When a file is required from the child theme and is also related to ACF (Advanced Custom Fields), which is an external plugin, this indicates a custom implementation. In this case, it appears to be connected to a custom plugin or custom code specifically created for your website.
The file in question, acf-blocks-loader.php, is referenced using a path set within your child theme. However, this file does not exist in our theme, which confirms that it was custom developed likely by someone who previously worked on your site.
Thank you!
Hi Calin,
Thank you for your response. The error did not resolve after following your suggestions. These are the steps I took.
– I verified I am using the latest Newspaper theme 12.7.1.
– I removed the child theme folder from wp-content/themes
– I refreshed the themes page in wp-admin to verify the theme was gone.
– I created Newspaper-child.zip from the theme package.
– I installed Newspaper-child.zip by uploading it into the WordPress admin panel. – WordPress said the installation was successful.
– I went back to the themes page and tried to preview the child theme.
– The same error showed.
2025/08/08 21:18:37 [error] 118#118: *1710 FastCGI sent in stderr: "PHP message: PHP Warning: require_once(/www/kinsta/public/mysite/wp-content/themes/Newspaper-child/blocks/acf-blocks-loader.php): Failed to open stream: No such file or directory in /www/kinsta/public/mysite/wp-content/themes/Newspaper/functions.php on line 644;
It is still looking for the /blocks/ folder in the child theme:
PHP message: PHP Fatal error: Uncaught Error: Failed opening required '/www/kinsta/public/mysite/wp-content/themes/Newspaper-child/blocks/acf-blocks-loader.php' (include_path='.:/usr/share/php') in /www/kinsta/public/mysite/wp-content/themes/Newspaper/functions.php:644
Thank you for any help you can provide.
-
This reply was modified 1 year by
jamie@gundigest.com.
Hi,
Please do like this:
Go to the child theme in the theme package and zip it (ot will become Newspaper-child.zip), then use WordPress to install a new theme by uploading it and select the child theme. This should resolve the problem.
Notice: If you are using an old theme, the new child theme will not work, and if you use a new theme with an old child theme. Ensure that you have the latest theme version, Newspaper 12.7.1, and that the child theme is the current one provided with the theme when you download it from your ThemeForest account.
Thank you!
Hello @Calin and team, in continuation to another post, I want to report another error I see on upgrading to PHP 8.2 – funnily, in a non-logged in view only.
Deprecated: Function WP_User_Query was called with an argument that is deprecated since version 5.9.0! who is deprecated. Use capability instead. in /home/customer/www/staging3../public_html/wp-includes/functions.php on line 6121
Problem seems to be with td_composer.
I also use a child theme… any idea what could solve this?
Hello,
I am trying to use the official child theme following the official documentation at https://forum.tagdiv.com/the-child-theme-support-tutorial/
I have downloaded the full Newspaper package and located the official child theme in the /code/ folder. I have placed this folder in my /wp-content/themes/ folder. When attempting to activate this theme, I receive a fatal error on my site:
There has been a critical error on this website. Please check your site admin email inbox for instructions. If you continue to have problems, please try the support forums.
Inspecting error logs, I find this error:
2025/08/06 22:27:18 [error] 53#53: *900 FastCGI sent in stderr: "PHP message: PHP Warning: require_once(/www/kinsta/public/mysite/wp-content/themes/Newspaper-child/blocks/acf-blocks-loader.php): Failed to open stream: No such file or directory in /www/kinsta/public/mysite/wp-content/themes/Newspaper/functions.php on line 644;
It looks like the parent Newsletter theme is looking for files/folders it expects to be in the active theme instead of the template. The child theme should not be required to contain specific files/folders from the parent theme unless the child theme intends to make changes in these files. This causes the child theme to be highly vulnerable to future updates from the parent theme.
When looking at the official child theme documentation you state:
!Important:
Since all of the theme functionality was moved to the tagDiv Standard Pack, the root theme folder is wp-content\plugins\td-standard-pack\Newspaper.
You do not have to place this path in your child theme though. Simply add the files in newspaper-child directly and the system will rewrite files from the above folder.
However, the td-standard-pack is an optional plugin, and I have a few questions:
1.) Does it need to be activated in order for child themes to work?
2.) Is it required to copy the files/folders from this plugin into the child theme folder?
3.) If it was your intention for the child theme to contain these files, why does the official child theme not come with them?
4.) Is the official child theme intended to be broken as-is until these files are added?
Thank you for any help you can provide.
Hello, I’m using the Newspaper theme with the default Gutenberg block editor. In the editor, all H2 and H3 headings appear correctly styled and sized. However, when viewing the live post, those same headings are rendered extremely small—almost unreadable—on all devices and articles.
I haven’t made any CSS customizations or used a child theme. The site is running WP Super Cache, but clearing the cache doesn’t fix the issue. The problem seems to be related to the theme’s default CSS or its compatibility with Gutenberg heading blocks.
How can I restore proper heading sizes on the frontend without switching to tagDiv Composer? Any help would be appreciated!
Hi,
I will try to explain as clearly as possible what can be done:
– if you are using an SEO plugin, disable the schema option in the theme – https://i.imgur.com/eGr3UQF.png
– set your code in functions.php using child theme https://forum.tagdiv.com/the-child-theme-support-tutorial/
– set the code using tagDiv Composer in column text or text with title in text zone https://imgur.com/DSSni9j
I hope it helps you.
Hello,
Those options seems to be related to the Gutenberg not the theme and most of them can be adjusted manually or with some custom code.
1. I see, unfortunately as far as I know there is no option so the video to be wide by default, it will be set manually. If you want to try a code solution, you can try something like this https://pastebin.com/EqvNhnkt the code should be set in functions.php in a child theme
2. The option with image resize is still working on my install https://i.imgur.com/qoU61aR.png so it is possible to have a plugin or something extra interfering. If you want you can make a test using only tagDiv plugins to see if the problem persist.
3. I just made a test and for me is correctly embed the inside article, indeed on edit is not display as full width – https://i.imgur.com/IjJ1ycM.png but on frontend is ok = https://i.imgur.com/Czzeap3.png
Thank you!
Hi,
If you want to do this in the theme files you need to edit each module you want to display the categories and the problem is that those files for modules can not be set in a child theme so any update in them will be lost when the theme will be updated. I’m not sure if those can by override, maybe there is a solution, but when the theme is updated if there are some changes to blocks/modules and the files are override you can face problems like broken pages, site layout …
I’d like to display the alternative text (ALT text) below the featured image on single post pages.
From what I understand, this doesn’t seem possible with CSS alone, since the ALT text is part of the HTML tag as an attribute (e.g.,
), but not rendered as visible content in the DOM. CSS cannot extract or display this attribute as visible text, and the ::after pseudo-element doesn’t work with
elements.
So far, it seems the only way to achieve this is by modifying the template via a child theme, using PHP to retrieve the ALT text from the media attachment metadata (_wp_attachment_image_alt) and print it beneath the image.
Can you confirm if this is the recommended approach? Or is there a built-in method in the Newspaper theme to output the ALT text visibly below the image, either via settings or hooks?
Thanks in advance for your support!
Hi,
The child theme can be sued for the templates and code that is coming from tagDiv standard Pack, if is related to td composer, opt-in builder, or cloud, those have no support in the child theme, only if it is custom integrate or an extra plugin is created to overwrite the settings form the plugin.
Related to your customization code, I can take a look over it, but you’ll need a developer, only a developer can let you know if the code is ok or were needs to be improved.
Thank you!
Thanks this link is useful.
To make sure I have a proper understanding, If I install the child theme, do I need to install the child theme on all of these: single Templates + Modules + Headers + Blocks + Category template + Category top post style + Footer template ? As explained in this page https://forum.tagdiv.com/the-child-theme-support-tutorial/
If the plugin that we customized is the optin builder, is it related to child theme to install so that if I update the newspaper template, I don’t loose everytime all the code?
Maybe can I share with you the credentials of my website so you have a look at the customization done on the plugin optin builder and you tell me if child theme solves the issue of newspaper template update?
Thanks for your help.
Lamiaa
Hi,
In this case it will be need to make a full backup for the website and after that make a test using only tagDiv plugins, most of the time this is a plugin conflict (if you have a child theme set the main theme). If the problem is resolved using only the theme plugins, then enabled back the plugins one by one until you find the one that is causing the problem.
Let me know the results!