May 21, 2014 at 5:17 am
#10483
IcedQuick
Participant
Hi there,
Thanks. So I have added a new template (an exact copy of the original template) and I have added a new widget class:
// Registering Business Page template 2 sidebar
register_sidebar( array(
'name' => __( 'Business Page Section 2', 'interface' ),
'id' => 'interface_business_page_sidebar_2',
'description' => __( 'Shows widgets on Business Page Template. Suitable widget: Theme Horse: Featured Recent Work, Theme Horse: Testimonial, Theme Horse: Services, Theme Horse: PromoBox', 'interface' ),
'before_widget' => '<section id="%1$s" class="widget %2$s">',
'after_widget' => '</section>',
'before_title' => '<h1 class="widget-title">',
'after_title' => '</h1>',
) );
I can add the services widget to this new widget class and choose the new template for my page. However, when I load the page for services – it still replicates the first template and it’s widgets. Should I be changing this somewhere else to hook the duplicate template to the new widget class?
Thanks,
Byron