Home User profile
tagDiv Member
This user did not write anything. So we are just showing here some random text to make the profile page look nice :)
Pramodc
tagDiv Member

figured it out… thread closed

Pramodc
tagDiv Member

Ok.

Pramodc
tagDiv Member

Check this image for example implementation of policy violation.

adsense

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.

Pramodc
tagDiv Member
Pramodc
tagDiv Member
Pramodc
tagDiv Member

problem has been fixed!

Pramodc
tagDiv Member

This code created the missing table in the DB https://gist.github.com/anonymous/80fb467852c2c71a5168

BTW, does newspaper theme uses the term_meta table?

Pramodc
tagDiv Member

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.

Pramodc
tagDiv Member

fixed the problem. The plugin su**ks…

Pramodc
tagDiv Member

Need urgent help

Pramodc
tagDiv Member

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

Pramodc
tagDiv Member

thanks A lot! the code works

Pramodc
tagDiv Member

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!

  • This reply was modified 10 years by Pramodc.
  • This reply was modified 10 years by Pramodc.
Pramodc
tagDiv Member

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.
Pramodc
tagDiv Member

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

Pramodc
tagDiv Member

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

Pramodc
tagDiv Member

The plugin works. The browser cache was causing the issue. Thanks

Pramodc
tagDiv Member

Ok thanks

Pramodc
tagDiv Member

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.

Pramodc
tagDiv Member

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

Viewing 20 posts - 1 through 20 (of 20 total)