Hello,
To create a child theme please check this guide https://forum.tagdiv.com/the-child-theme-support-tutorial/
Please let me know what changes you make.
Thank you!
Please advise How to Create Child Theme? So that we do not lose our customizations
Because whenever we update the parent theme, all of our changes would be overwritten.
Hi Bettina,
Can you look a little deeper into this?
1. Yes I understand the child theme is not overwritten, I’m asking for guidance about why we would get a critical error from this line of code in it’s header.php – perhaps related to #2? It is related to general issue of the update breaking the site, child theme or not.
This is the code:
/*
* loads the header template set in Theme Panel -> Header area
* the template files are located in ../parts/header
*/
td_api_header_style::_helper_show_header();
This is the error:
PHP Fatal error: Uncaught Error: Class “td_util” not found in /srv/htdocs/wp-content/themes/Newspaper/includes/wp-booster/wp-admin/tagdiv-view-header.php:19 Stack trace: #0 /srv/htdocs/wp-content/themes/Newspaper/includes/wp-booster/wp-admin/tagdiv-view-theme-plugins.php(59): require_once() #1 /srv/htdocs/wp-content/themes/Newspaper/includes/wp-booster/tagdiv-wp-booster-functions.php(499): require_once(‘/srv/htdocs/wp-…’) #2 /wordpress/core/6.3.1/wp-includes/class-wp-hook.php(310): {closure}(”) #3 /wordpress/core/6.3.1/wp-includes/class-wp-hook.php(334): WP_Hook->apply_filters(”, Array) #4 /wordpress/core/6.3.1/wp-includes/plugin.php(517): WP_Hook->do_action(Array) #5 /wordpress/core/6.3.1/wp-admin/admin.php(259): do_action(‘newspaper_page_…’) #6 {main} thrown in /srv/htdocs/wp-content/themes/Newspaper/includes/wp-booster/wp-admin/tagdiv-view-header.php on line 19
#2. We have all dependent plugins. Below is what the shortcodes look like that are appaering everywhere – they look related to the composer, which we have installed & activated, and the new version from the theme update. My theory is that because we are making such a jump in theme versions, we’re missing one of the intermediate updates that performed some sort of action that converted them in td composer during a previous update. Can you please ask your dev team?
[td_block_9 custom_title=”Breaking News” custom_url=”/category/breaking-news/” category_id=”24″ limit=”10″ el_class=”breaking-news-block” header_color=”#d90000″]
-
This reply was modified 2 years by
FreshySites.
Hi,
And if you assign the main theme, the problem is resolved? If yes, then something in your child theme is not added correctly.
Thank you!
Hello ,
Already check guide and suggestion but not found any solution.
child theme is mandotary because if parent theme updated then my customisation changes gone.
Please look into this on an urgent basis.
Hello!
Follow this guide to clean your WordPress and theme of malware:
https://www.wordfence.com/docs/how-to-clean-a-hacked-wordpress-site-using-wordfence/ or https://askwpgirl.com/10-steps-remove-malware-wordpress-site/
1. 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(if you use some files which were updated).
2. A code in your frontend is appearing only when you have a plugin uninstalled when it should be installed, so instead of the code, it will display the element from that plugin. Check in Newspaper -> Plugins (the Standard Pack plugin).
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,
We tried to update our website http://www.urbanpitch.com to the latest version of Newspaper, but because our Child Theme with our website customization is working on an older version (6.0), we ran into some issues. Namely, the Child Theme is using Visual Composer which is not supported by the current version of Newspaper, which uses TagDiv Composer. Would you be able to provide guidance on how to best fix this issue? Thanks!
We recently faced a malware issue on our website due to the documented vulnerabilities with this theme/dependent plugins. In an attempt to resolve this, we updated our theme (8.7.3) to the latest version. We encountered the following issues:
1. Child Theme Error: Our child theme is throwing a critical error related to the td_api_header_style::_helper_show_header(); function. This appears to be depreciated or no longer supported in the latest version of the theme, and the error prevents the site from loading at all
2. Parent Theme Shortcode Issue: Even when reverting to the parent theme, we noticed that shortcodes are visible all over the website as seen here on this staging site running the latest version of the parent theme.
Could you please assist us in resolving these 2 issues as soon as possible? We’re at a standstill until this is fixed.
My intuition is that because we are jumping from version 8.7.3 to the latest version, we’re missing some conversion that happened with how the shortcodes are handled – perhaps the update needs to be done in steps?
We can provide full access to a staging site if needed
Hello @obiwan !
Yes, you can duplicate the modules templates and you do not need the child theme. Please check the guide: https://forum.tagdiv.com/modules-builder-newspaper-theme/
Thank you!
Actually, can we duplicate the modules and modify them as we please using child theme?
They are very limited for use with real estate services.
Thank you
-
This reply was modified 2 years by
obiwan.
Dear Calin,
First of all, I would like to thank you for your continued kindness and attention to us Newspaper users.
Yes, when I used the standard post style I did it like this through the child theme. When we migrated to the cloud template, we tried to call the excerpt by creating shortcode in functions.php, linking this shortcode to a raw box element or text box element by the tagDiv Composer in the single template. But that didn’t work for us. If you have any tips to make this work through some adjustment, it would be a welcome solution and will help us a lot. In any case, I ask that Newspeper be able to add an excerpt element in the future. It will be a gift for us!
Thank you very much
Hello,
Please check this guide https://make.wordpress.org/core/2020/06/26/wordpress-5-5-better-fine-grained-control-of-redirect_guess_404_permalink/ set the function in child theme.
Thank you!
Hi fabinhoalmeida,
If you want there are solutions that can be used to display the excerpt in a post, even if there is no option for this. In case that you are using a standard post style from tagDiv Composer, then you need to edit a post style- https://i.imgur.com/lwSWJrj.png that you use and call for the excerpt to be included in the post (also, those changes can be set in a child theme). Now if you are using a cloud template then it will be more complicate, but it can be done (for this will be need a custom function to add an extra shortcode or to read the excerpt filed and display it in a custom filed element).
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,
Indeed it is a gradient over the image so hen the image is more light the title of posts that comes over the image to look good.
If you want to remove it you need to use a custom css like this one:
.td-grid-style-1 .td-module-thumb a:last-child:before, .td_module_mx1 .td-module-thumb a:last-child:before { background: none;
}
This code needs to be set in the theme panel > custom code> custom css.
Thank you!
Hi, Hertitage Lab, thank you so much for your help! I was able to follow your steps with a beautiful result – https://rareparenting.com/what-is-occupational-therapy-for-children/.
Yes, I would like to add a photo, and frankly, it would be great if the theme allowed multiple authors (or a plug-in) that linked to the co-author pages, same as the way the original author can do. Long-term, the upkeep this way is much more difficult as well. However, it is an amazing short-term fix that is better than the Molongui plug-in, while we wait for TagDiv to either provide an update or offer a better solution. I really appreciate your help and care!
Thank you. 🙂
-
This reply was modified 2 years by
nolandolce.
-
This reply was modified 2 years by
nolandolce.
Hi,
You can find the templates as described in this guide: https://forum.tagdiv.com/the-child-theme-support-tutorial/
Thank you!
I’ve just completed a long-overdue upgrade from v10.x to v12.6. In v10, I had customized several Post Template Styles. To be clear, I am referring to the 13 predefined Post Templates (screenshot: https://ibb.co/Z8H5ThY).
I had added custom code to several of the styles by manually editing their template files in the theme folder. In v10, this would be:
/Newspaper-child/parts/single/loop-single-5.php
In v12, however, the /Newspaper/parts/ directory doesn’t exist and I’m not seeing where I can edit loop-single-5.php (or its v12 equivalent) that controls Style 5 in the WP editor.
I see /Newspaper/loop-single.php, which controls the default template but not any of the files that would control Post Templates 1-13.
Can you point me to the files/directory where I can make these edits?
Thanks!
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 thalesbrandao, for this you’ll need to edit the single post template file that you are using for posts. For example if you are using style 1 the file path is – wp-content/plugins/td-composer/legacy/Newsmag/parts/single/loop-single-1.php set your code under the get_title() – https://i.imgur.com/OBvFW8O.png
Also, you can set the edited files in a child theme – https://forum.tagdiv.com/the-child-theme-support-tutorial/
I hope this will help 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,
Is it possible to add more than one author? I’d like to include an author and then a medical reviewer. So one would say “written by” which I can do in the theme, but then I’d need to add a second author block that says “medically reviewed by.” How can this be achieved? Thank you!!
https://rareparenting.com/what-is-occupational-therapy-for-children/
Megan
Hi igormiranda93, if I correctly understand you’ll need to display the excerpt inside the article not only in blocks. Unfortunately, the theme do not have an option for this, but I thing it can be done a custom shortcode, but this can be done only at custom work and it will work even after theme updates, what I can do is to see what template you are using and edit it to display the excerpt, but if the changes can not be set in a child theme (not all files can be set in child theme), then this will need to be done after each theme update.
Thank you for your understanding!