[wp-trac] Re: [WordPress Trac] #4258: Widgets don't show up with new integrated widgets.php

WordPress Trac wp-trac at lists.automattic.com
Sun May 13 18:29:36 GMT 2007


#4258: Widgets don't show up with new integrated widgets.php
--------------------------------------+-------------------------------------
 Reporter:  kretzschmar               |        Owner:  anonymous
     Type:  defect                    |       Status:  new      
 Priority:  high                      |    Milestone:           
Component:  General                   |      Version:  2.2      
 Severity:  normal                    |   Resolution:           
 Keywords:  widgets, dynamic_sidebar  |  
--------------------------------------+-------------------------------------
Comment (by technosailor):

 Ok, that formatting is screwed. Lets try again:

 {{{
 if ( function_exists('register_sidebar') )

     register_sidebar(array(

         'before_widget' => '<div id="%1$s" class="widget wide %2$s">',
 'after_widget' => '</div>', 'before_title' => '<h2 class="title">',
 'after_title' => '</h2>',

             'name' => 'Full width - top'

     ) );
 }}}

 and

 {{{
 <?php if ( !function_exists('dynamic_sidebar')
  !dynamic_sidebar('Full width - top') ) : ?>
 }}}

-- 
Ticket URL: <http://trac.wordpress.org/ticket/4258#comment:3>
WordPress Trac <http://trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list