Skip to content

Instantly share code, notes, and snippets.

@rexfng
Last active March 15, 2017 05:38
Show Gist options
  • Select an option

  • Save rexfng/d88c0561eeda5317f452ec11126d004e to your computer and use it in GitHub Desktop.

Select an option

Save rexfng/d88c0561eeda5317f452ec11126d004e to your computer and use it in GitHub Desktop.
  1. Create a new template with "template-NAME" in the theme file ;
  2. Add header /* Template Name: Home Template */ within the php tag.
  3. Create a new page in wordpress admin.
  4. Select the template you have created to use it.

**Route template to root **

  • Appearance > Customize > Static Homepage > Choose your template as home
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment