- NewspaperHow to update a plugin
- NewspaperHow to update the WPBakery Page Builder plugin
- NewspaperHow to Update the Newspaper Theme
- NewspaperSingle Post Excerpt
- NewspaperWP Rocket and Newspaper Theme: Optimization Guide
- NewspaperCredit System
- NewspaperHow to use the Bing Maps API
- NewspaperModules Builder in Newspaper Theme
- NewspaperCreate a frontend submission form
- NewspaperCustom Fields Support
- NewspaperFlex Block Settings Guide
- NewspapertagDiv Opt-In Builder
- NewspaperHow to use the YouTube API
- NewspaperDefault Category Settings
- NewspapertagDiv Composer Tutorial
- NewspaperHow to Set the Image Avatar
- NewspaperUnique Articles
- NewspaperFacebook Share
- NewspaperCache plugin – install and configure
- NewspaperFeatured Image, Video or Audio
This is part of the single template code, found in single_template_#.php and the corresponding loop-single-##.php in the Newspaper theme folder.
single_template_## loads loop-single-##, which has this block:
<?php echo $td_mod_single->get_social_sharing_bottom();?>
<?php echo $td_mod_single->get_next_prev_posts();?>
<?php echo $td_mod_single->get_author_box();?>
<?php echo $td_mod_single->get_item_scope_meta();?>
and single_template_## also has, immediately after loading single-loop-##, this:
comments_template('', true);
Swapping those various lines around would do the trick.
The two robust ways to do this update are via a child theme or via the new theme API.
The theme API is a simple plugin that adds your custom templates, modules, blocks, etc. to the theme panel. I just switched most of my modifications that were in a child theme to the theme API, since child themes come with other complications and potential slowdowns.
https://forum.tagdiv.com/the-theme-api/
In this case, you would (1) create a plugin folder, (2) find the template(s) you want to make this change in and copy both the loop-single-## and single_template_## files for those templates into your plugin folder, (3) edit them to swap the order of those elements, (4) add the code to register them in the main plugin file, and (5) upload and activate the plugin in your dashboard and switch your post templates in the theme panel.
If you wanted to do this via child theme instead, it would be less work but not quite as “robust”, at least in the opinion of some.
https://forum.tagdiv.com/the-child-theme-support-tutorial/
This time you would simply make your child theme as per that tutorial, copy the single templates in there, and edit and upload them and they would invisibly replace the ones that come with the theme.
P.S. Because that comment template code loading is in single_template_##, moving it to loop-single-## might work oddly. Or it might be fine. Haven’t tried it myself.
Plugin updates come with theme updates to ensure new version is compatible.
Contact form 7, Ditty news ticker, Enhanced Media Library, Event List, iQ Block Country, Jetpack (just installed, I dont use it), Meta Slider, Revolution Slider (same as Jetpack), tagDiv social counter, WP Importer, WP Post Tabs, WPBakery VC (not updated), WP Personal Manager, WP Super Cache, Yoast SEO
Check your site with Securi scanner;
make sure you delete old plugins which have not been updated since WP 4.2 for all the cross site scripting issues – and/or which are noted as insecure from the WordPress.org support pages for each plugin.
Change all your passwords.
Make sure you delete your admin account after making a new one which is NOT called “admin”.
Use things like “limit login attempts” to stop hacks.
Don’t allow people to create accounts on your site or upload files.
Make sure you use Akismet for comment spam.
Make sure you have clean backups of your dbase from the server.
Turn off all your plugins except VC and see if that issue remains!
Well with newest update I wasn’t able to place your code correctly in wp_booster_functions.php. Do you have any ideas Emil?
Kind Regards
Hi
the plugin installed on “Newspaper Theme” is version 4.6.93. There’s is a new one 5.0.2 available from the developer, but is not upgradable automatically from the admin panel. Can you please provide guidelines to do this upgrade? If not possible, can you update your theme to reflect this plugin version please?
Thank you
Roberto
Hi
do you plan an update of your plugin to use the pinterest Pin functionality?
Thank you
Roberto
Hi. Thanks for the great theme! A few quick questions:
1. When I use Visual Composer on any page this error message comes up when I update and preview the webpage?
Fatal error: Call to undefined function vc_column_offset_class_merge() in/home3/brettc81/public_html/wp-content/themes/Newspaper/vc_templates/vc_column.php on line 22
2. How do I change the color of the category tags on the home page?
3. Is there a way to create category specific tags?
Thanks,
Brett
I would like to change the order in the sub-footer that appears on every post, in that I would like the share box to appear first, then comments, then previous/next article, any other related posts, then author. Can you tell me the best way to do that and ideally a way that wouldn’t get overwritten with an update? Thanks!
My site is SUindependent.com
Follow the docs (link right side of page to “documentation”) on how to “upgrade” from v4 to v6 — it’s not an update, it’s an all-new theme. So, you’ll have to do the conversion script once upgraded, and you’ll have to redo some stuff since a number of things changed … no need to make child theme unless you plan to hack the templates; and even then easier to hack the main theme files anyway.
You will need to refresh your sidebar widgets — this is issue with WP when upgrading themes/changing themes. You may need to change some home page things as some modules changed.
Alin,
Thanks so much for the detailed instructions w images, everything looks great now.
I updated the Visual Composer and am still having the thumbnail issue.
Can you direct me to where I can adjust that default setting?
Hi, finally I have managed to download latest version 6 of newspaper theme. My website is running on Newspaper 4.6.3 version. When I try to update theme to latest version it shows code and messed up home page and side bar is also missing. I think I have to create child theme but I dont know how to do that. But i have not made a changes in CSS that why I think it is not necessary to create child theme. Please let me know how to update to latest version. Thank You.
Hi,
I’ve created a custom category header using the TD api (so easy and great!), and I’ve come across a difficult problem for my skill level…
I don’t like showing the sibling categories when there are no children to show. I’d rather just show nothing. Hence, I wish I could comment out this block in get_sibling_categories:
// if no child categories get siblings
if (empty($categories_objects)) {
$categories_objects = get_categories(array(
'parent' => $this->current_category_obj->parent,
'hide_empty' => 0,
'number' => self::SIBLING_CATEGORY_LIMIT
));
}
But I’m not sure of the best way to override that function.
Should I:
— Overwrite the function in my plugin’s category template, since it’s a child of td_category_template?
— Try to overwrite td_category_template in a child theme?
— Edit the parent theme’s td_category_template and make the edit again on every update?
— Copy td_category_template and have my header be a child of that class instead?
— Something else?
Sorry if this is a stupid question, but if you have any ideas, please let me know!
I just updated to latest version and noticed that if smart lists are enabled in a post that article ads from adsense do not show, any suggestions?
What do i need to turn off?
I’m on a VPS and properly caching my site using w3 about 600 daily uniques. Since this latest update, my site spicebaby dot com is running out of memory especially overnight and host says there are optimization issues with your script updates causing this to happen.
With the new update, what has changed to cause this to happen? Please assist so I can curb this right-away. I love the newspaper theme and don’t want to replace it.
Thanks.
Well, correct me if I’m wrong, but if you work on parent theme, you’ll lose all changes you have done to all files when it is not an option included in the theme, when the theme will be updated, no ? So having a child theme protects you from losing all your modifications, right ?
Hi,
So, I updated my theme to the 2.1 version some minutes ago, but now I have a problem with the homepage’s layout: some modules were “dragged” to left side of page. See the screenshot: http://i.imgur.com/YL2P6gT.jpg?1.
Website’s url: http://arenarubronegra.com.br.
Please, help me with a fix.
Thanks!
Hi there guys,
I updated a few plugins lately – and suddenly I saw that the Menu text color on Chrome only – changed from white to black – as you can see in this screenshot:
http://www.screencast.com/t/av44gwPx5P
Website is: http://www.cobras.org
This happens only on chrome.
I’m using Newspaper 4 version.
Any solution in CSS?
Thanks!
Hi,
I wrote above that it is available from version 6 of Newspaper. Newspaper 6 is practically a new theme, so if you want to upgrade please do a clean install of the theme following this guide – https://forum.tagdiv.com/how-to-update-the-theme-2/ First make a full backup of your current installation – https://codex.wordpress.org/WordPress_Backups
Thanks!
Hi,
1. I see that you use child theme, please switch to the main theme, clear cache and see if you still have this issue. If it is fixed please make sure that you update the child theme version provided with latest version of the theme(version that you use), you can find it in the /code folder.
2. You can alter 404 template and modify it like you wish – http://screencast.com/t/s2DCUoVsnKdu
3. Please make sure that your panel settings are saved. For example if you change the module to display articles on specific category, it applies on front-end? If it doesn’t apply please check the system status for this value – http://screencast.com/t/VQxFWDGh4Gq and change it if you have access to php.ini file or if you don’t, contact your host.
Thanks!
Hi TVDinner,
Please follow our update guide and use one of the methods provided there to update the theme and you don’t need to worry you shouldn’t lose any of your theme settings by updating the theme, just make sure you also do a backup of your current theme/wp install and database also: https://codex.wordpress.org/WordPress_Backups and in case something goes wrong in the update process you can always go back to the previous working version and try again.
Update guide: https://forum.tagdiv.com/how-to-update-theme/
Let us know if you still need assistance on this.
Thanks
Hello.
I have just purchased and installed Newspaper 6.
When I go to Pages Add New I enter a title, and click on the blue button BACKEND EDITOR The Visual composer bar comes up and below that the Page Template settings.
In the Visual Composer bar the left icone is a rotating circle. It never stops spinning and the composer does not come up.
I have followed the instructions at https://forum.tagdiv.com/update-the-visual-composer-plugin-wpbakery/ and still the same problem.
I have installed Newspaper 6 but not been able to do anything in it.
Looking forward to your response.
Tom Fakler
Hi,
Do you refer that the code disappear from panel ad spots? Or your ad is not displayed using ad box in a page?
If you ad doesn’t appear in page, please add this code here – http://screencast.com/t/1ubq37tleuj0 and re-add ad box on the page.
'-- Select an ad spot --' => '',
This issue will be fixed in the next update and we know about the links issue from panel, it will be fixed as soon as possible.
Thanks!
Hi Lucian,
Updated the theme today, by and large, pretty clean.
On the homepage, the tagDiv Social Counter plugin is not working at all and I can’t find out why. Where does it originate? What am I missing? Any guidance there would be appreciated.
Also, what are the new standard dimensions for thumbnails?
Thank you.
Ah! Fixed, finally, having the same problem and unsure what’s causing it.
I had an Envato Toolkit updating theme and didn’t see any updates on the plugins. Didn’t know we need to re-download everything again + re-upload and re-update the other plugins that come with the theme manually
Cheers