[login_form]

  1. [listeo_login_form]
  2. [listeo_login]
  3. [listeo_registration]

[listings]

The [listings] shortcode is used to display listings on a page. It has several attributes that you can use to customize the output. Here’s a brief documentation for each attribute:

  1. style: Determines the style of the listings. Can be ‘list’, ‘grid’, or ‘grid-compact’. Default is ‘list’.
  2. layout_switch: If set to ‘on’, it allows users to switch between different layout styles. Default is ‘off’.
  3. list_top_buttons: Determines which buttons to display at the top of the listings. Options are ‘filters’, ‘order’, ‘layout’, and ‘radius’. You can use a pipe ‘|’ to separate multiple options. Default is ‘filters|order|layout|radius’.
  4. per_page: The number of listings to display per page. Default is the value of ‘listeo_listings_per_page’ option, or 10 if that option is not set.
  5. orderby: Determines how to sort the listings. Default is empty.
  6. order: Determines the order of the listings. Can be ‘ASC’ for ascending order or ‘DESC’ for descending order. Default is empty.
  7. keyword: A keyword to filter the listings. Default is empty.
  8. location: A location to filter the listings. Default is empty.
  9. tax-listing_category: Provide a slug of category you want to display, you can set more than one, separate it by coma.
  10. tax-region: Provide a slug of region you want to display, you can set more than one, separate it by coma.
  11. tax-service_category: Provide a slug of service category you want to display, you can set more than one, separate it by coma. The same works for event_category, rental_category, etc
  12. search_radius: The radius to use for location-based searches. Default is empty.
  13. radius_type: The unit of measurement for the search radius. Default is empty.
  14. featured: If set to ‘true’, only featured listings are shown. If set to ‘false’, featured listings are hidden. If null, both featured and non-featured listings are shown. Default is null.
  15. custom_class: A custom CSS class to add to the listings. Default is empty.
  16. grid_columns: The number of columns to use in grid style. Default is ‘2’.
  17. in_rows: Determines whether to display the listings in rows. Default is empty.
  18. ajax_browsing: If set to ‘on’, enables AJAX browsing for the listings. Default is the value of ‘listeo_ajax_browsing’ option.
  19. from_vs: This attribute is used internally and should not be set manually.

Here’s an example of how to use the shortcode with some of these attributes:


[listeo_search_form]

The [listeo_search_form] shortcode is used to display a search form on a page. This form allows users to search through listings. Here’s a brief documentation for how to use this shortcode based on the output_search_form function:

The [listeo_search_form] shortcode accepts several attributes:

  1. source: Determines the source of the search form. Can be ‘sidebar’, ‘home’, or ‘split’. Default is ‘sidebar’. You can define custom sources by creating new forms in Listeo Editor -> SearchForms
  2. wrap_with_form: If set to ‘yes’, the search form is wrapped with a <form> tag. Default is ‘yes’.
  3. custom_class: A custom CSS class to add to the search form. Default is empty.
  4. action: The action attribute for the form. Default is empty.
  5. more_trigger: If set to ‘yes’, a button for additional features is displayed. Default is ‘yes’.
  6. more_text_open: The text for the ‘open’ state of the additional features button. Default is ‘Additional Features’.
  7. more_text_close: The text for the ‘close’ state of the additional features button. Default is ‘Additional Features’.
  8. more_custom_class: A custom CSS class to add to the additional features button. Default is ‘margin-bottom-10 margin-top-30’.
  9. more_trigger_style: The style of the additional features button. Default is ‘relative’.
  10. ajax_browsing: If set to ‘on’, enables AJAX browsing for the search form. Default is the value of ‘listeo_ajax_browsing’ option.
  11. dynamic_filters: If set to ‘on’, enables dynamic filters for the search form. Default is ‘off’ if ‘listeo_dynamic_features’ option is not set to ‘on’.
  12. dynamic_taxonomies: If set to ‘on’, enables dynamic taxonomies for the search form. Default is ‘off’ if ‘listeo_dynamic_taxonomies’ option is not set to ‘on’.

Here’s an example of how to use the shortcode with some of these attributes: