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 SEO for WordPress Enhancing the SEO of a WordPress Theme Headers Best Practices for SEO in WordPress

Penny Badowska
Penny Badowska
1,757 Points

Code to switch between H1 and P doesn't work

I have tried using the code from twentyfifteen in my website to change the Site Title from H1 on the Home Page to P on other pages, but it remains P on all pages.

Please can you detail exactly how to do this again?

Patrick Koch
Patrick Koch
40,496 Points

I didnt went further in it but I thinks its cause is_front_page() && is_home_page() ), on my site I just used the is_front_page() function because I dont have a homepage, and it worked out fine.

g patrick