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 From Bootstrap to WordPress Create Bootstrap Styled Theme Templates Creating a Full Width Static Page Template

Mark Lovett
Mark Lovett
15,853 Points

Page Template Drop Down menu is not displaying?

I found my problem. I had mistakenly placed the style.css into the css directory and had the enque path in functions.php reflecting the same. I moved my style.css file and corrected the path in functions.php

I have double checked my code and cant find the problem.

The top of my page-full-width.php file :

<?php /* Template Name: Full Width Template */

?>

I save, refresh WordPress dash, open page-full-width page in wp backend, and no drop down template area appears anywhere?

3 Answers

Tim Knight
Tim Knight
28,888 Points

Mark, I think I've discovered what you might have done here. If you renamed your index.php file to become page.php and currently don't have an index.php file this dropdown won't appear. Grab the index.php file from the project files and see if that works for you.

Mark Lovett
Mark Lovett
15,853 Points

Thanks Tim. If you look at my post you'll see the solution that I found yesterday. Is yours working now?

Tim Knight
Tim Knight
28,888 Points

Sorry Mark, I didn't see the rest of your threat attached to the message, I'll look for that. Yes, adding the index.php was what resolved my issue.