- NewsmagChild theme support
- NewspaperChild Theme Support
- NewspaperIntroduction to CPT and ACF with Newspaper Theme
- NewsmagWhat’s included in Newsmag theme package
- NewspaperHow to Update the Newspaper Theme
- NewspaperWhat’s Included in the Newspaper Theme Package
- ApiThe Theme API
- NewspaperFlex Block Settings Guide
- NewspaperPrimary Category: Build a hierarchy for your website
- NewsmagCustom Post Type Support
- NewsmagInstall via WordPress
- NewsmagInstall via FTP
- NewsmagBreadcrumbs
- NewspaperBreadcrumbs
- NewspaperHow to Install Newspaper via FTP
- NewspaperHow to Install Newspaper via WordPress
Hi !
Indeed.
I moved the newspaper-child folder into the theme.
After copying the child theme folder, I cannot find the child theme to activate in Appearance > Themes.
The question I ask myself. Do I need to create a child theme?
Will the changes I currently make to the main theme be deleted during updates?
This is your child theme function
add_action( 'wp_enqueue_scripts', 'theme_enqueue_styles', 11);
function theme_enqueue_styles() {
wp_enqueue_style('td-theme', get_template_directory_uri() . '/style.css', '', TD_THEME_VERSION, 'all' );
wp_enqueue_style('td-theme-child', get_stylesheet_directory_uri() . '/style.css', array('td-theme'), TD_THEME_VERSION . 'c', 'all' );
}
This is mine
add_action( 'wp_enqueue_scripts', 'theme_enqueue_styles', 11);
function theme_enqueue_styles() {
wp_enqueue_style('td-theme', get_template_directory_uri() . '/style.css', '', TD_THEME_VERSION, 'all' );
wp_enqueue_style('td-theme-child', get_stylesheet_directory_uri() . '/style.css', array('td-theme'), TD_THEME_VERSION . 'c', 'all' );
}
// Preload Newspaper fonts for responsive theme (main theme)
function dns_prefetch_responsive() {
echo "<link href='https://www.telodoioildungeon.it/wp-content/themes/Newspaper/images/icons/newspaper.woff?21' rel='preload' as='font' type='font/woff' crossorigin>";
echo "<link href='https://www.telodoioildungeon.it/wp-content/plugins/td-composer/legacy/Newspaper/assets/images/icons/newspaper-icons.woff?1' rel='preload' as='font' type='font/woff' crossorigin>";
}
add_action( 'wp_head', 'dns_prefetch_responsive', 0 );
there are no other changes
Hello @ewebfactor!
The child theme is not overwritten by the update. An issue for that could be the compatibility of your child theme with the new version of our theme.
Thank you!
Hello,
You need to get the new child theme, this can be get by downloading the theme package from the themeforest, also, this should respect now the new structure provided in our guide – https://forum.tagdiv.com/the-child-theme-support-tutorial/
Thank you!
Hi,
Have you checked for a plugin conflict? Please deactivate ALL plugins except tagDiv ones; also, if you are using a child theme or cache plugin, deactivate them, clear all cache, and try again.
Thank you!
Hi,
Have you checked for a plugin conflict? Please deactivate ALL plugins except tagDiv ones; also, if you are using a child theme or cache plugin, deactivate them, clear all cache, and try again.
Thank you!
Hi,
WP 6.4.2, Newspaper 12.6.2, PHP 8.2
in the footer of every post a receive this error:
Warning: require(/home/customer/www/telodoioildungeon.it/public_html/wp-content/themes/Newspaper-child): Failed to open stream: No such file or directory in /home/customer/www/telodoioildungeon.it/public_html/wp-includes/comment-template.php on line 1618
Fatal error: Uncaught Error: Failed opening required ‘/home/customer/www/telodoioildungeon.it/public_html/wp-content/themes/Newspaper-child/’ (include_path=’.:/usr/local/php82/pear’) in /home/customer/www/telodoioildungeon.it/public_html/wp-includes/comment-template.php:1618 Stack trace: #0 /home/customer/www/telodoioildungeon.it/public_html/wp-content/plugins/td-standard-pack/Newspaper/parts/single/single_template_5.php(29): comments_template(‘/comments.php’, true) #1 /home/customer/www/telodoioildungeon.it/public_html/wp-includes/template-loader.php(106): include(‘/home/customer/…’) #2 /home/customer/www/telodoioildungeon.it/public_html/wp-blog-header.php(19): require_once(‘/home/customer/…’) #3 /home/customer/www/telodoioildungeon.it/public_html/index.php(17): require(‘/home/customer/…’) #4 {main} thrown in /home/customer/www/telodoioildungeon.it/public_html/wp-includes/comment-template.php on line 1618
Hi,
I wanted to follow the tutorial https://forum.tagdiv.com/the-child-theme-support-tutorial/
Except that there is no child theme in the envato download folder.
So I would like to know how to create a child theme so that all the modifications I make on the theme are not lost during updates.
thank you in advance for your help.
Hi,
My website uses older version of the theme (9.0c). How can I update the theme AND it’s child theme?
Hi,
Have you checked for a plugin conflict? Please deactivate ALL plugins except tagDiv ones; also, if you are using a child theme or cache plugin, deactivate them, clear all cache, and try again.
Thank you!
Hi,
Have you checked for a plugin conflict? Please deactivate ALL plugins except tagDiv ones; also, if you are using a child theme or cache plugin, deactivate them, clear all cache, and try again.
Thank you!
Hi Bettina
Thanks for your reply, although unfortunately it doesn’t answer my questions. I’ll try and phrase them better!
1. With this test site I have added a background ad with the plugin. However, you can see that only the elements to the sides of the header are showing and then this disappear on scroll. What is the element in the theme that is covering the sides? I can then adapt the code for functions.php (as above) to stop this from happening.
2. I would like to adjust the width of the content, to fit the background ad design. How do I do this in CSS or within the child theme files?
I hope I’ve explained better…
Thanks.
Hi,
Have you checked for a plugin conflict? Please deactivate ALL plugins except tagDiv ones; also, if you are using a child theme or cache plugin, deactivate them, clear all cache, and try again.
Thank you!
Hi,
Please make sure that the settings are set correctly.
Please tell me where it only appears on one page or the entire site. Did you add any code or elements from another plugin?
Please follow the steps from this topic https://forum.tagdiv.com/topic/error-at-zones-6models-1dom-the-model-does-not-match-the-content-currene/ if you have a child theme; please use the main theme.
You can try to revert an old revision on a page/template -> https://www.wpbeginner.com/beginners-guide/complete-guide-to-wordpress-post-revisions/
Thank you!
Hi,
You could try it in a testing/staging install first. A copy of the website can be created with the duplicator plugin for example, or by any other means. Then you can remove the Newsmag theme and its plugins, and install the Newspaper theme and its plugins.
Then it depends on how you want to proceed. One way would be to install a Newspaper demo, which will provide a new homepage and the templates. Or you can import demo parts, they are all available in the cloud library https://cloud.tagdiv.com/#/load/All
Besides sharing a few blocks from the composer, they are different themes after all.
In terms of risks, not sure what to say. Be sure to move your ad codes, analytics codes, also check the SEO, set the widget sidebars. If you use a child theme perhaps, that will have to be remade, in case it is still needed. If you have other pages, check those as well after switching the themes, they may have to be rebuilt or adjusted.
Let me know if you have questions, we can discuss more.
Thank you!
Hi Anamaria,
Like I mentioned, it appears on all the pages of my website.
I only added the code javascript you gave me last week to erase the text on image when the cursor is on the images.
the website worked just fine after that.
I don’t have any child theme.
I checked the links but I have zero revisions to get back to as my website looks the way I want it to look. I wanted to change some colors only.
Should I send you mywordpress credentials for you to look into the problem?
Hello @dimitrisv !
I’m not sure if you can override that using child theme. You can contact our custom work team here: https://tagdiv.com/premium-customization-services/ and they will create a solution for you.
Thank you!
Hello,
1. Yes, we provide a child theme in our theme package, to get it you need to unzip the package and go to Newspaper-tf > code.
2. The license key can be used at the same time on staging and live website, so if this was used only ion staging then will be no problems to activate the key on live site.
-> https://forum.tagdiv.com/newsmag-how-to-activate-the-theme/
Thank you!
Hi,
Please tell me where it only appears on one page or the entire site. Did you add any code or elements from another plugin?
Please follow the steps from this topic https://forum.tagdiv.com/topic/error-at-zones-6models-1dom-the-model-does-not-match-the-content-currene/ if you have a child theme; please use the main theme.
You can try to revert an old revision on a page/template -> https://www.wpbeginner.com/beginners-guide/complete-guide-to-wordpress-post-revisions/
Thank you!
Hi,
Please tell me where it only appears on one page or the entire site. Did you add any code or elements from another plugin?
Please follow the steps from this topic https://forum.tagdiv.com/topic/error-at-zones-6models-1dom-the-model-does-not-match-the-content-currene/ if you have a child theme; please use the main theme.
You can try to revert an old revision on a page/template -> https://www.wpbeginner.com/beginners-guide/complete-guide-to-wordpress-post-revisions/
Thank you!
Hi,
Please tell me where it only appears on one page or the entire site. Did you add any code or elements from another plugin?
Please follow the steps from this topic https://forum.tagdiv.com/topic/error-at-zones-6models-1dom-the-model-does-not-match-the-content-currene/ if you have a child theme; please use the main theme.
You can try to revert an old revision on a page/template -> https://www.wpbeginner.com/beginners-guide/complete-guide-to-wordpress-post-revisions/
Thank you!
Hello,
I had to use for a project a specific Lightbox (based on LightGallery). The problem with this was that the first (featured image) was displayed as a seperate gallery and I had to get rid of it. So I made changes in two files in td_woo plugin:
shortcodes\td_woo_product_image.php
state\td_woo_state_single_product_page.php
In addition I intent to make a change in the favourites file, so that it only shows the favourites (and not just a filter of everything with the favourites on top). People are getting confused you see.
I also intend to change to change the product_loop so that it provides a link directly to the lightbox gallery if the user has a specific role.
I tried the documentation regarding on where to place these files in my child theme but I couldn’t find anything regarding td_woo.
Please advise.
Hi,
Have you checked for a plugin conflict? Please deactivate ALL plugins except tagDiv ones; also, if you are using a child theme or cache plugin, deactivate them, clear all cache, and try again.
Thank you!
Hi,
Have you checked for a plugin conflict? Please deactivate ALL plugins except tagDiv ones; also, if you are using a child theme or cache plugin, deactivate them, clear all cache, and try again.
Thank you!
Hi,
Have you checked for a plugin conflict? Please deactivate ALL plugins except tagDiv ones; also, if you are using a child theme or cache plugin, deactivate them, clear all cache, and try again.
Thank you!