- 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,
Please use this guide to properly create your child theme: https://forum.tagdiv.com/the-child-theme-support-tutorial/
Start with the one already present in the theme package: https://www.screencast.com/t/y20vZdH81
Thank you!
All of the files that CAN be rewritten in the child theme are presented here:
https://forum.tagdiv.com/the-child-theme-support-tutorial/
If the file you are trying to modify is not on the lit, then it has to be modified in the main theme files.
Thank you!
Hello,
This could be a plugin conflict so please disable all plugins except the page builder, clear cache and reset cdn files if you use it. Please also check any custom code you might have added to the theme panel or the theme files. If you use a child theme, please switch to the main theme to make sure it does not affect the proper functionality of the theme.
Also please check your memory allocation and make sure these parameters are set properly: https://forum.tagdiv.com/system-status-parameters-guide/
Thank you!
Hi,
Please disable all plugins except the page builder, clear cache and reset cdn files if you use it. Please also check any custom code you might have added to the theme panel or the theme files. If you use a child theme, please switch to the main theme to make sure it does not affect the proper functionality of the theme.
Thank you!
Hi,
This topic should answer your question: https://forum.tagdiv.com/topic/setting-up-child-theme/
Thanks.
Hello,
If you are asking this question then most likely NOT.
A child theme is used if you do code modifications to the main theme files. If you have coding skills that is. A child theme has no other functionality besides allowing you top change the code and not affect the main theme files.
Thank you!
Hello,
This could be a plugin conflict so please disable all plugins except the page builder, clear cache and reset cdn files if you use it. Please also check any custom code you might have added to the theme panel or the theme files. If you use a child theme, please switch to the main theme to make sure it does not affect the proper functionality of the theme.
Thank you!
Actually, doing a test in a new blank child theme it works fine. Must be something incompatible with the other child theme I created.
Hello!
I have just bought Newspaper theme [Version 8.1] and I would like to modify some of the modules, but I can’t activate the child theme in WordPress Admin, it says “The parent template is corrupt. Newspaper parent template must be installed.” But the Newspaper v.8.1. parent template is installed. And next to this error message I saw the child theme’s name is “Newspaper 7 Child theme”.
I found another topic where you said I should use “function theme_enqueue_styles()” lines without ‘c’, but it didnt work for me.
My FTP folder look like this:

And here is my child theme functions.php:

