badget

Biggest Sale! Special Offer!

Get 30% discount on all of our single themes with this coupon code: #30%SALE

Hurry up! *Limited time offer*

Business Page template sidebar

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #25455
    running_free73
    Participant

    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?

    #25471

    Hi running_free73,

    Yes you are right before_title and after_title tags should not be different but it seems that there is no different code in attitude_widgets file. If it was found in your code then it means someone have edited the code better re-update the theme.

    Thank you!

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.