This website uses cookies to personalize your experience. By using this website you agree to our cookie policy.

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

Viewing 12 posts - 1 through 12 (of 12 total)
  • Author
    Posts
  • #37895
    zinczinc
    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

    #37899
    Ernest MarcinkoErnest Marcinko
    Keymaster

    Hi,

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

    #38138
    zinczinc
    Participant

    You cannot access this content.

    #38150
    Ernest MarcinkoErnest Marcinko
    Keymaster

    You cannot access this content.

    #38171
    zinczinc
    Participant

    You cannot access this content.

    #38199
    Ernest MarcinkoErnest 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.

    #38212
    zinczinc
    Participant

    You cannot access this content.

    #38218
    Ernest MarcinkoErnest 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.

    #38648
    zinczinc
    Participant

    You cannot access this content.

    #38659
    Ernest MarcinkoErnest Marcinko
    Keymaster

    Hi,

    It is hard to tell by only looking at the front-end, but make sure that the primary ordering is set to relevance. Also, for keyword matching you can try this variation, to see if it makes any difference: https://i.imgur.com/fFEXeW3.png

    #38665
    zinczinc
    Participant

    You cannot access this content.

    #38684
    Ernest MarcinkoErnest Marcinko
    Keymaster

    You cannot access this content.

Viewing 12 posts - 1 through 12 (of 12 total)
  • You must be logged in to reply to this topic.