{"id":2600,"date":"2008-02-28T21:05:05","date_gmt":"2008-02-28T21:05:05","guid":{"rendered":"https:\/\/wordpress.org\/plugins-wp\/contentmixx\/"},"modified":"2011-04-24T01:18:45","modified_gmt":"2011-04-24T01:18:45","slug":"contentmixx","status":"closed","type":"plugin","link":"https:\/\/tw.wordpress.org\/plugins\/contentmixx\/","author":260877,"comment_status":"closed","ping_status":"closed","template":"","meta":{"version":"0.2.1","stable_tag":"0.2.1","tested":"3.1.4","requires":"2.3","requires_php":"","requires_plugins":"","header_name":"Content Mixx","header_author":"Benjamin Sterling","header_description":"","assets_banners_color":"","last_updated":"2011-04-24 01:18:45","external_support_url":"","external_repository_url":"","donate_link":"http:\/\/benjaminsterling.com\/donations\/","header_plugin_uri":"http:\/\/benjaminsterling.com\/wordpress-plugins\/contentmixx\/","header_author_uri":"http:\/\/www.benjaminsterling.com","rating":0,"author_block_rating":0,"active_installs":0,"downloads":1825,"num_ratings":0,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","installation"],"tags":[],"upgrade_notice":[],"ratings":{"1":0,"2":0,"3":0,"4":0,"5":0},"assets_icons":[],"assets_banners":[],"assets_blueprints":{},"all_blocks":[],"tagged_versions":["0.1","0.2.1"],"block_files":[],"assets_screenshots":[],"screenshots":[]},"plugin_section":[],"plugin_tags":[529,10530,10529],"plugin_category":[],"plugin_contributors":[80052],"plugin_business_model":[],"class_list":["post-2600","plugin","type-plugin","status-closed","hentry","plugin_tags-content","plugin_tags-random-page","plugin_tags-random-post","plugin_contributors-bmsterling","plugin_committers-bmsterling"],"banners":[],"icons":{"svg":false,"icon":"https:\/\/s.w.org\/plugins\/geopattern-icon\/contentmixx.svg","icon_2x":false,"generated":true},"screenshots":[],"raw_content":"<!--section=description-->\n<p>This plugin retrieves one or more random post\/page or both of them from your WordPress installation\n    Arguments:\n        from (string)\n            - show only posts, or pages, or both\n            - possible values: post | page \n        numberposts (integer)\n            - number of posts\/pages to return\n        categories (integers, separated by commas)\n            - limits returned posts to posts filed under categories found in arguments\n        exclude (integers, separated by commas)\n            - limits returned posts to posts NOT filed under categories found in arguments<\/p>\n\n<pre><code>Sample Code:\n    &lt;?php\n    $myposts = contentmixx( 'from=post&amp;numberposts=2&amp;categories=8' );\n    foreach( $myposts as $post ) {\n        setup_postdata( $post ); \n    ?&gt;\n        &lt;div class=\"sideBarPost\"&gt;\n            &lt;h3&gt;&lt;a href=\"&lt;?php the_permalink() ?&gt;\"&gt;&lt;?php the_title() ?&gt;&lt;\/a&gt;&lt;\/h3&gt;\n            &lt;p&gt;&lt;?php the_excerpt(); ?&gt;&lt;\/p&gt;\n            &lt;p&gt;&lt;a href=\"&lt;?php the_permalink() ?&gt;\"&gt;Read More...&lt;\/a&gt;&lt;\/p&gt;\n        &lt;\/div&gt;\n    &lt;?php\n    }\n    ?&gt;\n\n\n     &lt;?php\n         $results = contentmixx('numberposts=3');\n         foreach($results as $post) :\n            setup_postdata($post);\n    ?&gt;\n        &lt;h2&gt;&lt;a href=\"&lt;?php the_permalink(); ?&gt;\" id=\"post-&lt;?php the_ID(); ?&gt;\"&gt;&lt;?php the_title(); ?&gt;&lt;\/a&gt;&lt;\/h2&gt;\n        &lt;?php the_content(); ?&gt;\n     &lt;?php endforeach; ?&gt;\n<\/code><\/pre>\n\n<p>Please submit any bugs or suggested improvements to <a href=\"https:\/\/github.com\/bmsterling\/Content-Mixx\/issues\">https:\/\/github.com\/bmsterling\/Content-Mixx\/issues<\/a><\/p>\n\n<p>Need this plugin customized or need a plugin created, contact me via my contact form at <a href=\"http:\/\/kenzomedia.com\">http:\/\/kenzomedia.com<\/a><\/p>\n\n<p>Also available through twitter, @bmsterling<\/p>\n\n<h3>Credits<\/h3>\n\n<p>Copyright 2007  Benjamin Sterling  (http:\/\/benjaminsterling.com)<\/p>\n\n<p>This program is free software; you can redistribute it and\/or modify\nit under the terms of the GNU General Public License as published by\nthe Free Software Foundation; either version 2 of the License, or\n(at your option) any later version.<\/p>\n\n<p>This program is distributed in the hope that it will be useful,\nbut WITHOUT ANY WARRANTY; without even the implied warranty of\nMERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.<\/p>\n\n<p>See the GNU General Public License for more details:\nhttp:\/\/www.gnu.org\/licenses\/gpl.txt<\/p>\n\n<!--section=installation-->\n<ol>\n<li>Unzip into your <code>\/wp-content\/plugins\/<\/code> directory. If you're uploading it make sure to upload the top-level folder. Don't just upload all the php files and put them in <code>\/wp-content\/plugins\/<\/code>.<\/li>\n<li>Activate the plugin through the 'Plugins' menu in WordPress<\/li>\n<\/ol>","raw_excerpt":"This plugin retrieves one or more random post\/page or both of them from your WordPress installation","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/tw.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/2600","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/tw.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/tw.wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/tw.wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=2600"}],"author":[{"embeddable":true,"href":"https:\/\/tw.wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/bmsterling"}],"wp:attachment":[{"href":"https:\/\/tw.wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=2600"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/tw.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=2600"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/tw.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=2600"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/tw.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=2600"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/tw.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=2600"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/tw.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=2600"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}