Jared Heinrichs

  • Technology Blog
  • Winnipeg Computer Repair
  • Winnipeg Photographer
  • Cooking With Jared
You are here: Home / Web Applications / Wordpress / How to display Wordpress author bio if it exists

Apr 4, 2011 By Jared Heinrichs Leave a Comment

How to display WordPress author bio if it exists

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”

How to display WordPress author bio if it exists 01

Near the bottom of the page you can inert the Biographical info about yourself.

How to display WordPress author bio if it exists 02

There are only two things you need to worry about when displaying the WordPress author BIO.

  1. 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.
  2. 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.

 

How to display WordPress author bio if it exists 03

Filed Under: Wordpress

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

Categories

  • Board Game Rules
  • Camera
  • Computer Hardware
    • Blackberry
    • drivers
    • iPad
    • Magic Jack
    • USB
  • Damn Small Linux
  • Exam Notes
  • Facebook
  • FREE Flashcards
  • Games
    • PC
      • League of Legends
    • Wii
    • xbox 360
  • Music
  • Networking
    • Cisco Certification
    • Mitel
    • Palo Alto Firewall
  • News
    • Google
    • Microsoft
  • Operating System
    • Active Directory (2003)
    • Android
    • Command Prompt
    • Damn Small Linux
    • Group Policy
    • Hyper-V
    • IIS
    • ISA 2006
    • Mac OS X
    • Microsoft Exchange Server
    • Powershell
    • Security
    • SME Server
    • Terminal Server 2003
    • Ubuntu Linux
      • Adito Web SSL VPN
      • OpenVpn-als
      • Webmin
    • Virtual Machine Manager
    • Windows 2003 SBS
    • Windows 2003 Server
    • Windows 2008
    • Windows 2008 R2
    • Windows 2012R2
    • Windows 7
    • Windows 8
    • Windows Command Line
    • Windows Deployment Services
    • Windows Server Backup
    • Windows Vista
    • Windows XP
  • Phones
  • Photography
  • Photos
    • Animals
    • Misc
    • Nature
    • Portraits
  • Portfolio
  • Programming
    • CSS
    • HTML
    • jQuery
    • MySQL
    • PHP
    • Script
  • Programs
    • Acrobat
    • Acrobat Reader
    • Adobe Dreamweaver
    • Adobe Illustrator
    • Adobe Photoshop
    • Anti-virus Software
    • Antivirus
    • Backup Exec
    • Bittorent
    • Blackberry BESADMIN
    • Internet Explorer 9
    • Lightroom
    • Microsoft Office
    • Netbeans
    • Onenote
    • Outlook
    • Shelby
    • Sysprep
    • Trend
    • Video Editing
    • Visual Studio
    • Windows Live Writer
    • WireShark
    • XP Mode
    • Zarafa
  • Recipe
  • Review
  • Software Links
  • Troubleshooting
  • Uncategorized
  • Videos
  • Web Applications
    • Brage
    • Google
    • Spiceworks
    • Wordpress
  • Web Browsers
    • Internet Explorer
  • Web Server
    • XAMPP
  • Winnipeg
    • ISP

Try searching this site!

Copyright © 2021 Winnipeg Web Design