{"id":29325,"date":"2014-05-08T05:43:30","date_gmt":"2014-05-08T05:43:30","guid":{"rendered":"https:\/\/wordpress.org\/plugins-wp\/wp-spoiler-alert\/"},"modified":"2014-08-07T14:05:21","modified_gmt":"2014-08-07T14:05:21","slug":"wp-spoiler-alert","status":"publish","type":"plugin","link":"https:\/\/pcd.wordpress.org\/plugins\/wp-spoiler-alert\/","author":13658547,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_crdt_document":"","version":"0.8.3","stable_tag":"0.8.3","tested":"3.9.40","requires":"3.5.0","requires_php":"","requires_plugins":"","header_name":"wp-spoiler-alert","header_author":"Darshan Sawardekar","header_description":"","assets_banners_color":"","last_updated":"2014-08-07 14:05:21","external_support_url":"","external_repository_url":"","donate_link":"http:\/\/pressing-matters.io\/","header_plugin_uri":"http:\/\/wordpress.org\/plugins\/wp-spoiler-alert","header_author_uri":"http:\/\/pressing-matters.io\/","rating":0,"author_block_rating":0,"active_installs":20,"downloads":2700,"num_ratings":0,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","installation","faq","changelog"],"tags":[],"upgrade_notice":{"":"<ul>\n<li>WP-Spoiler-Alert requires PHP 5.3.2+<\/li>\n<\/ul>"},"ratings":{"1":0,"2":0,"3":0,"4":0,"5":0},"assets_icons":[],"assets_banners":[],"assets_blueprints":{},"all_blocks":[],"tagged_versions":["0.1.2","0.2.0","0.2.1","0.2.2","0.2.3","0.2.4","0.3.0","0.4.0","0.5.1","0.5.2","0.7.0","0.8.0","0.8.1","0.8.2","0.8.3"],"block_files":[],"assets_screenshots":[],"screenshots":{"1":"Screenshot 1","2":"Screenshot 2"},"jetpack_post_was_ever_published":false},"plugin_section":[],"plugin_tags":[5048,71083],"plugin_category":[],"plugin_contributors":[88864],"plugin_business_model":[],"class_list":["post-29325","plugin","type-plugin","status-publish","hentry","plugin_tags-spoiler","plugin_tags-spoiler-alert","plugin_contributors-dsawardekar","plugin_committers-dsawardekar"],"banners":[],"icons":{"svg":false,"icon":"https:\/\/s.w.org\/plugins\/geopattern-icon\/wp-spoiler-alert.svg","icon_2x":false,"generated":true},"screenshots":[],"raw_content":"<!--section=description-->\n<p>This plugin adds the shortcode <code>[spoiler]<\/code> to WordPress. Any content\nwrapped inside this shortcode is blurred out. It can be revealed by\nclicking on the blurred content.<\/p>\n\n<p>The shortcode takes a <code>mode<\/code> parameter, which defaults to <code>block<\/code>. This\nwraps your content inside a div. To add spoilers that are inside to your\ntext use the mode <code>inline<\/code>.<\/p>\n\n<p>Eg:- Some [spoiler mode='inline']super secret stuff[\/spoiler] here!<\/p>\n\n<h3>Credits<\/h3>\n\n<ul>\n<li>Inspired by the <a href=\"https:\/\/github.com\/joshbuddy\/spoiler-alert\">spoilerAlert<\/a> jQuery plugin by <a href=\"https:\/\/github.com\/joshbuddy\">Joshua Hull<\/a><\/li>\n<\/ul>\n\n<!--section=installation-->\n<ol>\n<li>Click Plugins &gt; Add New in the WordPress admin panel.<\/li>\n<li>Search for \"wp-spoiler-alert\" and install.<\/li>\n<\/ol>\n\n<h3>Customization<\/h3>\n\n<p>The Partial and Max blur options control the amount of the blur effect\napplied. A value of 0 applies no blur, 20 applies a very large blur\neffect, etc.<\/p>\n\n<p>The Custom option allows you to override the manner in which to hide the\nspoilers. This is useful to tune the effect to your site's theme.<\/p>\n\n<p>The plugin checks for a <code>custom.css<\/code> in your current\ntheme's directory at <em>{current_theme}\/wp-spoiler-alert\/custom.css<\/em>.<\/p>\n\n<p>If this CSS file is present it will be added to the page automatically.<\/p>\n\n<p>For eg:- the CSS below makes all spoilers into red blocks.<\/p>\n\n<pre><code>.spoiler-hidden {\n  color: red;\n  background: red;\n}\n\n.spoiler-hidden:hover {\n  color: white;\n  background: white;\n  outline: 1px solid red;\n}\n\n.spoiler-hidden img {\n  opacity: 0;\n}\n\n.spoiler-visible {\n  color: inherit;\n  background: inherit;\n  outline: none;\n}\n<\/code><\/pre>\n\n<!--section=faq-->\n<ul>\n<li>Can I change the style of the spoiler?<\/li>\n<\/ul>\n\n<p>Yes, see the customization section under Installation.<\/p>\n\n<!--section=changelog-->\n<h4>0.8.3<\/h4>\n\n<ul>\n<li>Upgrades to Arrow 1.8.0.<\/li>\n<\/ul>\n\n<h4>0.8.2<\/h4>\n\n<ul>\n<li>Removes old twig templates.<\/li>\n<\/ul>\n\n<h4>0.8.1<\/h4>\n\n<ul>\n<li>Removes old files, fresh push with current Git release files.<\/li>\n<\/ul>\n\n<h4>0.8.0<\/h4>\n\n<ul>\n<li>Smaller release, without development files.<\/li>\n<li>Bundles reactjs frontend.<\/li>\n<\/ul>\n\n<h4>0.6.0<\/h4>\n\n<ul>\n<li>Upgrades to Arrow 1.6.0.<\/li>\n<li>Migrates front end to React.<\/li>\n<li>Migrates front end build system to Webpack.<\/li>\n<\/ul>\n\n<h4>0.5.2<\/h4>\n\n<ul>\n<li>Fixes json_last_error for PHP 5.5.<\/li>\n<\/ul>\n\n<h4>0.5.1<\/h4>\n\n<ul>\n<li>Fixes build script.<\/li>\n<\/ul>\n\n<h4>0.5.0<\/h4>\n\n<ul>\n<li>Switched to Ember OptionsManager.<\/li>\n<li>Updated to Arrow 0.8.1.<\/li>\n<\/ul>\n\n<h4>0.4.0<\/h4>\n\n<ul>\n<li>Upgrades to Arrow 0.7.0.<\/li>\n<\/ul>\n\n<h4>0.3.0<\/h4>\n\n<ul>\n<li>Updates Arrow to 0.5.1.<\/li>\n<\/ul>\n\n<h4>0.2.4<\/h4>\n\n<ul>\n<li>Fixes more typos.<\/li>\n<\/ul>\n\n<h4>0.2.3<\/h4>\n\n<ul>\n<li>Fixes typos.<\/li>\n<\/ul>\n\n<h4>0.2.2<\/h4>\n\n<ul>\n<li>Removes error_log<\/li>\n<\/ul>\n\n<h4>0.2.1<\/h4>\n\n<ul>\n<li>Removes debug messages from 0.2.0<\/li>\n<\/ul>\n\n<h4>0.2.0<\/h4>\n\n<ul>\n<li>Switches to Arrow 0.4.1.<\/li>\n<\/ul>\n\n<h4>0.1.2<\/h4>\n\n<ul>\n<li>First release on wordpress.org<\/li>\n<\/ul>\n\n<h4>0.1.0<\/h4>\n\n<ul>\n<li>Initial Release<\/li>\n<\/ul>","raw_excerpt":"Shortcode to hide Spoilers in your Posts.","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/pcd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/29325","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/pcd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/pcd.wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/pcd.wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=29325"}],"author":[{"embeddable":true,"href":"https:\/\/pcd.wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/dsawardekar"}],"wp:attachment":[{"href":"https:\/\/pcd.wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=29325"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/pcd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=29325"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/pcd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=29325"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/pcd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=29325"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/pcd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=29325"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/pcd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=29325"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}