Comment on SEO AdSense WordPress Theme by Erik.
I have a question that may be relevant to others from an appearance standpoint. I like having the big 336 x 280 in-content block ad in most of the archive pages (tags, categories, etc). However I’d rather not have it in the main index (or most of the individual posts/pages), for aesthetic reasons.
Currently I have been able to cobble together a partial solution, by switching on the “Main Content Ad Unit” (Ad Unit 1), then stripping out the following bit of code from the php on single.php and page.php, which seems to get it off those pages cleanly:
current_post == st_adsense_main_ad()){echo(”); st_adsense_insert(st_adsense_01());?>
However, I can’t find a similar bit of code on the index.php, (and of course I’m not even sure if this is the wisest way to do it).
Is there are a way to switch off the in-text block ad on just the main index page? I’ve been scouring what you wrote above, and a number of previous comments as well, but been stuck on this for a few hours now…I saw what you wrote about adding the hide ads code snippet with the “stallionhideads” line of code, but wasn’t sure how/if that would work for just the main index page.
I was able to successfully do this on an old Stallion version (6.0.1) but seem to be hitting the wall here.
I know you probably have a ton of things going on, but if you have any solution on this it would be much appreciated!
Thanks,
Erik W
More Comments by Erik
AdSense Theme Options
Showing/Hiding Adsense on Specific Pages
Thanks for the detailed response Dave. I do alter my CSS a bit which always makes me wonder if I am responsible somehow, however I tried this on both the altered site and on a clean install and the …
Continue Reading Stallion AdSense Theme
AdSense Theme Options
WordPress Child Theme
Thanks Dave for the excellent support. That worked like a charm.
The child themes are a great idea. I did try to set them up originally but goofed somewhere and couldn’t get it working. I’m going to …
Continue Reading Stallion AdSense Theme
AdSense Theme Options
AdSense on WordPress Comments
SEO Dave, thanks again for the usual very helpful response. I followed what you advised with the content ad widget. It worked nicely, and now I have the 336 x 280 ad displaying on the tags and categories …
Continue Reading Stallion AdSense Theme
AdSense Theme Options
WordPress Mobile Theme
I’ve been off this message board for many months now, but I thought I’d chime in on this topic. Mobile readiness is something I’ve been wondering about too. I had not paid much attention to treating mobile visitors …
Continue Reading Stallion AdSense Theme
AdSense Theme Options
AdSense Options
Awesome Dave, thanks. Something for the hopper for the future. Looking forward to the new update. I realize you have to decide what to add based on what makes sense and the trade-off involved.
Also thanks …
Continue Reading Stallion AdSense Theme
AdSense Theme Options
AdSense Optimization Tips
Hi Dave,
I thought I’d throw a few Adsense customization ideas into the pot. Just wondering what your ideas are on these. Apologies in advance if some or all have already been addressed elsewhere. Maybe there’ll be something …
Continue Reading Stallion AdSense Theme
AdSense Theme Options
Delayed AdSense Ads Theme
David thanks a bunch for taking the time to answer. I agree the plugin looks great for a wide range of banner ads.
And the code showing adsense just to search visitors sounds like a great idea. I am …
Continue Reading Stallion AdSense Theme
AdSense Theme Options
Delayed AdSense Ads
Dave–I love the new Stallion theme, having been a user of your themes since Talian 4 I am excited about all the new changes you have implemented. You have clearly put in a ton of work on this one …
Continue Reading Stallion AdSense Theme