Static page on frontpage

Home Forums Theme Support Static page on frontpage

  • Question status -
  • Andreas Pahmp

    I want to use a static page on my frontpage. But when I chose it the slider and thumbnail-picture disappear.

    How can I use a static page and stil have the slider and thumbnail-pictures on top?

    Support Staff

    Hi Andreas,

    open page.php and paste this:

    if ( is_front_page() ) :
    	if ( get_option('swt_slider') == 'Display' ) 
    		include( trailingslashit( get_template_directory() ) . 'includes/slide.php' );
    	if ( get_option('swt_gallery') == 'Display' ) 
    		include( trailingslashit( get_template_directory() ) . 'includes/gallery.php');	

    after <?php get_header(); ?>.

    Let us know if you have any problems.

    Best regards,


You must be logged in to reply to this topic.

Viewing 2 posts - 1 through 2 (of 2 total)