Limit results field length

Home Forums Product Support Forums Ajax Search Pro for WordPress Support Limit results field length

This topic contains 1 reply, has 2 voices, and was last updated by Ernest Marcinko Ernest Marcinko 3 years, 2 months ago.

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #25214
    spamis17
    spamis17
    Participant

    I just installed Ajax Search Pro and it seems to do everything we need except one thing. My client is interested in the search including the comments containing the search terms and having them show up first in the results list which is the way I have set it up. The problem is that the entire comment, regardless of length, is displayed in the sidebar. Is it possible to limit the result to a short snippet or excerpt with, say, 20-25 words on either side of the search result. With long comments the sidebar is often too long. Thank you.

    #25215
    Ernest Marcinko
    Ernest Marcinko
    Keymaster

    Hi,

    Thank you for all the details, it helps us a lot!

    You have discovered a code bug, as the plugin should have respected the default content length (130 characters +/- word endings). Since you added back-end access, I used the code editor to apply a minor fix directly to the plugin code to respect the description length values. Now it should be all right.
    Now, you can adjust the length of that field here: https://i.imgur.com/dKuqe1E.png

    Best,
    Ernest Marcinko

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


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

You must be logged in to reply to this topic.