{"id":16895,"date":"2012-02-14T19:30:58","date_gmt":"2012-02-14T19:30:58","guid":{"rendered":"https:\/\/wordpress.org\/plugins-wp\/simple-promo-code\/"},"modified":"2013-12-16T20:03:19","modified_gmt":"2013-12-16T20:03:19","slug":"simple-promo-code","status":"publish","type":"plugin","link":"https:\/\/cl.wordpress.org\/plugins\/simple-promo-code\/","author":8483700,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_crdt_document":"","version":"1.1","stable_tag":"1.1","tested":"3.7.41","requires":"3.0","requires_php":"","requires_plugins":"","header_name":"Simple Promo Code","header_author":"Peter Wooster","header_description":"","assets_banners_color":"","last_updated":"2013-12-16 20:03:19","external_support_url":"","external_repository_url":"","donate_link":"","header_plugin_uri":"http:\/\/devondev.com\/simple-promo-code\/","header_author_uri":"http:\/\/www.devondev.com\/","rating":0,"author_block_rating":0,"active_installs":10,"downloads":3283,"num_ratings":0,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","installation","changelog"],"tags":[],"upgrade_notice":[],"ratings":{"1":0,"2":0,"3":0,"4":0,"5":0},"assets_icons":[],"assets_banners":[],"assets_blueprints":{},"all_blocks":[],"tagged_versions":["1.0","1.0.1","1.1"],"block_files":[],"assets_screenshots":[],"screenshots":[],"jetpack_post_was_ever_published":false},"plugin_section":[],"plugin_tags":[20603,6438,550],"plugin_category":[36],"plugin_contributors":[82643],"plugin_business_model":[],"class_list":["post-16895","plugin","type-plugin","status-publish","hentry","plugin_tags-promo","plugin_tags-short-code","plugin_tags-tracking","plugin_category-analytics","plugin_contributors-pkwooster","plugin_committers-pkwooster"],"banners":[],"icons":{"svg":false,"icon":"https:\/\/s.w.org\/plugins\/geopattern-icon\/simple-promo-code.svg","icon_2x":false,"generated":true},"screenshots":[],"raw_content":"<!--section=description-->\n<p>This plugin allows editors to request a promo code and optional email address from users to get access to a document and track its usage.<\/p>\n\n<p><em>Features for Editors<\/em><\/p>\n\n<ul>\n<li>a short code [promo] is provided that will display a form that requests a \npromo code and optionally an email address from your users and then takes them to a url.<\/li>\n<li>a summary of the accesses using this code is displayed to editors by the short code<\/li>\n<li>editors can clear the logging from the short code<\/li>\n<li>there is no back end admin page <\/li>\n<\/ul>\n\n<p><em>Short Code Arguments are:<\/em><\/p>\n\n<ul>\n<li>code= a string that must be entered  access the document, required<\/li>\n<li>document= a url to the document that you want to track, required<\/li>\n<li>name= the name to display for the document, required<\/li>\n<li>email= 'yes' to request the user's email<\/li>\n<li>id= the id on the form tag, useful for CSS, default is 'promo'<\/li>\n<li>promolabel= the label for the promo code input field, default is 'Please enter promo code for name'<\/li>\n<li>emaillabel= the label for the email input field, default is 'Please enter your email address'<\/li>\n<li>liststyle= the style or class for the ul, default is 'style=\"list-style:none\"'<\/li>\n<\/ul>\n\n<!--section=installation-->\n<ol>\n<li>Use the Plugins, Add New menu in WordPress to install the plugin or upload the <code>simple-promo-code<\/code> folder to the <code>\/wp-content\/plugins\/<\/code> directory.<\/li>\n<li>Activate the plugin through the 'Plugins' menu in WordPress<\/li>\n<li>add the [promo] short code where required<\/li>\n<\/ol>\n\n<!--section=changelog-->\n<h4>1.1<\/h4>\n\n<ul>\n<li>Test for WordPress 3.8 - new wp-admin interface<\/li>\n<\/ul>\n\n<h4>1.0<\/h4>\n\n<ul>\n<li>First release.<\/li>\n<\/ul>\n\n<h4>1.0.1<\/h4>\n\n<ul>\n<li>Update readme<\/li>\n<\/ul>","raw_excerpt":"A very simple plugin that allows an editor to track accesses to a document by promo code.","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/cl.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/16895","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/cl.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/cl.wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/cl.wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=16895"}],"author":[{"embeddable":true,"href":"https:\/\/cl.wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/pkwooster"}],"wp:attachment":[{"href":"https:\/\/cl.wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=16895"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/cl.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=16895"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/cl.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=16895"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/cl.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=16895"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/cl.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=16895"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/cl.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=16895"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}