The official Generous plugin that allows you to easily generate a store.
| Author: | Generous (profile at wordpress.org) |
| WordPress version required: | 3.8 |
| WordPress version tested: | 4.0.33 |
| Plugin version: | 0.1.3 |
| Added to WordPress repository: | 28-10-2014 |
| Last updated: | 30-03-2015
Warning! This plugin has not been updated in over 2 years. It may no longer be maintained or supported and may have compatibility issues when used with more recent versions of WordPress.
|
| Rating, %: | 0 |
| Rated by: | 0 |
| Plugin URI: | https://github.com/generous/generous-wordpres... |
| Total downloads: | 653 |
![]() Click to start download |
|
The official Generous plugin that allows you to easily generate a store.
Requires a Generous account.
Usage
Settings
Within the plugin settings page, specify your Generous username, the permalink where the store should generate, and save.
Shortcodes
Display Generous content from a WordPress post or page.
[generous store]Outputs a store[generous categories]Outputs a list of categories[generous category=id]Outputs slider of the specified category
Templates
To modify the templates, create a folder called generous-templates within your theme, and copy over the templates that you’d like to customize.
Pages
page-default.phpDisplays a list of categories, and sliders of the featured categorypage-category.phpA page of sliders of a specified categorypage-slider.phpA page of an individual slider
Shortcodes
shortcode-categories.php[generous categories]shortcode-category.php[generous category=id]shortcode-store.php[generous store]
Partials
partials/categories-item.phpThe category item (Used by: shortcode-categories.php)partials/slider-item.phpThe category item (Used by: page-default.php, page-category.php, shortcode-category.php)partials/slider.phpThe single slider item (Used by: page-slider.php)
Filters
Filters allow you to output requested data within your templates.
slider-item.php
[slider_id]The ID of the slider[title]Title[cover_photo]Cover photo[additional_info]Description[suggested_price]Suggested price decimal – (10.00)[suggested_price_whole]Suggested price whole – (10)[minimum_price]Minimum price decimal – (10.00)[minimum_price_whole]Minimum price whole – (10)[currency_symbol]Currency symbol – ($)[charity_percentage]Percentage going to charity[item_total]Total number of items[item_total_label]Item label – (Items or Item)[short_url]Short url[button_slider_overlay]Link that generates overlay
category-item.php
[title]– Title
ChangeLog
