WordPress.org

Ready to get started?Download WordPress

Forums

Customizing right sidebar (13 posts)

  1. jboontje
    Member
    Posted 3 years ago #

    I started off writing my situation down in code, but I decided to keep it simple.

    Is there a way to customize (adding widgets to) the right sidebar?
    I can see the Category/Archives/Meta in the Sidebar.php file and I can add my own widgets in there by using code, which works as long as the widget is present in the customizable footer area. This means a widget wont work on it's own in the right sidebar, you need to use the widget in the footer to make it show in the right sidebar.

    That's the thing, I want to be able to add widgets to the right without being forced to use the footer. Is there a way to do this?

  2. Jonas Grumby
    Member
    Posted 3 years ago #

    Is the right sidebar widget-ready? It would have to be registered in the functions.php of your theme.

  3. jboontje
    Member
    Posted 3 years ago #

    I dont think it is, the only widget ready area is the footer area (I can drag and drop widgets to this area).

    I have placed the code of the fucntions.php file in here:

    http://shorttext.com/vuynin9hhsv

  4. erinelizbeck
    Member
    Posted 3 years ago #

    I would like to do the same.

    sidebar.php include this friendly note:

    '<?php /* Widgetized sidebar, if you have the plugin installed. */
    if ( ! dynamic_sidebar( 'sidebar-widget-area' ) ) : ?>'

    But I'm not sure which "plugin" to "install" or how.

  5. jboontje
    Member
    Posted 3 years ago #

    I spotted this note too. In the end I was actually looking for a plugin called ┬┤widgetized sidebar┬┤, which doesnt exist... this plugin remains a mystery.

  6. Chip Bennett
    Theme Review Admin
    Posted 3 years ago #

    Widgetized sidebars haven't required a Plugin for several major versions of WordPress.

    What Theme are you using?

  7. jboontje
    Member
    Posted 3 years ago #

    The theme is called Beauty Dots:
    http://wordpress.org/extend/themes/beauty-dots

  8. Chip Bennett
    Theme Review Admin
    Posted 3 years ago #

    I see the problem.

    In sidebar.php:

    if ( ! dynamic_sidebar( 'sidebar-widget-area' ) ) :

    But the Theme doesn't register this dynamic sidebar in functions.php; rather, it only registers the footer widget area:

    register_sidebar( array(
    	'name' => __( 'Footer Widget Area' ),
    	'id' => 'footer-widget-area',
    	'description' => __( 'The footer widget area' ),
    	'before_widget' => '',
    	'after_widget' => '',
    	'before_title' => '',
    	'after_title' => '',
    ) );

    This is a bug. I would contact the developer, and request that he fix it.

  9. zfly9
    Member
    Posted 3 years ago #

    Has anyone figured this out yet?

  10. Chip Bennett
    Theme Review Admin
    Posted 3 years ago #

    Has anyone figured this out yet?

    Ummmm........

  11. zfly9
    Member
    Posted 3 years ago #

    Yes? I has anyone contact the developer for the fix?

  12. erinelizbeck
    Member
    Posted 3 years ago #

    Negative. Would be a great feature, but I needed it immediately.

  13. Soptep
    Member
    Posted 3 years ago #

    The quick fix is to add the needed code. Locate the file functions.php and search for the register_sidebar, which is registering the widget for the footer area. Now underneath of this function just add:

    register_sidebar( array(
    		'name' => __( 'Right Widget Area' ),
    		'id' => 'sidebar-widget-area',
    		'description' => __( 'The right widget area' ),
    		'before_widget' => '',
    		'after_widget' => '',
    		'before_title' => '',
    		'after_title' => '',
    	) );

    For more info: http://www.rufunka.com/blog/2011/04/18/add-right-side-widget-to-beauty-dots-theme-for-wordpress/

Topic Closed

This topic has been closed to new replies.

About this Topic