ericmann / WP-Publication-Archive

Allows users to upload, manage, search, and download publications, documents, and similar content (PDF, Power-Point, etc.) in WordPress.
http://wordpress.org/extend/plugins/wp-publication-archive/
27 stars 12 forks source link

Dropdown Idea for Filtering #8

Open ericmann opened 12 years ago

ericmann commented 12 years ago

Hi! I really like your plugin. I've been looking for something like this for quite a while now. Perhaps in a future version you can create drop down menu(s) for the frontend user to sort by date, category, etc. This might be a good alternative to shortcodes. Again thanks for a great plugin!

http://wordpress.org/support/topic/plugin-wp-publication-archive-dropdown-idea-for-filtering

helgatheviking commented 12 years ago

in lieu of dropdowns, regular WP templates might do some of the work. i think i need to fork this later.

julianlmedina commented 12 years ago

I was thinking of a dropdown menu based on Ajax. WP templates probably could do some of the work. At the moment my PHP is dusty but I will attempt to make a stab in modifying this plugin within a couple of months. Perhaps using filters would work. There's a lot of potential here.

helgatheviking commented 12 years ago

send me a message when you do. i agree there is a lot of potential.

i already started adding some data sanitation for the meta and for options. it is all messy, but works.

also have some ideas that i learned from woocommerce for hooking into template_loader and/or template_redirect to load templates in a plugin when you are on a certain location (such as publication archives, or publication category archives).

i am working on integrating the plupload uploader into a metabox so that might be a good addition too.

i even had somebody tweak timthumb to use imagemagick to create thumbnails of PDFs. though i prefer adding an option for a featured thumbnail as post meta.