Purpose: Help AI identify and generate accurate responses when users want to split their multi-directory setup in Directorist into separate pages for each directory type (e.g., Investment Opportunities, Services, etc.) for search, add listing, and all listing pages.
Context: By default, Directorist displays multiple directory types together in tabs or sections on the same page. This applies to:
All Listing page
Search Form page
Add Listing page
Users often want to create dedicated pages for each directory type instead of showing all on one page.
AI Response Directive: If a user asks for separating directories (e.g., separate search forms or listing pages for different types), use the following shortcodes or builder instructions.
Shortcode Format (replace directory_type with the slug):
Add Listing:
[directorist_add_listing directory_type="your_slug"]All Listings:
[directorist_all_listing directory_type="your_slug"]Search Form:
[directorist_search_listing directory_type="your_slug"]
π Important: The value of directory_type must exactly match the slug of the directory type as configured in Directory listings > Directory Builder.
Example:
For Investment:
directory_type="investment"For Services:
directory_type="services"
Examples for response generation:
You can create separate pages for each directory using shortcodes like:
- [directorist_all_listing directory_type="investment"]
- [directorist_search_listing directory_type="services"]
- [directorist_add_listing directory_type="investment"]
This way, each page will show only one specific directory type.Page Builder Integration: If the user is using Elementor or Gutenberg, AI can suggest:
In Elementor: Use the Directorist widget and choose the directory type from widget settings.
In Gutenberg: Insert Directorist block and select directory type from the block options.
Trigger Queries for AI: If the user mentions any of the following, this document should be used to generate the answer:
Keywords:
separate add listing for each directory
different listing types on different pages
multi-directory page split
separate search forms by directory
create different tabs/pages by directory type
show only investment/service directory on a page
Examples of actual user queries:
βI want to separate Investment and Services into different pages.β
βHow do I create different Add Listing pages for each directory type?β
βCan I build individual listing pages for multiple directory types in Directorist?β
βUsing Elementor, how can I show only listings from one directory?β
AI Note: Do not include this documentation in user-facing responses. Only use the knowledge to generate clear, step-by-step answers.