- 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,
That is the theme version. Newsmag 3.2 was released about 8 years ago. Maybe it would be worth considering to update the theme if possible.
I would not advise making modifications directly in the theme stylesheet. These will be lost when updating the theme or reinstalling it. Instead it would be better to load the CSS you want in other ways. You can override CSS from the theme or add new code by using other methods.
I’m not sure, but I believe that the theme used to have a custom CSS section back then as well https://prnt.sc/8o8D1tSccpH1 Could you please check? Or you could add CSS in the wordpress customizer panel https://prnt.sc/8E0yUhbSt5Tm -> https://prnt.sc/JBxjRTC_OlMe or with a plugin. Or through a child theme.
But if you want to modify the stylesheet directly, that should be possible.
Let us know if we can help or if you have questions. Assuming the code is valid, maybe all it needs to see the changes is to clear the cache, and purge the CDN files if you use one. But I would still suggest not doing it that way, and instead add the code you want in a different way. Could you please mention what modifications you want to make, or what code you want to add?
Thank you!
We are currently using an older version of the tagDiv composer plugin, which is vulnerable to the XSS attack. Is there a way to update the plugin without updating the theme as we use a child theme that breaks when updating the newspaper theme.
Hi,
Have you checked for a plugin conflict? Please deactivate ALL plugins except tagDiv ones; also, if you are using a child theme or cache plugin, deactivate them, clear all cache, and try again.
Thank you!
Hi,
Please try to use this code https://i.imgur.com/RAhFkDP.png
.tdb_single_user_reviews_list .tdb-surl-review-rating:not(:last-child)
{
display: none;
}
Set the code in theme panel -> custom code -> custom css.
Thank you!
Hi,
Please make sure that the settings are set correctly.
Please tell me where it only appears on one page or the entire site. Did you add any code or elements from another plugin?
Please follow the steps from this topic https://forum.tagdiv.com/topic/error-at-zones-6models-1dom-the-model-does-not-match-the-content-currene/ if you have a child theme; please use the main theme.
You can try to revert an old revision on a page/template -> https://www.wpbeginner.com/beginners-guide/complete-guide-to-wordpress-post-revisions/
Thank you!
Hi @Trify,
Have you checked for a plugin conflict? Please deactivate ALL plugins except tagDiv ones; also, if you are using a child theme or cache plugin, deactivate them, clear all cache, and try again.
Thank you!
Hello,
In most cases, this problem occurs because you have the latest version of WordPress with an older version of the theme.
Please use the last version of WordPress 6.4.2 with the last theme version Newspaper 12.6.3 (if you have a theme version older, then tagDiv Composer does not work) and check to see if the problem persists.
If you need to make an update, before please make a full backup to all files and the database, in case something goes wrong. => https://forum.tagdiv.com/how-to-update-the-theme-2/
Here you can find information about the changes that have occurred in each update over time https://tagdiv.com/newspaper/
I recommend that you update the theme manually https://forum.tagdiv.com/how-to-update-the-theme-2/ via FTP/cPanel/File Manager, also if possible disable extra plugins during the theme update to avoid any problems that may arise and make sure that you have activated the tagDiv Standard pack plugin to keep the website’s look. You can try to update the theme on a staging website.
After you update the theme, you need to update the theme plugins too.
In the worst cases, the settings in the theme panel may be lost (there have been isolated cases), in these cases, after the theme plugins that were previously used are activated, you will have to use a backup for the theme panel -> https://forum.tagdiv.com/import-export-theme-settings/
Also, make sure that all the settings are like in our requirements, please follow the guide carefully: https://forum.tagdiv.com/requirements-for-newspaper/
and please increase all requirements that are lower, and follow all steps.
Also, if the problem persists please check if you do not have a plugin conflict, please deactivate ALL plugins except tagDiv plugins, also if you are using a child theme or cache plugin, deactivate them, clear all cache (also from your browser) and try again.
Let me know the results!
Thank you!
Hi,
The child theme should be used only if you want to do changed in the theme files and to keep theme save when the theme will be updates, but 80% do not need to do any changes to the theme files and for those there is no need to use a child theme.
The theme update can be done using the theme panel option and the theme settings will not be affected, but before any theme update we recommend to make a full backup for the site.- https://forum.tagdiv.com/newsmag-how-to-update-the-theme/
Thank you!
Is it okey, if i’m not use child theme for newsmag? And what happened if i update theme automatically via envato market plugin? Is it my previous settings replaced if i’m update?
Thanks
Hello
How to add custom text on Category “page” without mess up with child theme. I created categories and posts are listed on. I would like to add some text on each category that visitors can see above archive Category post. In WordPress category is not a page however visitors see it as a page. Your theme description for Category is seen only by me, so is not much use for visitors.
Regards
Alex
Hello!
The alphabetical order of the theme is not working, right? Please give an example of the page where it is not working.
A solution for sending a screenshot/video is this:
Download, capture, and send: https://www.techsmith.com/jing-tool.html
After making the screenshot, you will have a link; paste it here.
The child theme is not overwritten by the update. An issue for that could be the compatibility of your child theme with the new version of our theme.
If you have some custom modifications in the theme files, then better save the code and replace it after every update.
Thank you!
My site https://shabdakosh.org/ is a online Bengali dictionary, I want all the posts on my site to be sorted alphabetically, when a user clicks on the next button they can go to the next post in alphabetical order. I wrote custom code to alphabetize posts in child theme’s function file but it’s not working.
Another problem is, after using the live search option, I am not getting any option to shorten the search result, I want only the post title and h3 headers to be visible in the search. And the search results will be alphabetical.
Even if I type a single letter, say W, Live Search will only display posts starting with w in alphabetical order so that the user can easily find the desired word.
I don’t know where my created or edited template files are, will my created or edited template files be lost if I update the theme or tagdiv builder, or disable the builder plugin for some reason? How to save them?
Hello.
Thanks a lot for the answer. I can’t manage to modify the code with child theme, not to modify the core theme files.
May be put in mind to make specific classes for Guttenberg and not override classic editor mce ? Thanks.
Hi,
Have you checked for a plugin conflict? Please deactivate ALL plugins except tagDiv ones; also, if you are using a child theme or cache plugin, deactivate them, clear all cache, and try again.
Thank you!
Hello,
You can assign the single post template globally to all posts.
I think that you have Standard post template from the theme panel, right? Maybe you have made the changes in a child theme. Please provide some screenshots.
Thank you!
https://wordpress.org/documentation/article/post-formats/
I put in child theme function.php the below line – but makes no changes when add a new blog post – only the base foramts available (video, audio, standard )
add_theme_support( ‘post-formats’, array( ‘aside’, ‘gallery’, ‘quote’, ‘status’, ‘chat’ ) );
how can I make it work?
Thx
Hi,
You can try to revert an old revision on a page/template -> https://www.wpbeginner.com/beginners-guide/complete-guide-to-wordpress-post-revisions/ Did you delete the elements with tagdiv Composer?
Please follow the steps from this topic https://forum.tagdiv.com/topic/error-at-zones-6models-1dom-the-model-does-not-match-the-content-currene/ if you have a child theme; please use the main theme.
Thank you!
Hi,
Have you checked for a plugin conflict? Please deactivate ALL plugins except tagDiv ones; also, if you are using a child theme or cache plugin, deactivate them, clear all cache, and try again.
Thank you!
Hi,
Have you checked for a plugin conflict? Please deactivate ALL plugins except tagDiv ones; also, if you are using a child theme or cache plugin, deactivate them, clear all cache, and try again.
Thank you!
The problem solved after add it in child theme in functions.php:
// Add UTF-8 charset meta tag
function add_utf8_meta_tag() {
echo ‘<meta charset=”UTF-8″>’ . PHP_EOL;
}
add_action(‘wp_head’, ‘add_utf8_meta_tag’);
I leave it here for any other have the same problem.
No need to tell that I am very disapontiment regarding your support. This function not need to be something extra is something that your theme must have and even if you do not have the time and the resources to fix it you have to direct your clients in order to fix the problem.
I had similar problem with my website with this popular posts. I solved it in a way that I made custom shortcode for sorting based on total number of views (not in last 7 days or 48h). In shortcode you have the option to choose how old you want your posts to be. hat means that it wont show posts older than 7 days (or any other number of days defined in shortcode) even though if they are visited.
Here is my codes which works for me in my Newspaper child theme. Use it freely if it suits you and your website.
Code in functions.php file in child theme:
// Include the popular posts shortcode file
include_once get_stylesheet_directory() . '/sedamdana-popular-shortcode.php';
File in child theme whic I named “sedamdana-popular-shortcode.php”
(this forum is not allowing me to share code from my php file, so I uploaded it on link: https://file.io/PSWL4VdNb7xN)
The shortcode output is styled using CSS defined in the PHP code. You can further customize the styles by modifying the CSS within the bhcrow_posts_shortcode_styles function.
Once the PHP code is added, you can use the [bhcrow_posts] shortcode in your posts, pages, or widgets where you want to display the list of posts.
Example usage: [bhcrow_posts title=”Popular Posts” number=3 days=30 category=”technology” sort=”visits” show_date=false]
Customize the shortcode attributes as per your requirements. For example, you can change the number of posts displayed, the sorting criteria, or whether to show thumbnails or dates.
The shortcode [bhcrow_posts] can accept several attributes to customize its behavior. Here are the available attributes and their default values:
title (default: ‘Posts’): The title of the section.
number (default: 5): The number of posts to display.
days (default: 7): Number of days to consider for displaying posts.
category (default: none): The category of posts to display.
show_thumbnails (default: true): Whether to show post thumbnails.
show_date (default: true): Whether to show post dates.
show_visits (default: true): Whether to show visit counts.
show_category (default: true): Whether to show post categories.
show_title (default: true): Whether to show post titles.
sort (default: ‘visits’): Sorting criteria for posts (‘visits’ for popularity, ‘latest’ for latest posts).
title_limit (default: none): Character limit for post titles.
cache_duration (default: 60): Cache duration in minutes.
The final output is cached using set_transient to improve performance by avoiding repeated database queries.
After adding the shortcode to a post or page, view the page on your website to see the output. The posts should be displayed based on the attributes you’ve specified in the shortcode.
Remember to backup your files before making any changes, especially when editing theme files or using any PHP code.
I use it without any issues on my website Visoko.co.ba news portal
Here is the screenshot of it. I use it with minimum options on my homepage.
-
This reply was modified 2 years by
bhcrow.
Hi,
Did you make an update recently to the theme and plugins? Please follow the steps from this topic https://forum.tagdiv.com/topic/error-at-zones-6models-1dom-the-model-does-not-match-the-content-currene/ if you have a child theme; please use the main theme.
You can try to revert an old revision on a page/template -> https://www.wpbeginner.com/beginners-guide/complete-guide-to-wordpress-post-revisions/
Thank you!
Your screenshot is giving 404
Ther desktop site we fixed it me and my programmer,
the mobile still has no menu no logo etc.
This is ridiculous, i am sory to say it.
I am using Child theme to be able to update with out problems, but after the update i lost everything was used/downloaded from your cloud.
You come after the update when i create the ticket, to tell me that i had to back up from the theme.
I already have Cloud Library plugin installed. Theme & WordPress is updated. Child theme is activated.
Tried loading your tagDiv Cloud Template for Shop but this is what happens even after long time waiting to install…
Screen Recording Video Link. Please check the link.
-
This reply was modified 2 years by
pratul11.
Hello Adam!
I’ve checked as well and the files should be there in the package.
You shouldn’t create a child theme. We recommend using cloud/PRO templates in order to have the possibility to edit them with the TagDiv Composer, which contains a lot of functions and features. Please check out our tutorial here: https://forum.tagdiv.com/tagdiv-composer-tutorial/
More documentation about the cloud templates is here:
– https://forum.tagdiv.com/cloud-library-templates/
– https://forum.tagdiv.com/design-post-pages-using-cloud-library-templates/
– https://forum.tagdiv.com/cloud-library-category-templates/
The child theme is not overwritten by the update. An issue for that could be the compatibility of your child theme with the new version of our theme.
Thank you!