• Skip to main content
  • Skip to forum navigation

StudioPress

  • Shop for Themes
  • My StudioPress

Forum navigation

  • Home
  • General Genesis Discussions
  • StudioPress Themes
  • Genesis Blocks
    • Genesis Blocks
    • Genesis Custom Blocks
  • Retired Themes
  • FAQs
  • Forum Rules
  • Internationalization and Translations
  • Forum Bugs and Suggestions
  • Forum Log In

Are You Using The WordPress Block Editor?

Genesis now offers plugins that help you build better sites faster with the WordPress block editor (Gutenberg). Try the feature-rich free versions of each plugin for yourself!

Genesis Blocks Genesis Custom Blocks

Template Hierarchy Front-page.php not working

Welcome!

These forums are for general discussion on WordPress and Genesis. Official support for StudioPress themes is offered exclusively at My StudioPress. Responses in this forum are not guaranteed. Please note that this forum will require a new username, separate from the one used for My.StudioPress.

Log In
Register Lost Password

Community Forums › Forums › Archived Forums › General Discussion › Template Hierarchy Front-page.php not working

This topic is: resolved
  • This topic has 5 replies, 3 voices, and was last updated 10 years, 4 months ago by Ren Ventura.
Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • January 23, 2015 at 8:58 pm #138482
    AQthinker
    Member

    I can not get the front-page.php to be selected as the front page file to be used. I have a very simple text file echoing hello world in the file but it will not show.

    Is there some extra information I need to know about how genesis deal with hierarchy.

    File structure looks like this

    Child Theme
    - style.css
    -functions.php
    -front-page.php

    January 24, 2015 at 3:54 am #138498
    Tim Squires
    Member

    Hi,
    Can you post a link to your site, and which theme are you using?
    Cheers,
    Tim


    timsquires.com.au

    January 24, 2015 at 10:50 am #138515
    AQthinker
    Member

    Hey Tim,

    I am using the primary genesis theme. I'm attempting to build a dynamic one page layout which will be named engineered but the template hierarchy is not working. I'm not certain why.

    Its being developed locally, so the is no link for it. But I've literally just installed genesis. Create a folder for the child theme. I've place the css header in the style.css file, I also added the code to start the engines for genesis in the functions.php. That's all I've done so far.

    My next step was to simply create a front-page.php but its not registering. I'm still being directed to sample page.

    January 24, 2015 at 1:39 pm #138534
    Ren Ventura
    Member

    Try activating the Sample child theme and adding the file to that.


    Web & Software Developer & Blogger | RenVentura.com | Follow Me on Twitter @CLE_Ren

    January 24, 2015 at 2:22 pm #138541
    AQthinker
    Member

    Worked perfectly.

    There was a list of things my functions.php was missing.

    Thanks, Ren

    January 24, 2015 at 2:26 pm #138542
    Ren Ventura
    Member

    Awesome. Glad to help.


    Web & Software Developer & Blogger | RenVentura.com | Follow Me on Twitter @CLE_Ren

  • Author
    Posts
Viewing 6 posts - 1 through 6 (of 6 total)
  • The forum ‘General Discussion’ is closed to new topics and replies.

CTA

Ready to get started? Create a site or shop for themes.

Create a site with WP EngineShop for Themes

Footer

StudioPress

© 2025 WPEngine, Inc.

Products
  • Create a Site with WP Engine
  • Shop for Themes
  • Theme Features
  • Get Started
  • Showcase
Company
  • Brand Assets
  • Terms of Service
  • Accptable Usse Policy
  • Privacy Policy
  • Refund Policy
  • Contact Us
Community
  • Find Developers
  • Forums
  • Facebook Group
  • #GenesisWP
  • Showcase
Resources
  • StudioPress Blog
  • Help & Documentation
  • FAQs
  • Code Snippets
  • Affiliates
Connect
  • StudioPress Live
  • StudioPress FM
  • Facebook
  • Twitter
  • Dribbble