{"id":67116,"date":"2017-04-20T14:34:17","date_gmt":"2017-04-20T14:34:17","guid":{"rendered":"https:\/\/wordpress.org\/plugins\/random-number-shortcode\/"},"modified":"-0001-11-30T00:00:00","modified_gmt":"-0001-11-30T00:00:00","slug":"random-number-shortcode","status":"closed","type":"plugin","link":"https:\/\/wordpress.org\/plugins\/random-number-shortcode\/","author":145402,"comment_status":"closed","ping_status":"closed","template":"","meta":{"version":"1.0.0","stable_tag":"4.3","tested":"3.4.2","requires":"3.0.1","requires_php":"","requires_plugins":"","header_name":"Random number shortcode","header_author":"Peter Forret","header_description":"provides the [randnum] shortcode to add random numbers in text\/URLs","assets_banners_color":"","last_updated":"2017-04-20 14:34:17","external_support_url":"","external_repository_url":"","donate_link":"http:\/\/blog.forret.com","header_plugin_uri":"https:\/\/github.com\/pforret\/wp_randnum","header_author_uri":"http:\/\/blog.forret.com","rating":0,"author_block_rating":0,"active_installs":0,"downloads":1655,"num_ratings":0,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","faq","changelog"],"tags":[],"upgrade_notice":[],"ratings":[],"assets_icons":[],"assets_banners":[],"assets_blueprints":{},"all_blocks":[],"tagged_versions":[],"block_files":[],"assets_screenshots":[],"screenshots":[]},"plugin_section":[],"plugin_tags":[],"plugin_category":[],"plugin_contributors":[],"plugin_business_model":[],"class_list":["post-67116","plugin","type-plugin","status-closed","hentry","plugin_committers-pforret"],"banners":[],"icons":{"svg":false,"icon":"https:\/\/s.w.org\/plugins\/geopattern-icon\/random-number-shortcode.svg","icon_2x":false,"generated":true},"screenshots":[],"raw_content":"\n\n<!--section=description-->\n<ul>\n<li>the number [randnum] is random<\/li>\n<li>Random year is [randnum min=2001 max=2017]<\/li>\n<li>the link '\/test\/?num=[randnum]' will never be cached<\/li>\n<\/ul>\n\n<p>Default min = 0\nDefault max = 100000<\/p>\n\n<!--section=faq-->\n<dl>\n<dt>Installation Instructions<\/dt>\n<dd><ol>\n<li>Upload folder <code>wp_randnum<\/code> to the <code>\/wp-content\/plugins\/<\/code> directory<\/li>\n<li>Activate the plugin through the 'Plugins' menu in WordPress<\/li>\n<li>Place <code>[randnum]<\/code> in your templates<\/li>\n<\/ol><\/dd>\n<dt>How does this work<\/dt>\n<dd><p>This is just a simple wrapper around the php <code>rand<\/code> function. That's where the magic happens. \n<a href=\"http:\/\/php.net\/manual\/en\/function.rand.php\">http:\/\/php.net\/manual\/en\/function.rand.php<\/a><\/p><\/dd>\n<dt>But why would I need that?<\/dt>\n<dd><p>I created because I needed an easy way to generate random URL params (to avoid caching).<\/p><\/dd>\n\n<\/dl>\n\n<!--section=changelog-->\n<h4>1.0<\/h4>\n\n<ul>\n<li>First version<\/li>\n<\/ul>","raw_excerpt":"provides the [randnum] shortcode to add random numbers in text\/URLs","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/67116","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=67116"}],"author":[{"embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/pforret"}],"wp:attachment":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=67116"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=67116"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=67116"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=67116"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=67116"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=67116"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}