{"id":3309,"date":"2008-07-13T16:31:49","date_gmt":"2008-07-13T16:31:49","guid":{"rendered":"https:\/\/wordpress.org\/plugins-wp\/yet-another-random-quote\/"},"modified":"2010-11-20T17:50:37","modified_gmt":"2010-11-20T17:50:37","slug":"yet-another-random-quote","status":"closed","type":"plugin","link":"https:\/\/wordpress.org\/plugins\/yet-another-random-quote\/","author":653343,"comment_status":"closed","ping_status":"closed","template":"","meta":{"version":"3.1","stable_tag":"3.1","tested":"3.0.5","requires":"2.5","requires_php":"","requires_plugins":"","header_name":"Yet Another Random Quote","header_author":"Scott Carpenter, Christian Beer, Frank van den Brink","header_description":"","assets_banners_color":"","last_updated":"2010-11-20 17:50:37","external_support_url":"","external_repository_url":"","donate_link":"https:\/\/my.fsf.org\/donate","header_plugin_uri":"http:\/\/www.movingtofreedom.org\/2010\/07\/11\/wordpress-plugin-yarq-v3-yet-another-random-quote","header_author_uri":"http:\/\/www.movingtofreedom.org","rating":0,"author_block_rating":0,"active_installs":30,"downloads":4692,"num_ratings":0,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","installation","faq","changelog"],"tags":[],"upgrade_notice":{"3.1":"<p>New function, &quot;yarq_display_all()&quot;, and the widget&#039;s title can now be set (or blank).<\/p>","3.0.3":"<p>No need to upgrade unless you want to have the option of turning off the autoformat feature.<\/p>"},"ratings":{"1":0,"2":0,"3":0,"4":0,"5":0},"assets_icons":[],"assets_banners":[],"assets_blueprints":{},"all_blocks":[],"tagged_versions":["2.5.0","3.0.2","3.0.3","3.1"],"block_files":[],"assets_screenshots":[],"screenshots":[]},"plugin_section":[],"plugin_tags":[5055,244,8437],"plugin_category":[],"plugin_contributors":[87241,87242,86916],"plugin_business_model":[],"class_list":["post-3309","plugin","type-plugin","status-closed","hentry","plugin_tags-quote","plugin_tags-random","plugin_tags-random-quotes","plugin_contributors-christianb","plugin_contributors-franky999","plugin_contributors-scarpenter","plugin_committers-christianb","plugin_committers-scarpenter"],"banners":[],"icons":{"svg":false,"icon":"https:\/\/s.w.org\/plugins\/geopattern-icon\/yet-another-random-quote.svg","icon_2x":false,"generated":true},"screenshots":[],"raw_content":"<!--section=description-->\n<p>This plugin will let you display a random quote in your wordpress blog.<\/p>\n\n<p>You have to add your own assortment of quotes to choose from the admin section of your blog.<\/p>\n\n<p>You can choose where to display the quotes using the widget or the php function yarq_display() in your template.<\/p>\n\n<p>New in version 3.1, there is the <code>yarq_display_all<\/code> function:<\/p>\n\n<pre><code>yarq_display_all($order_by = 'id', $asc = true, $format = '')\n<\/code><\/pre>\n\n<p>Which displays all quotes in a list. The first parameter takes id, author, source, or quote.  The second is for ascending or descending order, and the third lets you override the format specified in admin options.<\/p>\n\n<p>You might call from your theme\/template file like so, supplying the <code>&lt;ul&gt;<\/code> or <code>&lt;ol&gt;<\/code> wrapping tags yourself:<\/p>\n\n<pre><code>&lt;?php if ( function_exists('yarq_display_all') ) { \n  echo '&lt;h2&gt;All Quotes&lt;\/h2&gt;';\n  echo \"&lt;ul&gt;\\n\";\n  yarq_display_all('id', false);\n  echo \"&lt;\/ul&gt;\\n\";\n}\n<\/code><\/pre>\n\n<p>Which can be styled as desired.  Alternating <code>&lt;li&gt;<\/code> items, starting with the first, will use the class \"yarq-alt\". (<code>&lt;li class=\"yarq-alt\"&gt;<\/code>)<\/p>\n\n<p>Much more at: http:\/\/www.movingtofreedom.org\/2010\/07\/11\/wordpress-plugin-yarq-v3-yet-another-random-quote\/<\/p>\n\n<!--section=installation-->\n<ol>\n<li>Upload <code>yarq.php<\/code> 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 yarq-widget to the prefered position on your sidebar <strong>or<\/strong> place <code>&lt;?php yarq_display(); ?&gt;<\/code> in your template<\/li>\n<\/ol>\n\n<!--section=faq-->\n<p>Please ask questions and report bugs in wordpress.org forum for this page, or at:<\/p>\n\n<p>http:\/\/www.movingtofreedom.org\/2010\/07\/11\/wordpress-plugin-yarq-v3-yet-another-random-quote\/<\/p>\n\n<!--section=changelog-->\n<h4>3.1 (11\/19\/10)<\/h4>\n\n<ul>\n<li>New function, <code>yarq_display_all()<\/code> can be used to display all quotes in a list. (See description tab for options and examples.)<\/li>\n<li>Widget now has option to change the title.  (After installing\/upgrading, you may need to set the initial value to \"Random Quote\" if you want to retain the old title and not have it be blank.)<\/li>\n<li>Auto-formatting won't be applied if an <code>&lt;li&gt;<\/code> tag is found in the quote.<\/li>\n<\/ul>\n\n<h4>3.0.3 (10\/10\/10)<\/h4>\n\n<ul>\n<li>Option to turn off auto-formatting of quotes. (Where the plugin tries to add paragraphs and line breaks to the quote itself.)<\/li>\n<\/ul>","raw_excerpt":"Yet Another Random Quote, a Wordpress plugin which randomly displays quotes.","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/3309","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=3309"}],"author":[{"embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/christianb"}],"wp:attachment":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=3309"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=3309"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=3309"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=3309"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=3309"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=3309"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}