Jump to content


Photo
- - - - -

Placing Two Google Ads In Main Blog Page List Under First Post Excerpt


  • Please log in to reply
4 replies to this topic

#1 al3xrodriguez

al3xrodriguez

    Member

  • Members
  • PipPip
  • 24 posts

Posted 28 July 2011 - 11:27 PM

I know basic editing and am wondering if anyone knows where I can put my adsense code to put two medium box ads under in the main blog page under the 1st post. Example Picture Below:

Posted Image

I want the ads in between the 1st and 2nd post under the tags of the 1st post. If anyone can point me to the right file to edit it would be greatly appreciated.

#2 catrina

catrina

    Advocate

  • Members
  • 12345 posts
  • LocationCalifornia
  • Country: Country Flag

Posted 29 July 2011 - 02:39 AM

Can you please post a link to your site?

#3 al3xrodriguez

al3xrodriguez

    Member

  • Members
  • PipPip
  • 24 posts

Posted 29 July 2011 - 05:09 AM

Theiphonespot.net is the link

#4 Kate

Kate

    Advocate

  • Members
  • 3039 posts

Posted 02 August 2011 - 02:37 PM

Basically you would need to modify _posts.php. You would need to insert a PHP check to see if it's the first post. If it is, then insert the code after it. (That's just the logic behind it ; )

#5 al3xrodriguez

al3xrodriguez

    Member

  • Members
  • PipPip
  • 24 posts

Posted 05 August 2011 - 04:49 PM

already got it thanks.