As of writing this post I am working on version 5 of http://jaredheinrichs.com. There are many features in the new theme I am planning. One goal was to make use of all of WordPress’s features. I wanted to use as little static code where ever possible..
While creating the theme I wanted to display a quick little BIO for myself. Since it is very easy to add a Author BIO in WordPress, I figured I should just use that info for my about section. If you don’t know where that is you can find after logging into your site here:
Click on “Your Profile”
Near the bottom of the page you can inert the Biographical info about yourself.
There are only two things you need to worry about when displaying the WordPress author BIO.
- IF statement – It checks to make sure you actually have an author BIO. *NOTE* – Make sure to us an IF statement. It’s not mandatory if you only have one user. It is if you have more then one. You will get an error if you don’t use the If statement and don’t have the author BIO section filled out.
- Echo out “the author Description”. Please keep in mind when you echo out the WordPress author description you need to wrap the info in some kind of container like a paragraph tag.
Here’s my code I used to contain the author info on my page. It is actually hidden from view in a tab.