- NewspaperLoading Image Effects
- NewspaperIntroduction to CPT and ACF with Newspaper Theme
- NewspaperFlex Block Settings Guide
- NewspaperThe Newspaper Mobile Theme: Introduction
- NewspaperBig Grid Flex Settings
- NewspaperDesign your post pages using the Default Templates
- NewspaperBlock settings tutorial
- NewspaperMore articles box
- NewspaperRequirements for Newspaper
HI, folks
for many of you (including us), we wanted to use slightly different method for the social media buttons at bottom of the post in the theme, and for some reason with the default theme setup and using Yoast SEO plugin, the Pinterest image would never populate even with all the Pinterest-friendly code in the head of the theme.
So, starting playing with using the WP AddThis plugin, however its main flaw (and those folks are really dumb in not updating to include the async code which EVERYBODY has been requesting for the pat year – and which can be easily fixed).
Finally, I took look at plugin and sorted out how easy it is to “hack that” for your site. While there are many choices for plugins, or managing “on page” code, we’ve found over the past five years, that the AddThis plugin when used async mode, actually is very consistent and doesn’t adversely impact our pages. Your mileage may vary. Still, think about how many websites have those little orange [+] buttons for sharing and AddThis has big installed base.
So, here is how to do this – was going to post this in my blog, and will later, but redoing my website right now and well, I just hacked our Newspaper theme site to do this, so thought I’d pass it along.
This assumes you will
1) turn off the social media option in the control/customizer panel for the theme, on posts.
2) download the AddThis plugin v 3.5.6+ (the one from the AddThis company) and open file in the plugin folder to edit one line;
3) upload the modified plugin to your /wp-content/plugins/ folder via FTP
4) activate plugin
5) choose settings for plugin as to whether you want the pill buttons with balloons showing number of shares/likes, or the speedier share buttons without the “phone homes” to get read/share numbers (which slow down your website and pagespeed, btw).
So, once you have plugin:
in the folder, you’ll be editing this file:
addthis/includes/addthis_addjs.php
You can edit in notepad, simpletext, or whatever (I use the awesome TEXTPAD 5 on Windows7); do not edit in a word processor like Pages, or OpenOffice, MS Word, etc.
around about line 166-167 you will see this:
function addWidgetToJs(){
$this->jsToAdd .= '<script type="text/javascript" src="//s7.addthis.com/js/'.$this->atversion.'/addthis_widget.js#pubid='. urlencode( $this->pubid ).'"></script>';
}
and you will simply change to: (YOURID is your publisher id you get when creating an AddThis account, which is free; includes tracking if you want that, zero cost, and no impact on SEO or link pollution). If you have no publisher ID, simply remove #pubid=YOURID — IMPORTANT, do *NOT* put in a publisher ID in the AddThis WP control panel as you’re manually over-riding the insert variable here.
function addWidgetToJs(){
$this->jsToAdd .= '<script type="text/javascript" src="//s7.addthis.com/js/'.$this->atversion.'/addthis_widget.js#pubid=YOURID#async=1"></script>';
}
To see this in action:
http://ga-ga.com/1204/beginning-adventure-space-time-reveals-roots-doctor/
Using this hack as of 12.25.13, but if you’re reading this a year later, we might be doing something totally different (view ‘source code’ for page to see whassup).
Hope tha helped somebody.
Once I get our server moved, and my website updated for our main company, my wordpress blog will be back, and I’ll include link to that for more of my little tidbits of tips.
HAPPY HOLIDAYS!
If you want to hide that area add this in style.css
.td-sub-footer-wrap {
display: none;
}
Thanks
I want to remove the pagination numbers on the bottom right side of the category pages
I think it unnecessary. Any advice?
Hi,
I’m using the latest Newspaper. From the beginning I’m struggling with Homepage CSS Issue. All feature post images all moved a little to bottom. First one is alright, but 2nd, 3rd etc are in different line. Please see attached screenshot.

My website: Cafetography.co.uk
Cheers!
Tom
Hello,
I’m the guy that configured this server ( http://demo.tagdiv.com/newspaper/ ) that gets 99-100 in google page speed and since we don’t yet have a guide about how to configure the theme and server for top speed I will write here some sugestions.
If you have any questions about speed, this is the thread for you. I will make it sticky and I will check it periodically to respond to all your questions.
– the demo is running a stock Newspaper theme
– the demo uses the tagDiv speed booster plugin – basically that plugin activates the compressed javascript from the theme and it also moves all the stylesheets and javascripts to the bottom of the html. This may break compatibility with some wordpress plugins (the ones that we recommend when you install the theme are well tested and work perfectly)
The list of speed recommendations:
– we recommend that you use W3 total cache with just the full page cache module enabled. If you have a lot of ram on your server you can use the APC full page cache (if anyone is interested I can make a tutorial for that but this option requires a dedicated server)
If you have a dedicated server / VPS:
– make sure that you have APC installed or another op cache for php. We have receive some reports that eaccelerator has some problems in specific configurations with our theme and Nginx. This will reduce your server response time.
– make sure that you have compression enabled on your site for html/js/css but not for images
– leverage browser caching – https://developers.google.com/speed/docs/insights/LeverageBrowserCaching google page speed requiers that you set an expiring cache of 7 days or more