Item custom post type

Updated: July 24, 2020

To add new Item custom post type navigate to Item > Add New in main WordPress menu.

For each Item Post, like for other WordPress posts can be added main Title, Content text, Excerpt text and Featured Image. Other additional information are divided into sections in Item Options metabox.

Item Options metabox

General options

General information for Item post, can be added subtitle text and select with checkbox if Item Post is marked as featured.

Address & Location options

Define address and position of Item Post, more precise position on the map can be defined by click on Google Map.
In case of Google Maps, also StreetView can be displayed instead of simple map – this option is not available if you have not filled Google Maps API key in Citadela Directory admin settings, in that case is shown free OpenStreetMap instead of Google Map.

Contact options

General contact information like telephone, email and web address related to Item Post. You can decide if email information will be shown, email can be hidden for customers and used only with contact form on Item detail page. Also instead of full web address can be displayed link text from input Website Link Label.

Opening Hours options

For opening hours can be used any text you want, but to satisfy SEO structured data for openingHours property, we recommend to use 24:00 time format (ie 08:00-15:00).

GPX Track options

For each Item post can be uploaded GPX file which include the track rendered on map. Using uploader in metabox can be file simply uploaded from the computer or directly from WordPress Media. Plugin supports most standard structures of GPX files.
For more information about GPX Tracks support visit please related documentation page.

How to display information on frontend

Information mentioned above are displayed on Item detail page using Blocks available on Special Item Detail Page. You can reorganize blocks per your needs, add new blocks and create that way wanted layout for your Item posts. More information where you can find Special Item Detail Page can be found in Directory Special Pages documentation.