{"id":35133,"date":"2015-03-15T17:28:31","date_gmt":"2015-03-15T17:28:31","guid":{"rendered":"https:\/\/wordpress.org\/plugins-wp\/membermouse-member-count-shortcode\/"},"modified":"2015-11-19T18:34:59","modified_gmt":"2015-11-19T18:34:59","slug":"membermouse-member-count-shortcode","status":"closed","type":"plugin","link":"https:\/\/wordpress.org\/plugins\/membermouse-member-count-shortcode\/","author":14330325,"comment_status":"closed","ping_status":"closed","template":"","meta":{"version":"1.3.0","stable_tag":"1.3.0","tested":"4.4.34","requires":"4.0","requires_php":"","requires_plugins":"","header_name":"MemberMouse Member Count","header_author":"wpdev.co","header_description":"","assets_banners_color":"066cd2","last_updated":"2015-11-19 18:34:59","external_support_url":"","external_repository_url":"","donate_link":"","header_plugin_uri":"http:\/\/wpdev.co\/","header_author_uri":"http:\/\/wpdev.co\/","rating":5,"author_block_rating":0,"active_installs":10,"downloads":1816,"num_ratings":0,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","installation","faq","changelog"],"tags":[],"upgrade_notice":{"1.3.0":"<p>Add support for timespan: 1 hour, day, week, month, and year.<\/p>"},"ratings":{"1":0,"2":0,"3":0,"4":0,"5":"1"},"assets_icons":{"icon-128x128.png":{"filename":"icon-128x128.png","revision":"1114032","resolution":"128x128","location":"assets"},"icon-256x256.png":{"filename":"icon-256x256.png","revision":"1114032","resolution":"256x256","location":"assets"}},"assets_banners":{"banner-1544x500.png":{"filename":"banner-1544x500.png","revision":"1113295","resolution":"1544x500","location":"assets"},"banner-772x250.png":{"filename":"banner-772x250.png","revision":"1113350","resolution":"772x250","location":"assets"}},"assets_blueprints":{},"all_blocks":[],"tagged_versions":["1.0.0","1.0.1","1.1.0","1.2.0","1.3.0"],"block_files":[],"assets_screenshots":{"screenshot-1.png":{"filename":"screenshot-1.png","revision":"1113298","resolution":"1","location":"assets"},"screenshot-2.png":{"filename":"screenshot-2.png","revision":"1113297","resolution":"2","location":"assets"}},"screenshots":{"1":"Multiple shortcodes on a page.","2":"Shortcodes output."}},"plugin_section":[],"plugin_tags":[11253,1919,1932,357],"plugin_category":[43,58],"plugin_contributors":[94897,94896],"plugin_business_model":[],"class_list":["post-35133","plugin","type-plugin","status-closed","hentry","plugin_tags-membermouse","plugin_tags-members","plugin_tags-membership","plugin_tags-shortcodes","plugin_category-customization","plugin_category-user-management","plugin_contributors-jasonmanheim","plugin_contributors-wpdevco","plugin_committers-wpdevco"],"banners":[],"icons":{"svg":false,"icon":"https:\/\/s.w.org\/plugins\/geopattern-icon\/membermouse-member-count-shortcode_066cd2.svg","icon_2x":false,"generated":true},"screenshots":[{"src":"https:\/\/ps.w.org\/membermouse-member-count-shortcode\/assets\/screenshot-1.png?rev=1113298","caption":"Multiple shortcodes on a page."},{"src":"https:\/\/ps.w.org\/membermouse-member-count-shortcode\/assets\/screenshot-2.png?rev=1113297","caption":"Shortcodes output."}],"raw_content":"<!--section=description-->\n<p>Display the total count of active members in MemberMouse (with optional Membership Level, Bundle attribute, and timespan) via shortcode. Output is cached for 24 hours.<\/p>\n\n<h4>Examples<\/h4>\n\n<ul>\n<li><strong>Total active members:<\/strong> <code>[mm-active-member-count]<\/code><\/li>\n<li><strong>Total active members in the last week:<\/strong> <code>[mm-active-member-count time=\"week\"]<\/code><\/li>\n<li><strong>Active members with <em>Membership Level<\/em> 1:<\/strong> <code>[mm-active-member-count level=\"1\"]<\/code><\/li>\n<li><strong>Active members with <em>Bundle<\/em> 3:<\/strong> <code>[mm-active-member-count bundle=\"3\"]<\/code><\/li>\n<li><strong>Active members with <em>Membership Level<\/em> 1 and <em>Bundle<\/em> 3:<\/strong> <code>[mm-active-member-count level=\"1\" bundle=\"3\"]<\/code><\/li>\n<li><strong>Active members with <em>Membership Level<\/em> 1 and <em>Bundle<\/em> 3 in the last month:<\/strong> <code>[mm-active-member-count level=\"1\" bundle=\"3\" time=\"month\"]<\/code><\/li>\n<\/ul>\n\n<blockquote>\n  <p>This plugin is an add-on and requires <a href=\"http:\/\/membermouse.com\/\">MemberMouse<\/a>.<\/p>\n<\/blockquote>\n\n<!--section=installation-->\n<ol>\n<li>Upload the plugin to the <code>\/wp-content\/plugins\/<\/code> directory.<\/li>\n<li>Activate the plugin through the 'Plugins' menu in WordPress.<\/li>\n<li>Use the [mm-active-member-count] shortcode in any content area.<\/li>\n<\/ol>\n\n<!--section=faq-->\n<dl>\n<dt>How do I find Membership Level IDs?<\/dt>\n<dd><p>Hover over the name of any level in MemberMouse -&gt; Product Settings -&gt; Membership Levels<\/p><\/dd>\n<dt>How do I find Bundle IDs?<\/dt>\n<dd><p>Hover over the name of any bundle in MemberMouse -&gt; Product Settings -&gt; Bundles<\/p><\/dd>\n<dt>What are the timespan options?<\/dt>\n<dd><ul>\n<li><code>time=\"hour\"<\/code> = 1 hour<\/li>\n<li><code>time=\"day\"<\/code> = 1 day<\/li>\n<li><code>time=\"week\"<\/code> = 1 week<\/li>\n<li><code>time=\"month\"<\/code> = 1 month<\/li>\n<li><code>time=\"year\"<\/code> = 1 year<\/li>\n<\/ul><\/dd>\n<dt>Can I style the output?<\/dt>\n<dd><p>Absolutely. The output is wrapped in a <code>&lt;span&gt;<\/code> with the class <code>mm-active-member-count<\/code>, <code>mm-level-x<\/code>, and <code>mm-bundle-x<\/code>.<\/p><\/dd>\n\n<\/dl>\n\n<!--section=changelog-->\n<h4>1.3.0 - November 19, 2015<\/h4>\n\n<ul>\n<li>Add support for timespan: 1 hour, day, week, month, and year.<\/li>\n<\/ul>\n\n<h4>1.2.0 - April 25, 2015<\/h4>\n\n<ul>\n<li>Add support for Bundles using an optional <code>bundle<\/code> attribute.<\/li>\n<\/ul>\n\n<h4>1.1.0 - March 16, 2015<\/h4>\n\n<ul>\n<li>Fix dependency check for MemberMouse with <code>plugins_loaded<\/code> hook.<\/li>\n<\/ul>\n\n<h4>1.0.1 - March 15, 2015<\/h4>\n\n<ul>\n<li>Update readme.<\/li>\n<\/ul>\n\n<h4>1.0.0 - March 14, 2015<\/h4>\n\n<ul>\n<li>Initial release.<\/li>\n<\/ul>","raw_excerpt":"Display the total count of active members in MemberMouse (with optional Membership Level, Bundle attribute, and timespan) via shortcode.","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/35133","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=35133"}],"author":[{"embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/wpdevco"}],"wp:attachment":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=35133"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=35133"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=35133"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=35133"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=35133"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=35133"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}