Is filtering Activity on CPT meta info possible?
I’m trying to build a page to show a filtered activity stream but am completely unsure how to approach the problem. I’ve built my solution using CPTs and would like to be able to query based on custom meta box info in the CPTs.
For example, my CPTs include Beer and Check-In. So a user could “check-in” and mention which Beer they are drinking. The check-ins are recorded as activities and these display just fine in the activity stream (“Ben is drinking Molson Export Ale and rated it a 5”). Now I’d like to build a page that shows information about a Beer and the list of check-in activities for that particular Beer.
I think I know how to query the CPTs to get the info I want but don’t want to have to duplicate the BP functions. Ideally I’d like to filter the activity stream based on the info from the CPT custom meta info but I haven’t found a way to do that.
Have any of you seen something like that? Or could you provide an educated guess of where I might look for more info?
Any help or support would be greatly appreciated as I am stumped.
- You must be logged in to reply to this topic.