Hello Team,
At first, I setup the theme newspaper for my client with the standard pack. They have been using the default post template and the Style 3 post template included in the pack. so far, all good. (but they have a lot of articles)
Then I read about website optimisation, and the removal of standard pack (ok i understand the aim)
Then the client wanted to create custom post templates. so no pb to replace the default post template with the custom one – ok.
But problem is on the Style 3 template that I re-created as a custom one… when I remove the standard pack plugin, and I check a post that was using the Style 3 template,
I get those error messages :
wp_booster error:
td_api_base::mark_used_on_page : a component with the ID: single_template_3 is not set.
wp_booster error:
td_api_base::get_key : a component with the ID: single_template_3 Key: file is not set.
wp_booster error:
The path of the single_template_3 template not found. Did you disable a tagDiv plugin?
wp_booster error:
td_api_base::get_key : a component with the ID: single_template_3 Key: bg_use_featured_image_as_background is not set.
wp_booster error:
td_api_base::get_key : a component with the ID: single_template_3 Key: bg_disable_background is not set.
wp_booster error:
td_api_base::get_key : a component with the ID: single_template_3 Key: bg_box_layout_config is not set.
Which makes sense, because standard pack was disabled, and the article doesn’t finds the settings.
Question is, is it possible to replace that Style 3 template by my second custom template site wise ?
otherwise, i’m forced to keep standard pack
or is it possible to make a wp search-replace to change all entries concerned in the BD and set the template to my new custom 2 one ?
hope you follow me 🙂
Many thanks,
Robin.
Hi,
Unfortunately the post style 3 will need to be replace manually on each post that it have it set, this is an individual option. Indeed, this can be done with custom code in functions or database, unfortunately this is not recommend to not harm your website, because in most cases appear problems.
Thank you for your understanding!
Helloo
Ok I see, but problem is that there’s a lot of Posts…
so to find out which one is using the template 3, they would need to go inside each article, to check it out and change the template to the custom one…
This is a ants work…
Is there a way, by a chance, to identify all posts with the Style template 3, in order to get a listing of the amount of articles to update ??
through the DB, or through wordpress “All posts” listing… maybe there is a trick to display only Posts with Style 3 template ?
Many thanks
Hi,
Unfortunately, I do not know how to make a code like that, also these kind of changes/customization are not covered by theme support, for this you’ll need a developer, if you want you can make a request to our custom services here and a developer will handle your request.
Thank you for your understanding!