Adding center widget footer space... (2 posts)

  1. colormehuman
    Posted 3 years ago #

    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?

  2. Michael
    Forum Moderator
    Posted 3 years ago #

    what is the exact error message, and what is the full code of the file it refers to?

    (please use the pastebin if the code is longer - http://codex.wordpress.org/Forum_Welcome#Posting_Code )

Topic Closed

This topic has been closed to new replies.

About this Topic