Forum Replies Created

Viewing 8 replies - 1 through 8 (of 8 total)
  • Thread Starter jquintana83

    (@jquintana83)

    The problem was that MS Expression Web was saving my files in UTF-8 encoding instead of ANSII.

    Problem fixed.

    Thread Starter jquintana83

    (@jquintana83)

    I originally meant that it is not rendering right in Safari and Chrome, not FireFox 3.

    It looks fine in IE8/FF3/Opera – looks wrong in Safari and Chrome.

    Thanks.

    Thread Starter jquintana83

    (@jquintana83)

    …anyone?

    Thread Starter jquintana83

    (@jquintana83)

    I am trying to register a sidebar in my functions.php file. All I have done is copy/paste a new line of code after the last sidebar was registered. For example:

    My original code:

    // Setting up our widgetized sidebars
    if ( function_exists('register_sidebar') ) {
    register_sidebar(array('name'=>'Homepage Bottom Left','before_widget' => '<div id="boxleft">','after_widget' => '</div>','before_title' => '<h2>','after_title' => '</h2>',));
    register_sidebar(array('name'=>'Homepage Bottom Middle','before_widget' => '<div id="boxmiddle">','after_widget' => '</div>','before_title' => '<h2>','after_title' => '</h2>',));
    register_sidebar(array('name'=>'Homepage Bottom Right','before_widget' => '<div id="boxright">','after_widget' => '</div>','before_title' => '<h2>','after_title' => '</h2>',));
    register_sidebar(array('name'=>'Post Sidebar','before_widget' => '<li>','after_widget' => '</li>','before_title' => '<h2>','after_title' => '</h2>',));
    register_sidebar(array('name'=>'Page Sidebar','before_widget' => '<li>','after_widget' => '</li>','before_title' => '<h2>','after_title' => '</h2>',));
    register_sidebar(array('name'=>'Tabber Sidebar','before_widget' => '<li>','after_widget' => '</li>','before_title' => '<h2>','after_title' => '</h2>',));
    }

    My modified code:

    // Setting up our widgetized sidebars
    if ( function_exists('register_sidebar') ) {
    register_sidebar(array('name'=>'Homepage Bottom Left','before_widget' => '<div id="boxleft">','after_widget' => '</div>','before_title' => '<h2>','after_title' => '</h2>',));
    register_sidebar(array('name'=>'Homepage Bottom Middle','before_widget' => '<div id="boxmiddle">','after_widget' => '</div>','before_title' => '<h2>','after_title' => '</h2>',));
    register_sidebar(array('name'=>'Homepage Bottom Right','before_widget' => '<div id="boxright">','after_widget' => '</div>','before_title' => '<h2>','after_title' => '</h2>',));
    register_sidebar(array('name'=>'Post Sidebar','before_widget' => '<li>','after_widget' => '</li>','before_title' => '<h2>','after_title' => '</h2>',));
    register_sidebar(array('name'=>'Page Sidebar','before_widget' => '<li>','after_widget' => '</li>','before_title' => '<h2>','after_title' => '</h2>',));
    register_sidebar(array('name'=>'Tabber Sidebar','before_widget' => '<li>','after_widget' => '</li>','before_title' => '<h2>','after_title' => '</h2>',));
    register_sidebar(array('name'=>'Services Sidebar','before_widget' => '<li>','after_widget' => '</li>','before_title' => '<h2>','after_title' => '</h2>',));
    }

    That is the ONLY change I have made to my functions.php file. After uploading to the serverr I get the following error:

    Warning: Cannot modify header information – headers already sent by (output started at /home/jquintan/public_html/mydoman.com/wp-content/themes/iRealEstate/functions.php:1) in /home/jquintan/public_html/mydomain.com/wp-includes/functions.php on line 698

    Warning: Cannot modify header information – headers already sent by (output started at /home/jquintan/public_html/mydomain.com/wp-content/themes/iRealEstate/functions.php:1) in /home/jquintan/public_html/mydomain.com/wp-includes/functions.php on line 699

    If anyone could help out I would greatly appreciate it!

    The ultimate goal is to have diffeent pages use different sidebars.

    Thanks!

    Any help is greatly appreciated on this topic.

    jquintana83

    (@jquintana83)

    …anyone?

    jquintana83

    (@jquintana83)

    Are you guys making any changes to the functions.php file? If not, how are the sidebars showing up in the widget section of your theme?

    Thread Starter jquintana83

    (@jquintana83)

    Thanks, but there are no white spaces in the file. I have double checked. All I did was insert a line of code I copied (from the file itself) and change ‘Page’ to ‘Commercial’.

Viewing 8 replies - 1 through 8 (of 8 total)