Shortcodes
Last updated
Last updated
Shortcodes created by a plugin are essential tools for visualizing tasks. They are the only means to insert widgets and design pages with specific behaviors.
To access the Shortcodes tab, navigate through Motors Plugin Settings > Shortcodes:
To add Shortcodes to your pages, you can use any page builder, Default WordPress Page Builder (Gutenberg), Elementor, WP Bakery, etc.
Adds an inventory element, used to create a listings (inventory, search results) page:
Refer to this page to set up more preferences over this element:
Adds a listing form, used to create a listing creation page:
Refer to these pages to set up more preferences over this element:
Adds login and registration form, used to create Login/Registration page:
Adds compare element, used to create a comparing page:
Adds listing search bar. It can be used in your Landing or separate Search pages.
"show_amount" - used for showing amount listings in each category
"filter_fields" - write category slug by comma separator to show filter fields
Adds a special widget that enables icons to be filtered. It can be used in Landing or Special Search pages according to your needs.
title - indicate the widget title
as_carousel - showing the widget as a carousel. Remove the parameter from the shortcode to get the default view
filter_selected - indicate the slug of the category to show its elements in icon filtering. For instance, 'make' has been entered in the example shortcode. It means in this filter logos of the car manufacturers will be displayed.
columns - indicate the number of columns
visible_items - indicate the number of visible items in the filter.
Adds a widget that the cars (listings) list will be displayed in different tabs. It can be useful to build a landing page:
title - enter the widget Title
columns - indicate the number of columns that need to be displayed
popular_tab - use 'yes' to enable the Popular Items tab in the widget or remove the parameter to hide it
recent_tab - use 'yes' to enable the Recent Items tab in the widget or remove the parameter to hide it
featured_tab - use 'yes' to enable the Featured Items tab in the widget or remove the parameter to hide it