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,144
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
29
Points
3
You can use Insert Headers and Footers plugin Developed by WPBrigade to add the Google Adsense code to your WordPress website
 
Last edited:

pngtojpg

New member
Joined
Aug 22, 2022
Messages
3
Points
1
you can insert code manually if yo know how to deal with html and php codes
 

ClarkWillson

New member
Joined
Mar 12, 2023
Messages
6
Points
1
I had a similar issue recently. I'd recommend using the "Ad Inserter" plugin. It's versatile and user-friendly for AdSense or any other ad management. Good luck with your blog!
 

Daniel@30

Active member
Joined
Apr 6, 2018
Messages
179
Points
28
Both methods of incorporating AdSense into your WordPress website have their pros and cons. Using a dedicated plugin can be more user-friendly and time-efficient, as it allows you to manage your AdSense ads with ease and customize them through the plugin's settings. However, manually inserting AdSense codes into your theme gives you more control and flexibility over the placement and design of the ads. Consider your technical skills, desired level of customization, and the ease of management to decide which method suits your needs best.
 
Newer threads
Replies
5
Views
2,308
Replies
6
Views
2,739
Replies
7
Views
3,207
Latest threads
Replies
0
Views
589
Replies
2
Views
788
Replies
1
Views
309
Recommended threads
Replies
6
Views
8,883
Replies
4
Views
4,672
Replies
0
Views
2,634
Replies
9
Views
4,298

Referral contests

Referral link for :

Sponsors

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