{"id":18855,"date":"2012-07-02T09:46:17","date_gmt":"2012-07-02T09:46:17","guid":{"rendered":"https:\/\/wordpress.org\/plugins-wp\/twenty-eleven-showcase-slider\/"},"modified":"2026-05-17T00:55:25","modified_gmt":"2026-05-17T00:55:25","slug":"twenty-eleven-showcase-slider","status":"publish","type":"plugin","link":"https:\/\/ibo.wordpress.org\/plugins\/twenty-eleven-showcase-slider\/","author":8772187,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_crdt_document":"","version":"4","stable_tag":"4","tested":"6.9.4","requires":"3.1","requires_php":"","requires_plugins":null,"header_name":"Twenty Eleven Showcase Slider","header_author":"Konstantin Obenland","header_description":"","assets_banners_color":"","last_updated":"2026-05-17 00:55:25","external_support_url":"","external_repository_url":"","donate_link":"https:\/\/www.paypal.com\/cgi-bin\/webscr?cmd=_s-xclick&hosted_button_id=3DBDUTYMCVRG4","header_plugin_uri":"http:\/\/en.wp.obenland.it\/twenty-eleven-showcase-slider\/#utm_source=wordpress&utm_medium=plugin&utm_campaign=twenty-eleven-showcase-slider","header_author_uri":"http:\/\/en.wp.obenland.it\/#utm_source=wordpress&utm_medium=plugin&utm_campaign=twenty-eleven-showcase-slider","rating":0,"author_block_rating":0,"active_installs":30,"downloads":7826,"num_ratings":0,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","installation","faq","changelog"],"tags":{"1.0.0":{"tag":"1.0.0","author":"kobenland","date":"2012-07-02 09:48:32"},"1.0.1":{"tag":"1.0.1","author":"obenland","date":"2012-08-10 08:29:08"},"1.1.0":{"tag":"1.1.0","author":"obenland","date":"2014-09-04 15:21:48"},"2":{"tag":"2","author":"obenland","date":"2017-12-22 21:16:56"},"3":{"tag":"3","author":"obenland","date":"2026-05-13 17:06:03"},"4":{"tag":"4","author":"obenland","date":"2026-05-17 00:55:25"}},"upgrade_notice":[],"ratings":{"1":0,"2":0,"3":0,"4":0,"5":0},"assets_icons":[],"assets_banners":[],"assets_blueprints":{"blueprint.json":{"filename":"blueprint.json","revision":3534131,"resolution":false,"location":"assets","locale":"","contents":"{\"$schema\":\"https:\\\/\\\/playground.wordpress.net\\\/blueprint-schema.json\",\"meta\":{\"title\":\"Twenty Eleven Showcase Slider \\u2014 Live Preview\",\"author\":\"obenland\",\"description\":\"Sticky featured posts auto-rotate on the Twenty Eleven Showcase template.\"},\"landingPage\":\"\\\/\",\"preferredVersions\":{\"php\":\"8.3\",\"wp\":\"latest\"},\"phpExtensionBundles\":[\"kitchen-sink\"],\"login\":true,\"steps\":[{\"step\":\"installTheme\",\"themeData\":{\"resource\":\"wordpress.org\\\/themes\",\"slug\":\"twentyeleven\"},\"options\":{\"activate\":true}},{\"step\":\"installPlugin\",\"pluginData\":{\"resource\":\"wordpress.org\\\/plugins\",\"slug\":\"twenty-eleven-showcase-slider\"},\"options\":{\"activate\":true}},{\"step\":\"runPHP\",\"code\":\"<?php\\nrequire_once '\\\/wordpress\\\/wp-load.php';\\nrequire_once ABSPATH . 'wp-admin\\\/includes\\\/file.php';\\nrequire_once ABSPATH . 'wp-admin\\\/includes\\\/image.php';\\n\\nupdate_option( 'permalink_structure', '\\\/%postname%\\\/' );\\n\\n$entries = array(\\n\\tarray( 'The Quiet Mountains',     array( 90, 110, 130 ) ),\\n\\tarray( 'A City After Rain',       array( 70, 90, 110 ) ),\\n\\tarray( 'Morning at the Harbor',   array( 200, 150, 80 ) ),\\n\\tarray( 'Across the Open Plains',  array( 160, 140, 100 ) ),\\n\\tarray( 'Light Through the Trees', array( 110, 140, 90 ) ),\\n);\\n\\n$uploads = wp_upload_dir();\\n$sticky  = array();\\n\\nforeach ( $entries as $i => $entry ) {\\n\\tlist( $title, $rgb ) = $entry;\\n\\n\\t$post_id = wp_insert_post( array(\\n\\t\\t'post_title'   => $title,\\n\\t\\t'post_content' => 'A featured story to demonstrate the Twenty Eleven Showcase Slider carousel.',\\n\\t\\t'post_status'  => 'publish',\\n\\t\\t'post_type'    => 'post',\\n\\t) );\\n\\n\\t\\\/*\\n\\t * GD-generated placeholder so the preview looks like a real showcase\\n\\t * without needing outbound network access. 1000x288 matches the\\n\\t * theme's `feature-image large` threshold so each post lays out as\\n\\t * the wide hero variant.\\n\\t *\\\/\\n\\t$image = imagecreatetruecolor( 1000, 288 );\\n\\t$bg    = imagecolorallocate( $image, $rgb[0], $rgb[1], $rgb[2] );\\n\\timagefilledrectangle( $image, 0, 0, 1000, 288, $bg );\\n\\t$ink   = imagecolorallocate( $image, 255, 255, 255 );\\n\\t$x     = (int) ( ( 1000 - imagefontwidth( 5 ) * strlen( $title ) ) \\\/ 2 );\\n\\timagestring( $image, 5, $x, 130, $title, $ink );\\n\\n\\t$filename = 'showcase-' . ( $i + 1 ) . '.png';\\n\\t$path     = trailingslashit( $uploads['path'] ) . $filename;\\n\\timagepng( $image, $path );\\n\\timagedestroy( $image );\\n\\n\\t$attachment_id = wp_insert_attachment(\\n\\t\\tarray(\\n\\t\\t\\t'post_mime_type' => 'image\\\/png',\\n\\t\\t\\t'post_title'     => $title,\\n\\t\\t\\t'post_status'    => 'inherit',\\n\\t\\t),\\n\\t\\t$path,\\n\\t\\t$post_id\\n\\t);\\n\\twp_update_attachment_metadata( $attachment_id, wp_generate_attachment_metadata( $attachment_id, $path ) );\\n\\tset_post_thumbnail( $post_id, $attachment_id );\\n\\n\\t$sticky[] = $post_id;\\n}\\n\\nupdate_option( 'sticky_posts', $sticky );\\n\\n$page_id = wp_insert_post( array(\\n\\t'post_title'   => 'Showcase',\\n\\t'post_content' => '',\\n\\t'post_status'  => 'publish',\\n\\t'post_type'    => 'page',\\n\\t'meta_input'   => array( '_wp_page_template' => 'showcase.php' ),\\n) );\\n\\nupdate_option( 'show_on_front', 'page' );\\nupdate_option( 'page_on_front', $page_id );\\n\\nflush_rewrite_rules();\\n\"}]}"}},"all_blocks":[],"tagged_versions":null,"block_files":[],"assets_screenshots":[],"screenshots":[],"jetpack_post_was_ever_published":false},"plugin_section":[],"plugin_tags":[611,22410],"plugin_category":[],"plugin_contributors":[77566],"plugin_business_model":[],"class_list":["post-18855","plugin","type-plugin","status-publish","hentry","plugin_tags-slider","plugin_tags-twentyeleven","plugin_contributors-obenland","plugin_committers-obenland"],"banners":[],"icons":{"svg":false,"icon":"https:\/\/s.w.org\/plugins\/geopattern-icon\/twenty-eleven-showcase-slider.svg","icon_2x":false,"generated":true},"screenshots":[],"raw_content":"<!--section=description-->\n<p>This plugin enables the showcase template automatically slide through all the sticky posts.\nIt simulates the mouse click that triggers the slide change every four seconds.<\/p>\n\n<!--section=installation-->\n<ol>\n<li>Download Twenty Eleven Showcase Slider.<\/li>\n<li>Unzip the folder into the <code>\/wp-content\/plugins\/<\/code> directory.<\/li>\n<li>Activate the plugin through the 'Plugins' menu in WordPress.<\/li>\n<\/ol>\n\n<!--section=faq-->\n<p>None asked yet.<\/p>\n\n<!--section=changelog-->\n<h3>4<\/h3>\n\n<ul>\n<li>Rewrote the carousel script in vanilla JS \u2014 no more jQuery dependency.<\/li>\n<li>Auto-advance now pauses when the tab is hidden, when the slider scrolls offscreen, and when the visitor prefers reduced motion.<\/li>\n<li>Clicking a slide now resets the auto-advance timer.<\/li>\n<\/ul>\n\n<h3>3<\/h3>\n\n<ul>\n<li>Maintenance release.<\/li>\n<li>Removed unused code.<\/li>\n<li>Tested for WordPress 6.1.<\/li>\n<\/ul>\n\n<h3>2<\/h3>\n\n<ul>\n<li>Maintenance release.<\/li>\n<li>Updated code to adhere to WordPress Coding Standards.<\/li>\n<li>Tested with WordPress 5.0.<\/li>\n<\/ul>\n\n<h3>1.1.0<\/h3>\n\n<ul>\n<li>Maintenance release.<\/li>\n<li>Tested with WordPress 4.0.<\/li>\n<\/ul>\n\n<h3>1.0.1<\/h3>\n\n<ul>\n<li>Updated documentation.<\/li>\n<\/ul>\n\n<h3>1.0<\/h3>\n\n<ul>\n<li>Initial Release<\/li>\n<\/ul>","raw_excerpt":"Adds carousel functionality to the Twenty Eleven Showcase slider.","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/ibo.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/18855","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/ibo.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/ibo.wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/ibo.wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=18855"}],"author":[{"embeddable":true,"href":"https:\/\/ibo.wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/obenland"}],"wp:attachment":[{"href":"https:\/\/ibo.wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=18855"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/ibo.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=18855"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/ibo.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=18855"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/ibo.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=18855"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/ibo.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=18855"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/ibo.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=18855"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}