WordPress.org

Ready to get started?Download WordPress

Forums

How to add two add sense image(300x250) in a page (10 posts)

  1. smdrafiqq
    Member
    Posted 2 years ago #

    Dear All,

    I am new to wordpress, Please can anyone tell me this how to add two image block(300x250) for addsense in the wordpress page(single.php)...

    Thanks in Advance.

  2. alchymyth
    The Sweeper & Moderator
    Posted 2 years ago #

    where exactly?

    - top?
    - bottom?
    - center?
    - one at the top, one at the bottom?

    can you post a link to your site and describe in detail where you wnat the ads to show?

  3. smdrafiqq
    Member
    Posted 2 years ago #

    @alchymyth - Thanks for ur quick response.. thank u so much..

    Will give you the link now for better understanding.. one min

  4. smdrafiqq
    Member
    Posted 2 years ago #

    plz go to this link - http://www.gosokoni.com/single_revised.png

    The client requirement is

    - 2 mpu ad placements have been added to the left column below the blog post (directly above the comments section)

    What I did is I put div holder for this two image. Now I directly put <img src=""> tag inside this two div. So It is static now.. I donn't how to make it dynamic. i.e I want to add image into this div from the wordpress admin pannel.

    Live link: http://www.gosokoni.com/blog/texas-man-charged-with-filming-coeds-in-showers/

  5. alchymyth
    The Sweeper & Moderator
    Posted 2 years ago #

    the live link is useless as it requires login.

    can you paste the full code of single.php, as it is now, into a http://pastebin.com/ and post the link to it here?

    do you need the two images (with links ?) to be different per post, or generally to be set from the admin panel for the site?

    did you had a look at http://codex.wordpress.org/Custom_Fields ?

  6. smdrafiqq
    Member
    Posted 2 years ago #

    User name: development
    password: stability_123

  7. smdrafiqq
    Member
    Posted 2 years ago #

    Hi alchymyth!

    I have pasted my single.php file in pastebin.com like as u said.

    Here is the link. (NOte: Line 118)
    http://pastebin.com/Ta9g2937

    I mentioned my working part like this, Hope this will useful for u to find the line easily.

    <!-- Hi alchymyth my work starts from here -->
    <!-- Under contsruction area starts from here -->
    .... my code ....

    <!-- Under contsruction area ends here -->

    <!-- My work starts from here -->

  8. alchymyth
    The Sweeper & Moderator
    Posted 2 years ago #

    where are these ad images supposed to come from?

    do you need the two images (with links ?) to be different per post?

    or are they generally the same (set from the admin panel) for all single posts?

    did you search the available plugins for 'advertising manager' or similar?

  9. smdrafiqq
    Member
    Posted 2 years ago #

    @alchymyth -

    Sorry to say this :(..

    Will discuss with my TL regarding the exact requirement of the client.

    After that I will discuss with you. Give some time.

    Sir will see u soon with the exact requirement.

    Thank u sir for spending your valuable time with me.

  10. smdrafiqq
    Member
    Posted 2 years ago #

    @alchymyth -

    Sir, I would like to show some page images and I like to discuss with u with those pages...

    Sir, Shall I give that link?

Topic Closed

This topic has been closed to new replies.

About this Topic