- 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,
If you use a child theme, please switch to the main theme and see if the problem is still there. If it;s the child theme causing it, it will have to be re-created. If you do not use a child theme, please try a fresh install via ftp as the update process might have gone wrong: https://forum.tagdiv.com/install-via-ftp/
Also try it without any plugins as a plugin conflict can also create such issues.
Let us know how it goes.
Thank you!
Hi,
Unfortunately all of the wp-booster folder will not work in the child theme. Any customization added to this folder will have to be made in the main theme.
Thank you!
Hi
You can find the child theme in Newsmag-tf/code folder so you don’t need to create another one: http://screencast.com/t/MrqEY82r
Thanks!
Hey Blen, copy the updated php file in Child theme. You don’t worry about updating it every time you upgrade theme.
I’d like to change the Mobile theme’s single.php for example, but If I add a customized single.php file in Newspaper-child/mobile/single.php, It seems that it work change anything
Hello, is it possible to customize the mobile theme’s php files from Newspaper-child theme?
I tried modifying some of them, but nothing happens, and I’d like to know if it is possible to do it without modifying the Newspaper’s core theme files.
Thanks in advance
Hello,
Thank you for the wonderful theme. Can you please help with several questions:
1. Unfortunately social counter doesn’t work. Here is how it looks like https://gyazo.com/d3a5e93c412ea8c92faa87dbf18f1985 Everything was adjusted according to the provided instructions. You may see the it here http://freesmi.by/ on the right sidebar
2. Can you please let me know how to add vk.com share buttom?
3. What is a proper way of adding code to functions.php file in the child theme? When I simply add code here https://gyazo.com/c829207705804e51f76ee0dde7401ca9 nothing happens. The changes apply only when I make them in functions.php file placed in the mother folder (not child).
4. What is the proper way of using child theme? I made the following steps:
• I copied the child folder from here Themes\Newspaper-tf\code\Newspaper-child
• Pasted it to here /wp-content/themes/
• Then I opened functions.php file in the child theme and tried to make some additions, but nothing happened. I added the code here https://gyazo.com/100ac1b006855c8be7d7c14091e82559 But the code didn’t work. It worked only when I added it to the functions.php file in the mother folder of the theme
• So can you please advise what is the proper way of making corrections to functions.php file in the child theme? Did I do something wrong? Why it didn’t work?
5. Do you know any alternatives to CloudFlare Flexible SSL as it is not compitable with Speed Booster?
6. how to make the featured image cropped? For example instead of this – https://gyazo.com/72458b385e0f89a9d421657059e66e06 When the image takes almost all the screen, I would like to have all featured images cropped with specific size for example like here – https://gyazo.com/4abb6b786495c59078ab81851559cbeb – when the image smartly cropped and looks amazing. Is it something possible to featured images?
Thanks,
Denis.
Hi, I tried this function on the original theme, but could not get it to work in the child theme.
Both td_wp_booster_functions.php and td_module_single_base.php is present in the child theme.
What code do I have to include to have it recognized from the child theme?
The documentation for Child Theme Support states:
A sample child theme is available in the /code/ folder in the package that you downloaded form Themeforest.
I can’t find this in the zip file I downloaded.
I’m also having trouble creating a child theme because I can’t find the template name.
Help?
Hello, we have moved to Newspaper theme from a previous theme that supported action hooks and filters, where we used our functions.php file to modify the page contents. For example, to show custom fields on posts, we used this code in our child theme functions.php:
// add album title, label and article subtitle to posts and pages
function vg_subtitle($posttitle) {
global $post;
$albumtitle = get_post_meta ($post->ID, 'Album Title', true);
$albumlabel = get_post_meta ($post->ID, 'Label', true);
$subtitle = get_post_meta ($post->ID, 'Subtitle', true);
echo $posttitle;
if ($albumtitle) echo '<div id="vg-albumtitle">' . $albumtitle . '</div>';
if ($albumlabel) echo '<div id="vg-albumlabel">' . $albumlabel . '</div>';
if ($subtitle) echo '<div id="vg-subtitle">' . $subtitle . '</div>';
}
add_action('thematic_postheader_posttitle','vg_subtitle');
I am wondering, does Newspaper support action hooks such as this, to display these custom fields? I am wondering where I might find the Newspaper theme equivalent to replace above ‘thematic_postheader_posttitle’ … ? Is there a support doc reference to theme action hooks and filters? Thanks!
Hello vipcomm,
Please notice that our theme was fully tested in this regard before to be released and you should not have these type of errors. As you can see, the problems appear on your side and probably is caused by your settings.
So, first of all, please try to do a full backup to your data, according to this documentation here -> https://codex.wordpress.org/WordPress_Backups to rule out the way can loose all your data from your database and then try to do a fresh install only VIA FTP -> https://forum.tagdiv.com/how-to-update-the-theme-2/ because this is the surest method in this case. In the next step, you will have to disable ALL your plugins and leave just Visual Composer to active -> https://forum.tagdiv.com/how-to-update-visual-composer-plugin/ (for Newspaper 7 -> Visual Composer 4.11.2), clear all your caches, purge all CDN files if you are using CDN and install only the plugins that come bundled with our theme and rule out the conflicting plugins and if you are using the Child theme, please try to switch to the main theme. So, please try to bring the website to the default settings to rule out all the potential errors which could appear when you customize your side.
Hope this helps and let us know how it goes!
Thank you for your understanding!
Hi
At the moment you can’t edit header.php in child theme. For more detail about the files which can be edited whit child theme please check our documentation: https://forum.tagdiv.com/the-child-theme-support-tutorial/
Thanks!
Andrei L tagDiv!
Hi,
Glad you got it going! Unfortunately the whole wp-booster file cannot be modified in the child theme. It has to be done in the main theme. Keep a back-up of the modification made by your developer and re-apply it when updating.
Thank you!
Hi Bogdan! The implementation for BrightCove worked – my developer hardcoded it with the aid of your screenshots. One question: Is it possible to do this somehow in the child theme so that I may update the theme easily without worrying about it breaking… or having the need to copy/paste the code with every update?
Thank you very much!
Hi
I’m using child theme and everything works well, except header.php is not working in child theme. Every theme update i have to edit header in Newsmag theme
Any idea?
Thank you
Hello BrPortais,
Please notice that all your additional customizations through the code of your main theme, to next update the code will be overwritten and also, you will lose your customizations. If you want to avoid this case, you should use the child theme, according to our documentation here -> https://forum.tagdiv.com/the-child-theme-support-tutorial/
Hope this helps!
Thank you for your understanding!
Hi,
Try to switch to the main theme as the child theme has a style.css that has not been updated. The files in the child theme especially style.css need to be replaced on every update as it;s a file that gets modified every time. A child theme is not update proof. Please re-create your child theme with the current version of the files and re-add your modification on the new files.
Thank you!
Hello RachelG,
I feel sorry for this moment, maybe my explanation was not understood correctly. So, if you have some custom modifications in your child theme, in the future, you must be careful that if something does not work as properly with your child theme, probably the classes or some code were changed in the latest update and you will have to “UPDATE” you child theme with the actual classes or right code to work as expected. I hope that you have understood my explanation. Please notice that this thing is not necessary doing for each update only if problems arise due your child theme customizations.
Thank you for your understanding!
Working for me just fine.
Sounds like you have some issues with your setup.
Useful to disable all plugins, update theme, update plugins, and only use visual composer to tesr update. Skip using child theme.
Dont use anything that modifies code like wordfence or cloudflare unless you know what youre doing. Avoid jetpack.
Connection issues usually mean your server setup not optimized, or you are trying to connect to offline sources like jetpack stuff which crashes all the time.
I dont work here, just some feedback that it does work. But visual composer is a little wonky in its setup and updates. Often deleting the jscomposer folder completely only way to upgrade the damn thing.
We are currently using NewsPaper Theme version 6.7 and want to upgrade to NewsPaper Theme version 7.0.1 We followed the steps for updating the theme using the FTP method from this link:
https://forum.tagdiv.com/how-to-update-the-theme-2/
After the upgrade the site breaks. The homepage does only shows our categories in the top left then the header for the site is shown. Seems like there is a CSS issue. Our child theme has only two files (style.css and functions.php). We are not sure why this is happening.
I don’t understand what you mean at all. A child theme is a place where you can make modifications to a theme that won’t be overwritten with future theme updates. Are you saying that my child theme will be overwritten when I update Newspaper? I have updated Newspaper several times so far without losing my customizations. I have given my child theme folder the name “the-kineticist”. I don’t see how that will be overwritten.
Hello RachelG,
Yes. Please notice that the child theme is the optional one and it is using in general for additional customizations. The child theme will be changed in each future update a little bit, but you will have to re-add all your customizations in the new child theme that come bundled with our theme.
Thanks.
OK, so, I can make this change to the child theme instead of the parent theme. And then it will always be safe from future updates. Is that correct?
Hello RachelG,
I think that is talking about the same child theme, sorry!
Thanks.
I’m not clear what you mean by that. I think I may have created my own child theme. I don’t remember anymore. It has a lot of other customizations too. What do I need to know?