Modifying the Query in Blog listings and adding a new dropdown list in the template.
I would like to add a second dropdown next to the “Order By” dropdown on the blogs section.
I can see the query in http://svn.buddypress.org/trunk/bp-blogs/bp-blogs-classes.php
I can’t find a way to add in another criteria. I want to make another dropdown list of categories that I’ve tied into their blog meta.
So for example, you could see a list of all blogs about “Dogs” or “Cats” from the dropdown, and it would update the listing via ajax like it does with the Order By Drop down.
Does this make sense? I tried to extend the class and replace the function, but it has no effect and no errors. I placed the new extended class in my theme’s custom-functions.php (Where my other customizations are)
Do I need to make a plugin to do this? Is this possible? I don’t want to alter core files!
BuddyPress 1.5.6 + WordPress 3.4.1
- The topic ‘Modifying the Query in Blog listings and adding a new dropdown list in the template.’ is closed to new replies.