Welcome to the Treehouse Community
Looking to learn something new?
If no dynamic sidebar?
if( !dynamic_sidebar( 'uptop' ) );
What is this line of code saying exactly?
If there is no dynamic sidebar 'uptop' then do what? I've never ever seen a conditional end with a semicolon. I know the brackets are there so PHP will know where the code block begins / ends.
http://codex.wordpress.org/Function_Reference/dynamic_sidebar It says in the documentation that dynamic_sidebar function returns a boolean true / false.
I think I might've figured out some of it. This basically goes to say don't output any widget area if dynamic_sidebar returns false. The semicolor caught me off guard because I've never seen that before but it just terminates the statement.
Am I correct?