custom-templates-image

Custom Template Folder 2.0

Free

Provides an update-safe location for all your Participants Database custom templates. Version 2 adds Multisite support.

Latest Release Available: Version 2.1

Description

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.

Instructions

This plugin creates a location for your Participants Database custom templates in the content directory of your WordPress site. Typically, the location will be:

wp-content/participants-database-templates/

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.

Multisite Support

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:

wp-content/participants-database-templates/blog-1/
wp-content/participants-database-templates/blog-2/

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.

  1. This will temporarily interrupt proper display of your Participants Database custom templates.
  2. Install (do not activate) the new Custom Template Folder 2 plugin
  3. Deactivate (but do not delete) the original Custom Template Folder (version 0.3) plugin
  4. Now activate the new Custom Template Folder 2 plugin
  5. 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:
    wp-content/plugins/pdb-custom-templates/templates/
  6. That path is where all your custom templates will be
  7. The 2.0 plugin creates a new directory in the content directory of your site. Typically the path will be:
    wp-content/participants-database-templates/
  8. Move your templates from the old plugin templates directory into the new location
  9. Check your displays, your custom templates should be active again
  10. Once you know the custom templates are working, you can remove or delete the original plugin.

Reviews

There are no reviews yet.

Be the first to review “Custom Template Folder 2.0”
You have to agree to the comment policy.

No product-specific support has been configured for this product yet. Please contact me with your questions.