• iankuek

    (@iankuek)


    Hi, after i set the homepage to be static page (as i add in some shortcode for some functionality), i lost the interesting featured content (3 by default) on the top part, underneath menu.

    is there anyway to get around that? having static page as homepage and keep the 3 featured contents?

Viewing 1 replies (of 1 total)
  • Theme Author Alexander Agnarson

    (@alxmedia)

    Hi,

    Modify /inc/featured.php with a child theme:

    
    <?php if ( is_home() && !is_paged() && ( get_theme_mod('featured-posts-count','3') !='0') || is_page_template( 'page-templates/frontpage.php' ) ): ?>
    

    And change page-templates/frontpage.php to the page template you want it to appear on.

    Alternatively, use and modify the frontpage page template – the slider appears on that template.

Viewing 1 replies (of 1 total)
  • The topic ‘Static homepage with feature post?’ is closed to new replies.