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 » Center area post/pages » Post-Kicker, -Byline & -Footer »

[SOLVED] Adsense ad place


  #1  
Old Nov 19, 2010, 03:24 AM
aclime
 
31 posts · Oct 2010
I wanted to show google adsense ads before headline so I added code in the loop. Everything is fine in single posts BUT in frontpage my ad shows after each post. How to place my ad above post without this issue? Please help, thank you.
  #2  
Old Nov 19, 2010, 04:19 AM
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 and wp?
What is the URL?
Where in the loop did you put the code?

Note: as a personal opinion, I refuse to go back to a site that has an Ad between each post and I thought I read somewhere recently, that google is not rewarding that type of ad placement
__________________
"Tell me and I forget, teach me and I may remember, involve me and I learn." - Benjamin Franklin
Juggledad | Forum Moderator/Support
  #3  
Old Nov 19, 2010, 07:22 AM
aclime
 
31 posts · Oct 2010
Atahualpa 3.5.3 WP Version 3.0.1
For example single post: http://docs.e7.lt/dos-komandos/
Code:
<?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 echo 'my_adsense_code'; ?>
<?php bfa_post_headline('<div class="post-headline">','</div>'); ?>
Yes, I know, that place can be annoying to visitor but my CTR is very low. For example this month my ads was viewed 2 740 and clicked only 13 times. I need to place ads in more important area to catch visitors eye. You can look at my ads at this website: http://docs.5k.lt You see they are in sidebars and in the header but that don't help. What do you suggest?
  #4  
Old Nov 20, 2010, 04:45 AM
aclime
 
31 posts · Oct 2010
I added it in above loop area and it works like I want.

Bookmarks



Similar Threads
Thread Thread Starter Forum Replies Last Post
how to place and where to place a sign up box zizi Header configuration & styling 5 Oct 10, 2010 07:41 PM
Easy Adsense plugin to insert adsense works great with Atahualpa jenb Plugins & Atahualpa 0 Oct 20, 2009 05:27 PM
How to add adsense pilsen1 Header configuration & styling 22 Oct 12, 2009 12:43 PM
Google Adsense outrightent Atahualpa 3 Wordpress theme 2 Sep 14, 2009 12:10 AM
want to place clickable icons in place of links (Home, About, etc.) agrossman Header configuration & styling 2 Aug 13, 2009 02:45 PM


All times are GMT -6. The time now is 08:06 AM.


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