Tagged: Catchbox Pro Header Image rotate
- This topic has 7 replies, 2 voices, and was last updated 6 years ago by Skandha. 
- 
		AuthorPosts
- 
		
			
				
October 10, 2019 at 2:39 pm #185565Ralf Dangel ParticipantHello, can i implement an Image Rotation instead of an static Image for the Header Image? 
 It belongs to Theme Catchbox ProThanks a lot! October 11, 2019 at 4:33 am #185586Skandha Participant@rdangel07: Hello there, 
 Can you please post in your site URL and elaborate the issue you are having?Kind Regards, 
 SkandhaOctober 11, 2019 at 1:42 pm #185621Ralf Dangel ParticipantHello Skandha, thanks! Here the Link: 
 http://web55680.greatnet-hosting.de/is it possible to rotate the Pictures in the Header (over the blue menue bar) instead of an static Image? 
 Thanks!Regards 
 RalfOctober 14, 2019 at 2:19 am #185804Skandha Participant@rdangel07: Hello Ralf, 
 For that you can use the Featured Slider Option.
 Go to => Appearance => Customize => Featured SliderLet me know if this helps you out! 
 Kind Regards,
 SkandhaOctober 15, 2019 at 1:54 pm #185908Ralf Dangel ParticipantHello Skandha, Thanks a lot! 
 in that area (slider options) i can enable slider forHomepage 
 Entire Site
 DisableBut not for the Header Image. Maybe i’m in the wrong menue? 
 Thanks!Regards Ralf October 16, 2019 at 7:10 am #185953Skandha Participant@rdangel07: Hello Ralf, 
 To have the slider in the Header Image position you will need to create a child theme and do a little bit of customization. Let me know if you are familiar with child theme customization otherwise I suggest you to hire a customizer.Kind Regards, 
 SkandhaOctober 20, 2019 at 5:33 am #186597Ralf Dangel ParticipantHi Skandha, i have no experience with child themes… so far 🙂 
 But Maybe i can learn it? I have experince with HTML, CSS, and also a Little PHP!
 Is there documentation about child themes available?Thanks! Best regards Ralf October 20, 2019 at 6:35 am #186613Skandha Participant@rdangel07: Hello Ralf, 
 Firstly you will need to create a child theme. You can use our Generate Child Theme plugin to create a child theme. Install and Activate the plugin.
 Now,
 Go to => Dashboard => Generate Child Theme => Select Parent Theme as Catch Box Pro, fill the remaining fields and Click Generate. This will create and activate the child theme.Now Go to => Child Theme Folder => functions.php and add the following Code. function catchbox_slider_display() { global $wp_query; $options = catchbox_get_options(); $enableslider = $options['enable_slider']; $sliderselect = $options['select_slider_type']; $sliderlayout = $options['select_slider_layout']; // Front page displays in Reading Settings $page_for_posts = get_option('page_for_posts'); // Get Page ID outside Loop $page_id = $wp_query->get_queried_object_id(); if ( ( 'enable-slider-allpage' == $enableslider ) || ( ( is_front_page() || ( is_home() && $page_id != $page_for_posts ) ) && 'enable-slider-homepage' == $enableslider ) ) : // Select Slider if ( $sliderselect =='image-slider' && $sliderlayout =='fullwidth' && function_exists( 'catchbox_imagesliders' ) ) { add_action( 'catchbox_before_headercontent', 'catchbox_imagesliders', 10 ); } elseif ( $sliderselect =='post-slider' && $sliderlayout =='fullwidth' && function_exists( 'catchbox_sliders' ) ) { add_action( 'catchbox_before_headercontent', 'catchbox_sliders', 10 ); } elseif ( $sliderselect =='page-slider' && $sliderlayout =='fullwidth' && function_exists( 'catchbox_page_sliders' ) ) { add_action( 'catchbox_before_headercontent', 'catchbox_page_sliders', 10 ); } elseif ( $sliderselect =='category-slider' && $sliderlayout =='fullwidth' && function_exists( 'catchbox_category_sliders' ) ) { add_action( 'catchbox_before_headercontent', 'catchbox_category_sliders', 10 ); } elseif ( $sliderselect =='image-slider' && function_exists( 'catchbox_imagesliders' ) ) { add_action( 'catchbox_before_headercontent', 'catchbox_imagesliders', 10 ); } elseif ( 'post-slider' == $sliderselect && function_exists( 'catchbox_sliders' ) ) { add_action( 'catchbox_before_headercontent', 'catchbox_sliders', 10 ); } elseif ( $sliderselect =='page-slider' && function_exists( 'catchbox_page_sliders' ) ) { add_action( 'catchbox_before_headercontent', 'catchbox_page_sliders', 10 ); } elseif ( 'category-slider' == $sliderselect && function_exists( 'catchbox_category_sliders' ) ) { add_action( 'catchbox_before_headercontent', 'catchbox_category_sliders', 10 ); } endif; }When you enable the slider now, it should show up where the Header Image shows up. 
 Let me know if this works out!
 Kind Regards,
 Skandha
- 
		AuthorPosts
- The topic ‘Header Image – Image rotation Catchbox pro’ is closed to new replies.
