- NewspapertagDiv AMP Plugin Tutorial
- NewspaperTrack Subscription Sources with Locker URL in Opt-In Builder
- NewspaperWP Rocket and Newspaper Theme: Optimization Guide
- NewspaperCredit System
- NewspaperIntroduction to CPT and ACF with Newspaper Theme
- NewspaperHow to edit modules for Flex Block X
- NewspaperHow to use the Posts List shortcode
- NewspaperUser review system
- NewspaperCustom Fields Support
- NewspaperHow to generate Facebook App ID
- NewspaperHow to insert a block inside the content of a post
- NewspaperModal Popup
- NewspaperPayPal Setup
- NewspaperLink Tracker
- NewspaperLockers
- NewspaperGeneral Options that May Interfere with the Newspaper Theme
- NewspaperAdd Cryptocurrency Price Ticker Widget
- NewspaperPosts Loop Element
- NewspaperThe Newspaper Mobile Theme: Introduction
- NewspaperAutoptimize Plugin – install and configuration
Hi Chris S, indeed it would be great!
A little advice for that users who will want to use this improvement for Speed-booster plugin.
Using this code in combination for example with that one provided by Chris S in his [tutorial], you’ll have a double-edged knife (you’re warned! 🙂 ) if not used with caution.
Good to know: even if you update your theme to a new version, browsers/CDNs/… and in the end users, they all not recognize your changes until your rules for “Expire headers” will expire! and I’m sure that you’ll go crazy the tagDiv staff 🙂 with: “my users not seen me changes/updates” or similar.
In addition it should be recalled that a normal users (visitors) which makes search on Internet, will not erase the cache from their devices to see our web (recent version).
So, if you are use this snippet, use it with precaution in combination with an flexible time for expire headers depending on your activity!
Can be controled also by Cache-Control Headers but that’s another story apart
———-
Summary to remove query strings from static resources with Speed-Booster enabled:
• For functions.php (a slim version 🙂 )
function remove_js_ver( $src ) {
if( strpos( $src, '?ver=' ) )
$src = remove_query_arg( 'ver', $src );
return $src;
}
add_filter( 'script_loader_src', 'remove_js_ver', 10, 2 );
• For td-speed-booster.php
foreach ($this->style_footer_queue as $style_id => $wp_dependency_object) {
if (strrpos($wp_dependency_object->src, '?') === false) {
echo "<link rel='stylesheet' id='" . $style_id . "-css' href='" . $wp_dependency_object->src . "' type='text/css' media='" . $wp_dependency_object->args . "' />\n";
} else {
echo "<link rel='stylesheet' id='" . $style_id . "-css' href='" . $wp_dependency_object->src . "' type='text/css' media='" . $wp_dependency_object->args . "' />\n";
}
}
Good luck and nice/big traffic to all.
All thanks must go to Andrei L. because he provide us this custom work.
-
This reply was modified 10 years by
nairolf.
Hi,
I would like to create a new “Advertise Page” without the header and footer using Visual Composer. I can’t find any way to remove them in any options. Secondly i would like to make the background to be full width, do i have to achieve by CSS?
Please advise, thanks.
Example: https://www.buzzfeed.com/advertise
this is a copy of the Front page.
So … at the very bottom there’s a Programs & Features post grid, which shows 25 posts – showing 6 posts per screen … the last screen shows one … by itself … i thought selected the ‘loop’ options would randomize and repeat them if necessary.
Hi,
Running the latest update of Newspaper on WordPress Multisite.
We are having difficulty understanding why our “views” are so far off what Google Analytics and Adsense are reporting. For instance, an article showing 220 views according to our theme is actually showing only about 80 in Google Analytics. Example: http://lastwordonfootball.com/2016/09/27/leicester-city-vs-porto-champions-league-match-preview/
This problem persists on all 16 sites we have currently set up.
1. How are these “views” calculated?
2. Where do we go to check settings? Does it not run on the Google analytics code we installed in the Dahsboard — Newspaper — Theme Panel settings?
3. What can be the reason for the error?
Any advice is helpful.
Thanks
Here it is mockup –
please advise, how to add empty row to move down middle image from this example.
I tried to do this – but it didn’t work for me –


