From: Steve Sutton Date: Tue, 21 Jun 2016 13:52:44 +0000 (-0400) Subject: Update the shortcode page with the amenity-groups X-Git-Tag: v2.1.11^2~2 X-Git-Url: http://cvs2.gaslightmedia.com/gitweb/?a=commitdiff_plain;h=1da7537e8bd7aca6f4e41f59e9528f16f6c0b2d4;p=WP-Plugins%2Fglm-member-db.git Update the shortcode page with the amenity-groups --- diff --git a/setup/shortcodes.php b/setup/shortcodes.php index f74cbbf3..9d7f833d 100644 --- a/setup/shortcodes.php +++ b/setup/shortcodes.php @@ -64,10 +64,10 @@ $glmMembersShortcodes = array( 'glm-members-list' => array( - 'plugin' => GLM_MEMBERS_PLUGIN_SLUG, - 'menu' => 'members', - 'action' => 'list', - 'table' => GLM_MEMBERS_PLUGIN_DB_PREFIX.'settings_general', + 'plugin' => GLM_MEMBERS_PLUGIN_SLUG, + 'menu' => 'members', + 'action' => 'list', + 'table' => GLM_MEMBERS_PLUGIN_DB_PREFIX.'settings_general', 'attributes' => array( 'category' => false, 'category-name' => false, @@ -123,10 +123,10 @@ $glmMembersShortcodes = array( ) ), 'glm-member-detail' => array( - 'plugin' => GLM_MEMBERS_PLUGIN_SLUG, - 'menu' => 'members', - 'action' => 'detail', - 'table' => GLM_MEMBERS_PLUGIN_DB_PREFIX.'settings_general', + 'plugin' => GLM_MEMBERS_PLUGIN_SLUG, + 'menu' => 'members', + 'action' => 'detail', + 'table' => GLM_MEMBERS_PLUGIN_DB_PREFIX.'settings_general', 'attributes' => array( 'id' => false, 'show' => false, @@ -209,6 +209,12 @@ $glmMembersShortcodesDescription = ' category exactly to be selected. Category names must be enclosed in quotes.

+ + + + amenity-groups="1,2" +

The "amenity-groups" attribute is used to display only the amenities that are in specific groups or a group. + Separate the groups with a ","