Ready to get started?Download WordPress


Adding script & html widgets to side bar & WordPresses widgets. (3 posts)

  1. theycallmeandrewgmailcom
    Posted 7 years ago #

    I've figured out how to add different script widgets (like mybloglog for examlpe) to sidebar.php (i have two sidebars). However, i cannot seem to get them to show up when I have wordpress widgets active via the widget menu.

    The widget menu seems to over ride them and they don't show. But when I don't have any widgets up (via the widget menu) they show up fine. Because of this I currently have 1 sidebar designated for widgets, and another dedicated for ads and other html/script code.

    I would greatly appreciate some help.

    Website: http://www.theinternetexperiment.com
    sidebar php: http://wordpress.pastebin.ca/617101

  2. theycallmeandrewgmailcom
    Posted 7 years ago #

    I've read some other posts and if I'm understanding right you can only use one or the other? (either plugin widgets through widget menu in wp-admin) or widgets you add in yourself to sidebar.php

    Can someone please confirm if this is right or wrong?

  3. theycallmeandrewgmailcom
    Posted 7 years ago #

    Figured some of it out. I figured out how to place ads before the widgets begin (above them) now i need to figure out how to place them after.

    To place them above I just insert the code right before the follow code begins...

    <?php if ( function_exists('dynamic_sidebar') && dynamic_sidebar(1) ){
    } else{ ?>

Topic Closed

This topic has been closed to new replies.

About this Topic