Do you wanted to increase your Adsense earning by displaying your Adsense ads in your post this short code will help you to do so
Heres the way to do so :
- Login to your wordpress Blog
- go to Appearance > Editor
- In Functions.php , add the below code :
function showads() { return ' Your Adsense Code here '; } add_shortcode('adsense', 'showads');
- Replace “Your Adsense Code here” with your Adsense Code.
- Save functions.php
Now as you have saved the functions.php now you can show your Adsense ads in your posts by simply putting the below Short code :
[adsense]
Trackbacks
[…] 28-wpden has three sections labeled Hacks, Shortcode and Tips & Tricks that stand for a promising and easy to locate reference for the WordPress enthusiast. The website is quite new but it looks promising. My recommended link: How to show Adsense in your Posts […]