Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

WordPress

Gareth Edwards
Gareth Edwards
7,243 Points

WordPress issue. Custom Post Type templates. How to make a website with WordPress.

Hello Everyone,

I've ran into an issue on the video entitled "Custom Post Type Templates". Zac says that on the right hand side of the screen, under the 'Page Attributes' drop down section, there should an additional drop menu entitled 'Template', and that in this section I should select 'Art Page'.

I'm guessing the UI is no longer the same because I do not have the option to do this?

In the help section, I'm told the following:

"Template - Some themes have custom templates you can use for certain pages that might have additional features or custom layouts. If so, you’ll see them in this dropdown menu."

Any help would be great.

Thanks

3 Answers

Zac Gordon
STAFF
Zac Gordon
Treehouse Guest Teacher

Hi,

Did you already go through the steps of making the custom template and adding the special comment to make it available in that drop down?

Gareth Edwards
Gareth Edwards
7,243 Points

Hi Zac, thanks for quick reply.

Yes, I downloaded the project files containing the additional 3 pages - art.php single-art.php and content-art.php.

I then added these folders to my child theme and uploaded them to the server via Cyberduck.

But still no drop-down.

I must have missed something somewhere along the way if the UI hasn't changed.

I'll retrace my steps and see if anything crops up.

Thanks

Gareth Edwards
Gareth Edwards
7,243 Points

Hi Zac,

My mistake, I somehow managed to go back to working on the original theme rather than the child theme.

Thank you for your help.

Gareth.