A simple listings plugin to use for example buy and sell.
- Install and activate the plugin.
- In wp-admin go to "listings -> places" and add your wanted places.
- In wp-admin go to "listings -> categories" and add your wanted categories.
- In wp-admin go to "listings -> options" and change the options to your prefered settings.
- Use the shortcode
[wp-listings-form]to display the listings submission form in any post or page.
You probably want to create a
archive-listings and a
single-listings in your theme.
archive-listingswill handle the search and listing of the listings.
single-listingswill handle displaying a single listing.
Displays a button to the "add new listing" form depending on your settings in the wp-listings options page.
Conditional. Should price be displayed or not (fetched from options page).
Displays the contact form.
Gets an array with meta fields of the current listing.
Displays the listings submission form.
Displays the search form. You can use this shortcode in your
archive-listings template to display the search form there.
<?php echo do_shortcode('[wp-listings-search-form]'); ?>
Displays the contact form which you can contact a seller through. You can use this in your
<?php echo do_shortcode('[wp-listings-contact-form]'); ?>