Wordpress Issues

Discussion in 'HTML & Website Design' started by Wrongfully Convicted, Mar 14, 2009.

  1. #1
    I want to place ads directly on the page instead of the sidebar of my wordpress blog. How can I do that?
     
    Wrongfully Convicted, Mar 14, 2009 IP
  2. triangulum

    triangulum Banned

    Messages:
    33
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    0
    #2
    you need edit sidebar.php
     
    triangulum, Mar 14, 2009 IP
  3. Wrongfully Convicted

    Wrongfully Convicted Peon

    Messages:
    436
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    0
    #3
    I appreciate your response but that is not telling me much (I am very new to this). Are you saying that I need to go into sidebar.php and place the ad code which will result in the ad being displayed directly on the particular page? Why the sidebar? Wont this result in my ad being in the sidebar instead of on the page?
     
    Wrongfully Convicted, Mar 14, 2009 IP
  4. oreganobankai

    oreganobankai Banned

    Messages:
    113
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    0
    #4
    do you mean you want to place a tower ads instead of your sidebar?

    just open your sidebar.php

    and add your ads
     
    oreganobankai, Mar 14, 2009 IP
  5. Big0ne

    Big0ne Well-Known Member

    Messages:
    2,615
    Likes Received:
    81
    Best Answers:
    0
    Trophy Points:
    165
    #5
    If you want to place ads in content, appearing on main page then you would need to edit index.php located in your theme folder. If you would like to insert ads in single post page then you would to edit single.php.

    Same for sidebar.

    Now it's up to you where you would like ads to appear.
     
    Big0ne, Mar 14, 2009 IP
  6. dwayne12

    dwayne12 Well-Known Member

    Messages:
    184
    Likes Received:
    5
    Best Answers:
    0
    Trophy Points:
    110
    #6
    There is an easier way to add advertisements to your Wordpress blog sidebar without editing any files.

    On the Navigation menu on the left click 'Appearance' then 'Widgets'. After that's loaded simply add a new 'Text Widget' to your sidebar and edit it's content. The content can be html/javascript, etc. So if it's Adsense, simply add your code in and then save. Simple.
     
    dwayne12, Mar 14, 2009 IP
  7. Wrongfully Convicted

    Wrongfully Convicted Peon

    Messages:
    436
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    0
    #7
    appreciate the info. Big One you hit it right on the head.
     
    Wrongfully Convicted, Mar 14, 2009 IP