Beginner Help on Code
I am just starting out, and I have been watching youtuber easydevtut's tutorials on Twitter Bootstrapping Wordpress. I am stuck on his video "Twitter Bootstrap your Theme". I get a parse error on my functions.php, and I do not understand why, especially when I am following his directions step by step. Help!
You don't have a closing tag on the script. ?>
I added a closing tag; the parse error still occurs.
Here is an image of the code added with semicolon. Still getting same error though.
The bit of code you provided doesn't give the whole picture, but it seems like there should be commas as I've marked below.
Goodness knows why you've posted a PHP issue under the HTML and CSS section.
Thank yyou. Now there are no errors; however, the code was supposed to output a "hello" button instead of an underlined "hello".
Well your code is an anchor (link) tag, not a button, so there is a link there. However, I suspect what you mean is not a button but rather a link styled as a button. Somewhere you need to put in the CSS styles for the "btn" class.
I suspect you may find the path to that CSS file through the wp_head() function in your PHP.