Support » Theme: Blue Planet » I need a full width page template without photo slider

  • Resolved Amospmr

    (@amospmr)


    I love the Blue Planet theme, however I can’t seem to figure out how to create a new page template for Full Width but with no Photo Slider at all
    can someone explain if there is an easy way to do this?

Viewing 2 replies - 1 through 2 (of 2 total)
  • Theme Author Nilambar Sharma

    (@rabmalin)

    You can create new page template as you normally create in WordPress. Suppost your new template name is full-no-slider.php. Put this file in the root of child theme.
    Now put following code in your child theme’s functions.php.

    function bp_setup(){
      if (is_page_template('full-no-slider.php' )) {
        remove_action('blue_planet_after_content_open','blue_planet_add_main_slider');
      }
    }
    add_action( 'wp', 'bp_setup' );

    This removes the slider content if full-no-slider.php is being currently displayed.

    Theme Author Nilambar Sharma

    (@rabmalin)

    Hope you are able to solve this issue. Closing this thread.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘I need a full width page template without photo slider’ is closed to new replies.