Comment on SEO AdSense WordPress Theme by Erik.
You were right Dave, thanks for this tip. I didn’t realize it would output something different than the code that is visible in Text view. I have seen WordPress change ad code before, but it was to add that CDATA snippet into the code, and this was immediately visible in the WordPress post editor after saving the post.
In this instance, the responsive code I was adding was visibly unchanged after saving, but after viewing the page source like you recommended I saw that there were about 6 line breaks (<br/) added into the code. Well, that's not very helpful WordPress!
I ended up using a shortcode insert for the time being at least, on those sets of pages I want to track. That does work; I don't know if there are any pluses or minuses to that solution other than it actually working :) .
Thanks for the reply as always.
More Comments by Erik
AdSense Theme Options
Adsense Shortcode works, direct pasting does not
Now I’ve gotten it to work using the shortcode (a plugin called WP Adsense Insertion, you paste the code into an input box and just place a shortcode (eg, ) where you want it to appear) on the pages in …
Continue Reading Stallion AdSense Theme
AdSense Theme Options
Pasting responsive code directly into page via WP dashboard
I am just pasting the code directly into a page using my WordPress dashboard, the second scenario you describe.
I generally don’t use the Visual mode either, am doing everything in Text mode so it’s not the code being …
Continue Reading Stallion AdSense Theme
AdSense Theme Options
Displaying Adsense Responsive Code on an Individual Page
Thanks Dave for the help on this. I had one other basic question about simply placing individual responsive adsense code snippets on individual pages.
For some reason I can’t get the responsive ad code to display on single …
Continue Reading Stallion AdSense Theme
AdSense Theme Options
Adsense “Advanced” Version Responsive Ad Unit Positioning
Update: Interestingly, the problem seems to just be with the “Smart sizing” responsive ad (the code you gave as an example above). Right before you save and copy code, Adsense gives two options for responsive unit code, their “recommended” …
Continue Reading Stallion AdSense Theme
AdSense Theme Options
Responsive Adsense only on certain pages
Sorry Dave, I actually meant Tags and Categories pages–I had the Super Comments pages in mind as well, but I’ve got a separate ad code for that inserted in the single-2.php file which is how you advised me to do …
Continue Reading Stallion AdSense Theme
AdSense Theme Options
Responsive Adsense Unit Positioning
Hi Dave, I have hit a little hiccup in trying to position a responsive adsense unit in the floating content area.
It seems that if I set the Content Widget Area alignment to “No float” in Layout Options, the responsive …
Continue Reading Stallion AdSense Theme