Search Add-on: Adding a description to the search results

Documentation Menu

Search Add-on: Adding a description to the search results

You can add a short description text to the search results by adding the code below to your theme’s functions.php file.

There is no standard field for adding a description, so you will probably have to create this as a custom meta field or use the “excerpt” field if it’s available. Depending on where you get the description from, you will have to adapt the code below accordingly.

Was this article helpful?

Yes No

We're sorry to see this article wasn't as helpful as we hoped it would be. Please let us know what you were looking for so that we can improve this documentation page.

Full CTA BG
Is WP Booking System a good fit for you?

Tell us about your business activity & plugin requirements and we'll let you know if WP Booking System is right for you.

Have a support question? Please use this form instead.