I’m aware of the reasons for the mobile theme not supporting widgets and shortcodes, but it des render blocks, which is why is like to include some below the post body. I’m not familiar with how the defaul styles applied in the theme panel are implemented. I had hoped that Composer would allow me to clone and modify them.
A few things seem to be hard coded into the theme, which does hamper customisation somewhat. Take for example the sharing buttons. There is no obvious way to add, for example, a “Reddit this” button without delving into code.
Am I missing something obvious?
Вот здесь почитайте: https://forum.tagdiv.com/theme-thumbs/
Aspect Ratio
There’s no ideal image size for cropping, a part of the image will be lost due to aspect ratio differences. On the Newspaper theme some modules have a 16:9 aspect ratio, while others have one closer to 4:3.
Example 1: if you upload an image that has an aspect ratio close to 4:3 the cropping function will cut the bottom on thumbs which have a 16:9 aspect ratio.
Example 2: if you upload a 16:9 image the function will cut a portion from the sides for the thumbs that have an a 4:3 aspect ratio.
Depending on the module used, the best solution is to experiment with different sizes and see which one offers the best results.
Hello i receive your email for solution. you are not getting my point. i wan t social counter widget like this snapshot.
PLEASE OPEN THIS URL FOR REFERNCE :
https://blog.shareaholic.com/wp-content/uploads/2014/03/Example-of-Floating-Share-Buttons.png
please open this website in mobile view and i want social counter at same position.
techviral.com
Regards
Hi Andrei L. / Catalin,
Thank you both for reply
Of course I tried with high priority before to ask here, that’s why I asked for an example.
Previously in another topic some days ago, talking with @neotrope (Chris S), he has advised me to increase the priority. I tried on my end all possibilities and combinations: increasing/decreasing the priority, enable/disable speed-booster but allways with the same results (the 4 resource thats on top of this topic remain untouched).
Hi,
we want to hide specific wordpress post tags in the frontend, because we need them for internal purposes.
We want to hide them via php code, because css is not the best solution (because single tags have no unique css classes/ids)
Could you show us the php file, where tag output in posts is generated or which code we have to implement to exclude/hide specific and defined tags? I tried several plugins to hide tags in the frontend, but they don’t work.
Example:
A news-post has 3 tags: “news”, “topnews”, “local”
We want to hide the tag “topnews”.
Thanks in advance!
HI
Wp Rocket is not among tested plugins and we can’t provide an accurate answer why it breaks theme’s functionality. From other reports some of the plugin’s features, like page caching works fine, but some of them like css/js minification are known to create issues with our theme.
The child theme is not required, it’s optional and you can use it to customize theme’s features, for example change a post template. Please check this links for more details in this regard: https://codex.wordpress.org/Child_Themes – https://forum.tagdiv.com/the-child-theme-support-tutorial/
Thanks!
HI
I’ve checked your site and noticed that you setup block 16 to display posts from category COLLEGE FOOTBALL You can either assign this category for all post that you want them to be displayed in block 16 or add a specific tag for them then use that tag in block’s settings. For example add sport tag for the posts that you want them displayed in block 16 and simple change the filter in block settings: http://screencast.com/t/X0cnoOlcqS
Hope this helps!
Thanks!
Hello, Recently i purchase newspaper theme from you. its amzing but i have some issue to use this theme.
My question is i want to add social plugin in side bar as same as this website techviral.com and when i open this website in mobile view social plugin auto adjust in footer area in mobile view.
PLEASE OPEN THIS URL FOR REFERNCE :
https://blog.shareaholic.com/wp-content/uploads/2014/03/Example-of-Floating-Share-Buttons.png
Please tell me how i integrate social media plugin in side bar. PLEASE CHECK THIS URL I WANT SOCIAL MEDIA PLUGIN IN SAME AREA.
REGARDS
SH. PD
Hi,
You can create and set a custom sidebar for each category. The posts from a specific category inherit that custom sidebar.
For example let’s take cat1. You create and set a custom sidebar for it – http://screencast.com/t/ujympPHA0D Then you can add a widget to your custom sidebar and configure it like you wish – http://screencast.com/t/p9dCbxwrY
If cat1 is set as primary category on your post – https://forum.tagdiv.com/primary-category/ then the post inherits that custom sidebar.
Thanks!
Hi Catalin,
You are kind to provide a simple example how you encrease that priority?
I will not insist, if you want to help me (ok and thank you very much), if not, do not answer me.
I don’t need deeper develop, and I don’t hiring a freelancer only for this.
Thank you.
Hi,
I want to post specific stories directly into Block 16 and NOT have them go to the Big Grid when stories are first published. Is this possible?
Example: On my college football page (link below) I have a Big Grid 6 and below that I have Block 16 that is titled CFB (College Football) News. For just news stories (i.e a coach gets fired), I want to put those types of articles in that spot and NOT part of the Big Grid. I’ve played around with a bunch of settings and haven’t been able to get it to work.
My Website: http://fan-insider.com/college-football/
I look forward to your reply.
Justin
Why are my ads showing contorted and squished instead of being proper ads. An example from my site is: http://www.exposingthenewage.com/the-second-coming-of-jesus-metaphor-or-literal/
I copied and pasted the ad codes from Google Adsense into the ad sections of the theme panel. It shows it is working on my desktop but not on other people’s. Why is this happening?
I have a problem with some custom image Ads not showing. Just wondering if there are any image size or naming issues that might cause this or what.
<div class=”td-all-devices”>

