jquintana83
Forum Replies Created
-
Forum: Themes and Templates
In reply to: CSS Renders Differently in Safari/FireFox 3The problem was that MS Expression Web was saving my files in UTF-8 encoding instead of ANSII.
Problem fixed.
Forum: Themes and Templates
In reply to: CSS Renders Differently in Safari/FireFox 3I 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.
Forum: Themes and Templates
In reply to: CSS Renders Differently in Safari/FireFox 3…anyone?
Forum: Fixing WordPress
In reply to: Error When Changing functions.phpI 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!
Forum: Fixing WordPress
In reply to: Custom sidebar per pageAny help is greatly appreciated on this topic.
Forum: Fixing WordPress
In reply to: Custom sidebar per page…anyone?
Forum: Fixing WordPress
In reply to: Custom sidebar per pageAre 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?
Forum: Fixing WordPress
In reply to: Cannot Modify Header Information — New SidebarThanks, 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’.