• Resolved brassblogs

    (@brassblogs)


    I’m trying to make the feed show up on the home page, but it completely refuses. I’ve deactivated all other plugins, and switched to a default WP theme (tried twentyfifteen and twentyseventeen) with the same result, so it’s not a conflict with anything in the theme I’m working on.

    Basically, I want the feed to show up in the footer, but only on the home page. So I’m using:

    if( is_front_page() ) {
    echo do_shortcode( '[insta-gallery id="1"]' );
    }

    If I remove the “is_front_page()” bit, it’ll show up on every single page of the site *except* for the home page. So it’s working just fine – just won’t show on the home page – which the only place I *do* want it to show.

    Any idea why this is?

    The page I need help with: [log in to see the link]

Viewing 1 replies (of 1 total)
  • Hello,
    i have not found any problem like this, but for now you can try the below code if it can help you. or if the problem not solved then you can send me the WP admin details via email, so i can check for the problem.

    
    if( is_front_page() || is_home() ) {
    	echo do_shortcode( '[insta-gallery id="1"]' );
    }
    
Viewing 1 replies (of 1 total)
  • The topic ‘Feed doesn’t show on Home Page’ is closed to new replies.