figured it out… thread closed
Ok.
Check this image for example implementation of policy violation.
Suppose the user wants to place ad below paragraph 3 on a large site and the blog post has the below structure:
<p> </p>
<p> </p>
<p> </p>
<h2></H2>
<p></p>
In this case, the function will insert that ad before the 4th <p>. If the H2 element has a keyword like download, recommended, the ad placement will be against adsense TOS.
You said that the inline ads will insert ad before the start of n +1 paragraph (n is the value user specifies in the settings panel). In the theme panel, it has been mentioned that the theme will analyze the content of each post and it will inject an ad after the selected number of paragraphs which means that the ad should be inserted after the 2nd paragraph directly not before the the 3rd paragraph.
There is nothing we can ‘fix’ in this matter
No problem! Its up to you guys to decide whether to fix this issue or not.
Hi! This issue needs to fixed ASAP. Please check this https://support.google.com/adsense/answer/1346295?hl=en#Placing_ads_under_a_misleading_heading
problem has been fixed!
This code created the missing table in the DB https://gist.github.com/anonymous/80fb467852c2c71a5168
BTW, does newspaper theme uses the term_meta table?
Yes, you’re right man!
I used clean options plugin because a popular blog claimed that the plugin removes orphan db tables. I will not follow tutorials on that blog anymore.
fixed the problem. The plugin su**ks…
Need urgent help
why are you using nginx and apache at the same time? Use memcache only if you have setup multiple VPS to host your website. You don’t need a caching plugin if you use nginx. The configuration file can handle the caching of static content on VPS
thanks A lot! the code works
thanks!
I have one more query. I am trying to add a block 3 below the author box in post. I learned that this is possible with the visual composer and a shortcode. When i added the shortcode to the single.php file, the block 3 was added but it dislays 3 columns instead of 2 i.e 3 posts on 1 row instead of 2. How can i show 4 posts in 2 columns and 2 rows i.e each row should have 2 posts.
I checked this forum post where a user was facing a similar issue. https://forum.tagdiv.com/topic/number-of-columns-in-a-block/. My blog posts already has a sidebar. Thus i cannot use a 2/3 + 1/3 layout
Thanks!
I’ve tested ad injection, advanced ads, quick adsense plugins with newspaper. When the horizontal adsense responsive ad is aligned to the left in a post (below nth paragraph), the adsense code automatically displays a 728 x 90 unit that spreads across the sidebar. I can ad media queries to adjust the ad sizes dynamically but this wastes the functionality one of the most important module of newspaper theme. I’ll try your suggestion.
-
This reply was modified 10 years by
Pramodc.
Many visitors to my website browse from phones with resolution less than 300 x 250 pixels. The ads on such devices will not be completely visible
I use block 7 which uses small thumbnails. I am satisfied with it. The 7 days post sorting is interesting module but why does it requires the show pageviews on post option enabled? If the pageviews option is active, will google crawl admin-ajax url? I had issues with some plugins that used wordpress ajax. Sometimes the admin-ajax resulted in a lot of soft 404 errors on my site. I hope this will not happen in newspaper theme
The plugin works. The browser cache was causing the issue. Thanks
Ok thanks
I’ve removed all the blocks from the sidebar and the footer. The error count has reduced from 35 to 3/per page (only the main content displays error). Please fix the issue because i would like to add the blocks again.
Hi!
When i follow your method, a new page is created but the homepage doesn’t have the block and sidebar. The new page has the block/sidebar and the it is included in the sitemap too. Should i exclude this page from the sitemap? and why the sidebar/block is not appearing on the homepage? Please help
