WordPress.org

Ready to get started?Download WordPress

Forums

How to build a special frontpage? (2 posts)

  1. DennisMadsen
    Member
    Posted 3 years ago #

    I'm developing couple of WP sites, where the frontpage is a page with link boxes pointing to each of the static pages (about, references, contact etc.) - and nothing else. The way I'm doing it, is that I have a template called template-frontpage.php. A static page called frontpage is using this template. The template is developed to show all post from a category called frontpage too. This gives me what I want, but I don't know if this is best practice?

  2. esmi
    Forum Moderator
    Posted 3 years ago #

    If you called your custom template front-page.php, it would be automatically picked up by your site's front page.

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.