Enjoy unlimited access to all forum features for FREE! Optional upgrade available for extra perks.

Wordpress question ad placement like this?

  • Thread starter Deleted member 78222
  • Start date
Status
Not open for further replies.
Dynadot - Expired Domain Auctions

Electric Star

Level 2
Legacy Platinum Member
Joined
Apr 21, 2009
Messages
32
Reaction score
10
You mean the ones on the right edge?

Three column template.
 
D

Deleted member 78222

Guest
No the ads that appear directly below the image on the left
Any ideas?
 

NamePrime

nameprime.com
Legacy Platinum Member
Joined
Feb 15, 2010
Messages
839
Reaction score
18
Is this image [with ad below it] going to appear inside a post?

If yes, I think the easiest way is to manually put your Ad Code inside each post. In that way, you can always arrange it the way you want.
 

NamePrime

nameprime.com
Legacy Platinum Member
Joined
Feb 15, 2010
Messages
839
Reaction score
18
The thing is, you can't easily do this by just editing the theme [as far as I know] because WP displays the post content as a whole:

<?php the_content(); ?>

and you can't insert anything on that.

Your other options are:

* Find-and-replace - find your image code inside the_content() and replace it with image_code+ad_code [using preg_match maybe]
* Create a plugin

Hope that helps.
 
D

Deleted member 78222

Guest
Thanks for your help, I will have a hack at it and see how I get on.
Appreciate your help.
 
D

Deleted member 78222

Guest
Thanks man, will give it a try and post the results.
 
Status
Not open for further replies.

Who has viewed this thread (Total: 1) View details

Who has watched this thread (Total: 2) View details

The Rule #1

Do not insult any other member. Be polite and do business. Thank you!

Members Online

Sedo - it.com Premiums

IT.com

Premium Members

MariaBuy

Upcoming events

Our Mods' Businesses

UrlPick.com

*the exceptional businesses of our esteemed moderators

Top Bottom