Bug #46
Atahualpa Theme: Adding code for function advmgr_ad('name') has no effect.
| Status: | Feedback | Start: | 09/21/2009 | |
| Priority: | Normal | Due date: | ||
| Assigned to: | - | % Done: | 0% |
|
| Category: | - | Spent time: | - | |
| Target version: | - | |||
Description
Hi there,
I've recently started using the Atahualpa theme for my site www.wizonesolutions.com/blang. When I switched themes, my ads of course went away, so I've been trying to get them back. AM is working fine for the left column, but to get it to work in the center column, I tried to add code through Atahualpa's settings to The Loop (just above the footer). Here's an excerpt:
...
...
But this is an excerpt of the resulting page source - not even an empty space for an ad!
<div class="post-bodycopy clearfix">
...
</div>
<div class="post-footer">...</div><!-- / Post -->
Not sure what could be causing this. If you want me to check anything in the code or try anything programmatic, that's fine. I'm wondering if Atahualpa is to blame or if something I haven't considered could be causing the advmgr_ad function to not work. Do I have to echo it?
I've also tried adsensem_ad and <!--adsense-> - but no joy anywhere.
History
Updated by WizOne Solutions 140 days ago
Hi there. Just wondering what additional information I can provide to assist?
I checked with the Atahualpa developers, and it doesn't seem to be related to their theme - at least not obviously.
I think that the code may be run through an eval() though (but even <!--adsense--> isn't working, so not sure...
Could that have an effect anyway?
Thanks.
Updated by Scott Switzer 48 days ago
- Status changed from New to Feedback
Not sure if it was a typo in the subject of this bug - you should put the following PHP code in your theme to get an ad to display:
(where 'name' is the name of the ad.
If you are still having problems, make sure you can see the ad if you add it as a sidebar widget, or in your post (place [ad:name] somewhere in your post, where name is the name of the ad). Sometimes, an ad will not display because you have placed limitations on it (e.g. only show for a particular author), or possibly the ad network (e.g. Adsense) is not displaying an ad with the given code.
Good luck,
Scott
Updated by WizOne Solutions 38 days ago
Thanks for the reply. I've actually moved on from using that theme for now, and I think things will be OK with the new one. But I wanted to let you know so you can close this one out.
Sincerely,
Kevin