Gallery displays R.W. Elephant rental inventory on your website.
When modifying templates, create a
rw-elephant-templates directory under your
wp-content directory (
/wp-content/rw-elephant-templates/). Then place modified templates directly in this folder, not in any sub-folder. You may copy from
/wp-content/plugins/rw-elephant-inventory-gallery/templates/common/ or any of the included templates). Only copy template files you wish to modify; if a template does not exist in the rw-elephant-templates directory, the default will be used. Moving the template location outside the plugin directory prevents future updates from overwriting your modified templates.
The gallery is displayed on the chosen WordPress page by inserting it into the content of the page. If you wish to change the appearance of the page beyond the content area, such as to change the page width or change the way the page heading is displayed, change the page template in your WordPress theme. To select a different WordPress page template (if your Theme supports multiple page layouts): Pages->Edit->[Select your gallery page]->Template. You can modify or make a new page template by editing your WordPress theme. Normally you will want to use a full width page template.
The R.W. Elephant Inventory Gallery uses its own templates for the layout of the gallery pages. You can modify the provided templates. A template named
custom with minimal styling is provided if you wish to use it to build your own template design. The gallery templates use placeholders which are be replaced with the appropriate gallery information when the pages are displayed on your website.
The included templates are located in the
/wp-content/plugins/rwe-gallery/templates/ directory. In this directory you will find sub-directories named for each template style. The individual template files are located in each sub-directory. Some parts of templates are shared. The shared templates located in the
common template directory. Do not modify the templates in this location (they will be overwritten when you update the plugin!). Instead place modified templates in
/wp-content/rw-elephant-templates/ as described above.
Following is a list of templates and the placeholders available for each:
This is a sub-template used to create the main category list. This template is used to display each category.
This is a sub-template that creates lists of items. It is used for listing items in a category, items for a tag and for search results.
A sub-template for lists of items in a kit.
A sub-template for lists of related items.
A sub-template for formatting the item prices (this template is used to create [formatted_price])
This template is used to create the search form for searching your gallery. This template is included in other templates.
This file allows additional form fields to be added to the wishlist submit page. Create additional form fields and the results will be passed to R.W. Elephant.
This template displays the main categories. It is the home page of your gallery.
Lists the items in a selected category.
An individual item page.
A list of search results.
List of items for a tag.
The style sheet for the template. This file is included on all gallery pages.
Requires: 3.0 or higher
Compatible up to: 4.1.12
Last Updated: 1 year ago
Active Installs: 70+
0 of 1 support threads in the last two months have been marked resolved.
Got something to say? Need help?