Are there examples of using action filters and hooks?
-
Hi, could you give an example of how to order results by post type. I know I’m supposed to use instant_search_q_orderby but I’m not sure where to do this. I have two custom post types and want the results to display something like this:
CPT 1 Title
– result
– resultCPT 2 Title
– result
– resultThanks.
- The topic ‘Are there examples of using action filters and hooks?’ is closed to new replies.