- 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,
I am trying to update the Newspaper theme from version 9.1 to to version 9.2.1. using wordpress version 5.0.3
I use the theme with child theme enabled and speed booster modifications and WP Super cache plugin.
When I try to update via Envato Market plugin I get 2 instances of the theme show up and the only option is to install the theme (not update).
https://www.screencast.com/t/Dt0e9QjRAXx
When I try to update the theme via FTP (replacing ALL theme files) my website breaks down and if I go to Theme system status I still get version theme 9.1 and not 9.2.2 displayed. Neither the plugins display a button to update.
Hi,
First thing to check would be the requirements guide (note the code at the bottom of the guide)
– https://forum.tagdiv.com/requirements-for-newspaper/
Next would be to investigate plugins, make a quick test and deactivate them all except theme plugins. Check if this has any effect.
If you made any modifications to theme files directly or by a child theme, or added various codes in the theme files or theme panel, temporarily remove them and check again.
If you already tried or checked these, we could take a look. Send us an email at contact@tagdiv.com and provide admin login as well as cPanel or FTP if possible. Please include a link to this topic in the email. Mention what exactly we should check.
Thanks
Hi,
So the issue is only happening in the homepage? Was the page built with the tagDiv composer entirely, or does it contain elements that were not added with it? Usually this error is caused by adding content in the page that is not part of the composer.
It could also be caused by plugins, you could make a quick test and deactivate them all, leave only theme plugins active. Check if this solves the problem.
If you made any modifications to the page templates or theme files directly or in a child theme, try to remove them temporarily and test again.
If nothing works, we could take a look. Send us an email at contact@tagdiv.com and provide admin login. Include a link to this topic in the email.
Thanks
The following themes are installed but incomplete.
Name Description
Newspaper Template is missing. Standalone themes need to have a index.php template file. Child themes need to have a Template header in the style.css stylesheet.
Hi,
Removing the theme structured data would be possible if you remove it from the theme code only. Most of the structured data for the posts is located in this file
– https://www.screencast.com/t/6afOnwYmF
The theme contains the basic required data, like author, date published, date modified, reviews etc. Only manually could this be removed.
Please make this change in child theme, in this way if you make update to theme those changes will remain.
Hope this will help you.
Thanks.
Hello,
When i activate the parent theme tagDiv Composer works fine but when i active the child theme the issue occurs. I have activate and deactivate the plugins and nothing was happen.
The only thing that i change in the child theme is that i create a widget outside of the content on the page.php
Please advice further.
Thanks
Hi,
So the issue is caused by the child theme? you could investigate what exactly from it is causing the problem. Remove the files you modified in the child theme one at a time, while testing to see if the problem is solved.
Hi,
Is this happening for all pages, even new ones? Could be something in the page content if it only happens for some pages. Content that is not part of the composer or was not added through it could cause such an issue.
If it happens for all pages even new ones, then it would be a general problem. Maybe it is caused by a plugin, or theme modifications made directly or by a child theme. These would be the first things to investigate. In some cases various plugins were to blame. Let us know what you find.
Thanks
Thanks.
So I have to create a child-theme, and place an edited version of this file in the same folder location, right?
Any chance you could simple make it configurable?
Hello
The issue is at the child theme not at the parent theme..
Hello ,
I can not use Tag Div Composer i am facing this error : Error at rows: 1(models) : 0(dom). The model does not match the content.
Kindly note that i made changes only to the child theme and not to the parent.
Please advice further
Thank you in advance.
Hi,
Unfortunately tagDiv cloud Library can not be set in child theme, and is very difficulty to set make changes.
If you want try try here is were you need to look
wp-content/plugins/td-cloud-library/state/ here you’ll find all you need to edit.
https://www.screencast.com/t/PpSZgEtNMy
Hope this will help you!
Thank you for your understanding.
Hi,
This is possible only if you make changes in theme files, but be notice that the notice is not made in child theme, or you can not made theme in child theme, you need to made that changes after each theme update.
Thank you.
Hello,
I used to modify default loops for single post to add some custom php code at top and bottom of my posts.
Essentially to display Amazon Boxes et infos boxes based on ACF.
No big deal because I just had to create a single-loop-X.php in my child theme.
However, I discovered Cloud Templates and really like the single post template that came with Fast News demo.
Is there any way to achieve what I was doing with default loops but with a template ?
Thhanks
Hi,
Unfortunately those are Gutenberg settings not Newspaper and we can not change those settings, but if you want we can provide you a css that change the padding for those images
https://www.screencast.com/t/bcIgqEX1Z
Just add this custom css in Newspaper>theme panel>Custom code>Custom css -.
.single .wp-block-column:not(:last-child) {
margin-right: 5px;
}
.single .wp-block-column:not(:first-child) {
margin-left: 5px;
}
.single .wp-block-image{
margin-bottom: 8px;
}
.single .has-2-columns .wp-block-column{
margin-bottom: 0px;
}
Hope this will help you!
Thanks.
Hi,
So they worked before? Then it could be some recent modifications that caused the problem. Maybe you installed a plugin, added some code in the theme panel, theme files, child theme etc.
Those would be the first things to check. Deactivate all plugins except theme plugins, remove code modifications or code additions in theme files or panel, clear the cache then check again.
If you use caching of any kind, activate this option
– https://forum.tagdiv.com/ajax-view-count/
Also maybe consider to update the theme to the latest version, changelog here at the bottom
– https://themeforest.net/item/newspaper/5489609
Thanks
Hi,
So the author name here – https://www.screencast.com/t/e1baDzSU5 and also the author box
– https://www.screencast.com/t/blQ4qnrnmHm
On way of doing it only for some posts, would be to create/import a cloud post template and remove the author name and author box elements from it, then apply it to the posts you want
– https://forum.tagdiv.com/tagdiv-cloud-library-plugin/
These are the available cloud post templates – https://affiliate.tagdiv.com/#/load/Single
There you can preview and even edit them with the composer for testing.
Or you could set a condition in the post template used for the post. Something like this for post template default
Author name – https://www.screencast.com/t/4EDnOqygT
Author box – https://www.screencast.com/t/kQsBApk4N
So if not the author IDs for example 1 and 3 display the author name and author box. Author IDs can be seen like this for example – https://www.screencast.com/t/TgCPD80eT
So code without condition – https://www.screencast.com/t/XdfEGwqEkKoX
With condition will be as above. I found this example here
– https://premium.wpmudev.org/forums/topic/how-to-write-if-author-id-1-do-the-action-in-php
I have tested this briefly and it seems to work. Here is the code for it
Author name – https://pastebin.com/AW0WUB4t
Author box – https://pastebin.com/VRknYdAF
Replace the default line of code for each with the new code. If you have a development copy of the website test this there before, if possible. If you have more authors add them like this – https://www.screencast.com/t/vTANMPJeG0W
This will have to made in the post template file, depending on what post template the post uses. The template files can be modified in a child theme if you have one, so they will not be lost after a theme update.
Thanks
Hi,
@rahulroushan That file can’t be modified in a child theme, so the modification will have to be made in the main theme.
But if you want to modify the user capabilities easiest way would be with a plugin
– https://wpdean.com/wordpress-plugins-to-extend-user-roles-capabilities/
– https://wpengine.com/blog/plugged-in-user-role-plugins/
– https://torquemag.io/2014/08/5-wordpress-plugins-manage-user-roles/
It was because my child theme had version 7.7.
Editing the right version in style.css file, everything works.
Can this be done through a child theme or one will have to edit main files?
Hi,
Indeed, I tested on a couple of phones, on Android there is no problem, only on Safari it seems. First things to investigate would be plugins, code entered in the theme panel, theme files or child theme when used.
The theme by default works properly, but plugins, additional code or theme modifications may cause malfunctions.
Thanks
Hi,
Please check our documentation for Child theme support -> https://forum.tagdiv.com/the-child-theme-support-tutorial/
In order to create a child theme you need to create a a folder or copy the one from theme package https://www.screencast.com/t/P5vA5wm8I and follow the structure from the child-theme-support-tutorial.
What’s included in the Newspaper theme package -> https://forum.tagdiv.com/whats-included/ -> https://forum.tagdiv.com/the-child-theme-support-tutorial/
Thank you.
Hi,
If you do not make any changes to the theme files, please deactivate all plugins, clear all cache and please make sure that the theme system status is configured as mentioned in the requirements guide. Please follow the guide carefully
– https://forum.tagdiv.com/requirements-for-newspaper/
Please deactivate child theme too, is possible to be some conflicts, or a piece of code to be broken.
Thank you.
-
This reply was modified 7 years by
Calin.
I have installed Newspaper 9.2.2 via WordPress dashboard but I didn’t see any child theme.
Why Child theme is not installed?
How can I install newspaper child theme?
Can we just replace something to fix it?
321 //child category
322 $breadcrumbs_array [] = array (
323 ‘title_attribute’ => __td(‘View all posts in’, TD_THEME_NAME) . ‘ ‘ . htmlspecialchars($category_1_name),
324 ‘url’ => $category_1_url,
325 ‘display_name’ => $category_1_name
326 );