What’s Changed?
Updated 22/02/12; WP Biographia v2.4.4 is now available on the WordPress plugin repository and on GitHub.
Plugin Overview
WP Biographia is a WordPress plugin to add and display a customizable author biography for individual posts, in RSS feeds, on pages, in archives and on each entry on the landing page.
- Description
- Installation
- Screenshots
- Frequently Asked Questions
- Shortcode Support And Usage
- Download WP Biographia
- What’s Changed?
Description
This plugin allows you to add a customisable biography to posts, to RSS feeds, to pages, to archives and to each post on your blog’s landing page. It integrates out of the box with the information that can be provided in each user’s profile and supports custom post types. Display of the Biography Box can be suppressed on a global or per user basis for posts, pages and custom post types.
Settings and options include:
- Choose when to display a Biography Box; on the front page, in archives, on individual posts, pages, or any other custom post type and in RSS feeds.
- Choose the border style and background color of the Biography Box
- Choose the amount of user profile information displayed in the Biography Box
- Choose the avatar image size
- Choose to display the Biography Box at the top or the bottom of content (universally)
- Choose to suppress the display of the Biography Box for pages, posts and posts/pages on a per user basis
The plugin expands and enhances the Contact Info section of your user profile, adding support for Twitter, Facebook, LinkedIn, Google+, Delicious, Flickr, Picasa, Vimeo, YouTube and Reddit profile links as well as Yahoo! Messenger, AIM, Windows Live Messenger and Jabber/Google Talk instant messaging profiles.
The plugin also has an added filter and shortcode variants ([wp_biographia]) to add further customization. For example, if you use page templates to display custom post types on your blog, you can simply use filter ('wp_biographia_pattern') to decide how you’d like to customize. If you want the Biography Box to appear at the bottom but on archive pages, you want them at the top, then the filter can do that as well, or simply use the shortcode to control where it appears in a post of any post type. For more information on how to use the [wp_biographia] shortcode, see the Shortcode Support And Usage section.
Installation
- You can install WP Biographia automatically from the WordPress admin panel. From the Dashboard, navigate to the Plugins / Add New page and search for WP Biographia and click on the Install Now link.
- Or you can install WP Biographia manually. Download the plugin Zip archive and uncompress it. Copy or upload the
wp-biographiafolder to thewp-content/pluginsfolder on your web server. - Activate the plugin. From the Dashboard, navigate to Plugins and click on the Activate link under the entry for WP Biographia.
- Enhance your WordPress user profile. From the Dashboard, navigate to Users and click on the Edit link under your profile.
- Edit your WordPress user profile. Add your biography to the Biographical Info text box. WP Biographia also adds to the list of Contact Info you can associate with your profile, adding support for Twitter, Facebook, LinkedIn and Google+. Click on the Update Profile link to save your changes.
- Customize and configure what information WP Biographia displays; From the Dashboard, navigate to the Settings / WP Biographia page or click on the Settings link from the Plugins page on the Dashboard.
- You can can control display settings, style settings and content settings for the Biography Box.
- Click on the Save Changes button to preserve your chosen settings and options.
- If you enable the display of the post author’s image, make sure avatar support is turned on; from the Dashboard, navigate to Settings / Discussion and ensure that Show Avatars is enabled.
- Users with the
manage_optionscapability can edit their profile via Users / Your Profile from the Dashboard to suppress the display of the Biography Box on posts and/or on pages and also the profiles of other users via the Users / All Users / Edit from the Dashboard. - Suppression of the display of the Biography Box on posts and/or on pages can also be configured from the Dashboard; navigate to Settings / WP Biographia / Biography Box Display Settings.
Screenshots
- Biography Box Display Settings
- Biography Box Per User Settings
- Biography Box Style Settings
- Biography Box Content Settings
- Biography Box Content Settings, Cont’d
- Sample Biography Box – Text Contact Links
- Sample Biography Box – Icon Contact Links
Biography Box Display Settings
Biography Per User Settings
Biography Box Style Settings
Biography Box Content Settings
Biography Box Content Settings, Cont’d
Sample Biography Box – Text Contact Links
Sample Biography Box – Icon Contact Links
Frequently Asked Questions
How do I get help or support for this plugin?
In order of preference, you can ask a question on the WordPress support forum; this is by far the best way so that other users can follow the conversation. You can ask me a question on Twitter; I’m @vicchi. Or you can drop me an email instead. I can’t promise to answer your question but I do promise to answer and do my best to help.
Is there a web site for this plugin?
Absolutely, it’s the page you’re reading, the WP Biographia home page which always contains the latest information. There’s also the official WordPress plugin repository page and the source for the plugin is on GitHub as well.
I’ve configured WP Biographia to display on post archives but it’s not working; what’s happening here?
Some themes display the Biography Box for post archives, but for other themes the Biography Box never appears. This often turns out to be down to the way in which the theme renders the archive page. If the theme’s archive.php uses the_content() as part of the WordPress Loop then the Biography Box appears as it should, but if the theme uses the_excerpt() as part of the Loop, then either the first 55 characters of the post or the post’s specific excerpt will be displayed. As WP Biographia appends the Biography Box to the end of each post’s content, themes which use the_excerpt() will, sadly, never display as intended when used with WP Biographia. Thankfully, this is less a shortcoming of the plugin or of the theme, it’s simply the way in which WordPress handles post excerpts.
Updated for v2.2 of WP Biographia; this version of the plugin now supports inserting the Biography Box via the_excerpt().
I’ve configured WP Biographia to display the author’s image but it’s not working; what’s happening here?
Author profile pictures, or avatars, are part of the WordPress core but enabling them isn’t done at the level of the user profile, instead it’s part of the way in which comments are configured. If you enable the display of the post author’s image, make sure avatar support is turned on; from the Dashboard, navigate to Settings / Discussion and ensure that Show Avatars is enabled.
I want to upload my author’s images, host them on my web server and not use Gravatars; how do I do this?
WP Biographia uses the get_avatar pluggable function to output the author’s avatar image. Theoretically, any plugin that supports locally hosted avatar images and which overrides the default WordPress implementation of get_avatar should be able to be used. In practice, whether this approach will work for you or not depends on the combination of the theme you’re using and the interactions that the other plugins that you’re using has with the WordPress core and with your theme. The Simple Local Avatars plugin plugs get_avatar and cooperates nicely with WP Biographia, at least in my local testing environment; your mileage may vary.
I’ve configured WP Biographia to show my website/Twitter/Facebook/etc links but I don’t see them in the Biography Box; where do I define these links?
WP Biographia adds a number of social media and web link fields to your WordPress user profile; from the Dashboard, navigate to Users / Your Profile and enter the links you want displayed to the fields in the Contact Info section.
I’ve installed and configured WP Biographia and now I see not one but two differing Biography Boxes; what’s going on?
There’s probably one of two things going on here. Firstly, you’ve already got another plugin that makes a Biography Box installed and active and this plugin, as well as WP Biographia, are doing their job properly. Secondly, the theme you’re using hard codes a Biography Box into the theme templates. Both the TwentyTen and TwentyEleven themes supplied as part of a standard WordPress install do this.
I only want to show the Biography Box for certain users and not for others; can I do this?
As of v2.1, WP Biographia allows you to suppress the Biography Box being displayed on a per user basis. You can suppress for posts only, for pages only or for both posts and pages. There’s two ways of configuring this. If your user has the manage_options capability, you can choose the degree of suppression, if any, from your user profile or for any other user’s profile; from the Dashboard, navigate to Users and check the Suppress From Posts and/or Suppress From Pages checkbox options. You can also configure this easily from the plugin’s Settings And Options; from the Dashboard, navigate to the Settings / WP Biographia page and under Biography Box Per User Settings, add and/or remove the users to fit your model of who should have the Biography Box displayed.
How do I add HTML to the Biographical Info section of a user’s profile?
In previous releases of the plugin, I’ve recommended that you add this code to your theme’s functions.php file:
remove_filter('pre_user_description', 'wp_filter_kses');
But as WebEndev helpfully pointed out on the WordPress forums, this allows all HTML to be added to the Biography Info section of a user’s profile, which may be going too far. The following code, in your theme’s functions.php, will allow line breaks to be honoured but filter out any HTML tags and attributes which are not allowed by the $allowedposttags WordPress global.
remove_filter('pre_user_description', 'wp_filter_kses');
add_filter('pre_user_description', 'wp_filter_post_kses');
add_filter('pre_user_description', 'wptexturize');
add_filter('pre_user_description', 'wpautop');
add_filter('pre_user_description', 'convert_chars');
add_filter('pre_user_description', 'balanceTags', 50);
This may be a configurable setting in a future version of the plugin to avoid the need to hack your theme’s functions.php file.
How do I remove the Biography Box on pages using page templates?
Add this code to your theme’s functions.php file:
add_action ('wp_head', 'remove_author_box_page_template');
function remove_author_box_page_template() {
if (is_page_template ('page_blog.php'))
add_filter ('wp_biographia_pattern',
'content_only_pattern');
}
function content_only_pattern($pattern) {
return '%1s';
}
This may be a configurable setting in a future version of the plugin to avoid the need to hack your theme’s functions.php file.
I want to use my own icon set for my author’s contact links; how do I do this?
Firstly select the icon set you want to use. You’ll need to ensure that the icon files are in .png format and are named to match the icon set that WP Biographia ships with; take a look in wp-biographia/images to see the naming convention. Upload your icon set to your web server and note the URL (not the local path) to where your icons will live. Navigate to Settings / WP Biographia / Biography Box Content Settings, ensure that the Use Alternate Icon Set option is checked and the URL to your alternate icons is specified in the Alternate Icon Set URL text box. By default, WP Biographia sizes the contact link icons at 32×32 pixels; you can override this in your local CSS file by redefining the .wp-biographia-item-icon CSS class (see wp-biographia/css/wp-biographia.css).
WP Biographia isn’t available in my language; can I submit a translation?
WordPress and this plugin use the gettext tools to support internationalisation. The source file containing each string that needs to be translated ships with the plugin in wp-biographia/lang/src/wp-biographia.pot. See the I18n for WordPress Developers page for more information or get in touch for help and hand-holding.
This plugin looks very much like the WP About Author; what’s the connection?
WP Biographia is inspired by and based on the WP About Author plugin by Jon Bishop. Thanks and kudos must go to Jon for writing a well structured, working WordPress plugin released under a software license that enables other plugins such as this one to be written or derived in the first place. Jon’s written other WordPress plugins as well; you should take a look.
I want to amend/hack/augment this plugin; can I do the same?
Totally; like the original plugin by Jon, this plugin is licensed under the GNU General Public License v2 (GPLV2). See http://www.gnu.org/licenses/old-licenses/gpl-2.0.txt for the full license terms.
Where does the name WP Biographia come from?
WP Biographia is named after the etymology of the modern English word biography. The word first appeared in the 1680s, probably from the latin biographia which itself derived from the Greek bio, meaning “life” and graphia, meaning “record” or “account” which derived from graphein, “to write”.
Download WP Biographia
You can download the latest version of WP Biographia from the following sources.
- From the plugin’s github page at https://github.com/vicchi/wp-biographia
- From the official WordPress plugin repository
Shortcode Support And Usage
WP Biographia supports a single shortcode, [wp_biographia]. Adding this shortcode to the content of a post or page or into a theme template as content, expands the shortcode and replaces it with a Biography Box.
The shortcode also supports multiple attributes which allow you to customise the way in which the shortcode is expanded into the Biography Box:
- the
modeattribute - the
authorattribute - the
prefixattribute - the
nameattribute
The “mode” Attribute
In raw mode, which is the default (specified as [wp_biographia mode="raw"] or simply as [wp_biographia]), the plugin inserts the Biography Box in you’ve asked for it, you’ve got it mode.
Or to put it another way, the plugin will honour the settings that you specify under Dashboard / Settings/ WP Biographia for Biography Box Style Settings and for Biography Box Content Settings but will ignore the Biography Box Display Settings and Biography Box Per User Settings.
In configured mode, specified as [wp_biographia mode="configured"], the plugin inserts the Biography Box and will honour all the settings under Dashboard / Settings / WP Biographia with the exception of Display On Front Page, Display On Individual Post, Display On Post Archives and Display On Individual Pages, as well as their equivalents for any custom post types you may have created.
The thinking behind this is that you probably want to honour post or page exclusions and per user exclusions, but by using the shortcode in your theme templates, you want to be in control of how and where the Biography Box is displayed.
The “author” Attribute
If the author attribute is omitted, which is the default, the shortcode assumes it’s being used within the WordPress Loop and will display the Biography Box once for the current post’s, page’s or custom post type’s author.
Specifying a user’s login name as the author attribute overrides this behaviour and allows multi-user sites to use the plugin to create a contributors page, where you use the shortcode as [wp_biographia user="login-name"] once for each of your site’s authors that you want to appear, replacing "login-name" with a valid login name for one of your authors.
You call also use the author attribute in wildcard mode, specifying the author’s login name as * as [wp_biographia author="*"]; this will then loop over all of the authors that have logins on your site, displaying the Biography Box once for each author, ordered alphabetically by login name.
Specifying an invalid login name ([wp_biographia author="idontexist"]) will result in no Biography Box being displayed. Specifying an empty login name ([wp_biographia author=""]) will cause the author attribute to be ignored and may result in undefined behaviour, such as a partially populated Biography Box being displayed as the shortcode is being used outside of the Loop and thus no author information is made available to the plugin by WordPress.
The “prefix” Attribute
If the prefix attribute is omitted, which is the default, the Biography Box will be displayed with Biography Prefix text configured in Settings/ WP Biographuia / Biography Box Content Settings before the author’s name. This can be overridden by using the prefix attribute, along the lines of [wp_biographia prefix="All About"].
The “name” Attribute
If the name attribute is omitted, which is the default, the Biography Box will be displayed with the author’s name as configured by Author’s Name in Settings / WP Biographia /Biography Box Content Settings. This can be overriden by supplying one of the following for the name attribute’s argument:
account-namefirst-last-namenicknamedisplay-namenone
What’s Changed?
v2.4.4
- Fixed bug where Vimeo contact link setting was not persisted across settings changes.
- Fix bug where “More Posts” link linked to the current page URL
- Minor CSS tweak.
v2.4.3
- Fixed bug where page exclusion settings were not persisted to the back-end database configuration settings.
v2.4.2
- Correct version number in plugin header.
v2.4.1
- Fixed regression bug in v2.4 where a contact link items displayed as an empty link if enabled in WP Biographia but if the corresponding link in the user’s profile was empty.
- Fixed regression bug in v2.4 where the user profile Biography Box settings text was not properly displayed.
- Tweak v2.4 CSS to clear up styling issues and to align list item styling with best practice.
v2.4
- Add internationalisation support; add Spanish and Turkish language files.
- Add configuration setting to control the author’s name in the Biography Box as a link to “More Posts By This Author”.
- Add support for displaying the author’s contact links as icons as well as plain text links.
- Add support for using an alternate link icon set.
v2.3
- Suppress display of “More Posts” link in the Biography Box (if configured) if the user/author has no posts.
- Add
author,prefixandnameshort code attribute support. - Add support for global (across single, archive and front page templates) post exclusions in built-in post types and custom post types.
- Tightened wording in admin screen around post exclusions.
v2.2
- Add enhanced short code support (raw and configured modes)
- Add support for displaying the Biography Box on archive pages that use excerpts
- Enhance contact information and Biography Box links to support Delicious, Flickr, Picasa, Vimeo, YouTube and Reddit
- Fixed bug that caused the Biography Box to be displayed for every page of a multiple page post
- Fixed bugs in avatar image size handling; non-default avatar image size was not persisted across settings changes; avatar image container div was not resized to new non-default avatar image size
- Migrate use of wp_print_styles to wp_enqueue_scripts; see (http://wpdevel.wordpress.com/2011/12/12/use-wp_enqueue_scripts-not-wp_print_styles-to-enqueue-scripts-and-styles-for-the-frontend/)
- Made terminology and control ordering for custom post types consistent in admin pages
v2.1.1
- Fixed a bug in the per user suppression code due to debug code being left in the release
v2.1
- Add the ability to suppress the Biography Box from being displayed on posts, on pages and on posts and pages on a per user basis
- Add settings link to Settings / WP Biographia admin page from the plugin’s entry on the Dashboard / Plugins page
- Add checks for avatar display in the Biography Box being requested with avatar support not enabled in the Settings / Discussions admin page
- Add Help & Support sidebar box to Settings / WP Biographia admin page
- Handle upgrades to configuration settings gracefully; fixed bug that didn’t persist unused/unchanged configuration settings
- Cleaned up the wording for the Settings / WP Biographia admin page and made terminology consistent across all configurable options
- Tweaked admin CSS to introduce padding between the settings container and sidebar container that changed in WordPress 3.3
v2.0.0
- Added the ability to set image size
- Added a simple shortcode
- Added Custom Post Types support with the ability to exclude based on post IDs
- Added ability to set the bio at the top or the bottom
- Added a filter to short circuit for further customization
- Added ability to include the post author’s email link
- Refactored plugin file locations in line with WordPress plugin development recommendations
- Fixed CSS issue for gravatar
v1.0.0
- First version of WP Biographia








hi – really love the plugin Gary – just need to fine tune my use of it though
I’m finding that the contact info for each user isn’t being displayed – i’ve selected show authors bio (works great) but for email, website, twitter and fb links (the ones i want the plugin ‘ display) although in the wp settings for wp biographia ive sedlected ‘show’ they aren’t showing … maybe im doing something wrong? thanks! Rory
its working in the home page listing all posts – nice beige background colour etc but when i go into the post its self the contact info isnt displayed – can this be changed? thanks, Rory
actually Gary – its only working in the section when you select ‘see all posts by rory’ – on the home page the author box isnt displayed which is fine but id love it to appear at the end of each post in the same way it appears when you view all posts by the author from the author box …. beige with all contact info shown …. thanks
so sorry Gary! i spotted my user for some reason was in the suppressed box for the post – ive unsuppressed it so all is good – sorry for all the postings here – i really like the plugin! happy to tell others too – though it might be good to tell people a little more clearly that they actually need to get an additional plugin to add their own pic instead of the avatar – thank you again!!
A quick question on plugins for author images vs. avatars.
I think this is pretty well described in FAQs number 4 and 5 on http://wordpress.org/extend/plugins/wp-biographia/faq/ … or is this not what you mean?
-Gary
Hi Rory,
The contact details need to be added to your user profile; from the Dashboard, navigate to Users -> Your Profile and then add the links to the fields in the Contact Info sub-section. I’m not quite sure what you mean from your other comments, could you provide some URLs or screenshots. Ping me by email if that’s easier; my contact details are over at http://www.garygale.com/
-Gary
hi Gary,
one further question …
how can i get rid of the second about rory box – the one in a light grey background – see this link:
http://celtdigital.com/social-business-emotional-engagement/#more-283
it turns up at the end after the beige box in each post and at the top of the ‘see other posts’ section
sorry for not being so sharp!
thanks,
Rory
Hi Rory,
Looks like you’re using the TwentyEleven theme; this has its own, less functional “about box” baked into the theme templates. You’d need to remove this, preferably by creating a child theme (as I’ve done on this site) so you don’t have your changes impacted by a future theme update.
-Gary
Love the Plugin Gary! Using it at my site – groovyPost.com
Keep up the good work and thank you!