Customizing GeoDirectory templates

Your GeoDirectory site uses a number of special templates to create your map pages, category pages, detail pages etc.

You can find the default templates at /wp-content/plugins/geodirectory/geodirectory-templates.

We provide many hooks and filters that can provide lots of customization options without having to replace templates (this is the preferred way) but If you want to customize them in any way, just follow these steps:

  1. The default templates at /wp-content/plugins/geodirectory/geodirectory-templates.
  2. Navigate to your child theme.
  3. Create a folder in your active child theme folder called geodirectory. 
  4. Find the template you want to customize.
  5. And copy that template to the geodirectory folder in your active child theme.
  6. You can then change the original templates and insert any code needed to adapt the templates for your site or theme.
  7. By creating a copy of the template to your child theme, you will preserve all your changes when the plugin needs upgrading.

 

The two files login_frm.php and reg_frm.php are called in the template geodir-signup.php, you can replace this template but there are easier ways , adding the code below to your child theme functions.php will then allow you to replace those two files as the same way as all the others via the above method.