{"id":49087,"date":"2016-06-17T16:18:30","date_gmt":"2016-06-17T16:18:30","guid":{"rendered":"https:\/\/wordpress.org\/plugins-wp\/news-quiz-shortcode\/"},"modified":"2016-06-17T16:52:30","modified_gmt":"2016-06-17T16:52:30","slug":"news-quiz-shortcode","status":"closed","type":"plugin","link":"https:\/\/wordpress.org\/plugins\/news-quiz-shortcode\/","author":14530238,"comment_status":"closed","ping_status":"closed","template":"","meta":{"version":"0.2.1","stable_tag":"0.2.1","tested":"4.5.33","requires":"4.1","requires_php":"","requires_plugins":"","header_name":"News Quizzes","header_author":"The INN Nerds, Will Haynes for INN, Mother Jones","header_description":"","assets_banners_color":"27c2f2","last_updated":"2016-06-17 16:52:30","external_support_url":"","external_repository_url":"","donate_link":"http:\/\/inn.org\/donate\/","header_plugin_uri":"","header_author_uri":"","rating":0,"author_block_rating":0,"active_installs":10,"downloads":790,"num_ratings":0,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","installation","faq","changelog"],"tags":[],"upgrade_notice":{"0.2":"<p>-f you have created styles scoped to <code>.largo-interactive<\/code>, you will need to change them to <code>.news-quiz<\/code>.<\/p>\n\n<p>If you have created PHP functionality that depends upon the existence of any of the <code>largo_interactive_quiz_<\/code> prefixed functions or actions, you will need to update those to use the <code>news_quiz_<\/code> prefix.<\/p>"},"ratings":{"1":0,"2":0,"3":0,"4":0,"5":0},"assets_icons":[],"assets_banners":{"banner-1544x500.jpg":{"filename":"banner-1544x500.jpg","revision":"1438620","resolution":"1544x500","location":"assets"},"banner-772x250.jpg":{"filename":"banner-772x250.jpg","revision":"1438620","resolution":"772x250","location":"assets"}},"assets_blueprints":{},"all_blocks":[],"tagged_versions":["0.2","0.2.1"],"block_files":[],"assets_screenshots":[],"screenshots":[]},"plugin_section":[],"plugin_tags":[1248,583,80],"plugin_category":[43,53],"plugin_contributors":[91301],"plugin_business_model":[],"class_list":["post-49087","plugin","type-plugin","status-closed","hentry","plugin_tags-news","plugin_tags-quiz","plugin_tags-shortcode","plugin_category-customization","plugin_category-ratings-and-reviews","plugin_contributors-inn_nerds","plugin_committers-inn_nerds"],"banners":[],"icons":{"svg":false,"icon":"https:\/\/s.w.org\/plugins\/geopattern-icon\/news-quiz-shortcode_27c2f2.svg","icon_2x":false,"generated":true},"screenshots":[],"raw_content":"<!--section=description-->\n<p>This shortcode allows you to embed a news quiz created in accordance with Mother Jones' <a href=\"https:\/\/github.com\/motherjones\/newsquiz\">news quiz library<\/a>.<\/p>\n\n<!--section=installation-->\n<ol>\n<li>In the WordPress Dashboard go to <strong>Plugins<\/strong>, then click the <strong>Add Plugins<\/strong> button and search the WordPress Plugins Directory for News Quiz Shortcode. Alternatively, you can download the zip file from this Github repo and upload it manually to your WordPress site.<\/li>\n<li>Activate the plugin through the 'Plugins' screen in WordPress<\/li>\n<li>Create a Google Spreadsheet <a href=\"https:\/\/github.com\/motherjones\/newsquiz#set-up-a-google-spreadsheet\">following Mother Jones' instructions<\/a><\/li>\n<li><p>Place the ID of the Google Spreadsheet in the shortcode:<\/p>\n\n<p><code>[quiz key=\"0AvfAWkLLRik_dGtjRVNUamJwbE1wRWxtVVRURG1UU0E\" align=\"alignright\"]<\/code><\/p><\/li>\n<\/ol>\n\n<!--section=faq-->\n<dl>\n<dt>What are the shortcode's attributes?<\/dt>\n<dd><ul>\n<li><strong>key:<\/strong> <em>(required)<\/em> A link to a publicly published google doc from which to pull the quiz content from.<\/li>\n<li><strong>title:<\/strong> <em>(optional. default: blank)<\/em> Give your quiz a title.<\/li>\n<li><strong>lede:<\/strong> <em>(optional. default: blank)<\/em> A subhead for the quiz.<\/li>\n<li><strong>align:<\/strong> <em>(optional. default: alignnone)<\/em> Align the quiz with <code>alignleft<\/code>,<code>alignright<\/code> or <code>alignnone<\/code>.<\/li>\n<li><strong>layout:<\/strong> <em>(optional. default: sidebar)<\/em> The values either <code>fullwidth<\/code> or <code>sidebar<\/code>.<\/li>\n<li><strong>answerstyle:<\/strong> <em>(optional. default: bullet)<\/em> Choose between <code>alpha<\/code>,<code>bullets<\/code>,<code>roman<\/code>, or <code>numbers<\/code>.<\/li>\n<li><strong>byline:<\/strong> <em>(optional. default: blank)<\/em> Give an author byline at the bottom.<\/li>\n<li><strong>source:<\/strong> <em>(optional. default: blank)<\/em> Attribute a datasource.<\/li>\n<\/ul><\/dd>\n<dt>How do I style the quiz?<\/dt>\n<dd><p>The quiz comes with a very limited default stylesheet. You can style the quiz by editing your theme's stylesheet.<\/p><\/dd>\n\n<\/dl>\n\n<!--section=changelog-->\n<h4>0.2<\/h4>\n\n<ul>\n<li>rename CSS classes from <code>.largo-interactive-<\/code> to <code>.news-quiz-<\/code><\/li>\n<li>rename PHP function prefix from <code>largo_interactive_quiz_<\/code> to <code>news_quiz_<\/code><\/li>\n<\/ul>\n\n<h4>0.1<\/h4>\n\n<ul>\n<li>Initial release<\/li>\n<\/ul>","raw_excerpt":"This plugin creates a shortcode wrapper for Mother Jones&#039; news quiz library, which uses Google Docs.","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/49087","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=49087"}],"author":[{"embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/inn_nerds"}],"wp:attachment":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=49087"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=49087"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=49087"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=49087"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=49087"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=49087"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}