Custom Home Page

By default the order and position of elements of [webdirectory] main shortcode is static: frontpanel buttons, search form, categories list, locations list, google map, listings block. But there is a possibility to set up custom layout.

Two ways to build custom home page:

  1. Using shortcodes with custom_home=1 parameter. When you set up [webdirectory custom_home=1] – the shortcode displays only listings, no map, no categories list, no locations list, no search form. This special mode allows to build custom directory home page as you wish using additional shortcodes:

    [webdirectory-search custom_home=1] - custom search form gives search results into main [webdirectory custom_home=1] element.

    [webdirectory-categories custom_home=1] - categories shortcode renders corresponding categories navigation menu.

    [webdirectory-locations custom_home=1] - locations shortcode renders corresponding locations navigation menu.

    [webdirectory-map custom_home=1] - Google map with markers from listings.

    [webdirectory-breadcrumbs] - displays breadcrumbs in the place of this shortcode. custom_home=1 parameter does not need.

    [webdirectory-buttons] - renders following buttons: Submit new listing, My bookmarks button and buttons on single listing page: Claim listing, Edit listing, Print listing, Add/Remove Bookmark, Save listing in PDF. custom_home=1 parameter does not need.

    [webdirectory-term-title] - displays category, location or tag title in the place of this shortcode. custom_home=1 parameter does not need.

    [webdirectory-term-description] - displays category, location or tag description in the place of this shortcode. custom_home=1 parameter does not need.

  2. The plugin is fully compatible with WordPress Visual Composer and SiteOrigin page builder plugins. Use directory widgets with enabled custom home page setting.

Detailed explanation of all shortcodes here.