WordPress.org

Support

Support » Themes and Templates » Adding center widget footer space…

Adding center widget footer space…

  • I am trying to make a place to put a widget in the center on the footer. My code here seems to be correct but I get another error on a dfferent line.

    register_sidebar( array (
    		'name' => __( 'Center Footer Widget Area', 'baris' ),
    		'id' => 'center-foot-widget-area',
    		'before_widget' => '<div id="%1s"><div class="widget-wrapper %2s">',
    		'after_widget' => '</div></div>',
    		'before_title' => '<h3 class="widget-title clearfix">',
    		'after_title' => '</h3><div class="clear"></div>',
            ));

    The error is “Fatal error: Call to undefined function add_theme_support()”

    Is there a way to fix this?

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘Adding center widget footer space…’ is closed to new replies.
Skip to toolbar