This simple utility provides a location for your Participants Database custom templates that will be safe from updates, and available to all themes.
Usually, custom templates are placed in the theme directory, but in some cases, this is not the best place for them. It really only works well when the site uses a child theme. If your site does not use a child theme, or the child theme is also subject to updates, then it is best to put your custom templates in a safe location such as the content directory. That is what this add-on does for Participants Database custom templates.
If you are using WordPress Multisite, this plugin will give each blog it’s own location for custom templates.
If you are using any of the WooCommerce “Storefront” themes, this plugin will be of help to you because the Storefront child themes need to be updated from time to time, meaning that any custom templates of your own need to be stored somewhere other than in the child theme.
This plugin is also useful in cases where you want to change the theme, or when using a separate theme for mobile devices.
The use of this plugin is extremely simple: install and activate, then put your Participants Database custom templates in the “participants-database-templates” folder in the content directory of your WordPress site. All your Participants Database shortcodes will now use any matching template it finds there.
Important: This plugin is a major improvement over the originally offered “Custom Template Folder” add-on, and is not compatible with it. If you have the original (version 0.3) plugin, see the instructions tab before installing this one.
This plugin creates a location for your Participants Database custom templates in the content directory of your WordPress site. Typically, the location will be:
In some cases, the content directory looks different than that, this add-on will place the participants-database-templates folder in whatever the designated content directory is for your WordPress install. Ask your developer or hosting tech support if you don’t know where that is.
For multisite installs, each blog will have it’s own folder within that folder for custom templates.
This plugin is not compatible with the original Custom Templates Folder plugin. See below for instructions if you were using the version 0.3 plugin.
When using this plugin with multisite, each site will have it’s own directory for templates. Each multisite directory is named using the ID of the blog…for instance:
and so forth…
Migrating from version 0.3 to version 2
If you were using the original (version 0.3) of the Custom Template Folder add-on for Participants Database, you must make some changes before using this one. Nothing bad will happen if you don’t, it just won’t work as expected.
- This will temporarily interrupt proper display of your Participants Database custom templates.
- Install (do not activate) the new Custom Template Folder 2 plugin
- Deactivate (but do not delete) the original Custom Template Folder (version 0.3) plugin
- Now activate the new Custom Template Folder 2 plugin
- Using FTP (or your hosting files manager), locate the template directory in the original Custom Template Folder plugin. The path will in most cases be:
- That path is where all your custom templates will be
- The 2.0 plugin creates a new directory in the content directory of your site. Typically the path will be:
- Move your templates from the old plugin templates directory into the new location
- Check your displays, your custom templates should be active again
- Once you know the custom templates are working, you can remove or delete the original plugin.
No product-specific support has been configured for this product yet. Please contact me with your questions.