Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #87270
    husker
    Participant

    Hello.

    I saw a topic where code was provided for another theme as mine is Catch Responsive.

    I have child theme and index.php and need steps and code to move the Slider below the Promotion Message.

    Brian

    #87294
    Mahesh
    Participant

    @husker: In your child theme’s functions.php add the following codes:

    add_action( 'init', 'catchresponsive_child_slider_below_promotion_headline' );
    function catchresponsive_child_slider_below_promotion_headline(){
    	remove_action( 'catchresponsive_before_content', 'catchresponsive_featured_slider', 10 );
    	remove_action( 'catchresponsive_before_content', 'catchresponsive_promotion_headline', 30 );
    	add_action( 'catchresponsive_before_content', 'catchresponsive_promotion_headline', 10 );
    	add_action( 'catchresponsive_before_content', 'catchresponsive_featured_slider', 30 );
    }

    Regards,
    Mahesh

Viewing 2 posts - 1 through 2 (of 2 total)
  • The topic ‘Move Slider below Promotion Message’ is closed to new replies.