The accommodation thumbnail and description are not displayed
🤔 Problem
I have created an accommodation type, for which I have set the featured image and the description to be displayed in the search results. However, it is not shown.
🌱 Solution
Please note that if you have only one accommodation type set, the “View accommodation” button and the thumbnail/title link are by default not displayed.
We have added 2 parameters that you can use to force the display of the thumbnail and description: "force_display_thumb" and "force_display_desc". Here is an example of a shortcode with these parameters:
[hb_booking_form force_display_desc="yes" force_display_thumb="yes"]
Please do not hesitate to check this section of the documentation to read more about the shortcodes and the parameters.
In HBook > Forms > Accommodation selection, check that you have enabled the display of the thumbnail.
If you have only one accommodation type, the “View accommodation” button and the thumbnail/title link are by default not displayed.
How to force the display of the thumbnail and description when I have only one property?
We have added 2 parameters to the shortcode [hb_booking_form] that you can use to force the display of the thumbnail and description: "force_display_thumb" and "force_display_desc".
Here is an example of a shortcode with these parameters:
[hb_booking_form force_display_desc="yes" force_display_thumb="yes"]
📎 Resources
Check this section of our documentation for the shortcode [hb_booking_form].