bp-better-directories
bp-better-directories copied to clipboard
Feature request, not an issue
I've been playing around with the code for a few days now, but got a little stuck trying to mod it for taxonomy terms.
Request: Do you possibly have any plans on releasing a vs that would work for regular WordPress taxonomy terms when viewing a post-type archive?
Scenario: I have a 'movie' post type with taxonomies 'actor, genre, directors, etc'.
Having the ability to place taxonomy list term widgets into sidebar that would sort the archive-movie.php archive page just like this code does for bp directories.
That's kinda be the 'holy grail' of sorting that I've been attempting on and off again for months. Hoping the idea is cool enough to warrant a new plugin someday :)
*I have an enormous non-wp photogallery that I was hoping to bring into WordPress someday, but was waiting until I can figure out how to allow the user to sort the photos easily. This would be the coolest way that I can imagine.
thanks
It shouldn't be too hard to make the necessary modifications. Off the top of my head, a couple things will have to be done.
- Modify the AJAX handlers so that, instead of filtering the bp_has_members() queries, they send a WP_Query request or something like that
- Figure out which part of the theme (which template) would have to be loaded and returned by the AJAX request
- Write a bit of JS to do the ajax request itself (the plugin currently uses a BP JS function to make this request)
- Write some admin stuff to do the integration with taxonomies rather than profile fields.
So - not that hard, but kinda tedious. I've got a project that might require me to do something like this; if I do, I'll definitely share it.
That would be awesome. I'm subscribed to the thread so I'll see it if it ever gets updated.
thanks
By any chance did your project end up requiring this functionality?
I've never stopped digging around but have yet to find a plugin to do this other than this one here.
thnx for your time
I do have a project that requires this, but I haven't gotten around to putting it in place soon. I'll be sure to remark on this ticket when I do, so that you get an email notification.
Thank you!
:) bump in hopes this actually happened :)