Comment on SEO AdSense WordPress Theme by SEO Dave.
Although there’s copy protection in the Stallion theme it should have an impact on editing the sorts of template files your average WordPress ‘tinkerer’ (couldn’t think of a better word :-)) might want to tinker with.
index.php, single.php, header.php, functions.php etc… can all be edited with no impact on the protection. If you do want to add something to the functions.php file I’ve added a file zz_extra_functions.php which I use for testing new code before committing it to the theme. Left it in place so others can use it to add new code you might be advised to add to your functions.php file (makes it easier to upgrade).
Anyway, the setup you want wouldn’t be possible with the current Stallion theme without editing files.
If you want this just on the blog posts and pages (not that it could work on archives) and you are happy with two of the ad blocks have the same code might be a quick hack.
In single.php find the line including: st_adsense_lnk6_sing this is part of the AdSense link ad at the bottom of the main content.
If you replace with with a copy of a AdSense content ad it should work, will take on the sizes of that ad block. Actually you might be able to replace it with the sidebar ad unit. So put that on hold a second :-)
Find $AdSense6 in single.php and replace with $AdSense2
That should take on the settings for the Sidebar Content Ad Unit (will be a content ad unit rather than a link ad unit), so you can set the size via the AdSense Options page via the sidebar Ad Unit options.
If you don’t want the ad centered there’s a class “adscenter” associated with the div that holds that ad unit, if you look through the style.css you’ll find other alignments for ads etc… (left, right, floats etc…) or you could add some inline css to have it do whatever you want.
If you want this on pages as well edit pages.php. Doing it this way would also keep the current link ad unit on archive pages, you could change them as well via their template pages.
Regarding ad placement the majority of clicks are above the fold, so I think you’ll find these changes will have little impact either way. Though will depend a lot on the site, if you have content people tend to read to the bottom rather than the usual scan through, might get more clicks.
I find with AdSense the best placement is the tall sidebar ad unit on the left menu at the top and the floating ad unit floated to the right (Stallion default setup). Or the sidebar ad on the right sidebar and the main ad unit floated to the left. I’ve found the first setup tends to work best.
Have you played around with the new widget areas, you can add the sidebar ad units in more areas than the two sidebars.
There’s a widget area where the search form is on the header (turn the search form off first, via the options pages) a 469px wide ad unit fits here. A widget above the rotating banners, a 468px ad unit can be placed here and another widget areas within the main content (same place as where the floating ad goes) and several options related to the new footer widgets. The sidebar ads can be added to any widget area. There’s also the ad area below the header which is good for the wide 728px ad units, you use the movable ad unit for that area.
I’ve not had time to write anything about advanced use of Stallion, I’ve not had time to experiment fully with ad placements myself yet!
Next feature update plan to use the WP Expander plugin to delay the AdSense ad units as well, reduce ad blindness (not had time to test it yet) and to see if I can give the option to switch a link ad unit to a content ad unit via the options page which would give you what you want.
David
More Comments by SEO Dave
AdSense Theme Options
AdSense Responsive Theme Code
Code doesn’t come through in WordPress unless you add code tags, so didn’t see your code, have pasted what it should look like to replace the messed up code.
If your code looks like that, should work. Must be exactly like …
Continue Reading Stallion AdSense Theme
AdSense Theme Options
Google AdSense Custom Search Widget
The Stallion Responsive 8.2 version of the Google AdSense Custom Search Widget is called “Stallion AdSense Google Search Widget”.
For performance reasons some of the Stallion widgets and default WordPress widgets are disabled. Basically if you don’t use a widget it’s …
Continue Reading Stallion AdSense Theme
AdSense Theme Options
DED : You’ve Reached your Daily Relay Quota
Yep, Google changed a while ago to show users what they are searching for as ads. Can get quite irritating when doing research, shows me ads I have no interest in: not that I ever click AdSense ads on any …
Continue Reading Stallion AdSense Theme
AdSense Theme Options
How to Remove Malware Ads
Had a look at the home page code and the code of a WordPress post and don’t see anything obvious untoward.
I see the correct AdSense ads when viewing your site, I saw some ads about roofing and others about SEO …
Continue Reading Stallion AdSense Theme
AdSense Theme Options
AdSense Troubleshooting
Assuming you are running either Stallion Responsive or Stallion WordPress SEO.
Most times AdSense doesn’t work it’s because the user has inadvertently copy pasted additional characters (tabs or spaces) which breaks the code.
Check before and after for spaces, should only be:
pub-123456789
Assuming …
Continue Reading Stallion AdSense Theme
AdSense Theme Options
Adding HTML code to a WordPress Post
Have you viewed the HTML source of the AdSense output that’s not working and compared it to the original AdSense code?
This will tell you if it’s WordPress changing your HTML after saving.
Easy to do.
Add the responsive ad code that isn’t …
Continue Reading Stallion AdSense Theme
AdSense Theme Options
Adding Responsive AdSense Code to a WordPress Post
When you say adding a Responsive AdSense ad to a WordPress page do you mean editing a page template (one of the files ending .php) and manually adding the AdSense code where you want it?
Or editing a WordPress Page or …
Continue Reading Stallion AdSense Theme
AdSense Theme Options
Advanced AdSense Responsive Ad Units
I need to get more sleep apparently, managed to replicate your issue by using the Smart Sizing AdSense Responsive Ad Code.
Where ever I suggested using Smart Sizing AdSense Responsive, should be use Advanced AdSense Responsive ad units and delete the …
Continue Reading Stallion AdSense Theme
AdSense Theme Options
Responsive AdSense Advanced Code
Edited comment to take into account completely getting it wrong, I advised using Smart Sizing should be use Advanced AdSense code with Stallion!
The difference between the two AdSense Responsive Ad Unit types is as follows, the two code examples are …
Continue Reading Stallion AdSense Theme
AdSense Theme Options
AdSense Responsive adsbygoogle.js File
One possibility is you are using broken AdSense code.
The AdSense responsive code I use on this site lacks this code:
<script async src="//pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script>
Which means my AdSense ads code is broken (incomplete), but because Stallion Responsive includes the adsbygoogle.js code link it …
Continue Reading Stallion AdSense Theme
AdSense Theme Options
Responsive AdSense Ad Units Placement
The main Ad ON/OFF options are designed for the built in AdSense code including what you add on the main Stallion AdSense Options page form boxes. If an ad is turned off on the main AdSense options page that ad …
Continue Reading Stallion AdSense Theme
AdSense Theme Options
AdSense Responsive Ad Units
Updated to take into account a brain fart, see later comment.
Sounds like you are using the widget area correctly.
I’ve just tested two scenarios that worked as expected (update: I was wrong).
On this website under “Appearance” >> “Widgets” made sure I …
Continue Reading Stallion AdSense Theme