Displaying Featured Content Only On Homepage? (2 posts)

  1. cdobronyi
    Posted 4 years ago #

    Hi, I am using a template that allows featured articles, however, they display on every page -- I only want them to display on my homepage.

    Can I fix this? My site looks like this: EGCG.ca

  2. SpankMarvin
    Posted 4 years ago #

    Back up your theme first!

    Duplicate the page that has the features, and call it front-page.php. From there, duplicate the loop page if you need to, and call it something like loop-frontpage.php. Change the front-page.php reference to point to this loop.

    In the old loop, delete the references to the featured articles.

    That should do it?


Topic Closed

This topic has been closed to new replies.

About this Topic