The following code is in the “attitude_widgets” file located in the “Library” folder:
// Registering Business Page template sidebar
register_sidebar( array(
'name' => __( 'Business Page Sidebar', 'attitude' ),
'id' => 'attitude_business_page_sidebar',
'description' => __( 'Shows widgets on Business Page Template. Sutiable widget: Theme Horse: Featured widget, Theme Horse: Testimonial, Theme Horse: Services', 'attitude' ),
'before_widget' => '<section id="%1$s" class="widget %2$s">',
'after_widget' => '</section>',
'before_title' => '<h2 class="widget-title">',
'after_title' => '</h1>'
) );
I was just curious as to why the before_title
and after_title
tags are different? Don’t they have to be the same?