Product Support

Custom Template Folder

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

Product Setup

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…

Use with Other Participants Database Add-Ons

Some add-ons offered here use their own templates, for example Field Group Tabs or Member Payments. The Custom Templates Folder add-on works with all these add-ons as well. The main difference is where you get the default template to start with when creating your own custom templates: each add-on that uses special templates will have it’s default templates in a folder named “templates” in the plugin folder. See the add-on’s instructions for the details.

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.

Support Discussions for Custom Template Folder 2.0

  • Hi I love your Plugin however I add a challenge, I used a custom template because the default search result was not reponsive.

    However after using the template it shows well but I would like to surpress the search result until the user search for it, at the moment it shows the list by default, how do I add it? Below is the shortcocde [pdb_list template=single search=true]

    • Is the “single” template one you developed yourself? There isn’t such a template built into the plugin for the list shortcode. There are two responsive templates available for the list: “responsive” and “flexbox” or of course, you can create your own.

      To suppress showing results results before a search is performed, use the “suppress” attribute, like this example: [pdb_list search=true suppress=true]

      • How can I use the responsive template? Kindly share a link

        However I used the surpress code it worked but the result did not show on the user search, it only reloads. Any idea what the issue could be?

        • This is explained on the Using the List Shortcode page. You can choose the template using the “template” attribute in the shortcode, like this:

          [pdb_list template=responsive]

          which you can combine with other attributes, for example:

          [pdb_list template=responsive search=true suppress=true]

          post a link to your page so I can see what the problem is.

  • Dear Sirs
    Not able upload any image in the profiles of the participant-database
    I tried to upload various images to the profiles of the users listed in teh database,
    I tried several .PNG .JPEG and .JPG images with all kinds of sizes
    Nothing succeeded
    The system keeps responding with an error message

    For “Photo”, you may only upload image files like JPEGs, GIFs or PNGs.

    Can you please inform me about the error / solution please
    THANKS!
    Paul

    • Check the “Allowed File Types” setting for Participants Database under the general tab. Only file types (actually file extensions) that are in the list can be uploaded.

  • Is there a way to have a link to a photo appear as the image, rather than a link to the image. Obviously you can have images, because a photo filed is there. But I’d rather not upload each photo.

    • This is a really good idea that I have had on my list for a while, just haven’t gotten around to implementing it.

  • WordPress keeps changing & to & in the search and list shortcodes. Will the shortcodes work that way? I have tried protecting them with [raw}…[/raw] but that doesn’t work. Ideas?

    • The best way to prevent this is to edit and save the page in text mode. You may find, however, that the shortcodes work OK with the & they will convert the entities.

Got a Support Question?

You have to agree to the comment policy.