Show posttype in search result and make result clickable

Ivory Search Forums Support Show posttype in search result and make result clickable

Viewing 3 reply threads

You must be logged in to create new topic or reply to the topic.

  • Author
    Posts
    • #14995
      Mohammad Esmaeili
      Participant
      • Topics: 1
      • Replies: 1

      Hi there, first of all, thanks for this amazing plugin
      second I have 2 problems now:
      1- How can I show post-type name next to the titles in search result?
      2- For opening results, we have to click on title, for some users its a bit hard to understand where exactly they need to click. can we make the hole container clickable?

      Best regards,
      MO

    • #15001
      Ivory Search
      Keymaster
      • Topics: 0
      • Replies: 1,735

      I hope you are well today and thank you for your question.

      Are you using AJAX search?

      Could you please tell me whether you want to make changes to the AJAX search results or search results page?

      Best regards,
      Ivory Search Support

    • #15006
      Mohammad Esmaeili
      Participant
      • Topics: 1
      • Replies: 1

      Thanks for your response.
      Yes, I’m using AJAX Search.

      I attached an image to explain it better to you.

      First of all, because of having multiple post-types, I would like to show post-type name next to the title of each result.
      and then also I need to make the whole result container clickable. ( currently, just the title is clickable )

      I can change the files on my own and it’s not a problem at all, but after the update, it will be restored to the default version.
      is there any hook, or can I use template for that changes?

      thanks for your help

      Attachments:
      You must be logged in to view attached files.
    • #15021
      Ivory Search
      Keymaster
      • Topics: 0
      • Replies: 1,735

      You can overwrite the plugin template file to make changes to it.

      The below plugin template file displays AJAX search results and you can overwrite it in your child theme.

      /add-search-to-menu/public/partials/is-ajax-results.php

      Just copy the file and paste it into the root directory of your child theme.

Viewing 3 reply threads

You must be logged in to create new topic or reply to the topic.