Overview #
Directorist provides a wide range of shortcodes to help you display directory components anywhere on your website. Each shortcode serves a specific purpose, from showing all listings to enabling front-end submissions, user dashboards, and more.
Shortcodes also support multiple parameters that let you customize how listings and pages are displayed. You can control layout type, number of listings per page, sorting order, and more — all directly through shortcode attributes.
All of these parameters are optional. If you don’t include them, Directorist will automatically use the default options configured in the settings panel at
Directory Listings → Settings → Listing Settings → General Settings.
For example:
[directorist_all_listing view="grid" listings_per_page="9" orderby="date" order="desc"]
This shortcode displays listings in a grid view, showing nine listings per page, ordered by date in descending order.
| Shortcode | Description |
|---|---|
[directorist_add_listing] | Displays the Add Listing form, allowing users to submit new listings from the frontend. |
[directorist_all_listing] | Shows all active listings in your directory with sorting, filtering, and view options. |
[directorist_category] | Displays listings from a specific category based on the selected category ID or slug. |
[directorist_all_locations] | Shows a list of all locations configured in your directory. |
[directorist_search_result] | Displays the search results page, showing listings based on user search queries and filters. |
[directorist_login_registration] | Displays both login and registration forms on the same page for easy user access. |
[directorist_checkout] | Displays the payment and checkout process for monetized listings. |
[directorist_all_categories] | Shows all available categories in your directory, often used as a directory index. |
[directorist_search_listing] | Displays the search form for listings. Can be placed on any page to allow quick searches. |
[directorist_user_dashboard] | Displays the user dashboard, where authors can manage, edit, or delete their listings. |
[directorist_author_profile] | Displays a specific author’s profile page, including bio, contact info, and their listings. |
[directorist_all_authors] | Displays a grid or list of all authors who have published listings in the directory. |
Learn More #
Each shortcode has its own detailed documentation explaining its available parameters, usage examples, and customization options.
Visit the specific shortcode documentation page (e.g., Add Listing Shortcode, All Listings Shortcode, Search Shortcode, etc.) for complete details and practical examples.
Tips for Using Directorist Shortcodes #
- Use these shortcodes individually or combine them to create custom directory pages.
- Shortcodes automatically inherit your directory layout and theme styling.
- You can add shortcode parameters (like category, location, or view type) to customize output.
- Always make sure the shortcode is placed inside a Shortcode Block in the editor for best results.