WordPress.org

Support

Support » Themes and Templates » Displaying Featured Content Only On Homepage?

Displaying Featured Content Only On Homepage?

  • 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

Viewing 1 replies (of 1 total)
  • 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?

    John

Viewing 1 replies (of 1 total)
  • The topic ‘Displaying Featured Content Only On Homepage?’ is closed to new replies.
Skip to toolbar