{"id":4168,"date":"2008-12-04T15:51:04","date_gmt":"2008-12-04T15:51:04","guid":{"rendered":"https:\/\/wordpress.org\/plugins-wp\/randomquotr\/"},"modified":"2024-04-19T10:55:14","modified_gmt":"2024-04-19T10:55:14","slug":"randomquotr","status":"closed","type":"plugin","link":"https:\/\/wordpress.org\/plugins\/randomquotr\/","author":294361,"comment_status":"closed","ping_status":"closed","template":"","meta":{"version":"1.0.4","stable_tag":"trunk","tested":"6.5.8","requires":"4.0","requires_php":"7.1","requires_plugins":null,"header_name":"RandomQuotr","header_author":"jfcby","header_description":"","assets_banners_color":"17468d","last_updated":"2024-04-19 10:55:14","external_support_url":"","external_repository_url":"","donate_link":"","header_plugin_uri":"https:\/\/wordpress.org\/plugins\/randomquotr\/","header_author_uri":"http:\/\/www.corematrixgrid.com","rating":0,"author_block_rating":0,"active_installs":10,"downloads":4272,"num_ratings":0,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","installation","faq","changelog"],"tags":{"1.0.3":{"tag":"1.0.3","author":"jfcby","date":"2024-03-29 15:08:10"},"1.0.4":{"tag":"1.0.4","author":"jfcby","date":"2024-04-04 17:21:53"}},"upgrade_notice":[],"ratings":{"1":0,"2":0,"3":0,"4":0,"5":0},"assets_icons":{"icon-128x128.png":{"filename":"icon-128x128.png","revision":3061226,"resolution":"128x128","location":"assets","locale":"","width":128,"height":128},"icon-256\u00d7256.png":{"filename":"icon-256\u00d7256.png","revision":3060737,"resolution":"256x256","location":"assets","locale":"","width":256,"height":256},"icon.svg":{"filename":"icon.svg","revision":3061226,"resolution":false,"location":"assets","locale":false}},"assets_banners":{"banner-1544\u00d7500.png":{"filename":"banner-1544\u00d7500.png","revision":3061226,"resolution":"1544x500","location":"assets","locale":"","width":1544,"height":500},"banner-772\u00d7250.png":{"filename":"banner-772\u00d7250.png","revision":3061229,"resolution":"772x250","location":"assets","locale":"","width":772,"height":250}},"assets_blueprints":{},"all_blocks":[],"tagged_versions":["1.0.3","1.0.4"],"block_files":[],"assets_screenshots":{"screenshot-1.png":{"filename":"screenshot-1.png","revision":3064930,"resolution":"1","location":"assets","locale":"","width":349,"height":169},"screenshot-2.png":{"filename":"screenshot-2.png","revision":3064930,"resolution":"2","location":"assets","locale":"","width":792,"height":138},"screenshot-3.png":{"filename":"screenshot-3.png","revision":3064930,"resolution":"3","location":"assets","locale":"","width":146,"height":268},"screenshot-4.png":{"filename":"screenshot-4.png","revision":3064930,"resolution":"4","location":"assets","locale":"","width":437,"height":463},"screenshot-5.png":{"filename":"screenshot-5.png","revision":3064930,"resolution":"5","location":"assets","locale":"","width":611,"height":857},"screenshot-6.png":{"filename":"screenshot-6.png","revision":3064930,"resolution":"6","location":"assets","locale":"","width":1041,"height":910},"screenshot-7.png":{"filename":"screenshot-7.png","revision":3064930,"resolution":"7","location":"assets","locale":"","width":879,"height":232},"screenshot-8.png":{"filename":"screenshot-8.png","revision":3064930,"resolution":"8","location":"assets","locale":"","width":889,"height":226},"screenshot-9.png":{"filename":"screenshot-9.png","revision":3064930,"resolution":"9","location":"assets","locale":"","width":872,"height":217}},"screenshots":{"1":"Frontend page listing all quotes.","2":"WP admin plugins page.","3":"RandomQuotr in the \"Settings\" menu.","4":"Add or edit quotes.","5":"Explanations on the WP admin settings page.","6":"RandomQuotr settings page.","7":"Add shortcode to page to list all quotes.","8":"Add random quote shortcode to page.","9":"Add specific quote shortcode to page."}},"plugin_section":[],"plugin_tags":[226285,5055,244,8437],"plugin_category":[],"plugin_contributors":[155383],"plugin_business_model":[],"class_list":["post-4168","plugin","type-plugin","status-closed","hentry","plugin_tags-one-liner","plugin_tags-quote","plugin_tags-random","plugin_tags-random-quotes","plugin_contributors-jfcby","plugin_committers-jfcby","plugin_committers-loveless"],"banners":[],"icons":{"svg":"https:\/\/ps.w.org\/randomquotr\/assets\/icon.svg?rev=3061226","icon":"https:\/\/s.w.org\/plugins\/geopattern-icon\/randomquotr_17468d.svg","icon_2x":false,"generated":true},"screenshots":[{"src":"https:\/\/ps.w.org\/randomquotr\/assets\/screenshot-1.png?rev=3064930","caption":"Frontend page listing all quotes."},{"src":"https:\/\/ps.w.org\/randomquotr\/assets\/screenshot-2.png?rev=3064930","caption":"WP admin plugins page."},{"src":"https:\/\/ps.w.org\/randomquotr\/assets\/screenshot-3.png?rev=3064930","caption":"RandomQuotr in the \"Settings\" menu."},{"src":"https:\/\/ps.w.org\/randomquotr\/assets\/screenshot-4.png?rev=3064930","caption":"Add or edit quotes."},{"src":"https:\/\/ps.w.org\/randomquotr\/assets\/screenshot-5.png?rev=3064930","caption":"Explanations on the WP admin settings page."},{"src":"https:\/\/ps.w.org\/randomquotr\/assets\/screenshot-6.png?rev=3064930","caption":"RandomQuotr settings page."},{"src":"https:\/\/ps.w.org\/randomquotr\/assets\/screenshot-7.png?rev=3064930","caption":"Add shortcode to page to list all quotes."},{"src":"https:\/\/ps.w.org\/randomquotr\/assets\/screenshot-8.png?rev=3064930","caption":"Add random quote shortcode to page."},{"src":"https:\/\/ps.w.org\/randomquotr\/assets\/screenshot-9.png?rev=3064930","caption":"Add specific quote shortcode to page."}],"raw_content":"<!--section=description-->\n<p>Create a list of quotes to be displayed in random order or a specific quote one at time using custom template tags or shortcodes. Now the quotes can be listed on a page or post using a shortcode.<\/p>\n\n<!--section=installation-->\n<ol>\n<li>Upload the plugin files to the <code>\/wp-content\/plugins\/randomquotr<\/code> directory, or install the plugin through the WordPress plugins screen directly.<\/li>\n<li>Activate the plugin through the 'Plugins' page in WordPress<\/li>\n<li>Use the Settings-&gt;RandomQuotr page add quotes in the textarea on the left-hand side. Each quote needs to be on a new line. They are split with carriage returns (line breaks).<\/li>\n<li>Use the following hooks to display the quotes:<\/li>\n<\/ol>\n\n<p><strong>Get a random quote<\/strong>\n* <code>rdqr_random_quote();<\/code> - this will display the text automatically.\n* <code>$quote = rdqr_get_random_quote();<\/code> - this stores the text within a variable.<\/p>\n\n<p><strong>Getting a specific quote<\/strong>\n* <code>rdqr_target_quote(3);<\/code> - this will display the third quote in the list.\n* <code>$quote = rdqr_get_target_quote();<\/code> - this stores the text within a variable.<\/p>\n\n<!--section=faq-->\n<dl>\n<dt id='after%20adding%20quotes%20when%20using%20rdqr_target_quote%280%29%20why%20is%20nothing%20displayed%3F'><h3>After adding quotes when using rdqr_target_quote(0) why is nothing displayed?<\/h3><\/dt>\n<dd><p>The list starts at 1 not 0.<\/p><\/dd>\n<dt id='when%20using%20rdqr_target_quote%20and%20rdqr_get_target_quote%20why%20are%20they%20not%20doing%20anything%3F'><h3>When using rdqr_target_quote and rdqr_get_target_quote why are they not doing anything?<\/h3><\/dt>\n<dd><p>Make sure that you are passing in a valid value. If you are passing in an invalid number (below 1, above the number of quotes), a non-number (\"forty\"), or there are no quotes to get, all of the functions will return null.<\/p><\/dd>\n<dt id='can%20a%20shortcode%20be%20used%20to%20display%20a%20random%20quote%3F'><h3>Can a shortcode be used to display a random quote?<\/h3><\/dt>\n<dd><p>Yes, use [rdqr_randomquote] in a page or post.<\/p><\/dd>\n<dt id='can%20a%20shortcode%20be%20used%20to%20display%20a%20specific%20quote%3F'><h3>Can a shortcode be used to display a specific quote?<\/h3><\/dt>\n<dd><p>Yes, use [rdqr_targetquote singlequote=\"3\"] to display the third quote. Change the number 3 to the quote that you want displayed.<\/p><\/dd>\n<dt id='can%20a%20shortcode%20be%20used%20to%20display%20a%20list%20of%20all%20quotes%20in%20a%20page%20or%20post%3F'><h3>Can a shortcode be used to display a list of all quotes in a page or post?<\/h3><\/dt>\n<dd><p>Yes, use [rdqrallqts] in a page or post.<\/p><\/dd>\n<dt id='can%20shortcodes%20be%20used%20in%20theme%20files%3F'><h3>Can shortcodes be used in theme files?<\/h3><\/dt>\n<dd><p>Yes, to display a random quote place  in your theme template. Display a specific quote by placing  in your theme template. Change the number 3 to the quote that you want displayed.<\/p><\/dd>\n<dt id='can%20shortcodes%20be%20used%20in%20widgets%3F'><h3>Can shortcodes be used in widgets?<\/h3><\/dt>\n<dd><p>Yes, the shortcodes can be used in widgets.<\/p><\/dd>\n\n<\/dl>\n\n<!--section=changelog-->\n<h4>1.0.4<\/h4>\n\n<ul>\n<li>added screenshots<\/li>\n<li>added shortcode to list all quotes on a page or post<\/li>\n<li>made general text updates thru the readme file<\/li>\n<li>updated wp version<\/li>\n<\/ul>\n\n<h4>1.0.3<\/h4>\n\n<ul>\n<li>updated images<\/li>\n<li>updated wp version<\/li>\n<\/ul>\n\n<h4>1.0.2<\/h4>\n\n<ul>\n<li>added shortcodes<\/li>\n<\/ul>\n\n<h4>1.0.1<\/h4>\n\n<ul>\n<li>made within the functions.php file of the theme<\/li>\n<\/ul>\n\n<h4>1.0.0<\/h4>\n\n<ul>\n<li>created plugin, cleaned things up<\/li>\n<\/ul>","raw_excerpt":"Create a list of quotes and then display a random quote or specific quote.","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/4168","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=4168"}],"author":[{"embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/loveless"}],"wp:attachment":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=4168"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=4168"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=4168"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=4168"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=4168"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=4168"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}