- 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
Could I be able to apply the target=“_blank” property limited only to a particular Block type? Or perhaps where I define categories for posts?
At any rate If I’m going to be making changes to the code, I’d need to be able to apply any changes to the child theme’s functions.php anyway to avoid losing any changes made with future theme updates, right?
-
This reply was modified 8 years by
cantonjester.
-
This reply was modified 8 years by
cantonjester.
Hi,
There were some issues between the theme and the WordPress update a few updates ago. These were fixed a while ago in version 8.2. It is recommended to always update theme and WordPress, not just one.
Please try and update the theme to the latest version available
– https://forum.tagdiv.com/how-to-update-the-theme-2/
The FTP method is the most recommended. Then check if the issue is still happening. a thing to note is that after updating the tagDiv composer will be automatically activated. This can cause issues with specific Visual composer elements,
If it is, go through all these steps. Deactivate all plugins except theme plugins, clear all caching and CDN files if used. Switch to the main theme in case you use a child theme. Temporarily remove custom code added in theme panel or theme files, do not enter any code in theme files. While going thorough these steps, keep checking if the issue is still present.
Thanks
This is brilliant – many thanks!
Sorry for one more question – I’ve tried setting the mobile main menu background like this:
@media (max-width: 767px) {
.td-header-main-menu {
background-color: #fff !important;
}
}
but it’s being overriden with a !important in the theme code here:
@media (max-width: 767px)
style.css?ver=4.9.4:1593
.td-header-wrap .td-header-menu-wrap-full, .td-header-wrap .td-header-menu-wrap, .td-header-wrap .td-header-main-menu {
background-color: #222 !important;
height: 54px !important;
}
Is it possible to override that override without hacking theme files? I’m using a child theme if that helps.
Thanks!
That is not happening in any of our tests. Regardless of multi-purpose plugin state, the mobile theme counter is not affected. Try reinstalling the multi-purpose plugin from the latest theme package and test again.
Deactivate all other plugins except theme plugins as a test. Clear all caching and CDN cache if used. If you use a child theme switch to the main theme.
We can take a look if these suggestions have no effect, please provide a link to your website so we can inspect the issues.
Hi,
We did not receive any other similar reports from theme users after the latest update. The last update was not major, the post sharing socials received some modifications and there were some various fixes made. So there would be no reason to cause the issues you are mentioning.
Try again to deactivate all plugins, leave only theme plugins active. Remove custom codes or theme modifications. Switch to the main theme if you use a child theme. Make sure there are sufficient resources as mentioned in the guide. Clear all caching and purge CDN cache as well. Monitor and see if there is any change. Hopefully you can identify what exactly is causing the problem.
Thanks
Sorry, I meant the ability to change the \includes\wp-booster\td_module.php file in a child theme.
Thanks
Hi,
@curve The file you mention cannot be modified through a child theme. The files that can be modified from the booster folder are mentioned in the child theme guide
– https://www.screencast.com/t/HP1IrDRi6O
So you will have to make the modification in the main theme file in order for this to work.
Thanks
Following this post I’ve managed to get this working with a child theme. Thanks @vlad1984 and @ouchmyego.
The only place I’ve had to change the parent theme files is in the changes to wp-content\themes\Newspaper\includes\wp-booster\td_module.php – adding this into the child theme didn’t work.
There seems to be contradictory information in the instructions here https://forum.tagdiv.com/the-child-theme-support-tutorial/ – are some files in the wp-booster supported in child themes and some not? @bogdan-b, can you help on that?
Hi,
I don’t quite understand what you mean. If you have a problem, please provide a link to your website we will inspect it.
Usually layout issues are caused by modifications to the theme, custom code or maybe having both composers active at the same time.
Try deactivating all plugins except theme plugins, leave only the composer you are using active (either Visual composer or tagDiv composer) and other theme plugins. Temporarily remove any custom code used in the theme panel, or code entered in theme files.
If you use a child theme switch to the main theme. Try these suggestions and see if you can identify what is causing the issues.
Thanks
Hello themesic,
You should use the child theme if you want to use some additional customizations. For more support for this, please check here -> https://forum.tagdiv.com/the-child-theme-support-tutorial/
Thanks.
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!
Hello gilgul,
For more information about child theme, please check here -> https://forum.tagdiv.com/the-child-theme-support-tutorial/ Please do not rename the child theme files because if you will do this, it will do not work. Also, notice that the Child theme should have to be in the theme’s files because is interpreted as a theme, like this -> https://www.screencast.com/t/PBykYgsUcEM
Hope this helps!
Thanks for the message!
Hello Stinus V,
Yes, after each update, all of your additional customizations will be lost if you will never make a full backup to your database. Notice that when the theme is updated, all the actual code of the theme will be overwritten by the new update. In this case, if you want that your additional customization to be there after theme update, you should use the child theme and add there all of these changes.
Thanks for your understanding!
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!
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!
Hi,
Trying to make changes to includes/wp_booster/td_module.php
I created the path in my child theme, copied the file over, made some changes but they do not show in the live site.
I am not sure how sub-folders are treated in child themes… Am I doing something wrong?
Thanks,
G
Hello,
Please make sure you update your child theme as if you are still feeding old files from your child theme such errors can happen. Also please do not change the theme name or the child theme name from their original name.
Thank you!
Hello Stinus V,
Notice that any type of changes you have made using the CSS code, after an update, it will be lost. You can try using the child theme because the main theme will overwrite the whole code of the theme.
Thanks for the message!
Hi,
Cloudflare rocket feature is known to cause issue with the theme, it is recommended to have it disabled if you use Cloudflare
– https://forum.tagdiv.com/cloudflare-cdn/
Disable it and check the results. By default the smart sidebar feature works in theme, something is causing it to fail in this case. Try deactivating plugins, child theme, disable rocket loader, check custom code used in theme panel or theme files.
Thanks
By activating the child-theme today a lot of pictures changed and a lot of links get lost. I already had this problems when I was installing your theme. And it seems that especially pages are concerned. Any idea how to solve the problem?
You were right. I’ve used the default name for the child theme and it’s now working.
Thanksy your help.
The font of the text logo an tagline could only be changed with a custom code, or through a child theme if you have one. For example
– https://www.screencast.com/t/2XDiFFOybC
There plans to add options in the theme panel for the logo and tagline text, for the moment there aren’t any. This is the code used
.td-logo-text-container .td-logo-text {
font-family:Arial!important;
}
.td-logo-text-container .td-tagline-text{
font-family:Arial!important;
}
Thanks
I simply placed the shortcode in a Visual composer page text element, and added the function in the child theme functions file
– https://www.screencast.com/t/owFJ6Kmi
– https://www.screencast.com/t/FPuc0vHVQN
The page ID used was of a different page which contained a block
– https://www.screencast.com/t/QzZESJGFz1
The result is like this – https://www.screencast.com/t/9bh39BGq0Gor
The block placed on the other page is displayed on the page with the shortcode. I did not do anything else additionally.
I couldn’t say why this is not working for you as well. You could continue testing, or maybe think of another way of doing this.
Thanks
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!
Glad you could sort things as you wanted. A different menu on mobile is possible, with the mobile theme, by default. Other than this, it would only be possible with theme file modifications.
I could try to give you a solution to load a different menu on mobile when the mobile theme is not activated, but it should be noted that the modifications will be lost after an update. Some of the theme files cannot be modified through a child theme.
The mobile theme is meant to be used if you want to display a lighter and different version of the website for mobile devices. Each page has to be created once for desktop, and once for mobile, through the mobile editor
– https://forum.tagdiv.com/the-mobile-theme/
It has predefined templates for category pages, posts etc regardless of what it’s set for desktop. Also it does not have many settings, at the moment.
Please let me know if I missed something.
Thanks