Thank you!
Thank you Simion C, that was helpful.
Can you please elaborate on these points in the child theme support?
12. The wordpress templates which are not loaded by theme API, like archives.php, header.php, etc, have child theme standard support.
The theme API in the child theme:
Important!
We strongly DO NOT RECOMMEND using the theme API from the child theme.
If I have to make changes in the child theme then I have to use the theme API in style.css?
Thanks, Catalin.
Okay from that I can see:
– I cannot copy header.php to the child theme and overwrite it.
– I cannot copy loop_single_1.php (etc) files to the child theme and overwrite it.
– I can overwrite single_template_1.php (etc) files from my child theme.
If this is correct, then every time I update the theme I’ll have to make the changes in the respective files for FB comments to work. Let me know if I have got it right.
Hello,
I’m using the latest theme (8.1) and WordPress (4.8.1), but after these updates I cannot make changes to the CSS anymore. Live CSS and Custom Code > Custom CSS are not working.
In Live CSS: I’ve added some CSS-codes and hit the Save button but it these changes are not saved.
In Custom Code > Custom CSS: the text block is non-responsive. I cannot add any css-codes.
When, as a last resort, I put the css-code in the css file of the child-theme, it’s also not updated.
I didn’t make any changes to some plugins.
Could you please check what’s going on?
Thank You!
I did do a search but no clear answer – Whenever there is a new Newspaper update should I always update the child theme too?
Failed to load content css: …./wp-content/themes/Newspaper-child/editor-style.css
??????????????????????????????????
Should I use Newspaper Child theme or Not?
Hi,
Upon inspecting your website with the browser inspector and testing it on mobile, it causes the browser to freeze and I cannot even close the tab (tested multiple times)
– https://www.screencast.com/t/Wz8ajIOU
I have to restart the browser in order to be able to do that
– https://www.screencast.com/t/bwrfcUHZ
It is imperative that in order to find what is causing this, really deactivate all plugins except the ones provided with the theme. This is not happening in our tests.
If that does not work, remove any custom code from the theme panel, or theme files. Switch to the main them from your child theme, and check the results.
After doing this, the theme does not work as intended, please send us an email at contact@tagdiv.com and provide admin login information so we can take a look. Leave the plugins disabled if possible.
Also paste a link to this topic in your email.
Thanks
Hi,
Everything should work properly with any version of the theme.
Please try as a test to deactivate all other plugins except the ones included in the theme package, and clear any caching installed.
Check any custom code you might be using in the theme panel, or in the theme files. Switch to the main theme if you use a child theme, as this might be outdated and needs adjustments.
Maybe you can provide some examples of what exactly is not working so we can understand better and try to help you.
Thanks
Hi,
It would be very helpful if you could provide a link to your website so we can inspect it, and see this happening.
If a plugin is not responsible, then maybe custom code or modifications or a child theme could be the cause. The mobile menu should not display on desktop, if it does something is not working properly.
Thanks
Ok, so I have found the solution…
The functions.php file in the new Newspaper 6.3 is different than the one that was in 6.0
To resolve this issue, go to themes – editor in your dashboard, then replace the following code – making sure NOT to remove any other code. If you remove other code, you may lose custom functionalities that you’ve set in this functions file. Here’s the code:
<?php
/* ----------------------------------------------------------------------------
Newspaper 6 Child theme - Please do not use this child theme with older versions of Newspaper Theme
What can be overwritten via the child theme:
- everything from /parts folder
- all the loops (loop.php loop-single-1.php) etc
- the rest of the theme has to be modified via the theme api:
https://forum.tagdiv.com/the-theme-api/
*/
/* ----------------------------------------------------------------------------
add the parent style + style.css from this folder
*/
add_action( 'wp_enqueue_scripts', 'theme_enqueue_styles', 1000);
function theme_enqueue_styles() {
wp_enqueue_style('td-theme', get_template_directory_uri() . '/style.css', '', '6.1c', 'all' );
wp_enqueue_style('td-theme-child', get_stylesheet_directory_uri() . '/style.css', array('td-theme'), '6.1c', 'all' );
}
With this:
<?php
/* ----------------------------------------------------------------------------
Newspaper V6.3+ Child theme - Please do not use this child theme with older versions of Newspaper Theme
What can be overwritten via the child theme:
- everything from /parts folder
- all the loops (loop.php loop-single-1.php) etc
- please read the child theme documentation: https://forum.tagdiv.com/the-child-theme-support-tutorial/
- the rest of the theme has to be modified via the theme api:
https://forum.tagdiv.com/the-theme-api/
*/
/* ----------------------------------------------------------------------------
add the parent style + style.css from this folder
*/
add_action( 'wp_enqueue_scripts', 'theme_enqueue_styles', 1001);
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 worked for me. Please update and let us know if it works for you.
Hi,
First step would be to deactivate all plugins as a test, except the plugins provided with the theme (use the latest versions). Check any code you might have entered in the theme panel, or added to the theme files directly.
If you use a child theme, switch to the main theme and check the results.
As a last resort you can reinstall the theme by FTP
– https://forum.tagdiv.com/install-via-ftp/
Thanks
Hi,
That is an unusual issue you are having. The mobile theme has nothing to do with the tagDiv composer. The composer is not required in order for the mobile theme to work properly. Something else is likely to cause this problem. At the moment this is how the website looks on mobile
– http://prntscr.com/g3u5n7
This is not caused by the theme, only plugins, custom code inserted in the theme panel or added to the theme files could cause results like this. Or a child theme with modifications that you might be using.
That’s why the first suggestion is to deactivate all other non-theme plugins, to possibly spot the one that is causing this.
You could try a theme reinstall by FTP as a last resort
– https://forum.tagdiv.com/install-via-ftp/
Make no modifications to the theme, and activate only default plugins.
Thanks
Hello junaiddar,
According to what kind of files you will have to edit for implementing this feature, you will see if this task can be implemented via Child Theme, according to our documentation here -> https://forum.tagdiv.com/the-child-theme-support-tutorial/ Check the files which have to be edited and then, check if you want to overwrite via Child Theme.
Thanks for your understanding!
Hi,
A child theme purpose is to customize the theme safely, without losing the modifications when the theme is updated. You can include the files that you want to modify in the child theme, and create the same structure or path leading to the file as the main theme.
Files included by you in the child theme will have priority over the files from the main theme. If you copied and modified a post template file in the child theme, the this file will be used.
The tutorial mentioned all the files that can be overridden with a child theme, at the moment.
Thanks
Hi,
Then something is not functioning as it should. This is how the post page looks at the moment on your website
– http://prntscr.com/g3rxtv
It is not supposed to look like that. There is something wrong with the container, or other elements of the page. Please check if you have any custom code added to the theme files, or child theme active. Deactivate all plugins except Visual composer and other plugins included with the theme, and clear the cache. Then the problem should be fixed.
Most likely this is caused by a plugin, this way you can see if that is the case.
Thanks
Hi,
First please deactivate all plugins except the ones provided with the theme, an clear any caching installed. If you are using a child theme, switch to the main theme. Check any custom code you might have entered in the theme panel, or added to the theme files.
Then check the homepage and see if it displays properly. Try editing the homepage with the tagDiv composer and check if everything works properly.
You could try and deactivate the tagDiv composer as well, and delete it. Then upload it again and check the results.
The surest way to update the theme is by FTP, as a last resort you could reinstall the theme. Maybe something went wrong during the update process
– https://forum.tagdiv.com/install-via-ftp/
Please let us know how it goes.
Thanks