Top

Daily Tip: WordPress 3.2 Introduces a New Conditional Tag for Multi-Author Sites

July 16, 2011

WordPress 3.2 has a new conditional tag that may come in handy for theme developers and users who are customizing multi-author WordPress sites. These are sites where the admin user is not the only one writing posts.

Here’s a new tool for your conditional tag toolbox: is_multi_author()

This template tag makes it easier for themes to have different behavior when a site has more than one author writing posts. is_multi_author() checks to see if more than one author has published posts for the site and returns true or false.

Read more about the the is_multi_author() tag at the WordPress codex and let us know how you’re putting it to good use!

Comments

Got something to say?

Bottom
Article Archive  |  This site is a historical archive of pressography.com, a WordPress plugin and theme blog that published between 2006 and 2012. It is preserved for reference and is not operated by, affiliated with, or endorsed by its original authors. Nothing here is for sale and no form on this site is active. If you are the original owner and would like this domain returned, please get in touch.