- 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
Hello,
Awesome theme! Absolutely awesome.. just ran in to a small problem lol.
We have advertising tags that display based on the category.
As example… NEWS,SPORT,ROS (rest of site) will all have the code display based on whether or not the post has that category OR, it’s the category they are viewing. There are also some categories that we have custom static images for but I see it’s already available to set a background image for a category but I don’t see option for URL. But, we can replace those with unique tags instead of static images so all I need to know is how do I get to set advert tags as background (so that it also displays like it does not boxed with background image set).
We have a <?php global $res_str;….. setup in the header then an example tag or start is this:
<?php global $res_str; ?>
<?php if($res_str == 'home'){ ?>
<script language="javascript">
<!--
if (window.adgroupid == undefined) {
window.adgroupid = Math.round(Math.random() * 1000);
}
document.write('<scr'+'ipt language="javascript1.1" src="http://adserver.adtech.de/addyn/3.0/1637/5594382/0/16/ADTECH;loc=100;target=_blank;grp='+window.adgroupid+';misc='+new Date().getTime()+'"></scri'+'pt>');
//-->
</script><noscript></noscript>
<?php }elseif($res_str == 'sports'){ ?>
<script language="javascript">
<!--
if (window.adgroupid == undefined) {
window.adgroupid = Math.round(Math.random() * 1000);
}
document.write('<scr'+'ipt language="javascript1.1" src="http://adserver.adtech.de/addyn/3.0/1637/5594387/0/16/ADTECH;loc=100;target=_blank;grp='+window.adgroupid+';misc='+new Date().getTime()+'"></scri'+'pt>');
//-->
</script><noscript></noscript>
<!-- End of JavaScript Tag -->
<?php }elseif($res_str == 'news'){ ?>
<!-- ADT News OVERLAY -->
<!--JavaScript Tag with group ID // Tag for network 1637: Blue Sky Publications- 365 // Website: The South African // Page: News // Placement: News - Overlay - 1x1 (5594383) // created at: Feb 24, 2015 10:26:55 AM-->
<script language="javascript">
<!--
if (window.adgroupid == undefined) {
window.adgroupid = Math.round(Math.random() * 1000);
}
document.write('<scr'+'ipt language="javascript1.1" src="http://adserver.adtech.de/addyn/3.0/1637/5594383/0/16/ADTECH;loc=100;target=_blank;grp='+window.adgroupid+';misc='+new Date().getTime()+'"></scri'+'pt>');
//-->
</script><noscript></noscript>
<!-- End of JavaScript Tag -->
<?php }elseif($res_str ==.... (continued)
Then it ends with ;
<?php }else{ ?>… Where ROS is rest of site, if none of the above met then that one will display.
<!-- ADT ROS OVERLAY -->
I have the code, the code setup I just don’t know how to replace the BACKGROUND IMAGE Part with the existing code we have.
I hope you can help. THanks!
Hi. Sorry for my english first.
I have a problem with my post template in Full Width of my website. The image can’t see. I’m using Newspaper 4 and this happened after installing Woo-commerce and Add this plug-in; the second one is uninstalled. Do you think that woo-commerce can doing this?
Let you an example: http://www.revistaneurona.com/blog/?p=1248
Please, help me.
I am having a problem using the buttons shortcodes. When I use the shortcode from the editor, the buttons never have any style, they appear as text.
The only way I have been able to successfully get the buttons to work is to go directly to the source code and use this code: < a class=”wpb_button_a” title=“BUTTON TEXT” href=“#” target=”_blank”><span class=”wpb_button wpb_btn-danger wpb_btn-large” >BUTTON TEXT</span>< /a > (Note: Spaces inserted in this code so you can see code fully)
Ultimately I will be training others to use this website and they will need to use the buttons — customizing the html source code is too advanced for them. So it’s imperitave that the shortcodes work and that buttons can be inputted as different colors and sizes.
Thanks for your help!
Example of button appearing correctly when I manually insert in the source code: http://wordpress.mauimagazine.net/the-edible-landscape/ (Planting Guide)
Example of button not appearing correctly by using shortcode: http://wordpress.mauimagazine.net/restaurants-with-a-view/ (Button text is toward bottom: “Get Chef Lofaro’s hamachi carpaccio recipe”)
-
This reply was modified 10 years by
Maui No Ka Oi Magazine.
-
This reply was modified 10 years by
Maui No Ka Oi Magazine.
-
This reply was modified 10 years by
Maui No Ka Oi Magazine.
For our newspaper website, we want to be able to feature posts on the homepage. Right now the default shows the most recent posts. Is there a way to select what stories are posted on the homepage?
Similarly, we want this same functionality for the different category pages.
It’s important that we control what gets featured as one of the main 6 images on either section.
Lastly, how do we prevent the featured stories from showing up right underneath the featured area? Is there a way to not show featured posts in the next block of stories? See image example:

Thank you so much Bogdan,
I need your help on few more things.
1.What is the exact dimension we should use for the slider image under latest section (wizoid.com)
2.I would want to highlight the heading in the slider similar to addictecd2success.com
3.Is there way to get more loading icon in the unlimited scroll page without updating the latest version, i believe the latest update have addressed it.
4.Few images and video gets a grey tint and black strip at the top & bottom of the slider image, attached the screen prints for your reference Bog..
Happy Friday!!
Cheers
Pandian
Hey Alin, yep, I am only referring to your demo site, it’s helpful for us to go there and view these things when/if needed (sometimes to also help us with styling examples etc, and to make sure stuff on our end is behaving as expected).
Hope it’ll be soon, thanks! 🙂
Hi
The css I provided above will be applied only on pages with id 155 and 383. I used those classes for a more specific target. For example if you have on page with id 156 an element with classes: .container-fluid .wpb_wrapper p a img the above css won’t affect it.
Thanks!
very nice,now it take effect thanks a lot Bogdan B.
one more thing some parts of my site still showing white background like for example if i use a “CATEGORY TOP POSTS STYLE” the back ground is white i want it match the rest of my site it also happens with “POST TEMPLATE 4” is there any way i can change that white color…
Thanks Alin
User-agent: Googlebot
Disallow:
Disallow: /out/
Disallow: /wp-admin/
User-agent: *
Allow: /wp-content/uploads/
Disallow: /
This is my Robots.txt, is this OK?
Here I have the main Security Issue, Please tagDiv Help Me to Fix This Issue.
SiteLock Showing this Suspicious Content Warning.
Category:Suspicious content Status:active
Page URL: https://www.example.com/wp-content/themes/Newsmag/js/td_site.min.js?ver=1.5
Note Info: External iframes found : about:blank found on sample pages ( https://www.example.com/wp-content/themes/Newsmag/js/td_site.min.js?ver=1.5 )
Description: We have detected iframes to external urls on your site. While there are legitimate uses for this, it is also commonly used by hackers to insert content into your page. We recommend you check the urls in this iframe and make sure they are a trusted source.
Action: Check the url to make sure it is something you recognize and are ok with some of your traffic being sent there. If you do not recognize it, remove the iframes and links throughout your website.
-
This reply was modified 10 years by
K.H.R.
Salut!
Scriu in romana pentru ca este o problema urgenta.
Problema persista de o luna si ceva timp in care am pierdut o groaza de bani pe unul din site-uri. Folosesc Adblock pe chrome si nu mi-am dat seama ca ar fi probleme. Initial, cand am vazut scaderi de venituri in panoul de adminstrare Adsense, am crezut ca este o problema cu CPC si ca va trece + ca am avut o perioada foarte aglomerata si l-am lasat pentru mai tarziu. Tocmai aseara am realizat ca la doua site-uri la care folosesc Newspaper nu imi afiseaza anumite reclame Adsense.
Am problema la site-urile:
1. http://www.sfaturiutile.net
http://www.sfaturiutile.net/sfaturi-pentru-un-somn-odihnitor/ + toate paginile (fara home).
Nu afiseaza reclama din sitebar 300×600.
2. http://www.muzica-populara.com – Nu afiseaza in pagini si nici in postari reclamele din sitebar
Nu imi apare “Custom ad 1” plasat la sfarsitul fiecarei pagini/postare.
exemplu – http://www.muzica-populara.com/cantece-patriotice/ – am un “Custom ad 1” in “Ad box” la sfarsitul articolului si nu apare
http://www.muzica-populara.com/olguta-berbec/ – nu imi afiseaza in sitebar
Aceleasi probleme le-am avut si pe versiunea 4 ceea ce m-a dus cu gandul ca poate trebuie sa fac update la versiunea 6.5, ceea ce am facut ieri, insa am intampinat aceleasi probleme. Fapt pentru care am anulat modificarea setarilor pentru moment si m-am focusat pe afisarea anunturilor insa am realizat ca nu se poate face nimic.
* Pe sfaturiutile.net am versiunea 6.2 Newspaper
* Am verificat atat pe mai multe browsere (pe chrome am dezactivat toate extensiile, inclusiv AdBlock), pe site-uri precum http://quirktools.com/screenfly unde poti vedea la diferite dimensiuni si pe pc-urile prietenilor si pe alte smartphone-uri
* Tin dezactivate anunturile din sitebar si din footer la “TABLET PORTRAIT” si pe telefoane, le-am dezactivat si activat si in nici o varianta nu apar anunturile.
* Am testat tot felul de dimensiuni si nu apar.
* Am facut update-urile pluginurilor Visual Composer and Social Counter
* Am facut update-ul temei via WordPress pentru ca este cam singura varianta la hostingul pe care il am de la Godaddy.
* Problemele sunt atat pe fosta versiune 4 cat si pe cele noi 6.2 si 6.5
Ce este de facut? Din ce cauza nu apar?
Inca ceva. De ce ati eliminat iconitele care putea fii adaugate in meniu? Cel putin casuta de la home era mult mai buna decat “Acasa”/”Home”.
Hi Ali,
I have back up my files, tried to installed the theme again following C. Update the theme via WordPress
Step 1 – Deactivate the current “Newspaper” theme from the Appearance > Themes section by simply activating a different theme. Once you activate a different theme, delete the Newspaper theme. Don’t worry, your content will not be lost.
Step 2 – Get the “Newspaper.zip” file from your new Themeforest download (Installable WordPress file only). If you downloaded the “All Files & Documentation” from Themeforest, then you need to unzip the archive file you received, the Newspaper.zip will be inside it.
Step 3 – Go to Appearance > Themes, choose Add New Theme, Upload the “Newspaper.zip” and click on the “Install Now” button.
Step 4 – After your upload is finished choose Activate the theme.
I also ran the import script mentioned in the article. Now the elements of the visual composer (backend) are finally showing up correctly, it was gibberish before. However still nothing is displaying on my page built by visual composer….
PLease advise what else should be done…Thanks!
Hi,
I have checked your site and like you see the excerpt appears – http://screencast.com/t/dIOGBgAPYdc but some of the modules were not designed to display excerpt(it display only post title). You can check in Theme Panel > Excerpts the modules used to creates blocks and which one have also the content – http://screencast.com/t/FdREjAZAdT
You can check this also on our demo how the blocks should look – http://demo.tagdiv.com/newspaper/block-1/
For example block 1 on your side appears fine – http://screencast.com/t/RbXrfph0 It is created using module 4 and 6, but the excerpt is available only on module 4. Also in the code – http://screencast.com/t/CDpM6r9N – http://screencast.com/t/iyMSrImhx8
Thanks!
That’s great! 🙂
About WYSIWYG, I meant more like an upload button to insert the image/video ad in the ad box instead of one has to get the file url and paste it there. Perhaps I used the wrong name.
About the creation of our own blocks, like I said, don’t know if that is possible but it would be nice to have a builder like Visual Composer. I have seen this on Magento themes where one inserts a widget and by drag n’ drop one can define which elements should be in the widget. Black & White theme for Magento has this feature.
Perhaps these things would need be separated plugins one can buy and add to the Newspapper theme?
It doesn’t say it’s malware, it says “this file is not commonly downloaded” … which merely means Google’s caching system for Chrome hasn’t had a lot of hits to that specific file. You can simply click the arrow and select “keep” … or more info.
The language used here DOES imply “oh no, danger Will Robinson …!”
https://support.google.com/chrome/answer/6261569?p=ib_download_blocked&hl=en&rd=1
Apparently ThemeForest has had their share of bad eggs:
More info for software developers and website owners
To help protect users, Google maintains a list of websites that are known to host malicious downloads and a list of trusted software publishers. If you're a software publisher and your binaries are flagged by Chrome, learn how to resolve malware or unwanted software issues related to your downloads.
This is part of Chrome’s updated security which has a “threshold” for files loaded off the web and downloaded to hard drive, to stop malicious files being written to your HD when they are zero day files.
Several other files do same thing, like a u-design theme update, and woocommerce tabs plugin. Newspaper 6.5 does not 🙂
In case anybody was curious about that 🙂
Why when i post a video post it’s not showing on https urls
for example
here is shows the video: http://www.jiujitsutimes.com/gabi-garcia-set-to-fight-her-mma-debut-in-japan-at-new-years-eve/
but on https url: https://www.jiujitsutimes.com/gabi-garcia-set-to-fight-her-mma-debut-in-japan-at-new-years-eve/
video is blank
Hello,
We made new website with newspaper theme on Russian. I install newspaper demo and when I add new post or edit existing post title and URL the wordpress back me Ooops… Error 404.
For example the URL of the test post is http://www.mysite.com/index.php/2015/09/24/нов-начин-за-работа-с-ipad/
This URL is generated by WordPress.
If We change url cyrillic letter with Latin everything work fine and post loads normal.
Any idea?
Hi
@soumitmis Sorry for the inconvenience created.
The solution I provided above it’s tested and works just fine, let me give you an example on my side: http://screencast.com/t/GjP1273uy – http://screencast.com/t/o3lJf27q As can be seen here the layout isn’t affected by the modification made in plugin’s file. Here is the plugins code that I used: http://pastebin.com/Jjb2sq3v
If this doesn’t work please send an email at contact@tagdiv.com with your site’s login details as we need to inspect this closer.
A few notification about Speed Booster plugin functionality:
The way Speed Booster improves site’s page speed it’s by moving some css and js resources, which usually are loaded in header, to the footer, such that the browser can loads the content faster. Please note that the plugin was intended for advanced user, it requires modifications on the code to add new resources (js and css) which are moved to the bottom of the page and conflicts may appear because some plugins may cause issues when you try to move their resources at the page bottom. To avoid conflicts we decided to keep the Speed Booster active only for a limited number of plugins, which are tested and works fine even if their resources are moved at page bottom. Checking a plugin’s behavior when Speed Booster is active can be done by adding it on allowed plugins list: http://screencast.com/t/dCMffJFq
@Novaque I have checked your site with: https://developers.google.com/speed/pagespeed/insights/?url=http%3A%2F%2Fshowtopmodel.ru%2F&tab=desktop – http://screencast.com/t/h2pd7wKrhNh and there aren’t any reports regarding js/css resources. You still can improve your page speed by setting the leverage browser cache also optimizing images as it’s indicated in our documentation: https://forum.tagdiv.com/how-to-make-the-site-faster/
Thanks!
Hi,
A hacker won’t care much about the robots settings and this also applies to the malicious web robots, they can simply chose not to respect the robots restrictions.
You should only be concerned on how to configure the restrictions for best results on google, read about it here – http://screencast.com/t/8EQY8nv7Y7G – https://yoast.com/wordpress-robots-txt-example/
Thank you!
I don’t know about you people but I do think we are missing a sticky post with tips & tricks. If you think this is useful, please keep on commenting with more tips and tricks!
I’ll go first!
I had a problem with the visitors of my site. They used to visit the site with their smartphones which created a huge problem: they opened the site once and never closed the browser, therefore the site never got updated. Many people got frustrated with the site didn’t have any fresh news for over a week – we post news every hour. I solved the issue by installing this plugin:
* https://wordpress.org/plugins/auto-refresh-single-page/
Now the pages are forced to reload after every hour, no one complains again 🙂
Hi,
Yes if you want the sticky post to not be ignored on blocks, you can change it to 0. Nothing special will happen, only if you filter by the category of the sticky post(or you filter by all categories), it will appear first on block. For example I have Hello World sticky post, if I filter by all categories this is the result – http://screencast.com/t/q0hxkdnzNQ if I filter by a specific category(different than sticky post category) the block will not be affected – http://screencast.com/t/yXF1r2UBTI
Hope this helps!
Hello ankush,
There has been an ample discussion on this subject here: https://forum.tagdiv.com/topic/support-6-months/
There is no need to worry because we will not abandon our clients.
Thank you!

What should I do now?
External Image Link: http://i.imgur.com/QWK8WpL.jpg?1
My competitors also trying to hack my site, sometimes I see Robots.txt is missing. When Its Missing they stop trying to log in my site. Now verified my SSL & Also get SiteLock Security Service. SiteLock showing there is no Security Issue.
I am in Risk, So I don’t want to allow the /wp-content/plugins/ but I want to allow only that resources Google Showing.
Please Suggest me.
-
This reply was modified 10 years by
K.H.R.
Thanks Emil G.
I know that. But If I Allow: /wp-content/plugins/ Bots will index all the Plugins.
So the Hacker can easily find the more Resource to hack & week point to hack.
Am I right ?
I set up a mega menu and since I have over 7 sub categories, it’s causing the dropdown to have a scroll bar instead of just extending the dropdown. Is there a way to remove the scroll so that the entire list can be seen?

Also, is there a way to have the subcategories appear under the mega menu thumbs of stories like this using Newspaper 6?

Lastly, where would you be able to modify the code to place a banner ad in the mega menu like this?

Recently I noticed that my tags stopped working. Previously, I could view a page that compiled blog posts that use the same tag.
Now these ‘tag’ category pages are all showing ‘no results’ even though there are tons of articles tagged with the keyword.
I noticed this error yesterday while the site was operating Newspaper 4.0. I updated to 6.5 yesterday and the problem is still happening.
Example URL of blog post: http://wordpress.mauimagazine.net/lean-green/
Example tag at bottom: Lehia Apana
Example of tag URL: http://wordpress.mauimagazine.net/tag/lehia-apana/ (showing “no posts to display” despite 43 blogs including this tag, Lehia Apana)