Home › Forums › Product Support Forums › Ajax Search Pro for WordPress Support › Use Custom Excerpt in place of Description for Results?
This topic contains 1 reply, has 2 voices, and was last updated by Ernest Marcinko 7 years, 12 months ago.
- AuthorPosts
- December 8, 2015 at 10:17 pm #6962
Love, love, LOVE Ajax Search Pro for WP.
Question: we use Swift Ideas’ Cardinal theme that uses a custom page builder (Swift Builder). Like other builders (Headway, Visual Bakery, etc), they replace the editor content with their custom editor so that Ajax Search Pro’s results do not pickup a description, picking up the name of the container (1/1) or (row), etc or nothing at all – instead of the desired custom excerpt to display in the results.
While there are switches to turn on and off Author, Date, Description Is there a way to assign a specific custom field to be displayed? For example, sf_custom_excerpt, or custom excerpt or excerpt instead of using the description from the default editor?
-
This topic was modified 7 years, 12 months ago by
smalldogcreative.
Attachments:
You must be logged in to view attached files.December 9, 2015 at 11:14 am #6969Hi!
I see you use the latest version, which actually might be able to pick up stuff from the content builder. When I check the source of the description in the results, I see a few unfinished HTML tags, which might cause the description not to show up.
I was not able to log in with the details, can you please check them? Also, I have a suggestion which might fix the problem. Open the Advanced Options -> Content panel. Then remove everything from the text field next to the HTML Tags exclude from stripping content option. Also, make sure that the Run shortcodes found in post content option is enabled. Like so: https://i.imgur.com/0ZUvXxp.png
This should remove all HTML tags possible from the content, leaving only the text visible.
On the same option panel you can also select to display custom field content instead of the description: https://i.imgur.com/5weqltd.png
Best,
Ernest Marcinko
If you like my products, don't forget to rate them on codecanyon :)
-
This topic was modified 7 years, 12 months ago by
- AuthorPosts
You must be logged in to reply to this topic.