Forums

[resolved] How do you know if your theme is Widget ready? (4 posts)

  1. webDressing
    Member
    Posted 5 years ago #

    How do you know if your theme is Widget ready? According to the wordPress site it said that you need some code added to your functions.php file. We checked and that code is already there. However it also said that there is supposed to be a section in the admin control panel (Presentation > Sidebar Widgets) that controls the widgets, and that is what we cannot find :(

  2. cynthea
    Member
    Posted 5 years ago #

    Have you installed the Widgets Plugin?

    http://automattic.com/code/widgets/

    Once that is installed, you'll see the sidebar widgets option in the admin control panel.

    At least that's how it worked for me. Hope that helps.

  3. vkaryl
    Member
    Posted 5 years ago #

    Well, you have to download the widgets plugin from http://automattic.com/code/widgets and install it. Then you have to make sure you have a 2.1.2 (or whichever version you're using) functions.php file. Then you have to make sure this code is in your sidebar.php file:

    <?php if ( function_exists('dynamic_sidebar') && dynamic_sidebar('Right') ) : else : ?>

    buncha code/sidebar stuff here

    <?php endif; ?>

    [Note that that code is specific to the 2.0+ branch, I have NO idea if it's the same in 2.1+....]

  4. webDressing
    Member
    Posted 5 years ago #

    THANK YOU Cynthea and Vkaryl. Appreciate the help :)

    Whoo-hoo! I finally get to select [resolved] for one of my threads :p

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.