Select Page

Create this file in your child theme:

/wp-content/themes/YOUR-CHILD-THEME/listings/shortcodes/motors-listings-tabs.php

Copy the original file from the plugin:

motors-car-dealership-classified-listings/templates/shortcodes/motors-listings-tabs.php

Then change this line:

$per_page = 8;

to this:

$per_page = ! empty( $limit ) ? intval( $limit ) : 8;

Then your shortcode can become:

[motors_listings_tabs title='New/Used Cars' columns='3' recent_tab='yes' limit='3']

That will show 3 cars, in 3 columns.