Update the shortcode page with the amenity-groups
authorSteve Sutton <steve@gaslightmedia.com>
Tue, 21 Jun 2016 13:52:44 +0000 (09:52 -0400)
committerLaury GvR <laury@gaslightmedia.com>
Tue, 21 Jun 2016 21:39:40 +0000 (17:39 -0400)
setup/shortcodes.php

index f74cbbf..9d7f833 100644 (file)
 
 $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.
             </p>
         </td>
+    </tr>
+    <tr>
+        <td></td>
+        <th>amenity-groups="1,2"</th>
+        <td><p>The "amenity-groups" attribute is used to display only the amenities that are in specific groups or a group. 
+            Separate the groups with a ","</p></td>
     </tr>
         <tr>
         <td>&nbsp;</td>