</div>
Above image is not showing on custom Ad –
But banner image from example layout works below.
<div class=”td-all-devices”>

</div>
Any idea what is the issue?
Thanks!!! But I have a new problem with the mobile version :C
I can’t display the blocks in the iPhone :C only the last articles… For example:
-Demo-
http://www.screencast.com/t/AN6j39WYje
-My Site-
http://www.screencast.com/t/lv1QaOlervxt
Hi,
just as general rule you should start moving on from “inline styles” and move to CSS classes.
e.g.,
<TABLE width="100%">
to
<TABLE class="mytable100w">
Many browsers are going to not work well with inline styles any more, and your site will fail “AMP” validation with Google’s new protocol.
Just a thought, sorry to intrude.
I have several post that i keep updating from time to time, this means that i may change the permalink too.
So far, everytime i updated a post (permalink included) wp automatically redirect all traffic from old URL to new URL. But this is not hapening anymore since i installed Newspaper. Latest URL of any updated post works properly but old ones do not redirect as it should.
For example:
Post: http://agendadeocio.es/madrid/teatro/si-la-cosa-funciona-teatro-maravillas-jose-luis-gil/
works OK
This post old URL was: http://agendadeocio.es//madrid/teatro/si-la-cosa-funciona-con-jose-luis-gil-en-el-teatro-alcazar
But when post was updated, and changed url to a custom one, WP redirected it to new URL… now i have NEWSPAPER theme installed this is not happening any more, making me lose traffic from links to the old url
I read some topics and reset permalinks, deleted cache, deactivate plugins… not solved so far.
do you have any idea what may be happening? Thanks
Hello, guys.
For example: I have 3 category – cat1, cat2, cat3.
And I want that [tagDiv] Block widget show last posts in sidebar from current post category.
So when I visit post from cat1, in sidebar [tagDiv] Block widget show last posts from cat1.
When I visit post from cat2, in sidebar [tagDiv] Block widget show last posts from cat2.
How can I do that?
Hi,
Is it possible to keep the main menu and footer full width with background image or colour on?
Thanks,
Kes
Hello,
I’ve got problem with the registration page. When somebody registered, it sends this,
Username:
To set your password, visit the following address:
https://examplewebsite/wp-login.php
but it doesnt accept any chosen password. How do i solve this problem?
Hi, site is:
I had added the same code pages in the post:
In pages (appearance>widgets>http://s18.postimg.org/5iffg5isp/1pages.png)
<TABLE width="100%">
<td width="80%" class="encabezado1"><div style="text-align: left;"><a href="https://tradeo.com/es/real-social-trading?bta=40620&cxd=728x90" target='_blank'><img src="http://www.tradingunited.es/foro/images/pro/tradeo728x90.gif" width="728px" alt="" /></a></div></td>
<td width="20%" class="encabezado1"><div style="text-align: right;"><a href="https://www.hyoptions.com/es/landing/7000-first-deposit?campaign_id=701D0000001ElRz" target='_blank'><img src="http://www.tradingunited.es/foro/images/pro/hyoptions149x90.gif" width="149px" alt="" /></a></div></td><tr>
</div></td><tr>
<div style="text-align: left;"><font color="silver" size=1>Publi</div></font></td>
<div style="text-align: right;"><font color="silver" size=1>Publi</div></font></td>
</TABLE>
The same code in post:
Theme panel> ads> custom ad 1:
http://s9.postimg.org/5d6or78kf/2code.png
Regards