Is there a way I can add a custom prefix before the group name ?
I am using Terms/Taxonomy grouping. But I have a custom post type named: “Videos”
So when I am searching, I see results with different groups. What I want to achieve is wherever I am seeing taxonomies of “Videos”, there is a prefix Video: infront it’s group name.
Example: If there is a category inside video named “Introduction”
It should show “Video: Introduction”
Well, you can set a static prefix and suffic on the grouping options, but I guess you know that already. Changing them dynamically is not possible, or it would require some custom work for sure, via the results templating feature.
Instead, I would rather suggest using the advanced title and content fields – maybe displaying the list of taxonomies within the descriptions would be an acceptable alternative.
Post type is only possible via custom code, via the asp_results filter. Here is an example usage, where it is printed into the title. The same is doable to the content field as well, just change line 6 to: