This page is a work in progress …
On this page:
Choose a theme Basic installation Create at least one category and one listing Connect your menu Do you need any addons? Expand your directory to more than one city Change “Places” and add more custom post types Adding events to your directory
- It is best practice to start with choosing a theme.
- You can find GeoDirectory themes here, but you should be able to use the GeoDirectory with any theme that features templates that follow the default HTML5 structure.
- If your choice of theme does not come with a child theme, create one. More information at the WordPress site.
- You can always switch themes later, but you will have to re-do some work like menus and widgets.
- Before switching themes, make a note of any changes you made to your child theme’s style.css and functions.php files.
Another choice would be to use plugins that keep your customizations separate from your theme, like the Code Snippets plugin and the SiteOrigin CSS plugin.
- Download and activate your GD core plugin, and follow the installation guide here.
- Make sure to set your permalinks and media settings correctly, allow user registration and add a default location.
- If you want to enable reviews of listings, you need to allow comments.
- Without at least one category and one listing, there is nothing to show in your directory, and maps and widgets will not display anything.
- The easiest is to import at least one dummy listing. Go to GD > General > Dummy data and import one or more listings.
- Alternatively, create a category at Places > Categories, and then add a listing to it at Places > Add New.
- Make sure you have created a menu at Appearance > Menus, and then you have assigned your menu to a theme location. Here is an example, this will be different depending on your theme:
- Now go to GD > Design > Navigation and connect your menu. More information here.
You now should have a working site. Congratulations !
- Consider if need any addons – do this before finishing the look and feel of your site, like adding widgets etc, because some addons will add additional widgets, extra content and you might also have to adjust your menu.
- Keep reading below to see which addons would complete your site.
- As standard, GeoDirectory can be setup for a single location and listings can be added only for that location, but with our Location Manager plugin, you can let users set the location of their listings and the location will be stored in your locations database.
- The default Custom Post Type (CPT) is called Places. You can rename Places to anything else that suits your site by using the translation file, but using the Custom Post Type addon makes it even simpler.
- The Custom Post Type addon also allows you to organize your site without being restricted to one custom post type only. Read more here about usage of the Custom Post Type addon.
- The Events addon is similar to an extra Custom Post Type, but with the extra capability of setting times and dates of the event listings, together with a calendar widget.