- 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 #6969
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.pngBest,
If you like my products, don't forget to rate them on codecanyon :)
You must be logged in to reply to this topic.