This topic contains 1 reply, has 2 voices, and was last updated by Ernest Marcinko 9 years, 5 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 › Display Custom Fields
This topic contains 1 reply, has 2 voices, and was last updated by Ernest Marcinko 9 years, 5 months ago.
Hi There,
Is it possible to display the custom fields as part of the search results?
Cheers
Zak
Hi!
It is possible to both completely change the title or the content to a custom field, or to show a custom field after/before the title or the content.
Depending on which one do you want to achieve there are to option groups on the advanced options panel in the search settings.
1. https://i.imgur.com/YxCxp7K.png – as you can see, you can change the complete title/description field to a custom field value
2. https://i.imgur.com/CA5pkIT.png – this is a bit more complicated. But in this case you can show both the title/description field and the custom field value you want.
For example you have a custom field named “custom_field1” and you want to show it before the title separated by a dash, you need to type this into the advanced title field: {titlefield} – {custom_field1}
I hope this is what you are looking for.
Best,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. |