Shortcodes
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.
Overview of the Shortcodes Tab
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.
Here are the available shortcodes:
Inventory
Adds an inventory element, used to create a listings page:
Refer to these pages to set up more preferences over this element:
Listings PageListing Info CardAdd Listing
Adds a listing form, used to create a listing creation page:
Refer to these pages to set up more preferences over this element:
Listing Creation FormLayout BuilderLogin/Registration
Adds login and registration form, used to create Login/Registration page:
Compare
Adds compare element, used to create a comparing page:
Listing Search
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
Icon Filter
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.
Listing Tabs
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
Last updated