Show category label if results returned is taxonomy

Home Forums Product Support Forums Ajax Search Pro for WordPress Support Show category label if results returned is taxonomy

This topic contains 7 replies, has 2 voices, and was last updated by Ernest Marcinko Ernest Marcinko 22 hours, 32 minutes ago.

Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #37895
    zinc
    zinc
    Participant

    Hi there we have amended the plugin settings so that it displays the custom post type first then the title (see image). Is it possible to show the word category: and the product_cat if the item returned is a taxonomy?

    In our attached image the first two results are categories so we would like to have e.g Category: Power Clusters for Military Hangers

    Thanks

    Attachments:
    You must be logged in to view attached files.
    #37899
    Ernest Marcinko
    Ernest Marcinko
    Keymaster

    Hi,

    Yes – it needs a bit of custom code, but this documentation will help you with that.

    Best,
    Ernest Marcinko

    If you like my products, don't forget to rate them on codecanyon :)


    #38138
    zinc
    zinc
    Participant
    You cannot access this content.
    #38150
    Ernest Marcinko
    Ernest Marcinko
    Keymaster
    You cannot access this content. Best,
    Ernest Marcinko

    If you like my products, don't forget to rate them on codecanyon :)


    #38171
    zinc
    zinc
    Participant
    You cannot access this content.
    #38199
    Ernest Marcinko
    Ernest Marcinko
    Keymaster

    Hi,

    I’m afraid that kind of ordering is not possible. You can change the order of the result types, but all post type results are considered as a single group.

    Best,
    Ernest Marcinko

    If you like my products, don't forget to rate them on codecanyon :)


    #38212
    zinc
    zinc
    Participant
    You cannot access this content.
    #38218
    Ernest Marcinko
    Ernest Marcinko
    Keymaster

    Sure!

    I have logged in and checked your backend configuration. The media file indexing does not seem to be enabled. Please check this documenation on how to enable the media file content indexing and the media service features.
    Once those are set up, and the site is re-indexed, then make sure the attachment search is also se to the index table engine.

    Best,
    Ernest Marcinko

    If you like my products, don't forget to rate them on codecanyon :)


Viewing 8 posts - 1 through 8 (of 8 total)

You must be logged in to reply to this topic.