Directory blocks

Updated: November 15, 2019

Blocks are available in editor under category Citadela Directory Blocks.

Blocks available on all Pages or Posts

Directory Items List

Displays directory items based on filters available in block settings.
You can select from which Category and Location will be listed Item Posts and also how many posts will be displayed in place of block. Using checkbox “Only featured items” you can show only posts which are marked as Featured.

Directory Categories List

Displays directory Categories based on specific filter. You can show only parent categories or only subcategories of selected category.

Directory Locations List

Displays directory locations based on specific filter. You can show only parent locations or only sublocations of selected location.

Directory Google Map

Displays directory items on map based on filters available in block settings. Similar like in Directory Items block you can select from which Category or Location will be listed posts on map and decide if only featured posts will be shown.
With Google Map can be displayed also search form using checkbox “With search form”.

In Appearance tab of block settings can be modified map theme to better meet design of your website.

Directory Search Form

Block displays search form which allow visitors to search Item Posts by keyword, Category or Location.

Blocks available on Special Pages

Blocks available only on Special Pages display specific information based on already opened page.
For example map displayed on specific Category page shows only Item Posts assigned to already opened category.
More about Special Pages can be found in this documentation page.

Automatic Directory Google Map

Block is available on Item Category, Item Location and Search Results special pages.
On the Google Map will be displayed only item posts assigned to already opened Category or Location Page.
On the search results page will be displayed only posts which met search criteria from the search form.
On Item Detail page is displayed currently opened Item Post.

Directory Search Results

Block is available on Item Category, Item Location and Search Results special pages.
Displays directory Item Posts based on currently opened Category, Location page or Item Posts on search results page which met search criteria from the search form.

Directory Subcategories List

Block is available only on Item Category special page.
Displays directory Categories of currently opened parent category.

Directory Sublocations List

Block is available only on Item Location special page.
Displays directory Locations of currently opened parent category.

Blocks for Item Detail Special Page

Blocks from this category can be used only on Item Detail page, because only information related to specific Item Post are displayed by them. Follow please documentation page related to Special Pages to locate Item Detail Special Page.

Item Content

Block displays the content written for Item Post in visual editor of post.

Item Featured Image

Block displays featured image set for Item Post.

Item Contact Details

Block displays Address information filled for Item Post.

Item Contact Form

If Item Post has filled email and use of contact form is allowed for specific post, block displays the contact form which will send an email to email address filled in post.

In block settings you can set up various options:

Email settings options allows you to define sender name, sender email and build simple email message which will be included in email content. In email message can be used placeholder {user-name}, {user-email} and {user-message} which will be replaced with text filled in the form by visitor.

Input Labels options allows you to write custom labels for form inputs and submit button.

Help Texts are displayed with all text inputs in the form, so for each text input you can display additional information per your needs.

Notification messages can be changed to your own text. Form can show three types of notification.
Success message when the form was sent successfully.
Validation error message if visitor fill wrong data in the form (for example not filled field or wrong email address format).
Server error message is thrown when there are problems to send an email because of the problem on server side (usually can be caused by errors from third party plugins or theme)

Item Opening Hours

Block displays Opening Hours section if currently opened post has allowed display of this section.