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 trialnasser mohammed
13,160 PointsNo thing changes after I added single.php file
Hi Zac. I have a problem Nothing changes after I added the single.php and the posts still depend on home.php file not on single.php file
nasser mohammed
13,160 PointsThank you Andrew. I found the solution for the problem.
2 Answers
Rich Bagley
25,869 PointsHi,
This sounds as though you could be viewing the post listing page or have the home page set to display posts rather than a page. You can change the home page to view an individual page in the Settings.
wphierarchy.com is a great site to check which page should be used.
Hope that helps :)
-Rich
nasser mohammed
13,160 PointsThank you Rich. No thing was appear because I was viewing all posts once. When I entered the single post I saw the changes
Rich Bagley
25,869 PointsNo problem. Glad you got it sorted :)
-Rich
Andrew McCormick
17,730 PointsAndrew McCormick
17,730 Pointsis this the chosen home page for the site or your index of blog posts?