Support » Theme: fART » Static Front Page Not Working

Viewing 1 replies (of 1 total)
  • Theme Author tishonator

    (@tishonator)

    Hi @dlnsparks,

    First, Thanks for choosing a theme from us 🙂

    Well, that’s the default behaviour of the theme when a static front page is set: in that case only the columns are displayed.

    If you want to change it, in front-page.php, insert the following code:

    <?php if ( have_posts() ) :
    				
    					while ( have_posts() ) :
    					
    						the_post();
    		
    						// includes the single page content templata here
    						get_template_part( 'content', 'page' );
    		
    						// if comments are open or there's at least one comment, load up the comment template.
    						if ( comments_open() || get_comments_number() ) {
    							comments_template();
    						}
    					
    					endwhile; // end of have_posts()
    					
    					wp_link_pages( array(
    									'link_before'      => '<li>',
    									'link_after'       => '</li>',
    								 ) );
    				
    		      else : 
    		  
    					// if no content is loaded, show the 'no found' template
    					get_template_part( 'content', 'none' );
    	 
    			  endif; // end of have_posts()
    			  ?>
    
          </div><!-- #main-content -->
    

    Below or above <?php get_sidebar( ‘home’ ); ?>.

    Thanks,
    Tihomir
    Tishonator Team

Viewing 1 replies (of 1 total)
  • The topic ‘Static Front Page Not Working’ is closed to new replies.