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 How to Make a Website with WordPress WordPress Widgets and Custom Menus How to Create Widgetized Areas in WordPress

comments in php file and css not working


I made the same as the video show and still got two problems:

  1. the text not aligned center although my css is the same and I upload it through ftf and so...any idea?

allready look into other questions

  1. for my own use I put "code comments" inside functions,php and header.php altough I use the comments rules (https://codex.wordpress.org/Commenting_Code) when I get into my wordpress site I see the comeents appear as text in my header is there any speical rules for comments inside php with wordpress ?? any idea?


1 Answer

Are you sure you wrote your comments inside a php block and not outside of it? Just an idea.