Categories

  • Access & Security 95
  • Administration 171
  • Advertisement 92
  • Audio & Video 66
  • Author & Content 99
  • Comments 96
  • Communication 110
  • Communities & Forums 84
  • Development 47
  • E-Commerce 76
  • Email Management 53
  • Events & Calendars 80
  • Language 25
  • Map & Weather 44
  • Migration & Conversion 28
  • Miscellaneous 254
  • Mobile 15
  • Photos 143
  • Plugins 260
  • SEO & Site Speed 118
  • Social 186
  • Theme Enhancement 169



  • Add this plugin to a List

    You need to be logged in to add this plugin to your list.

    Top Authors

    Add to List

    Top authors allows yoy to list your top authors with plenty of options. You can set the following in each widget:

    • Widget title
    • Roles to exclude
    • Post types to include
    • Authors to show
    • 4 Preset display templates
    • Custom display template that allows you to create a completely custom structure and modify the output before and after the list.
    • Archive (category/tag/taxonomy) specific author lists

    For a more detailed description of how you can set up custom author lists take a look at the other notes section. The plugin also has some developer friendly features, take a look at the other notes section for more.

    Thanks

    Usage

    Most of the options for the plugin are self explanatory, I thought I’d highlight the archive specific authors and the display template.

    If Archive specific authors is checked the plugin will handle authors differently on category, tag and taxonomy archive pages. It will narrow the posts down to only those in the given archive. Practically this means the following:

    Say John wrote 10 posts on the website and Jill wrote 5. On normal pages John would be listed first, Jull would be listed second. However, John wrote 3 posts in the “Food” category while Jill wrote 4. On the archive page for the “Food” category – if Archive specific authors is checked – Jill will be shown first with 4 posts and John second with 3.

    When you select “Custom Structure” as the preset display you should see three new fields: Display Template, Before List and After List. These fields can be used to control the HTML display of your authors. To make sure you can use the data retireved by the widget I’ve added placeholders which will be replaced by real data:

    • %posts_url%: The URL to the user’s post archive page
    • %website_url%: The URL to the user’s website
    • %gravatar_SIZE%: The gravatar of the user at the given size. For example, to display a 50px Gravatar your would use %gravatar_50%
    • %firstname%: The user’s first name
    • %lastname%: The user’s last name
    • %displayname%: The user’s display name
    • %username%: The user’s username
    • %post_count%: Number of posts
    • %meta_FIELD%: Displays the given meta field. If you store a user’s Twitter name in the ‘twitter’ meta field you could use %meta_twitter% to display it.

    As of 1.0.9 there is also a custom ID field. This is for advanced use, mainly for developers. It allows for custom CSS stylings and even custom queries on a widget-to-widget basis.

    For Developers

    Currently there are three filters you can use to control the options available in the widget.

    • ta/usable_roles allows you to change the roles that can be selected. It should return an array of roles in the form of slug=>name
    • ta/usable_opst_types allows you to change the post_types that can be selected. It should return an array of post type objects
    • ta/post_query allows you to modify the arguments of the WP_Query which retrieves the posts that we look up the authors for. Modify the arguments if you want to force category-specific top authors on single post pages, or other similar uses
    Rate This Plugin

    Please Login to Rate this Plugin!

    Function

    Feature

    Support

    0 Votes
    Not Rated Yet

    Wordpress.org Stats

    Ratings4.7
    Votes6
    Downloads20,161
    Last Updated4152 Days ago
    Published16 years ago

    Report Wrong Category!