WordPress.org

Ready to get started?Download WordPress

Forums

WP Publication Archive
[resolved] filtering wp publication archive (5 posts)

  1. banannah
    Member
    Posted 2 years ago #

    Hi I am using wp publication archive and for it to be useful I need to be able to filter the documents and be able to display by year, author, keywords etc.

    I know this should all be possible using queries, but I'm not exactly a php pro. I have seen this kind of request has been made a few times - has anyone found an effective way of doing this? or any suggestions?

    I've had some success using custom post type widgets like WordPress Custom Post Type Archive but it doesn't return the posts like wp publications archive with the authors, summary etc.

    I can 'cheat' and filter by year by using the categories shortcode [wp-publication-archive categories="2011"] but can this be done for author or with a tag cloud? thx:)

    http://wordpress.org/extend/plugins/wp-publication-archive/

  2. Eric Mann
    Member
    Plugin Author

    Posted 2 years ago #

    I'm still working on adding an author filter. Since authors are a custom taxonomy, it will be in the plugin in a future version.

    If you want to follow active development, request features, or report bugs, please follow my commits on GitHub: https://github.com/ericmann/WP-Publication-Archive

  3. Eric Mann
    Member
    Plugin Author

    Posted 2 years ago #

    I've released a quick update that adds an author filter to the plugin. Just write your shortcode as [wp-publication-archive author="billy" /] where "billy" in this case is the slug of the author.

    It's a quick patch, so you can't use the author name ... just the slug.

    I'll clean this up substantially in the future version for which this feature was planned ... but hopefully this will allow you to use the filter immediately.

    I'm having issues with SVN at the moment, you this update isn't available from the WP.org repository yet, but will be as soon as I get a solid Internet connection. For now, you can download version 2.3.2.1 from GitHub and install it manually:

    https://github.com/ericmann/WP-Publication-Archive/tags

  4. banannah
    Member
    Posted 2 years ago #

    wow! thanks so much :) sorry about the repost, was having trouble submitting the comment - my connection sucks today. Will keep an eye on developments, looking forward to the next release - this is a really useful plugin.

  5. Eric Mann
    Member
    Plugin Author

    Posted 2 years ago #

    Also, I just updated the official repository to version 2.3.3. This includes the author filter and another quick patch as well.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic