This topic contains 1 reply, has 2 voices, and was last updated by Ernest Marcinko 3 years, 2 months ago.
Viewing 2 posts - 1 through 2 (of 2 total)
Viewing 2 posts - 1 through 2 (of 2 total)
You must be logged in to reply to this topic.
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 3 years, 2 months ago.
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.
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
You must be logged in to reply to this topic.
Cookie | Duration | Description |
---|---|---|
cookielawinfo-checkbox-analytics | 11 months | This cookie is set by GDPR Cookie Consent plugin. The cookie is used to store the user consent for the cookies in the category "Analytics". |
cookielawinfo-checkbox-functional | 11 months | The cookie is set by GDPR cookie consent to record the user consent for the cookies in the category "Functional". |
cookielawinfo-checkbox-necessary | 11 months | This cookie is set by GDPR Cookie Consent plugin. The cookies is used to store the user consent for the cookies in the category "Necessary". |
cookielawinfo-checkbox-others | 11 months | This cookie is set by GDPR Cookie Consent plugin. The cookie is used to store the user consent for the cookies in the category "Other. |
cookielawinfo-checkbox-performance | 11 months | This cookie is set by GDPR Cookie Consent plugin. The cookie is used to store the user consent for the cookies in the category "Performance". |
viewed_cookie_policy | 11 months | The cookie is set by the GDPR Cookie Consent plugin and is used to store whether or not user has consented to the use of cookies. It does not store any personal data. |