• In a theme I’m building, I’d like to remove the option to have a static front page, because I want the home page to always use a specific template. Is there a way to remove that from the Customization menu?

Viewing 2 replies - 1 through 2 (of 2 total)
  • It’s not a good idea to disable Core feature just for this.

    Looking at the Template Hierarchy here
    http://codex.ww.wp.xz.cn/Template_Hierarchy

    If you name your template front-page.php it will be used first, when user set a static front. So in this case, you would just have front-page.php and home.php with the exact same thing in it.

    Thread Starter bvucp

    (@bvucp)

    Thanks for the advice. Definitely don’t want to tamper with the core, agreed!

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Disabling static front page option’ is closed to new replies.