- 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
Hello,
Thank you for your previous help. I need assistance with two issues in the Newspaper theme / TagDiv Composer.
1. Google Fonts and local fonts
The theme is loading fonts from Google, and this is heavily affecting the site’s performance because of render-blocking requests. The theme does not properly use local fonts by default.
I tried using local fonts inside TagDiv Composer, but I had to do a workaround, and that is not the correct solution. I also created a Newspaper-child theme and managed to load local fonts from there, but the result was not good because the fonts do not look exactly the same as the original Google Fonts.
What I need is a proper solution that makes the theme use local fonts, while still allowing me to select the fonts normally in TagDiv Composer. In other words, I want the theme to keep the same visual appearance, but load the font files locally instead of requesting them from Google.
What is the correct way to do this?
2. Hiding the “Most Watched” section title
I am trying to hide the title of the “Most Watched” section shown here:
https://ibb.co/6cmh3VH8
This section appears in this post:
https://glostv.com/tv-ao-vivo/tv-cultura
and also in all other posts.
I used the following CSS:
CSS
.tdi_54 .entry-title,
.tdi_54 .td-module-title,
.tdi_54 .td-module-title a {
display: none !important;
}
The problem is that this is also hiding titles on the Popular page:
https://glostv.com/populares
This should not happen. These elements should not be sharing the same .tdi_54 behavior for this case, or at least I need a more specific way to target only the “Most Watched” section inside posts.
How can I hide that title only in the post section, without affecting the Popular page?
Thank you.
After updating my theme, the titles in my header sections (e.g., “Children”, “Students”, etc.) have shifted upward from their original position. Previously, they were aligned toward the bottom of the image boxes, but now they appear higher.
Could you please advise how to restore their original bottom alignment? I have attached screenshots for reference.
Thanks in advance for your help
https://chromosomevi.com/
Hi,
What you’re seeing is not a bug in the theme; it’s more of a WordPress core behavior that handles queries.
In WordPress, the ?p= parameter is normally used for post IDs (e.g. ?p=123). But:
– if the value is invalid (?p=test)
– and you’re already on a valid URL (like /page/15/)
WordPress simply ignores the invalid parameter instead of throwing a 404.
What you can do is to use a redirect plugin (s1). Install the plugin Redirection
Go to: Tools → Redirection
Add a new redirect:
– Source URL: /page/(.*)
– Query Parameters: p (match any value)
– Target URL: /page/$1
– Match: Regex (enable this option)
– Save the redirect
This will automatically remove ?p=anything from URLs and redirect to the clean version.
Another solution (s2) is to use a code in functions.php file (recomanded in a child theme)
function remove_invalid_p_parameter() {
if (isset($_GET['p']) && !is_numeric($_GET['p'])) {
wp_redirect(remove_query_arg('p'), 301);
exit;
}
}
add_action('template_redirect', 'remove_invalid_p_parameter');
Also, using a SEO plugin could help. These add canonical URLs, helping Google understand the correct page.
Hi,
This can be done only if you edit the files of the theme plugin wp-content/plugins/td-standard-pack/Newspaper/includes/modules/td_module_6.php and uncomment the code line for meeents – https://prnt.sc/YTDI2939mTT3
The file can be set in a child theme, so when you update the theme, those changes will not be lost – https://forum.tagdiv.com/the-child-theme-support-tutorial/
Hi,
If that’s the only code added in the child theme, you can simply disable the child theme. If you’re using it for other settings as well, you can just remove or comment out that code, since it’s now included in the main theme.
Hi,
This can be set using this guide https://forum.tagdiv.com/the-child-theme-support-tutorial/, but could you please let me know what you want to achieve? Now, the website provides cloud templates that can be live-edited using the tagDiv Composer.
Thank you!
How to Import a Children Theme
Hi be2name ,
I understand, you want that “sidebar back”, I will ask the developers to provide a hook that can be set in a child theme.
Hi,
We are referring only to this specific topic. Initially, the problem was that the page had been imported/created, but when you tried to view it, no content was displayed. This issue has now been resolved, and the content on the page is visible: https://opinandosinanestesia.es/pruebashome/
As far as I remember, the problem was related to some custom code in the child theme.
Hi,
I just tested on my install and it seems to be working correctly – https://prnt.sc/Q5PTCqjKhpM2. Could you please do a test using only the theme, theme plugins, and the WP Bakery? Also, if you have a child theme, set the main theme during the tests.
Thank you!
Hi,
Unfortunately, Newsmag does not have this kind of option, this can be done only if you edit the theme files and set the theme in a child theme.
Hi tobiasinfo,
There is no option to bring it back. That sidebar line is no longer useful in the theme since the Cloud Templates were integrated into the theme and even more so now that Gutenberg is the main WordPress editor.
If you can let me know how this is helping you with now, do you have only standard templates? Now what I can do is to create a code in a child theme to add it back
Hi,
Unfortunately, there is no option in our theme to change/translate that text. Is possible to use code in the child theme functions.php – https://wordpress.org/support/topic/change-shipping-to-delivery-across-plugin-generated-elements/
Thanks for the quick reply!
Switching from child to main theme and then deactivating, deleting and reinstalling each plugin helped me to solve the issue.
The tagDiv Opt-In Builder is now correctly activated also in Newspaper 12.7.5.
Best,
Fabrizio
Hi,
We checked the problem you mentioned, but it is not appearing for us:
https://prnt.sc/4_xJWGavd64y
Please do the following: disable all theme plugins you are using, delete the theme, and reinstall the theme plugins from Newspaper > Plugins one by one.
Also, you can make a test using only the theme plugins. In case you are using a child theme, please set the main theme during the tests.
Thank you!
Hi,
Depending on what you want to do and where you want to set this value, using a single post template, you can use the subtitle element to display it in any place you want to have it on a single post template.
If you want to create a custom template in a child theme you can use the php code: https://pastebin.com/DPW5s2nX
Hi,
Our theme now provides the frontent builder tagDiv Composer that can be use or creating pages and cloud template start can be used on articles, categories, taxonomies, CPT’s …. and you can import from teh cloud a pre-built template and just edit it, add any elements you want to be display and remove those you do not want or you can create it from scratch.
If you created a php file template thsi should be set in a child theme and the theme panel option referring to “Display Featured Image (Show/Hide)” use the get_image https://prnt.sc/LGwD_L8aCgc9. This is defined in wp-content/plugins/td-composer/legacy/common/wp_booster/td_module_single_base.php https://prnt.sc/7zMeWS6BJ19E
Thank you!
Hi,
I think that you are referring to a similar small editor -> https://i.imgur.com/WK2rE82.png – https://prnt.sc/Gv6UZlWayxdX
In the most of the cases this problem can be fixed by adding an extra code, please set this code in functions.php -> wp-content/plugins/td-composer/legacy/Newspaper/functions.php or in functions.php in a child theme.
If the problem persists, please send us an email at contact@tagdiv.com and provide admin login. Include a link to this topic in the email. Let us know.
Let me know the results!
Thank you!
-
This reply was modified 5 months by
Calin.
Hi,
Unfortunately, the 404 page on Newsmag can not be edited, as on the Newsapper theme, where everything is editable with the theme builder. Newsmag theme use old templates and for 404 page, you can choose the template you want from the theme panel > template pages – https://prnt.sc/mcmN6TgzN6v0 nw if you only want to change the text, you can use the translate section under the theme panel and replace the current text with a different one https://prnt.sc/23nwbS78Mb64 – https://prnt.sc/6CIUtH14NtBq
Another alternative if you want a custom page for your 404 is to edit the 404.php page in a child theme.
Thank you!
Hi,
Unfortunately, in your situation, it won’t be easy, and most likely you’ll need a developer to update the theme from the old version you are using to the latest version, 12.7.4.
Normally, you should update both the theme and the theme plugins. In your case, you need to install the following plugins: tagDiv Composer and tagDiv Standard Pack. If you are using any other theme plugins, those also need to be installed or updated. This can be done from Newspaper > Plugins.
When the theme is updated, it will be replaced with the new version, so all changes made directly to the theme files will be removed. If a child theme is used, it should be disabled and updated to the latest child theme version provided in the theme package from ThemeForest.
If you would like one of our developers to update the theme for you, please contact us at services@tagdiv.com and provide FTP and WP-Admin access. One of our developers will check your setup and let you know if we can help and how much it will cost.
Thank you!
Hello there Support team, I need your support based on the issues below. So, this is my very old website: https://educationalcoloringpages.com/ Currently, I am using Newspaper 7 theme and child theme. My previous developer created child theme with some custom code and meta field content that was working perfectly with the Newspaper 7 version. Now my website is given me warning to upgrade it to the latest version of the Newspaper theme. Technically if I update to the latest version it will not going to display the meta field of my site. Because the has been a lot of changes inside the theme you have made during this years. And that why the old code is not working or connected properly. So, could you please help me to resolve this issue? Here is my staging site: https://educationalcoloringpages.com/newstaging/ I am looking forward to hearing from you. Regards May
Hi,
What I recommend is to use the cloud templates, which can be edited using TagDiv Composer and you can also use custom fields on them.
In your screenshot, you have the old template, those cna be edited only in files, but can be set in a child theme – https://forum.tagdiv.com/the-child-theme-support-tutorial/
Thank you!
Hi fuenson, I understand the situation.
Please do like this, use a child theme and in functions.php add this code:
add_filter('the_content', function($content) { return '<main role="main">' . $content . '</main>'; });
This should resolve the problem.
Let me know the results!
Hi,
Is there any feature in newspaper theme to hide the admin bar from the frontend users. If it is not there, should we create teh child theme and then add the required code to hide it. If yes, can u guide me to the right article to create the child theme and to hide the admin bar
Hi,
The code above was created specifically for the functions.php file of a child theme. I cannot guarantee that it will work exactly the same way when used as a code snippet it may work as is, but some adjustments could be required.
Even though this may not be the exact solution you requested, I made an effort to find a reliable alternative. While this falls outside the scope of the theme’s official support, I provided the most dependable option that can be reused by anyone through a child theme. I hope this proves helpful.