[login_form]
[listeo_login_form]– displays both login and register in a tabs[listeo_login]– only login form[listeo_registration]– only register forms
[listings]
[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:
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 → Search Formswrap_with_form: If set to ‘yes’, the search form is wrapped with a<form>tag. Default is ‘yes’.custom_class: A custom CSS class to add to the search form. Default is empty.action: The action attribute for the form. Default is empty.more_trigger: If set to ‘yes’, a button for additional features is displayed. Default is ‘yes’.more_text_open: The text for the ‘open’ state of the additional features button. Default is ‘Additional Features’.more_text_close: The text for the ‘close’ state of the additional features button. Default is ‘Additional Features’.more_custom_class: A custom CSS class to add to the additional features button. Default is ‘margin-bottom-10 margin-top-30’.more_trigger_style: The style of the additional features button. Default is ‘relative’.ajax_browsing: If set to ‘on’, enables AJAX browsing for the search form. Default is the value of ‘listeo_ajax_browsing’ option.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’.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:
