Home> WordpressHow To Add Adsense Ads Between Post In WordPress Without Plugin

How To Add Adsense Ads Between Post In WordPress Without Plugin

How To Add Adsense Ads Between Post In WordPress Without Plugin

Adsense is no doubt the biggest ad program in the world and it is the source of income for 95% of bloggers, needless to say every newbie bloggers wants to apply for this program managed and own by google the tech giants and also make money from it.
After application and approval, what next? Start making money?
Simple right? Most people spend 4-5 months before they could reach the withdrawer threshold of $100, why others get to the threshold within weeks or months, not because of their high traffics or many years of experience, but because of how they manipulates ads to get more from it.
Ads position has been proven to be one of the strategies pro employ to increase their Adsense earnings, why others are diving into this strategies, others are find it difficult.
So today i will be taking you on one of the most sort after strategies
How To Add Adsense Inbetween Post In WordPress Without Plugin
you might have probably came across this kind of tutorial before, All telling you how to add adsense between post with different plugins. But the uniqueness about this, is that you don’t need any plugin to do this and it works perfectly.
Why You Should Have your Ads between post
This would’nt be much difficult to say, to get more clicks right?
If most of your visitors are from search engines and other forums you share your post with a link back to such post, then you don’t have to think twice before inserting Ads between post, as it will get more clicks and views.
Most people things authors manually input Adsense code in every article on their blog post before publishing, but it’s not so with this code you can add Adsense inbetween post after some paragraph like 1 or 2, thereby making visible to all readers of your blog.
Enough of the talking, let get to work.

How To Add Adsense Inbetween Post In WordPress Without Plugin

Loging to your wordpress dashboard locate Themes > Appearance > Editor locate Function.php and Insert the code below.

‘Ads code goes here’

; if ( is_single()&& ! is_admin() ) { return prefix_insert_after_paragraph( $ad_code, 2, $content ); } return $content; } // Parent Function that makes the magic happen function prefix_insert_after_paragraph( $insertion, $paragraph_id, $content ) { $closing_p = ‘

‘; $paragraphs = explode( $closing_p, $content ); foreach ($paragraphs as $index => $paragraph) { if ( trim( $paragraph ) ) { $paragraphs[$index] .= $closing_p; } if ( $paragraph_id == $index 1 ) { $paragraphs[$index] .= $insertion; } } return implode( ”, $paragraphs ); }

locate where it says Adsense code goes here on the code above, and insert your adsense code.
This code is capable of insert Ads after 1-2 paragraph on your post. Don’t modify if you’re not good in coding

Lately i have writen about Adsense very well, and i could like to share

Is Facebook Advert Compatible with Google Adsense

Boostup Your Chance of Geting Adsense Approval With This Tips (Personal Experience)

pls share, and thanks