Wordpress Themes - WP Forum at BFA
There will be no more development for Atahualpa (or any other theme), and no support. Also no new registrations. I turned off the donation system. I may turn the forum to read only if it gets abused for spam. Unfortunately I have no time for the forum or the themes. Thanks a lot to the people who helped in all these years, especially Larry and of course: Paul. Take care and stay healthy -- Flynn, Atahualpa developer, Sep 2021

Wordpress Themes - WP Forum at BFA » WordPress Themes » Atahualpa 3 Wordpress theme » Plugins & Atahualpa »

adsense plugins dont seem to work


  #1  
Old May 6, 2009, 03:52 AM
ronald73
 
3 posts · May 2009
Smile adsense plugins dont seem to work

I've installed and tried a few of the wp adsense plugins to have them automatically insert an adsense-ad at the bottom of each post. When I activate them, they work on the pages, but not in posts. I've tried them on other sites and themes and there they do work, so I guess it must have something to do with Atahualpa.

Can anyone explain how I can get those plugins to work with atahualpa and posts?

Last edited by juggledad; Oct 26, 2009 at 08:35 AM.
  #2  
Old May 7, 2009, 12:42 AM
Flynn's Avatar
Flynn
 
3,768 posts · Oct 2008
Munich, Germany
Use the newest theme version, and let me know which plugin

Also here's how to add Adsense to all posts with a function in functions.php instead of a plugin http://forum.bytesforall.com/showthread.php?t=431
  #3  
Old Sep 23, 2009, 05:30 PM
wizonesolutions
 
4 posts · Sep 2009
California, United States of America
Hi Flynn,

I figured I might as well add to this thread since I'm having the same issue - though just partially.

I'm using Advertising Manager, the successor to AdSense Manager. Here's the ticket I filed: http://code.openx.org/issues/show/46

It includes the Atahualpa-relevant stuff too, and I'm using the latest version (3.4.1). Also note that this plugin provides widgets, and I am able to successfully use one of those in my left-hand column.

My blog address is http://www.wizonesolutions.com/blang.

I know that your time is tight, so if you could just advise me on where I should check (I can even get down and run it through Xdebug if I know roughly where to set the breakpoints) that would be great.

Thanks,
Kevin
  #4  
Old Sep 30, 2009, 11:33 AM
wizonesolutions
 
4 posts · Sep 2009
California, United States of America
I have additional information on this.

My code actually does work on single page posts if I click through, but on the posts page, it won't show. Is THE LOOP restricted automatically to single-page posts? Talking about the ATO of course.

I have this in "Style and edit CENTER COLUMN" -> The LOOP:

<?php /* Post Container starts here */
if ( function_exists('post_class') ) { ?>
<div <?php if ( is_page() ) { post_class('post'); } else { post_class("$odd_or_even"); } ?> id="post-<?php the_ID(); ?>">
<?php } else { ?>
<div class="<?php echo ( is_page() ? 'page ' : '' ) . $odd_or_even . ' post" id="post-'; the_ID(); ?>">
<?php } ?>

<?php bfa_post_kicker('<div class="post-kicker">','</div>'); ?>

<?php bfa_post_headline('<div class="post-headline">','</div>'); ?>

<?php bfa_post_byline('<div class="post-byline">','</div>'); ?>

<?php bfa_post_bodycopy('<div class="post-bodycopy clearfix">','</div>'); ?>

<?php bfa_post_pagination('<p class="post-pagination"><strong>'.__('Pages:','atahualpa').'</strong>','</p>'); ?>

<?php echo advman_ad('header-ads'); ?>

<?php bfa_post_footer('<div class="post-footer">','</div>'); ?>

</div><!-- / Post -->
  #5  
Old Sep 30, 2009, 01:05 PM
juggledad's Avatar
juggledad
 
23,765 posts · Mar 2009
OSX 10.11.5 WP 4.x Atahualpa(all) Safari, Firefox, Chrome
What version of Atahualpa, WP and PHP?
What is the url?
__________________
"Tell me and I forget, teach me and I may remember, involve me and I learn." - Benjamin Franklin
Juggledad | Forum Moderator/Support
  #6  
Old Oct 4, 2009, 09:02 PM
Wimbledon's Avatar
Wimbledon
 
320 posts · Apr 2009
[VA & AZ], USA
Adding Adsense to the bottom of posts can be done in a VERY simple way.

Use the Add Post Footer plugin to add code to the bottom of your posts. You can then put in whatever you want, whether it's Adsense code or any other type of ad. Done.

I have this on several sites with Atahualpa, and it works perfectly.

Bookmarks

Tags
adsense, atahualpa, conflict, plugin

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
Recommended Plugins cjhixon Plugins & Atahualpa 26 Sep 16, 2010 11:17 AM
Limit Plugins ? JBWhite Plugins & Atahualpa 3 Apr 23, 2009 11:09 AM
Need Help: Navigation links dont work jota73 Excerpts, Read more, Pagination 2 Mar 28, 2009 11:24 AM
[SOLVED] Plugins don't work with Atahualpa 3 Wordpress theme irvin Plugins & Atahualpa 3 Feb 23, 2009 02:52 PM
Problems with some plugins bpbaker Plugins & Atahualpa 5 Jan 11, 2009 05:28 PM


All times are GMT -6. The time now is 11:51 PM.


Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.