- 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,
You can set and get the child theme using this guide https://forum.tagdiv.com/the-child-theme-support-tutorial/
Thank you!
Hi,
Unfortunately, there is currently no way to set a cloud template for pages. I asked our manager about this, and he replied that if a user needs this functionality, it can be customized for them for a fee.
I will try to help you with a php code that can rewrite the pages, but it is possible that it will interfere with the tagDiv Composer and it will no longer be able to be used on the pages. For this you need to use a child theme and edit the php fields related to page templates:
– wp-content/plugins/td-composer/legacy/Newspaper/page.php
– wp-content/plugins/td-composer/legacy/Newspaper/page-pagebuilder-latest.php
– wp-content/plugins/td-composer/legacy/Newspaper/page-pagebuilder-overlay.php
– wp-content/plugins/td-composer/legacy/Newspaper/page-pagebuilder-title.php
You can edit only one or all of them.
I hope this will help you!
Thank you!
How to disable the website field in comments? Using the Newspaper child theme.
Is child theme available for newspaper theme? Where can I find it?
Hi,
You’re absolutely right to be cautious updating WordPress core or plugins does overwrite their files, which will cause any direct customizations to be lost.
To avoid losing custom code during updates:
-use a child theme for theme-related changes.
– create a custom plugin for functionality changes.
– use hooks (actions/filters) to modify plugins without editing them.
– avoid editing core or plugin files directly.
Unfortunately, most of the time when a plugin is modified directly in the code, the only solution is to make the changes in the plugin again when updating.
I am running Newspaper theme version 12.7.1 and am getting a persistent PHP notice in my logs:
PHP 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.
I have already performed extensive troubleshooting with an active child theme, but the notice cannot be resolved externally. We have confirmed that:
Loading the text domain via load_plugin_textdomain() on the init hook does not fix it.
Loading the text domain via a direct-path load_textdomain() on the init hook (with priority 99) does not fix it.
Attempting to unload_textdomain() and then reload it on the init hook also does not fix it.
This proves the td-cloud-library plugin is making a hard-coded call to a translation function before the init hook fires, making it impossible to override from a child theme.
Please escalate this to your development team to have the text domain loading function within the td-cloud-library plugin moved to the init action hook to comply with modern WordPress standards and resolve this notice.
Thank you.
Hi,
For a second language the best way will be to use the WPML plugin – https://forum.tagdiv.com/using-theme-translations-together-wpml/ (tested with the theme), also there are other similar plugins that you can try, but WPML is the only one tested officially with our theme and we can help you wit it and settings.
Related to the theme update. If the changes have been made in the theme and plugins files, then you need to save all changes made and re-set them after the theme update. Also, there are some possibilities when the changes can be made using a child theme, but before doing any update, make sure you’ll have a full backup for the website and database.
How to Update the Newspaper Theme
– https://forum.tagdiv.com/how-to-update-the-theme-2/
Thank you!
Hi,
To do this it will be need to edit the post template you are using and set it in a child theme https://forum.tagdiv.com/newsmag-child-theme-support/
You should do something like this:
– create an ACF URL field (e.g. instagram_url).
– using PHP in Theme Files, something like this https://pastebin.com/4CLFdW58
Thank you!
Hi,
Please make sure you ae using the last theme version 12.7.1 and the theme plugins are not modified/edited in code. Also, in case you are using a child theme, please set the main theme to see if the problem persist.
Another thing that can be checked is if the problem persist if only tagDiv plugins are used.
Thank you!
Hi,
If you no longer want the website to be boxed check in the theme panel to be sure that you do not use a background color – and the boxed version is unchecked – https://i.imgur.com/s6xkqkR.png also you are not using any background image – https://i.imgur.com/GfALDMv.png
Related to Contact forms, make sure that you remove the css from all places, the css can be set in the theme panel, can be set using live css, can be set inside tagDiv Composer using a css element or even in a child theme, after that you need to make sure that the cache is cleared.
Thank you!
Hi,
For the moment there is no theme update available, but as a solution you can use a child theme and set in functions.php file from child this function:
add_filter('woocommerce_sale_flash', 'woocommerce_custom_sale_text', 10, 3); function woocommerce_custom_sale_text($text, $post, $_product) { return '[NEW TEXT]'; }
The results – https://i.imgur.com/BOt46dS.png – https://i.imgur.com/TgFDO3R.png
Thank you!
Hello tagDiv Team,
I’m using the Newspaper theme version 12.7.1 and am currently designing my site’s homepage with tagDiv Composer. In one of the main blocks on the homepage, I’m using Flex Block 1 to display recent catalogs in a grid format.
In the block settings, I have selected the option:
“Show additional text before the date.”
However, no field is displayed for entering custom text (for example, “Updated:”), and currently the date appears alone.
My intention is for the word “Updated:” to appear before the date in all Flex Block 1 modules automatically, without having to manually edit each post.
Is there a way to enable this text from the translation or global theme settings, without using a child theme?
Or should I modify a specific file to make this option work properly?
I would greatly appreciate your guidance. I’ve attached screenshots with the exact block configuration.
Thanks in advance for your help.
Regards,
Jhonny
Enviar comentarios
Paneles laterales
Historial
Guardado
Hi,
Most of the time shortcode are se in functions.php and it can be set in functions.php in a child theme, but I can not say if this will work or not or how to adjust the code. Unfortunately for this you’ll need a developer to help you with the code and create a new filter.
Also, the ads if are adsense ads will be display bas on users search on google.
Thank you!
When seeking help with this issue, you may be asked for some of the following information:
WordPress version 6.8.1
Active theme: Newspaper Child theme (version 9.0c)
Current plugin: tagDiv Opt-In Builder (version 1.7.1 | built on 29.04.2025 10:50)
PHP version 8.3.6
Error Details
=============
An error of type E_ERROR was caused in line 3276 of the file /wp-content/plugins/td-subscription/includes/td_subscription.php. Error message: Uncaught TypeError: array_key_exists(): Argument #2 ($array) must be of type array, null given in /wp-content/plugins/td-subscription/includes/td_subscription.php:3276
Stack trace:
#0 /wp-includes/class-wp-hook.php(324): td_subscription::td_post_theme_settings_mb_save_filter()
#1 /wp-includes/plugin.php(205): WP_Hook->apply_filters()
#2 /wp-content/plugins/td-composer/legacy/common/wp_booster/wp-admin/external/wpalchemy/MetaBox.php(880): apply_filters()
#3 /wp-content/plugins/td-composer/legacy/common/wp_booster/wp-admin/external/wpalchemy/MetaBox.php(2081): WPAlchemy_MetaBox->apply_filters()
#4 /wp-includes/class-wp-hook.php(326): WPAlchemy_MetaBox->_save()
#5 /wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters()
#6 /wp-includes/plugin.php(517): WP_Hook->do_action()
#7 /wp-includes/post.php(5110): do_action()
#8 /wp-includes/post.php(5212): wp_insert_post()
#9 /wp-admin/includes/post.php(453): wp_update_post()
#10 /wp-admin/post.php(227): edit_post()
#11 {main}
thrown
When seeking help with this issue, you may be asked for some of the following information:
WordPress version 6.8.1
Active theme: Newspaper Child theme (version 9.0c)
Current plugin: tagDiv Opt-In Builder (version 1.7.1 | built on 29.04.2025 10:50)
PHP version 8.3.6
Error Details
=============
An error of type E_ERROR was caused in line 3276 of the file /home/webacers/public_html/wordpress/wp-content/plugins/td-subscription/includes/td_subscription.php. Error message: Uncaught TypeError: array_key_exists(): Argument #2 ($array) must be of type array, null given in /home/webacers/public_html/wordpress/wp-content/plugins/td-subscription/includes/td_subscription.php:3276
Stack trace:
#0 /home/webacers/public_html/wordpress/wp-includes/class-wp-hook.php(324): td_subscription::td_post_theme_settings_mb_save_filter()
#1 /home/webacers/public_html/wordpress/wp-includes/plugin.php(205): WP_Hook->apply_filters()
#2 /home/webacers/public_html/wordpress/wp-content/plugins/td-composer/legacy/common/wp_booster/wp-admin/external/wpalchemy/MetaBox.php(880): apply_filters()
#3 /home/webacers/public_html/wordpress/wp-content/plugins/td-composer/legacy/common/wp_booster/wp-admin/external/wpalchemy/MetaBox.php(2081): WPAlchemy_MetaBox->apply_filters()
#4 /home/webacers/public_html/wordpress/wp-includes/class-wp-hook.php(326): WPAlchemy_MetaBox->_save()
#5 /home/webacers/public_html/wordpress/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters()
#6 /home/webacers/public_html/wordpress/wp-includes/plugin.php(517): WP_Hook->do_action()
#7 /home/webacers/public_html/wordpress/wp-includes/post.php(5110): do_action()
#8 /home/webacers/public_html/wordpress/wp-includes/post.php(5212): wp_insert_post()
#9 /home/webacers/public_html/wordpress/wp-admin/includes/post.php(453): wp_update_post()
#10 /home/webacers/public_html/wordpress/wp-admin/post.php(227): edit_post()
#11 {main}
thrown
It doesn’t seem to be a theme issue.
I recreated the Newspaper parent theme and child theme folders as ‘old’ themes.
And I still get the 502 error.
And the plugins I use are as follows:
classic-editor
td-cloud-library
td-composer
td-social-counter
wordpress-seo(yoast seo)
wp-super-cache
-
This reply was modified 1 year by
leejaehak.
Thanks for reviewing my WordPress Newspaper child theme code.
And also, the WordPress admin page shows a 502 error and only FTP access is possible.
I previously tried to edit the theme using FTP, but it broke my site and I had to restore both the WordPress files and the DB files.
When clearing the cache, you also need to upgrade the cache plugin version for normal operation, and the cache will continue to accumulate.
The thing is…
I suddenly got a 502 server error when I logged into my WordPress admin page.
Hi,
Normally we can not help for the custom code that user add on the child theme, for this you usually need a developer.
I checked a bet the file provided, but the problem is that on it the last line is 61 and in the error log it complain about a code from line 80 that is deprecated.
Thank you!
– Here is the child theme code.
– The code that needs to be hidden is marked with the x alphabet.
– I share the child theme code file as a txt file as follows.
https://1drv.ms/t/c/4b73c3634bb72fff/EcBi_ZDEXjxOr2sONLNJlKUBgia83eh2yaWwy2R04m6DiQ?e=Nizvp6
– I’d like to request a code review in case it helps.
-
This reply was modified 1 year by
leejaehak.
Hi,
i have disabled the modal pop up element that is inside of demo (is for subscribe and follow to social) but i continue to view and have many 404 error.
With ahrefs i see many 404 error for this link:
<a href=”switching-plans-wizard/” title=”See pricing”
and also for
<div class=”tdm-social-item-wrap”><a href=”tagdivofficial” rel=”nofollow”
For me is impossible to find where i can disable. Please explain with much more details
I paste here the source code that you can view from source page:
<style>.tdm_block.tdm_block_button{margin-bottom:0}.tdm_block.tdm_block_button .tds-button{line-height:0}.tdm_block.tdm_block_button.tdm-block-button-inline{display:inline-block}.tdm_block.tdm_block_button.tdm-block-button-full,.tdm_block.tdm_block_button.tdm-block-button-full .tdm-btn{display:block}.tdc-row .tdi_30 .tdm-btn{height:auto;padding:15px 25px}@media (min-width:768px) and (max-width:1018px){.tdc-row .tdi_30 .tdm-btn{height:auto;padding:12px 20px}}</style>
<style>.tdc-row .tdi_31{padding:15px 25px;height:auto;line-height:1;font-family:var(–tt-extra)!important;font-size:16px!important;line-height:1.2!important;font-weight:600!important;text-transform:uppercase!important;letter-spacing:0.5px!important;height:auto}.tdc-row .tdi_31 i{font-size:16px}body .tdc-row .tdi_31 .tdm-btn-icon:last-child{margin-left:10px}body .tdc-row .tdi_31{background-color:var(–tt-accent-color)}body .tdc-row .tdi_31:after{background-color:var(–tt-hover)}body .tdc-row .tdi_31 .tdm-btn-text,body .tdc-row .tdi_31 i{color:#ffffff}.tdc-row .tdi_31 svg{fill:#ffffff;fill:#ffffff}.tdc-row .tdi_31 svg *{fill:inherit;fill:inherit}body .tdc-row .tdi_31:hover .tdm-btn-text,body .tdc-row .tdi_31:hover i{color:#ffffff;-webkit-text-fill-color:unset;background:transparent;transition:none}body .tdc-row .tdi_31:hover svg{fill:#ffffff;fill:#ffffff}body .tdc-row .tdi_31:hover svg *{fill:inherit;fill:inherit}body .tdc-row .tdi_31 i{color:#ffffff;-webkit-text-fill-color:unset;background:transparent}body .tdc-row .tdi_31:hover i{color:#ffffff;-webkit-text-fill-color:unset;background:transparent;transition:none}.tdc-row .tdi_31:before{border-width:0px;border-style:solid}@media (min-width:768px) and (max-width:1018px){.tdc-row .tdi_31{padding:12px 20px;height:auto;line-height:1;font-size:14px!important}}</style><div class=”tds-button td-fix-index”><span class=”tdm-btn-text”>See pricing</span><i class=”tdm-btn-icon td-icon-arrow-right-rounded”></i></div></div></div></div><div class=”vc_column tdi_33 wpb_column vc_column_container tdc-column td-pb-span4″>
<style scoped>.tdi_33{vertical-align:baseline}.tdi_33>.wpb_wrapper,.tdi_33>.wpb_wrapper>.tdc-elements{display:block}.tdi_33>.wpb_wrapper>.tdc-elements{width:100%}.tdi_33>.wpb_wrapper>.vc_row_inner{width:auto}.tdi_33>.wpb_wrapper{width:auto;height:auto}.tdi_33{justify-content:center!important;text-align:center!important}@media (min-width:768px) and (max-width:1018px){.tdi_33{padding-top:30px!important;width:36%!important}}</style><div class=”wpb_wrapper” ><div class=”tdm_block td_block_wrap tdm_block_socials tdi_34 tdm-content-horiz-left td-pb-border-top td_block_template_1″ data-td-block-uid=”tdi_34″ >
<style>.tdm_block.tdm_block_socials{margin-bottom:0}.tdm-social-wrapper{*zoom:1}.tdm-social-wrapper:before,.tdm-social-wrapper:after{display:table;content:”;line-height:0}.tdm-social-wrapper:after{clear:both}.tdm-social-item-wrap{display:inline-block}.tdm-social-item{position:relative;display:inline-flex;align-items:center;justify-content:center;vertical-align:middle;-webkit-transition:all 0.2s;transition:all 0.2s;text-align:center;-webkit-transform:translateZ(0);transform:translateZ(0)}.tdm-social-item i{font-size:14px;color:var(–td_theme_color,#4db2ec);-webkit-transition:all 0.2s;transition:all 0.2s}.tdm-social-text{display:none;margin-top:-1px;vertical-align:middle;font-size:13px;color:var(–td_theme_color,#4db2ec);-webkit-transition:all 0.2s;transition:all 0.2s}.tdm-social-item-wrap:hover i,.tdm-social-item-wrap:hover .tdm-social-text{color:#000}.tdm-social-item-wrap:last-child .tdm-social-text{margin-right:0!important}</style>
<style>.tdi_35 .tdm-social-item i{font-size:14px;vertical-align:middle;line-height:28px}.tdi_35 .tdm-social-item i.td-icon-linkedin,.tdi_35 .tdm-social-item i.td-icon-pinterest,.tdi_35 .tdm-social-item i.td-icon-blogger,.tdi_35 .tdm-social-item i.td-icon-vimeo{font-size:11.2px}.tdi_35 .tdm-social-item{width:28px;height:28px;margin:5px 10px 5px 0}.tdi_35 .tdm-social-item-wrap:last-child .tdm-social-item{margin-right:0!important}.tdi_35 .tdm-social-item i,.tds-team-member2 .tdi_35.tds-social1 .tdm-social-item i{color:var(–tt-accent-color)}.tdi_35 .tdm-social-item-wrap:hover i,.tds-team-member2 .tdi_35.tds-social1 .tdm-social-item:hover i{color:var(–tt-hover)}.tdi_35 .tdm-social-text{display:none;margin-left:2px;margin-right:18px}@media (min-width:768px) and (max-width:1018px){.tdi_35 .tdm-social-item i{font-size:12px;vertical-align:middle;line-height:24px}.tdi_35 .tdm-social-item i.td-icon-linkedin,.tdi_35 .tdm-social-item i.td-icon-pinterest,.tdi_35 .tdm-social-item i.td-icon-blogger,.tdi_35 .tdm-social-item i.td-icon-vimeo{font-size:9.6px}.tdi_35 .tdm-social-item{width:24px;height:24px}}</style><div class=”tdm-social-wrapper tds-social1 tdi_35″><div class=”tdm-social-item-wrap”><i class=”td-icon-font td-icon-instagram”></i><span style=”display: none”>Instagram</span></div><div class=”tdm-social-item-wrap”><i class=”td-icon-font td-icon-linkedin”></i><span style=”display: none”>Linkedin</span></div><div class=”tdm-social-item-wrap”><i class=”td-icon-font td-icon-twitter”></i><span style=”display: none”>Twitter</span></div></div></div><div class=”td_block_wrap td_block_raw_css tdi_36 td-pb-border-top td_block_template_1″ data-td-block-uid=”tdi_36″ ><div id=tdi_36 class=”td_block_inner td-fix-index”><style>.td-coaching-mm .td-sd-menu-icon.tdm_block_icon_box {
cursor: pointer;
}
Hi,
It seems that the error is coming from the child theme. Please activate the main theme and check if the error still persists. If it doesn’t, then please check the code you have in the child theme.
Thank you!
This is the debugging log.
[28-May-2022 17:12:56 UTC] PHP Deprecated: Function create_function() is deprecated in /volume1/web/wordpress/wp-content/themes/Newspaper-child/functions.php on line 80
[28-May-2022 17:12:56 UTC] PHP Notice: Constant WP_POST_REVISIONS already defined in /volume1/web/wordpress/wp-config.php on line 87
[28-May-2022 17:12:56 UTC] PHP Fatal error: Uncaught Error: Call to undefined function gzencode() in /volume1/web/wordpress/wp-content/plugins/wp-super-cache/wp-cache-phase2.php:2275
Stack trace:
#0 /volume1/web/wordpress/wp-content/plugins/wp-super-cache/wp-cache-phase2.php(1962): wp_cache_get_ob(‘\nDeprecated: Fu…’)
#1 [internal function]: wp_cache_ob_callback(‘\nDeprecated: Fu…’, 9)
#2 /volume1/web/wordpress/wp-includes/functions.php(5275): ob_end_flush()
#3 /volume1/web/wordpress/wp-includes/class-wp-hook.php(307): wp_ob_end_flush_all(”)
#4 /volume1/web/wordpress/wp-includes/class-wp-hook.php(331): WP_Hook->apply_filters(”, Array)
#5 /volume1/web/wordpress/wp-includes/plugin.php(476): WP_Hook->do_action(Array)
#6 /volume1/web/wordpress/wp-includes/load.php(1102): do_action(‘shutdown’)
#7 [internal function]: shutdown_action_hook()
#8 {main}
thrown in /volume1/web/wordpress/wp-content/plugins/wp-super-cache/wp-cache-phase2.php on line 2275
[28-May-2022 17:12:58 UTC] PHP Deprecated: Function create_function() is deprecated in /volume1/web/wordpress/wp-content/themes/Newspaper-child/functions.php on line 80
[28-May-2022 17:12:58 UTC] PHP Notice: Constant WP_POST_REVISIONS already defined in /volume1/web/wordpress/wp-config.php on line 87
[28-May-2022 17:12:59 UTC] PHP Fatal error: Uncaught Error: Call to undefined function gzencode() in /volume1/web/wordpress/wp-content/plugins/wp-super-cache/wp-cache-phase2.php:2275
Stack trace:
#0 /volume1/web/wordpress/wp-content/plugins/wp-super-cache/wp-cache-phase2.php(1962): wp_cache_get_ob(‘\nDeprecated: Fu…’)
#1 [internal function]: wp_cache_ob_callback(‘\nDeprecated: Fu…’, 9)
#2 /volume1/web/wordpress/wp-includes/functions.php(5275): ob_end_flush()
#3 /volume1/web/wordpress/wp-includes/class-wp-hook.php(307): wp_ob_end_flush_all(”)
#4 /volume1/web/wordpress/wp-includes/class-wp-hook.php(331): WP_Hook->apply_filters(”, Array)
#5 /volume1/web/wordpress/wp-includes/plugin.php(476): WP_Hook->do_action(Array)
#6 /volume1/web/wordpress/wp-includes/load.php(1102): do_action(‘shutdown’)
#7 [internal function]: shutdown_action_hook()
#8 {main}
thrown in /volume1/web/wordpress/wp-content/plugins/wp-super-cache/wp-cache-phase2.php on line 2275
Reference
To avoid confusion, please note that separate error pages such as 404 and 502 are coded to redirect to the main homepage.
-
This reply was modified 1 year by
leejaehak.
Hi,
If you have this problem when you access the appearance > widget sections, then it should be like this – https://i.imgur.com/wQ7Y1rS.png (my current settings – https://i.imgur.com/X2xL8u0.png) if is not loading it can be a plugin interfering, also if you are using a child theme set the main theme and check again.
An alternative is to install and use the classic widget plugin, this normally resolve the problem.
Thank you!
I am not using child theme, I am using your Newspaper Theme Version 12.7.1 even though I have uninstalled Opt-in Builder Plugin and installed it again, but it doesn’t work. I have also found that these problems occur in Tag Div Composer. When I click on checkbox it does not appear that I have checked it. If Plugin problems occur as you said, then why it happens in Tag Div Composer same.
and what for Indian Currency Symbol – It is not working, it shows different Symbol like “P”
Please help me to do so I can work properly for my website.
Hi,
If you have an old header and maybe an old theme version, then it is possible that the code from it no no longer be working with most recent WordPress versions. In this situations I will recommend a full backup and after that to update the theme and WordPress after that make a test using only tagDiv plugins and check the browser console for errors. Also if you are using a child theme, please set the main theme for tests.
Thank you!