- NewspaperUsing Other Ads
- NewspaperSidebar ads
- NewspaperIntroduction to CPT and ACF with Newspaper Theme
- NewspaperHow to edit modules for Flex Block X
- NewspaperHow to use the Posts List shortcode
- NewspaperCreate a frontend submission form
- NewspaperHow to Use the Tabbed Content shortcode
- NewspaperWooCommerce: Happy “Add to Favorites!”
- NewspaperHow to generate Facebook App ID
- NewspaperLink Tracker
- NewspaperFlex Block Settings Guide
- NewspaperGeneral Options that May Interfere with the Newspaper Theme
- NewspaperSocial Icons
- NewspaperPosts Loop Element
- NewspaperSet a Background for Category Page
- NewspaperThe Newspaper Mobile Theme: Introduction
- NewspaperHow to Add a Logo in Newspaper
- NewspapertagDiv Shop
- NewspaperAutoptimize Plugin – install and configuration
- NewspaperHow to Use tagDiv Cloud Library
OK, I got the header ad working on desktop by uploading your theme to another installation and then importing the sample data and pulling it from the theme panel
HERE IT IS
<div class="td-all-devices"><a href="#"><img src="https://unplug.tips/wp-content/uploads/2015/05/juiceage-header-ad-728x90-1.jpg" /></a></div>
But it only works on desktop
How can I alter it to work on tablet and mobile
Many thanks
D
-
This reply was modified 10 years by
unplug.tips.
-
This reply was modified 10 years by
unplug.tips.
Hello,
I’ve followed your previous threads (liek here: http://screencast.com/t/l8NYfWQuYORD, tried out setting all numbers to 4) in order to have only one row (4 post thumbnails next to each other) appearing in the mega menu when hovering above the top-level category. Right now they are still 5 (which always opens up a second row for the fith thumbnail, building lots of white space beneath) – how can I reduce the number of thumbnails (no sub-catgories!) to 4?
Many thnaks in advance, cheers!
Hello manojkhatri,
If you want to have control to your ads size, please notice that you can set them from Theme panel, Ads area section, if you are using the Google Adsense and otherwise, you have to use the div’s method. For more information about this option, please check our documentation here -> https://forum.tagdiv.com/custom-ad-spots/ -> https://forum.tagdiv.com/using-other-ads/
Hope this helps!
Thank you for the message!
Hello,
I’m a beginner with newspaper, but I really like.
I have a question. Is it possible have a header like this http://www.quibrescia.it with a ads on the left, logo aligned in the center, and another ads on the left (adsense+logo-adsense) in horizontal. I looked in theme panel>header but i didn’t find.
Thanks
Paolo
Hello,
The width of the theme cannot be increased unfortunately. If you use adsense, the ad should position properly with a 300 px width, but for this you need a 2 column layout. Not a 3 column. If you split the theme width in 3 columns, then your ads will no longer have enough space to display properly so you will need narrower ads.
https://forum.tagdiv.com/using-other-ads/
Thank you!
Thank you Catalin, I will check that out (I’m a programmer)
Another way it could be done, in the case of a small number of pages, is if there was a way to add CSS on a page-by-page basis.
i.e. I could add something like this:
.td-a-rec-id-content_bottom {display: none;}
Here is what I actually did to get the effect I wanted:
I set the 10 stories that I didn’t want the bottom ads on, to use Template #12
and in the custom code section of the Theme Panel, I did this:
.td-post-template-12 .td-a-rec-id-content_bottom {display: none;}
It would be great if you could add, say 5 custom Post templates, and allow a way to connect those post templates to a particular category or list of categories.
But for now, I made it work to do what I wanted. Lucky it was only 10 pages and not 1,000
Hey guys,
Dunno how long this has been an issue as I’ve been working on other projects but I noticed today my header ads had disappeared from my sites.
I’m not using ad-sense just a clickable image but the ads were there before and now they aren’t, at first I though it was because I had moved servers but I have bought 4 instances of the theme and only 2 have been moved to new servers but all 4 are now not showing header ads.
It’s not a huge problem cos none of the sites are generating ad revenue anyway but does make the header look a bit bare and I’d like to get to the bottom of it.
I’ve tried to disable all plugins apart from VC and Social counter but the problem remains.
I’m using the ad code from the documentation but when I save it and refresh the page it removes my logo from the left side of the header and there’s no image. I’ve tried a few adjustments to the code and that breaks the main navigation (im using header style 3)
Let me know if you’ve come across this before, I’m assuming it’s been like this since the last update as nothing else has changes and all 4 sites are displaying the same behaviour. I’ve cleared all caches etc but the problem remains.
Many thanks
Dean
Note we had this issue with client using another theme for an ecommerce setup, and the layout blocks for the home page used “ad” in them and so the shop home page had no products when viewed in browser with ad blocker.
For that particular project last year, I had to do a search/replace using Dreamweaver (any programmer text editor can do this too) to do a full search/replace of the entire theme folder.
e.g.,
home-adblock-one
had to do full search/replace
to change to something like
home-showcase-one
Then it worked. Bit of a pain. But it worked in this case since on that project the elements on front page of store were NOT ads.
Of course, with “real” ads, the adblocker will look at where the ad unit is coming from, the name of the image, the folder it loads from (eg., /ads/myadone.jpg would be an ad), etc. — so the CSS class alone might not solve issues with ad block stoppage.
Just food for thought.
Спасибо большое за ответы, очень признателен, но у меня все еще есть вопросы:
That helped a little, but now i see another problems appear:
4. My articles are now look like i wanted in fashion theme, but the problem is I have 20 articles on the first page (below the featured) but they repeat each other, so I have 10 latest articles twice on the on the home page.
I would prefer to have 10 latest articles (or 15), but not to repeat each other two times.
Screenshot: http://imgur.com/iFqUpyP
5. I have troubles with right rail – I want to have only my widgets there that were setup before (and worked with every theme I had before), but the trouble is – first at very top of right rail i see widgets like: – social counter (and instead of widget I only see code ), – don’t miss (with very old articles for some reason) and this three widgets stick until I scroll through the first 10 articles (please refer to my previous question as this might be the issue I am facing) and then when I see repeated articles I see my widgets that I want to have in my right rail (also sticked).
I would like to have only my widgets on the right rail (that display ads only), and not to have any other widgets there, also I want them not to be sticky.
5.1 Widgets appear more or less correctly on the post page, but still there’s a problem, the widget at the very top of right rail is the widget that shows video, but instead of appearing where it has to be it appears at the bottom left corner.
6. Thanks for telling me how to move the title, but now I have another issue – the title is too low and there’s a gap between pic and title which make’s it look ugly. How can just how many pixels it’s below the picture? Screenshot – http://imgur.com/GEA9vfb
7.It also looks like that it doesnt work for a Chrome – http://imgur.com/JlRMCCz
8. How do I take comments # off completely?
9. Where do I have insert the code so it appears at the very top above menu? (i have to put 728×90 banner) http://imgur.com/PZ9hcYW . Also where do I insert code so the second same size banner appears right below featured articles block? http://imgur.com/31qiylS
10. How do I take off trending now line?
-
This reply was modified 10 years by
se900se.
Hello,
I fixed it by myself. I have another question.
I added few ads on the side bar, but all of them are marked as sidebar ads. When I set image for one of the ads, all of them has changed. How can I use separate image for each ad ?
REgards!
Thanks for your answers. We are not using Jetpack or Photon.
It’s kind of strange. We just checked our website on 4 different iPads. On two of them everything is fine and on the other two the images are blurry. I tested not only our blog but also some other blogs using the newspaper theme including the theme demo.
It was the same with all the blogs: On two iPads it’s fine and on two other iPads it’s blurry. Maybe it has something to do with the version of the iPads.
Thanks Chris – it’s these two occurrences of this ‘text/javascript’ script – appears to come from Cloudflare? I’d seen on .org the CF page rules and made those – will try with it off (damn got a great page speed with it on) or research other page rules etc – Thanks so much for guidance – Pat
<script type=”text/javascript”>
//<![CDATA[
try{if (!window.CloudFlare) {var CloudFlare=[{verbose:0,p:1459189503,byc:0,owlid:”cf”,bag2:1,mirage2:0,oracle:0,paths:{cloudflare:”/cdn-cgi/nexp/dok3v=1613a3a185/”},atok:”e7248e677b025eae8544ee8b80a99ccc”,petok:”d96c85f314d86f469b9127c26bd7ad7b00449ffe-1459709693-1800″,zone:”westbridgfordwire.com”,rocket:”0″,apps:{“ga_key”:{“ua”:”UA-46276619-1″,”ga_bs”:”2″}},sha2test:0}];!function(a,b){a=document.createElement(“script”),b=document.getElementsByTagName(“script”)[0],a.async=!0,a.src=”//ajax.cloudflare.com/cdn-cgi/nexp/dok3v=e982913d31/cloudflare.min.js”,b.parentNode.insertBefore(a,b)}()}}catch(e){};
//]]>
</script>
<link rel=”canonical” href=”http://westbridgfordwire.com/nottingham-window-company-open-melton-road/”/>
<script custom-element=”amp-analytics” src=”https://cdn.ampproject.org/v0/amp-analytics-0.1.js” async></script>
<script src=”https://cdn.ampproject.org/v0.js” async></script>
<style amp-boilerplate>body{-webkit-animation:-amp-start 8s steps(1,end) 0s 1 normal both;-moz-animation:-amp-start 8s steps(1,end) 0s 1 normal both;-ms-animation:-amp-start 8s steps(1,end) 0s 1 normal both;animation:-amp-start 8s steps(1,end) 0s 1 normal both}@-webkit-keyframes -amp-start{from{visibility:hidden}to{visibility:visible}}@-moz-keyframes -amp-start{from{visibility:hidden}to{visibility:visible}}@-ms-keyframes -amp-start{from{visibility:hidden}to{visibility:visible}}@-o-keyframes -amp-start{from{visibility:hidden}to{visibility:visible}}@keyframes -amp-start{from{visibility:hidden}to{visibility:visible}}</style><noscript><style amp-boilerplate>body{-webkit-animation:none;-moz-animation:none;-ms-animation:none;animation:none}</style></noscript>
<script type=”application/ld+json”>{“@context”:”http:\/\/schema.org”,”@type”:”Article”,”mainEntityOfPage”:”http:\/\/westbridgfordwire.com\/nottingham-window-company-open-melton-road\/”,”publisher”:{“@type”:”Organization”,”name”:”West Bridgford Wire”,”logo”:{“@type”:”ImageObject”,”url”:”http:\/\/westbridgfordwire.com\/wp-content\/uploads\/2015\/05\/wbw-copy-2.jpg”,”width”:500,”height”:52}},”headline”:”Nottingham Window Company to Open in Melton Road West Bridgford”,”datePublished”:”2016-04-03T19:42:09+00:00″,”dateModified”:”2016-04-03T19:43:49+00:00″,”author”:{“@type”:”Person”,”name”:”WBWire”},”image”:{“@type”:”ImageObject”,”url”:”http:\/\/westbridgfordwire.com\/wp-content\/uploads\/2016\/04\/image1-e1459708238145.jpg”,”width”:696,”height”:522}}</script>
<style amp-custom>@font-face{font-family:’Merriweather’;src:url(‘https://s1.wp.com/i/fonts/merriweather/merriweather-regular-webfont.woff2’) format(‘woff2’),url(‘https://s1.wp.com/i/fonts/merriweather/merriweather-regular-webfont.woff’) format(‘woff’),url(‘https://s1.wp.com/i/fonts/merriweather/merriweather-regular-webfont.ttf’) format(‘truetype’),url(‘https://s1.wp.com/i/fonts/merriweather/merriweather-regular-webfont.svg#merriweatherregular’) format(‘svg’);font-weight:400;font-style:normal;}@font-face{font-family:’Merriweather’;src:url(‘https://s1.wp.com/i/fonts/merriweather/merriweather-italic-webfont.woff2’) format(‘woff2’),url(‘https://s1.wp.com/i/fonts/merriweather/merriweather-italic-webfont.woff’) format(‘woff’),url(‘https://s1.wp.com/i/fonts/merriweather/merriweather-italic-webfont.ttf’) format(‘truetype’),url(‘https://s1.wp.com/i/fonts/merriweather/merriweather-italic-webfont.svg#merriweatheritalic’) format(‘svg’);font-weight:400;font-style:italic;}@font-face{font-family:’Merriweather’;src:url(‘https://s1.wp.com/i/fonts/merriweather/merriweather-bold-webfont.woff2’) format(‘woff2’),url(‘https://s1.wp.com/i/fonts/merriweather/merriweather-bold-webfont.woff’) format(‘woff’),url(‘https://s1.wp.com/i/fonts/merriweather/merriweather-bold-webfont.ttf’) format(‘truetype’),url(‘https://s1.wp.com/i/fonts/merriweather/merriweather-bold-webfont.svg#merriweatherbold’) format(‘svg’);font-weight:700;font-style:normal;}@font-face{font-family:’Merriweather’;src:url(‘https://s1.wp.com/i/fonts/merriweather/merriweather-bolditalic-webfont.woff2’) format(‘woff2’),url(‘https://s1.wp.com/i/fonts/merriweather/merriweather-bolditalic-webfont.woff’) format(‘woff’),url(‘https://s1.wp.com/i/fonts/merriweather/merriweather-bolditalic-webfont.ttf’) format(‘truetype’),url(‘https://s1.wp.com/i/fonts/merriweather/merriweather-bolditalic-webfont.svg#merriweatherbold_italic’) format(‘svg’);font-weight:700;font-style:italic;}amp-img.alignright{float:right;margin:0 0 1em 1em;}amp-img.alignleft{float:left;margin:0 1em 1em 0;}amp-img.aligncenter{display:block;margin-left:auto;margin-right:auto;}.alignright{float:right;}.alignleft{float:left;}.aligncenter{display:block;margin-left:auto;margin-right:auto;}.wp-caption.alignleft{margin-right:1em;}.wp-caption.alignright{margin-left:1em;}.amp-wp-enforced-sizes{max-width:100%;}.amp-wp-unknown-size img{object-fit:contain;}.amp-wp-content,.amp-wp-title-bar div{max-width:640px;margin:0 auto;}body{font-family:’Merriweather’,Serif;font-size:16px;line-height:1.8;background:#fff;color:#3d596d;padding-bottom:100px;}.amp-wp-content{padding:16px;overflow-wrap:break-word;word-wrap:break-word;font-weight:400;color:#3d596d;}.amp-wp-title{margin:36px 0 0 0;font-size:36px;line-height:1.258;font-weight:700;color:#2e4453;}.amp-wp-meta{margin-bottom:16px;}p,ol,ul,figure{margin:0 0 24px 0;}a,a:visited{color:#0087be;}a:hover,a:active,a:focus{color:#33bbe3;}.amp-wp-meta,nav.amp-wp-title-bar,.wp-caption-text{font-family:-apple-system,BlinkMacSystemFont,”Segoe UI”,”Roboto”,”Oxygen-Sans”,”Ubuntu”,”Cantarell”,”Helvetica Neue”,sans-serif;font-size:15px;}ul.amp-wp-meta{padding:24px 0 0 0;margin:0 0 24px 0;}ul.amp-wp-meta li{list-style:none;display:inline-block;margin:0;line-height:24px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:300px;}ul.amp-wp-meta li:before{content:”\2022″;margin:0 8px;}ul.amp-wp-meta li:first-child:before{display:none;}.amp-wp-meta,.amp-wp-meta a{color:#4f748e;}.amp-wp-meta .screen-reader-text{clip:rect(1px,1px,1px,1px);height:1px;overflow:hidden;position:absolute;width:1px;}.amp-wp-byline amp-img{border-radius:50%;border:0;background:#f3f6f8;position:relative;top:6px;margin-right:6px;}nav.amp-wp-title-bar{background:#0a89c0;padding:0 16px;}nav.amp-wp-title-bar div{line-height:54px;color:#fff;}nav.amp-wp-title-bar a{color:#fff;text-decoration:none;}nav.amp-wp-title-bar .amp-wp-site-icon{float:left;margin:11px 8px 0 0;border-radius:50%;}.wp-caption-text{padding:8px 16px;font-style:italic;}blockquote{padding:16px;margin:8px 0 24px 0;border-left:2px solid #87a6bc;color:#4f748e;background:#e9eff3;}blockquote p:last-child{margin-bottom:0;}amp-carousel{background:#000;}amp-iframe,amp-youtube,amp-instagram,amp-vine{background:#f3f6f8;}amp-carousel>amp-img>img{object-fit:contain;}.amp-wp-iframe-placeholder{background:#f3f6f8 url(http://westbridgfordwire.com/wp-content/plugins/amp/assets/images/placeholder-icon.png) no-repeat center 40%;background-size:48px 48px;min-height:48px;}td,th{text-align:left;}a,a:active,a:visited{text-decoration:underline;}</style>
<script type=”text/javascript”>
Hi
it’s better to implement the hooks into the functions.php file vs adding another plugin (my opinion only).
Reason is latency, additional php overhead, and possibility of plugin introducing issues if not updated with new versions of php, wordpress, other plugins, etc.
However, if it works for you, that’s great.
Always best to add your own functions if possible, which is at least how we do it over here.
Any plugin that loads admin only CSS/JS functions on your posts/pages code, is a bad plugin where that should only be hooked into the admin panel and not your posts/pages, btw.
There is a simple function to remove VC from loading on post/pages, which we use, also.
Hi Bogdan Thank you. I fixed the sidebar ads! 🙂
But I’m not able with Facebook. I understood originally I did a mistake because I didn’t click to obtain the Access Token. Now I tried several times but I cannot obtain it. The warning say …please wait in red but it is still waiting.
Do you know please any other trick?
Hi
The code it’s tested and works fine on my side.
Make sure that you added the file corresponding with the header style used and also check if the shortcode added in do_shortcode function is the one for the ad-spot where you inserted the ad-code in theme panel. Also check our documentation regarding banner ad’s usage: https://forum.tagdiv.com/newsmag-using-other-ads/
Thanks!
Hi,
For other ads besides adsense, please use this method: https://forum.tagdiv.com/using-other-ads/
As for the social counter, please follow my tutorial on page 1: https://forum.tagdiv.com/topic/social-counter-facebook-fan-count-incorrect/
Hope this helps.
Thank you!
Hi, asked and answered. Much like ecommerce has special needs, so does an advertising management system. So, like there is WooCommerce for ecommerce, there are also “systems” to manage users/ads, ad types, expirations, etc.
e.g.,
https://premium.wpmudev.org/project/classifieds/
https://wordpress.org/plugins/another-wordpress-classifieds-plugin/
PLUGIN REPO
https://wordpress.org/plugins/search.php?type=term&q=classified+ad
((I don’t work here . . . )
Hope that helps! 🙂
-
This reply was modified 10 years by
simchris.
Hello,
I have the following questions in order to finish my newspaper :
1. how to reorder the buttons in the submenu of the main one ( they are ordered by the first letter, but I want to reorder them in another way )
2. how to change the logo
3. how to change the Ads banners
4. how to change the text in the footer
5. how to edit the top header and top footer menus
Regards!
Hello marketingapex7,
Unfortunately, I have no idea about your structure of your ad code. Please notice that our theme has been designed to use Adsense for good results. Please notice that the theme displays only the code that you have inserted into this field and do not affect the structure of the code. I recommend you to contact the ad code provider and try to check with them the functionality of this ad code because it seems that do not work at all. If the code is right, means that the theme is not compatible with this kind of ad and you will have to try another alternative in this case.
Hope this helps!
Thank you for your understanding!
Hi team TagDiv,
I’m using a script code to display ads skin (background ads) with an ad network. The problem is that they provide me a script code to insert just after the <body> that i inserted in the header file (header.php).
It works fine, but ads are displaying in every pages and posts and i would like to just display theme on my homepage. I didn’t find the <body> in other files of the theme like single.php…
Is there any solution for me ?
Thank you in advance !
Hi
The theme place only header and article top/bottom ads in fixed position. The placement of this ads respect googles’s policy. Any other ads can be placed in many different places on post/page content but the theme won’t check if theirs positions respects googles’s policy. As for ads being displayed in sticky sidebar that is strictly against the rulesof ad-sense. You can check this topic from ad-sense support forum for more details:
https://productforums.google.com/forum/#!topic/adsense/PIKv7Ublr7U;context-place=topicsearchin/adsense/ads$20on$20sidebar$20sticky also this link might help: https://support.google.com/adsense/answer/48182
Thanks!
Hi,
I will try to look at other solution if the error still persist.
Ok, done with that.
How about the white spaces in between the header and the featured image?
I’ve tried to look at the css but nothing much I can do. Not really good in doing css editing.
Hope you can assist to eliminate this white space.

Thank you.
Regards
Hi,
We have been using NewsMag for about a year now and it has been great. But recently and for the second time now we are receiving violation notifications from Google Adsense claiming that we are doing something wrong. Our set up is very clean and simple and I cannot figure out the issue.
As the site also advertises some other areas of our activities I thought that possibly more clearly identifying our own ads as advertisements would help but it has not.
Google has absolutely no way to communicate what seems to be an error and we are at risk of being stripped of using AdSense.
Is it possibly something with the theme?
This is the URL that is in apparent violation: http://www.circusbazaar.com/modern-eugenics-our-cultures-warped-idea-of-beauty/
Below is the details of the violation that seems not to make sense with reality.
Any advice?
CB
Why was this action taken against my account:
Publishers are not permitted to cause users to click on Google ads unintentionally or drive excessive attention to ad units. This includes implementations, such as:
Placing Google ads in floating box scripts
Flashy animations that draw a user attention to the ads
Arrows or other symbols pointing to the ads
Site layouts which push content below the fold
I just want to make the fixed size to be same just in the attached image
http://Teamreporters.com/wp-content/uploads/2016/03/sam.bmp
in block 19 i saw the 2 top images are larger than the other ones below, i want all to be same size
Hello,
If you want to show the modified date, please follow this topic: https://forum.tagdiv.com/topic/how-to-add-last-updated-time/
As for he Ad titles, this will not be easy to do as the theme has no settings for this so they will have to be made custom. You will have to edit every place the ads are called in our theme. Then you can add this line above the ad code to show the title:
<?php echo '<div class="td-adspot-title">- Advertisment -</div>'; ?>
For example on a header ad: http://screencast.com/t/6JqS6R9sqY
But this will also cause the ads to drop a line or 2 because the ad title needs space to display:
http://screencast.com/t/efpcLyAEJ7A so then you also need to edit the position of the ads and remove margins, padding and so on. Everything you modify will affect other elements.
Thank you!