{"id":302497,"date":"2026-06-11T04:45:20","date_gmt":"2026-06-11T04:45:20","guid":{"rendered":"https:\/\/wordpress.org\/plugins\/animated-raffle-winner\/"},"modified":"2026-06-11T05:16:27","modified_gmt":"2026-06-11T05:16:27","slug":"animated-raffle-winner","status":"publish","type":"plugin","link":"https:\/\/wordpress.org\/plugins\/animated-raffle-winner\/","author":6038041,"comment_status":"closed","ping_status":"closed","template":"","meta":{"version":"1.0","stable_tag":"1.0","tested":"7.0","requires":"6.1","requires_php":"7.0","requires_plugins":null,"header_name":"Animated Raffle Winner","header_author":"RafaelFunchal","header_description":"An interactive block to create animated raffles with random numbers and celebratory fireworks.","assets_banners_color":"fee5dd","last_updated":"2026-06-11 05:16:27","external_support_url":"","external_repository_url":"","donate_link":"","header_plugin_uri":"","header_author_uri":"","rating":0,"author_block_rating":0,"active_installs":0,"downloads":35,"num_ratings":0,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","installation","faq","changelog"],"tags":{"1.0":{"tag":"1.0","author":"rafaelfunchal","date":"2026-06-11 05:16:27"}},"upgrade_notice":{"1.0":"<p>Major update with background color and gradient customization support. Upgrade to customize your raffle block backgrounds!<\/p>","0.1.0":"<p>First version of Animated Raffle Winner. Install to start creating interactive raffles!<\/p>"},"ratings":[],"assets_icons":{"icon-128x128.png":{"filename":"icon-128x128.png","revision":3568277,"resolution":"128x128","location":"assets","locale":"","width":128,"height":128},"icon-256x256.png":{"filename":"icon-256x256.png","revision":3568277,"resolution":"256x256","location":"assets","locale":"","width":256,"height":256}},"assets_banners":{"banner-1544x500.png":{"filename":"banner-1544x500.png","revision":3568277,"resolution":"1544x500","location":"assets","locale":"","width":1544,"height":500},"banner-772x250.png":{"filename":"banner-772x250.png","revision":3568277,"resolution":"772x250","location":"assets","locale":"","width":772,"height":250}},"assets_blueprints":{},"all_blocks":{"rafaelfunchal\/animated-raffle-winner":{"$schema":"https:\/\/schemas.wp.org\/trunk\/block.json","apiVersion":3,"name":"rafaelfunchal\/animated-raffle-winner","version":"1.0","title":"Animated Raffle Winner","category":"widgets","icon":"randomize","description":"Create interactive raffles with number animation and fireworks","example":{"attributes":{"startingNumber":1,"endingNumber":100,"raffleDuration":5,"fullscreen":false,"animationType":"fireworks"}},"attributes":{"startingNumber":{"type":"number","default":1},"endingNumber":{"type":"number","default":100},"raffleDuration":{"type":"number","default":5},"fullscreen":{"type":"boolean","default":false},"animationType":{"type":"string","default":"fireworks"},"textSize":{"type":"string","default":"medium"},"backgroundColor":{"type":"string"},"overlayOpacity":{"type":"number","default":100},"gradient":{"type":"string"},"buttonColor":{"type":"string"},"textColor":{"type":"string"},"buttonTextColor":{"type":"string"},"backgroundImageUrl":{"type":"string"},"backgroundImageId":{"type":"number"}},"supports":{"html":false,"align":["wide","full"]},"textdomain":"animated-raffle-winner","editorScript":"file:.\/index.js","editorStyle":"file:.\/index.css","style":"file:.\/style-index.css","viewScript":"file:.\/view.js"}},"tagged_versions":["1.0"],"block_files":[],"assets_screenshots":{"screenshot-1.png":{"filename":"screenshot-1.png","revision":3568277,"resolution":"1","location":"assets","locale":"","width":1352,"height":1322},"screenshot-2.png":{"filename":"screenshot-2.png","revision":3568277,"resolution":"2","location":"assets","locale":"","width":1968,"height":2816},"screenshot-3.png":{"filename":"screenshot-3.png","revision":3568277,"resolution":"3","location":"assets","locale":"","width":1498,"height":1116}},"screenshots":{"1":"Block in the editor showing the range settings","2":"Initial state of the block on the frontend before the raffle","3":"Animation in progress with numbers rolling","4":"Raffle result with large number and fireworks"}},"plugin_section":[],"plugin_tags":[785,1220,21255,52252,244],"plugin_category":[50],"plugin_contributors":[78807],"plugin_business_model":[],"class_list":["post-302497","plugin","type-plugin","status-publish","hentry","plugin_tags-animation","plugin_tags-block","plugin_tags-lottery","plugin_tags-raffle","plugin_tags-random","plugin_category-media","plugin_contributors-rafaelfunchal","plugin_committers-rafaelfunchal"],"banners":{"banner":"https:\/\/ps.w.org\/animated-raffle-winner\/assets\/banner-772x250.png?rev=3568277","banner_2x":"https:\/\/ps.w.org\/animated-raffle-winner\/assets\/banner-1544x500.png?rev=3568277","banner_rtl":false,"banner_2x_rtl":false},"icons":{"svg":false,"icon":"https:\/\/ps.w.org\/animated-raffle-winner\/assets\/icon-128x128.png?rev=3568277","icon_2x":"https:\/\/ps.w.org\/animated-raffle-winner\/assets\/icon-256x256.png?rev=3568277","generated":false},"screenshots":[{"src":"https:\/\/ps.w.org\/animated-raffle-winner\/assets\/screenshot-1.png?rev=3568277","caption":"Block in the editor showing the range settings"},{"src":"https:\/\/ps.w.org\/animated-raffle-winner\/assets\/screenshot-2.png?rev=3568277","caption":"Initial state of the block on the frontend before the raffle"},{"src":"https:\/\/ps.w.org\/animated-raffle-winner\/assets\/screenshot-3.png?rev=3568277","caption":"Animation in progress with numbers rolling"}],"raw_content":"<!--section=description-->\n<p>The Animated Raffle Winner block allows you to create engaging raffle experiences on your WordPress site. With smooth animations and exciting visual effects, this block is perfect for promotions, events, contests, and any situation that requires random number selection.<\/p>\n\n<p><strong>Key Features:<\/strong><\/p>\n\n<ul>\n<li>Set a custom number range (start and end)<\/li>\n<li>Number rolling animation for 5 seconds before revealing the result<\/li>\n<li>Highlighted display of the drawn number<\/li>\n<li>Animated fireworks to celebrate the result<\/li>\n<li>Simple and intuitive interface<\/li>\n<li>Fully responsive<\/li>\n<\/ul>\n\n<p><strong>How to Use:<\/strong><\/p>\n\n<ol>\n<li>Add the \"Animated Raffle Winner\" block to your content<\/li>\n<li>Configure the starting number in the settings panel<\/li>\n<li>Configure the ending number in the settings panel<\/li>\n<li>Publish or preview the page<\/li>\n<li>Click the \"Draw\" button to start the raffle!<\/li>\n<\/ol>\n\n<p>The block is perfect for:\n- Raffles at events and promotions\n- Random selection of participants\n- Games and interactive activities\n- Educational demonstrations about randomness\n- Any application that needs random selection with visual impact<\/p>\n\n<h3>Source Code &amp; Build Instructions<\/h3>\n\n<p>The development source code and build tools for this plugin are publicly maintained on GitHub:\nhttps:\/\/github.com\/RafaelFunchal\/animated-raffle-winner<\/p>\n\n<p>The source code is also included directly within the <code>src\/<\/code> directory in this distribution package.<\/p>\n\n<p>To build the plugin from source:\n1. Ensure you have Node.js and npm installed.\n2. Install the dependencies: <code>npm install<\/code>\n3. Build the assets: <code>npm run build<\/code><\/p>\n\n<!--section=installation-->\n<ol>\n<li>Upload the plugin files to the <code>\/wp-content\/plugins\/animated-raffle-winner<\/code> directory or install directly through the WordPress plugins screen<\/li>\n<li>Activate the plugin through the 'Plugins' screen in WordPress<\/li>\n<li>Add the \"Animated Raffle Winner\" block to any page or post using the Gutenberg editor<\/li>\n<\/ol>\n\n<!--section=faq-->\n<dl>\n<dt id=\"how%20do%20i%20configure%20the%20number%20range%3F\"><h3>How do I configure the number range?<\/h3><\/dt>\n<dd><p>In the block editor, select the Animated Raffle Winner block. In the right sidebar (Inspector), you will see two fields: \"Starting Number\" and \"Ending Number\". Enter the desired values.<\/p><\/dd>\n<dt id=\"can%20i%20use%20negative%20numbers%3F\"><h3>Can I use negative numbers?<\/h3><\/dt>\n<dd><p>Yes! The block accepts any integer, including negative numbers.<\/p><\/dd>\n<dt id=\"does%20the%20animation%20work%20on%20mobile%20devices%3F\"><h3>Does the animation work on mobile devices?<\/h3><\/dt>\n<dd><p>Yes, the block is fully responsive and works perfectly on smartphones and tablets.<\/p><\/dd>\n<dt id=\"can%20i%20customize%20the%20animation%20duration%3F\"><h3>Can I customize the animation duration?<\/h3><\/dt>\n<dd><p>Currently, the animation has a fixed duration of 5 seconds to provide a consistent and exciting experience.<\/p><\/dd>\n<dt id=\"is%20the%20raffle%20truly%20random%3F\"><h3>Is the raffle truly random?<\/h3><\/dt>\n<dd><p>Yes, we use JavaScript's Math.random() function, which generates pseudo-random numbers suitable for most raffle applications.<\/p><\/dd>\n\n<\/dl>\n\n<!--section=changelog-->\n<h4>1.0<\/h4>\n\n<ul>\n<li>Added background image selector from Media Library<\/li>\n<li>Added background\/overlay color opacity control (0-100)<\/li>\n<li>Added text size presets (Extra Small, Small, Medium, Large, Extra Large)<\/li>\n<li>Updated front-end button label to \"Draw again\" after each result<\/li>\n<li>Added accessibility improvements: live result announcements and reduced-motion support<\/li>\n<li>Added fullscreen exit via Escape key and automatic celebration stop<\/li>\n<\/ul>\n\n<h4>0.1.0<\/h4>\n\n<ul>\n<li>Initial release<\/li>\n<li>Raffle with configurable range<\/li>\n<li>5-second animation<\/li>\n<li>Celebratory fireworks<\/li>\n<li>Responsive interface<\/li>\n<\/ul>","raw_excerpt":"An interactive block to create animated raffles with random numbers and celebratory fireworks.","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/302497","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=302497"}],"author":[{"embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/rafaelfunchal"}],"wp:attachment":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=302497"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=302497"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=302497"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=302497"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=302497"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=302497"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}