Tagged: customization, sidebar
- This topic has 1 reply, 2 voices, and was last updated 9 years, 10 months ago by Mahesh. 
- 
		AuthorPosts
- 
		
			
				
December 22, 2015 at 3:59 am #81498Shannon ParticipantHello, I am using Catch Responsive Pro. 
 I wish for only some pages (about 8) to have a testimonial quote (each one different) showing under a small image on the right side of page. Some pages will not have these.Do I use an Optional Sidebar widget for this purpose? There are only 3 of those. I have tried to set this up using HTML and CSS only, but it falls apart in smaller viewports. Is there a way to make more Optional Sidebar widgets? Thank-you December 22, 2015 at 10:14 am #81505Mahesh ParticipantHi @Shannon, For this purpose, you have to make a child theme. You can find detail on how to make child theme HERE. In child theme’s functions.phpadd the following codes.function catchresponsive_child_widgets_init() { //Custom Sidebar One for page and post register_sidebar( array( 'name' => __( 'Custom Sidebar One', 'catch-responsive' ), 'id' => 'custom-sidebar-one', 'description' => __( 'This is Custom Sidebar One', 'catch-responsive' ), 'before_widget' => '<aside id="%1$s" class="widget %2$s">', 'after_widget' => "</aside>", 'before_title' => '<h3 class="widget-title">', 'after_title' => '</h3>' ) ); register_sidebar( array( 'name' => __( 'Custom Sidebar Two', 'catch-responsive' ), 'id' => 'custom-sidebar-two', 'description' => __( 'This is Custom Sidebar Two', 'catch-responsive' ), 'before_widget' => '<aside id="%1$s" class="widget %2$s">', 'after_widget' => "</aside>", 'before_title' => '<h3 class="widget-title">', 'after_title' => '</h3>' ) ); /* You can add as many widgets as you want to.*/ } add_action( 'widgets_init', 'catchresponsive_child_widgets_init' );Copy the sidebar.phpfrom Catch Responsive Pro to the child theme and add custom conditions after line 110 for displaying desired widget in the desired page.This is a bit tricky job, so I recommend you to hire a customizer. Regards, 
 Mahesh
- 
		AuthorPosts
- The topic ‘Use sidebar for a variety of testimonials?’ is closed to new replies.
