Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Issues creating a new page template #17

Open
EllieMaffio93 opened this issue Nov 17, 2020 · 1 comment
Open

Issues creating a new page template #17

EllieMaffio93 opened this issue Nov 17, 2020 · 1 comment

Comments

@EllieMaffio93
Copy link

Hi!
I started working with your theme a few days ago. I read the documentation, but it seems I can't make WP recognize my homepage template.
I created _homepage.php into the parts folder, but Ignition doesn't seem to notice it. When I go into the new page's backend and try to select my template in the "page attributes" section, I don't find it there. All I can see is Default, Sidebar Left and Sidebar Right.
Same thing happens for mi sccs file which I named _homepage.scss (in parts folder). It's like Ignition doesn't see it.

I really appreciate your help in solving this issue, I'm sure there must be something stupid I'm missing!

Many thanks,

Eleonora

@saltnpixels
Copy link
Owner

Underscored php files are just auto included into functions.php

To create a page template you need to make a regular php file, no underscores, with the Template name attributes. See the sidebar left or right files for examples on how that works.

Read up on WordPress on how to make page templates.
https://developer.wordpress.org/themes/template-files-section/page-template-files/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants