Forums

Adding Sidebar with advertisement boxes (10 posts)

  1. whyspr
    Member
    Posted 1 year ago #

    Hello again all. Had to run back to my forum of pro's for a more difficult task. I'm trying to add an additional sidebar to my theme.
    The second sidebar will consist of advertisement ads in four vertical 125x125 boxes.

    The help files i referenced was in reference to simply adding a sidebar and even that wouldn't work on my current theme, or the advertisement measurements i need incorporated in it. So, i decided to ask here.

    I've incorporated all the files the help files said i would need, and added the advertisements.php it didn't speak of. Hope someone can guide me in the right direction, and further hope, i haven't forgotten how to use the pastebin.

    http://pastebin.com/0XffDhS9

  2. whyspr
    Member
    Posted 1 year ago #

    Hmm. think i went about this a different way last time. Last time i used pastebin, the "paste" showed up in a grey box in this forum... Can't recall how i did that.

  3. Chip Bennett
    Member
    Posted 1 year ago #

    Unless you're going to wrap up your advertisements inside of Widgets, you don't need to use register_sidebar() here. Just use this, where appropriate:

    <?php get_template_part( 'advertisements' ); ?>
  4. whyspr
    Member
    Posted 1 year ago #

    Actually, thats exactly what i was going to do. Tie it in widgets. That way i can just put the source code into the widget and voila!

    The helpfiles said to do it inside widgets, id need to create another sidebar.php file.

  5. Chip Bennett
    Member
    Posted 1 year ago #

    Do you have an existing dynamic sidebar? If so, are you sure that you need to create a new dynamic sidebar?

    That is: are you creating a new column or content area in your layout, to hold these advertisements, or do you want them to display somewhere in your existing layout?

  6. whyspr
    Member
    Posted 1 year ago #

    I have an existing dynamic sidebar. At least i assume it is a dynamic one. Whenever i click on the widgets in sidebar1 i have dynamic widget options, but this could be because of my dynamics widgets plugin (im not sure if thats the same as a dynamic sidebar). This is ALL new to me. I don't even understand functions and such. I know nothing of theme design, i'm attempting to learn basics now. Thus, my newbie question :( . Is there a way to tell if my sidebar is dynamic as well?

  7. whyspr
    Member
    Posted 1 year ago #

    The theme im using, has "ad" boxes on it, but i can't seem to find a way to "edit" them, or move widgets to them, or anything. I can't seem to interact with that column at all.

    You can see the theme here:
    http://www.free-electronics-giveaways.com

  8. Chip Bennett
    Member
    Posted 1 year ago #

    First, what Theme are you using? That will help me give more specific advice.

    Second, your sidebar is dynamic if you can add content to it via Dashboard -> Appearance -> Widgets

  9. whyspr
    Member
    Posted 1 year ago #

    Golden palace theme:
    http://freewordpressthemeblog.info/2008/09/30/golden-palace-theme/

    and

    http://topwpthemes.com/golden-palace/

    The description says the ad boxes are ready to use, but i can't figure out how.

  10. lamuSudip
    Member
    Posted 7 months ago #

    Hello Chip Bennett
    I used NewsPlus themes.
    I have problem.
    how to use advertise in website as dynamically of our sidebar.
    I just find only one adevertise in themes and used in left sidebar.
    Please check it out this my site.
    http://www.raftarweekly.com.np
    I want to add advertise in my right sidebar as similarly in left side bar.

Topic Closed

This topic has been closed to new replies.

About this Topic