Skip to main content
10 events
when toggle format what by license comment
S Jan 25, 2022 at 22:23 history suggested CommunityBot CC BY-SA 4.0
Fixed minor typo
Jan 25, 2022 at 22:11 review Suggested edits
S Jan 25, 2022 at 22:23
Apr 14, 2020 at 19:49 comment added Howdy_McGee @SaeeshTendulkar I realize that a tax_query won't matter since we're getting posts by their IDs. I've updated the question to get terms by their IDs.
Apr 14, 2020 at 19:48 history edited Howdy_McGee CC BY-SA 4.0
added 958 characters in body
Apr 14, 2020 at 18:31 comment added Saeesh Tendulkar Thank you. I would appreciate it if you could give some explaination.
Apr 14, 2020 at 18:17 comment added Howdy_McGee Sorry, I'll have to come back to this later then and submit an edit with an explanation & examples.
Apr 14, 2020 at 18:16 comment added Saeesh Tendulkar Sorry I did not understand that
Apr 14, 2020 at 18:14 comment added Howdy_McGee @SaeeshTendulkar Presumably you can use a similar wp_list_pluck() approach if you return those terms IDs or term slugs to the $results. Then translate that into a tax_query
Apr 14, 2020 at 18:12 comment added Saeesh Tendulkar This is okay. I can use this. But there's one more problem. I want the custom taxonomies added to it as well which I'm fetching with sql query "t.name as sname, t2.name as cname" for each post. Can you tell how to get this?
Apr 14, 2020 at 18:03 history answered Howdy_McGee CC BY-SA 4.0