01
Apr
2013

How to show Author Biographical Info in Twenty Twelve WordPress theme

Posted in: WordPress Comments Off

twenty-twelve
Twenty Twelve is default WordPress theme as of WordPress 3.5 By default Twenty Twelve theme will display author bio info below single posts pages only if:

  • There are at least 2 authors on your website
  • you have filled your info in your account

But what if you have just one author on your website and you want to display author bio info below every post pages. Hers is how you can do:

Step 1:

Open content.php in any text editor.

Step 2:

Find following code:

<?php if ( is_singular() && get_the_author_meta( 'description' ) && is_multi_author() ) : // If a user has filled out their description and this is a 
multi-author blog, show a bio on their entries. ?>

Step 3:

Change above code to following:

<?php if ( is_singular() && get_the_author_meta( 'description' )  ) : // If a user has filled out their description, show a bio on their entries. ?>

Save content.php Done!!

About the Author

Name: Ravi Shekhar
I love learning and sharing web stuffs.

Share this post

Twitter Facebook Google Buzz Digg StumbleUpon Delicious Technorati
Both comments and pings are currently closed.

Comments are closed.