Forums

[resolved] Google Ad in Right Side Bar? (10 posts)

  1. BBilal
    Member
    Posted 1 year ago #

    Can anyone please guide me on how to display a Google Ad in Right Sidebar according to our needs (that means manually). To make it more clear check the image below.

    http://d.imagehost.org/0401/hii.jpg

    Any help in this regard would be highly appreciated?

  2. Rev. Voodoo
    Volunteer Moderator
    Posted 1 year ago #

    easiest way is to drop the code into a text widget that you have placed on the sidebar

  3. BBilal
    Member
    Posted 1 year ago #

    as I explained I want to do it manually because I do not want that text box around the ad and text box wont display on the place I want anyway! Anyone else?

  4. alchymyth
    The Sweeper
    Posted 1 year ago #

    in this case, an image does not help.

    could you post the name of your theme (if it is a free theme, with download link)

    or a link to your site ?

    and/or paste the code of the corresponding sidebar template file into a http://wordpress.pastebin.com/ and post the link to it here ?

    general, a dynamic sidebar starts with some code, similar to: if ( !function_exists('dynamic_sidebar') || !dynamic_sidebar(1) ) :

    to have your ad shown before the dynamic area, insert your code before this line of your right sidebar area;
    make sure not to mix/violate the opening and closing php tags.

  5. BBilal
    Member
    Posted 1 year ago #

    http://wordpress.pastebin.com/YCYT9idh

    This is a copy of sidebar.php

  6. alchymyth
    The Sweeper
    Posted 1 year ago #

    virtually impossible to tell, with out the theme, or a link.

    try to add it after:

    ....arency="true"></iframe><!--end #sidebar-->

    basically totally at the end of the file - and try to use css to format the position.

    no guarantee :-(

  7. BBilal
    Member
    Posted 1 year ago #

  8. BBilal
    Member
    Posted 1 year ago #

    Fixed though! http://t-clicks.com/blog

  9. Rev. Voodoo
    Volunteer Moderator
    Posted 1 year ago #

    exactly how does

    I want to do it manually

    translate to "I don't want to use a text widget"?

  10. BBilal
    Member
    Posted 1 year ago #

    It's done now =) thanks for your help!

Topic Closed

This topic has been closed to new replies.

About this Topic