WordPress.org

Ready to get started?Download WordPress

Forums

Help Wigetizing Theme (3 posts)

  1. rickmorrison
    Member
    Posted 6 years ago #

    If anyone has done this or knows how, I'd like to enable widgets in the sidebar, which is actually in the footer, of the Ambiru 1.0 theme. Any help would be great.

  2. sasch9r
    Member
    Posted 6 years ago #

    Just create a file named "functions.php", place it into your theme folder and put the following code into it

    <?php
    if ( function_exists('register_sidebar') )
        register_sidebar();
    ?>

    And this into your sidebar.php. Example:

    <ul id="sidebar">
    	<?php if ( !function_exists('dynamic_sidebar')
            || !dynamic_sidebar() ) : ?>
    
    	<li...
  3. Samuel Wood (Otto)
    Tech Ninja
    Posted 6 years ago #

    A link to the theme would be helpful.

    Failing that, the best we can do is point you to here:
    http://automattic.com/code/widgets/themes/

    That has full instructions on how to do it.

Topic Closed

This topic has been closed to new replies.

About this Topic