From 3cc2a28c8d1683e32645f3e25632e7793b4f7012 Mon Sep 17 00:00:00 2001 From: Steve Sutton Date: Tue, 21 Jun 2016 09:52:44 -0400 Subject: [PATCH] Update the shortcode page with the amenity-groups --- setup/shortcodes.php | 22 ++++++++++++++-------- 1 file changed, 14 insertions(+), 8 deletions(-) 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 ","

  -- 2.17.1