{"id":1694,"date":"2007-03-28T19:17:54","date_gmt":"2007-03-28T19:17:54","guid":{"rendered":"https:\/\/wordpress.org\/plugins-wp\/wpspoiler\/"},"modified":"2008-05-31T15:46:15","modified_gmt":"2008-05-31T15:46:15","slug":"wpspoiler","status":"publish","type":"plugin","link":"https:\/\/bal.wordpress.org\/plugins\/wpspoiler\/","author":166690,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_crdt_document":"","version":"1.2","stable_tag":"1.2","tested":"2.5.1","requires":"2.0","requires_php":"","requires_plugins":"","header_name":"wpSpoiler","header_author":"Felix Triller","header_description":"","assets_banners_color":"","last_updated":"2008-05-31 15:46:15","external_support_url":"","external_repository_url":"","donate_link":"","header_plugin_uri":"http:\/\/felixtriller.de\/projekte\/wpspoiler\/","header_author_uri":"http:\/\/felixtriller.de\/","rating":4,"author_block_rating":0,"active_installs":400,"downloads":18173,"num_ratings":1,"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":"1","5":0},"assets_icons":[],"assets_banners":[],"assets_blueprints":{},"all_blocks":[],"tagged_versions":["1.0","1.1","1.2"],"block_files":[],"assets_screenshots":{"screenshot-2.jpg":{"filename":"screenshot-2.jpg","revision":"1566817","resolution":"2","location":"plugin"},"screenshot-1.jpg":{"filename":"screenshot-1.jpg","revision":"1566817","resolution":"1","location":"plugin"}},"screenshots":{"1":"Hidden","2":"Visible"},"jetpack_post_was_ever_published":false},"plugin_section":[],"plugin_tags":[1244,86,3922,5048],"plugin_category":[],"plugin_contributors":[82993],"plugin_business_model":[],"class_list":["post-1694","plugin","type-plugin","status-publish","hentry","plugin_tags-hide","plugin_tags-post","plugin_tags-show","plugin_tags-spoiler","plugin_contributors-flix","plugin_committers-flix"],"banners":[],"icons":{"svg":false,"icon":"https:\/\/s.w.org\/plugins\/geopattern-icon\/wpspoiler.svg","icon_2x":false,"generated":true},"screenshots":[{"src":"https:\/\/ps.w.org\/wpspoiler\/trunk\/screenshot-1.jpg?rev=1566817","caption":"Hidden"},{"src":"https:\/\/ps.w.org\/wpspoiler\/trunk\/screenshot-2.jpg?rev=1566817","caption":"Visible"}],"raw_content":"<!--section=description-->\n<p>wpSpoiler is a plugin for WordPress, designed to protect the reader against spoilers, for example in book or filmreviews.\nThe spoiler text is hidden by default and shows up if wished.<\/p>\n\n<p>To mark a text as spoiler, enclose the passage with [spoiler] and [\/spoiler].<\/p>\n\n<p>Features<\/p>\n\n<ul>\n<li>Very fast, less code<\/li>\n<li>Customizeable with CSS<\/li>\n<\/ul>\n\n<p>A german version of this page can be found <a href=\"http:\/\/felixtriller.de\/projekte\/wpspoiler\/\" title=\"felixtriller.de\">here<\/a>.\nEine deutsche Version dieser Seite ist <a href=\"http:\/\/felixtriller.de\/projekte\/wpspoiler\/\" title=\"felixtriller.de\">hier<\/a> zu finden.<\/p>\n\n<h3>Usage<\/h3>\n\n<p>To mark a text as spoiler, enclose the passage with [spoiler] and [\/spoiler].\nExample:\n    Spoiler: [spoiler]Bruce Willis is a ghost![\/spoiler]<\/p>\n\n<p>The result is shown in the screenshot section.<\/p>\n\n<h3>Customize<\/h3>\n\n<p>The language of the link text has to be changed in the pluginfile itself: <strong>wpSpoiler.php<\/strong>.<\/p>\n\n<p>CSS can be used to style the spoiler box and the links. The spoiler-div is identified by the classname <code>spoiler_div<\/code>.\nThe link's class is <code>spoiler_link_show<\/code> or <code>spoiler_link_hide<\/code>, depending on the current state.<\/p>\n\n<p>An example stylesheet code snippet:<\/p>\n\n<pre><code>\/* wpSpoiler *\/\na.spoiler_link_show,\na.spoiler_link_hide {\n    background-repeat:      no-repeat;\n    background-position:    left center;\n    padding-left:           18px;\n}\na.spoiler_link_show {\n    background-image:       url(images\/add.png);\n}\na.spoiler_link_hide {\n    background-image:       url(images\/delete.png);\n}\ndiv.spoiler_div {\n    background-color:       #ddd;\n    margin-top:             -10px;\n    padding:                2px;\n}\n<\/code><\/pre>\n\n<!--section=installation-->\n<p>To install the plugin follow the listed steps:<\/p>\n\n<ol>\n<li>Download the package<\/li>\n<li>Decompress the archive, customize <strong>wpSpoiler.php<\/strong> and upload the wpspoiler folder to \/wp-content\/plugins\/ on your webspace<\/li>\n<li>Activate the plugin through the 'Plugins' menu in WordPress<\/li>\n<\/ol>","raw_excerpt":"A plugin designed to protect the reader against spoilers.","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/bal.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/1694","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/bal.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/bal.wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/bal.wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=1694"}],"author":[{"embeddable":true,"href":"https:\/\/bal.wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/flix"}],"wp:attachment":[{"href":"https:\/\/bal.wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=1694"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/bal.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=1694"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/bal.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=1694"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/bal.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=1694"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/bal.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=1694"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/bal.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=1694"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}