Wordpress Adsense plugin or manually insert the codes into your theme?

elzorro

New member
Joined
Oct 23, 2013
Messages
28
Points
0
So today I started a new blog got my theme up and plugins sorted and then run into a problem while trying to install the adsense google plugin. For some reason they have stopped this so not sure what plugin to use for adsense now. Can anyone recommend a plugin or is it best to manually add the adsense codes into theme?
 

vishwa

Well-known member
Joined
May 12, 2014
Messages
1,092
Points
63
Yes, Google has stopped their official WordPress plugin. However You can use other plugins like Ad Injection, Easy Plugin for AdSense, Google AdSense by BestWebSoft. These are some of the best plugins to insert AdSense in your blog. Hope it will help you.
 

daniel27lt

New member
Joined
Jan 11, 2017
Messages
113
Points
0
I have many Wordpress sites. Any plugin will always stretch out the resources on your server. I simply copy and paste the snippet code for Google and add it within the footer.php file within your Wordpress theme. Since it's JavaScript, it loads last then. Letting more important things load first such as CSS. If it's something this simple, then you should always do it without the use of any plugins.
 
Last edited:

gedop

New member
Joined
Jul 2, 2017
Messages
2
Points
0
Ad inserter is best plugin I tried. It's support many functions, also pro version available. The free version meets my needs.

wordpress.org/plugins/ad-inserter

16 code (ad) blocks
Syntax highlighting editor
Code preview with visual CSS editor
Automatic insertion before / after post, content, paragraph or excerpt
Automatic insertion before or after random paragraph
Automatic insertion before or after multiple paragraphs
Automatic insertion before or after any HTML element in post
Automatic insertion at relative position in posts
Clearance options to avoid insertion near images or headers
Automatic insertion between posts on blog pages
Insertion exceptions for posts and pages
Insertion of header and footer code
Insertion of Google Analytics, Piwik or any other web analytics code
Manual insertion: widgets, shortcodes, PHP function call
Sticky (fixed) widgets (the sidebar does not move when the page is scrolled)
Custom block alignment and style
Insertion of ads on AMP pages
Custom CSS class name for wrapping divs to avoid ad blockers
Insertion of shortcodes from other plugins
PHP code processing
Ad rotation (server-side and client-side – works with caching)
Desktop/mobile device detection (server-side and client-side – works with caching)
Black/White-list categories, tags, post IDs, urls, url parameters, referers
Simple troubleshooting with many debugging functions
Function to visualize inserted code blocks
Function to visualize available insertion positions
Function to visualize HTML tags
 

tayyabwpb

New member
Joined
Apr 6, 2021
Messages
23
Points
1
You can use Insert Headers and Footers plugin Developed by WPBrigade to add the Google Adsense code to your WordPress website
 
Last edited:
Newer threads
Replies
5
Views
1,316
Replies
6
Views
1,374
Replies
7
Views
1,903
Latest threads
Replies
3
Views
17
Replies
3
Views
25
Replies
2
Views
45
Recommended threads

Latest postsNew threads

Referral contests

Referral link for :

Sponsors

Latest Blog ArticlesMost Viewed Threads

Popular tags

You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an alternative browser.

Top