Support » Plugin: WP Biographia » [Plugin: WP Biographia] [wp_biographia author="*"]

  • Resolved Clarence Johnson

    (@picpu)


    First… I love this plugin!

    I have created a page called “Authors” and placed the [wp_biographia author=”*”] short code in the content section. All of the four (4) authors bio are displayed which is great but here the question…

    One of the listed authors is actually the Administrator and they have not written any posts… how can I remove the Administrator from the list and have the three (3) displayed?

    http://wordpress.org/extend/plugins/wp-biographia/

Viewing 1 replies (of 1 total)
  • Plugin Author vicchi

    (@vicchi)

    Hi Clarence,

    Thanks for the great feedback! In answer to your question the full use of the [wp_biographia] shortcode is documented in the plugin’s entry in the WordPress Plugin Repository over at http://wordpress.org/extend/plugins/wp-biographia/other_notes/.

    As an aside, it’s general perceived wisdom that keeping the built-in admin account enabled on a (self hosted) WordPress install is a security risk as it gives people a known account to try and break into, so if you delete the admin account, it’s a simple solution to your question.

    But I appreciate that not everyone wants to do this, so the slightly longer answer is that you need to suppress the admin user from being displayed in the Biography Box by WP Biographia and use the shortcode in configured mode.

    Here’s how you do this …

    1. From the admin dashboard navigate to Settings / WP Biographia Settings and Options.
    2. Under Biography Box Per User Settings add the admin account to the list of Suppressed Users for either pages, posts or both.
    3. Save your settings.
    4. If you want to use the [wp_biographia] shortcode within post or page content, in wildcard mode, with the admin user suppressed (as you’ve just configured it to be), use [wp_biographia mode="configured" user="*"].
    5. Save your post and/or page and you should be good to go.
    6. The shortcode works as-is for post and/or page content that is processed within the WordPress Loop. If you want to use the shortcode outside of the Loop, you’ll need to find a suitable action hook and use the WordPress do_shortcode() API call within either your theme’s template files (slightly messy) or within your theme’s functions.php (much cleaner and preferable).
    7. If you go down the action hook route, you’ll need to write an action handler, queue this into the hook via the add_action() API call and within your action handler call do_shortcode() along the lines of do_shortcode ("[wp_biographia mode="configured" user="*"]);.

    Hope this helps.

    -Gary

Viewing 1 replies (of 1 total)
  • The topic ‘[Plugin: WP Biographia] [wp_biographia author="*"]’ is closed to new replies.