|

Shortcode to output a list of resources

This shortcode will output a list of bookable resources, it could be agents, services or locations. There are two ways of adding it to your page:

Shortcode

[latepoint_resources items="agents" columns="4"]
CleanShot 2022 09 13 At 00.11.11@2x 1024x292
[latepoint_resources items="services" columns="4"]
CleanShot 2022 09 13 At 00.11.26@2x 1024x361
[latepoint_resources items="locations" columns="3"]
CleanShot 2022 09 13 At 00.11.48@2x 1024x352

Show specific items or groups

You can specify list of IDs of resources you want to show using item_ids attribute or group_ids if you are generating services or locations resources which have groups.

[latepoint_resources items="locations" item_ids="3,5"]
[latepoint_resources items="services" group_ids="2,4,6"]

Edit button caption text

[latepoint_resources items="locations" button_caption="Make an Appointment"]

Edit styling of the button

[latepoint_resources items="locations" button_bg_color="#111" button_text_color="#fff" button_font_size="18px" button_border_radius="10px"]

Set limit on how many items are displayed

[latepoint_resources items="locations" limit="4"]

Booking process settings

This shortcode accepts the same booking parameters as the booking button. You can specify which which agent, service or location is preselected, start date etc. For example if you want to preselect a specific agent for a list of generated services, you can do the following:

[latepoint_resources items="services" selected_agent="any"]

Full list of booking attributes:

[latepoint_shortcode_attributes_skip_steps]

Block Element

If you are using a WordPress theme that supports Block Elements, you can search for a list of resources element in a list of available Blocks.

CleanShot 2023 04 30 At 12.33.00@2x

Once you’ve inserted this block, its attributes can be edited using a settings panel for that block:

CleanShot 2023 04 30 At 12.34.24@2x 1024x491
Was this doc helpful?
What went wrong?

We don't respond to the article feedback, we use it to improve our support content.

On this page