• 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 125×125 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.

    https://pastebin.com/0XffDhS9

Viewing 9 replies - 1 through 9 (of 9 total)
  • Thread Starter whyspr

    (@whyspr)

    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.

    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' ); ?>

    Thread Starter whyspr

    (@whyspr)

    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.

    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?

    Thread Starter whyspr

    (@whyspr)

    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?

    Thread Starter whyspr

    (@whyspr)

    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:
    https://www.free-electronics-giveaways.com

    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

    Thread Starter whyspr

    (@whyspr)

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

    and

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

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

    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.
    https://www.raftarweekly.com.np
    I want to add advertise in my right sidebar as similarly in left side bar.

Viewing 9 replies - 1 through 9 (of 9 total)
  • The topic ‘Adding Sidebar with advertisement boxes’ is closed to new replies.