{"id":133955,"date":"2020-12-23T09:02:03","date_gmt":"2020-12-23T09:02:03","guid":{"rendered":"https:\/\/wordpress.org\/plugins\/snowfall\/"},"modified":"2020-12-23T09:02:00","modified_gmt":"2020-12-23T09:02:00","slug":"snowfall","status":"publish","type":"plugin","link":"https:\/\/pcd.wordpress.org\/plugins\/snowfall\/","author":18460987,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_crdt_document":"","version":"1.0","stable_tag":"1.0.0","tested":"5.6.17","requires":"5.1","requires_php":"7.2","requires_plugins":"","header_name":"Snowfall","header_author":"Artyom Ilyin","header_description":"Simple plugin to add snowfall effect on your site.","assets_banners_color":"","last_updated":"2020-12-23 09:02:00","external_support_url":"","external_repository_url":"","donate_link":"","header_plugin_uri":"https:\/\/github.com\/KupnoH\/snowfall-wp","header_author_uri":"https:\/\/github.com\/KupnoH\/","rating":0,"author_block_rating":0,"active_installs":10,"downloads":3501,"num_ratings":0,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","installation","faq"],"tags":{"1.0.0":{"tag":"1.0.0","author":"ailyin","date":"2020-12-23 09:02:00"}},"upgrade_notice":[],"ratings":[],"assets_icons":[],"assets_banners":[],"assets_blueprints":{},"all_blocks":[],"tagged_versions":["1.0.0"],"block_files":[],"assets_screenshots":[],"screenshots":[],"jetpack_post_was_ever_published":false},"plugin_section":[],"plugin_tags":[842,1381,4035,1378,837],"plugin_category":[37],"plugin_contributors":[194385],"plugin_business_model":[],"class_list":["post-133955","plugin","type-plugin","status-publish","hentry","plugin_tags-christmas","plugin_tags-easy","plugin_tags-lightweight","plugin_tags-simple","plugin_tags-snow","plugin_category-arts-and-entertainment","plugin_contributors-ailyin","plugin_committers-ailyin"],"banners":[],"icons":{"svg":false,"icon":"https:\/\/s.w.org\/plugins\/geopattern-icon\/snowfall.svg","icon_2x":false,"generated":true},"screenshots":[],"raw_content":"<!--section=description-->\n<p>Simple easy-to-use and easy-to-set-up lightweight plugin for snowfall effect on your site. If you have any questions or inqueries, please feel free to get in touch via email kupnoh25@gmail.com.<\/p>\n\n<p>Snowfall plugin uses snowfall library to set up snow effect. For more info about the library go to https:\/\/github.com\/KupnoH\/snowfall.\nPlugin is very easy to install and use.\nThough some coding needed to set this plugin up it's very easy and <em>Installation<\/em> section explains it in details.\nYou can find this plugin on github <a href=\"https:\/\/github.com\/KupnoH\/snowfall-wp\">here<\/a><\/p>\n\n<!--section=installation-->\n<p>To install the plugin do the same steps you do for installing wordpress plugins.<\/p>\n\n<h4>Set up<\/h4>\n\n<p>The set up for the plugin is a bit harder, but I'll explain it in details:\nThe plugin allows to set up snowfall effect in 2 ways:\n1. via WordPress actions\n2. manually.<\/p>\n\n<h4>1. WordPress actions.<\/h4>\n\n<p>Plugin provides action <code>snowfall_main_tag_action<\/code> which adds necessary blocks and queues necessary scripts. This is why this set up is easier.\nTo make it work add the following code right after <code>&lt;body&gt;<\/code> opening tag:<\/p>\n\n<pre><code>&lt;?php do_action('snowfall_main_tag_action'); ?&gt;\n<\/code><\/pre>\n\n<p>When this action will be added, and the plugin will be enabled you will see the snowfall effect on your site.<\/p>\n\n<h4>2. Manual set up<\/h4>\n\n<p>As mentioned above manual set up is a bit harder than set up through Wordpress actions.\nTo set up plugin manually you need to:\n- add <code>&lt;div id=\"some-unique-id\"&gt;&lt;\/div&gt;<\/code> right after <code>&lt;body&gt;<\/code> opening tag.\n<strong>NOTE:<\/strong> the <code>id<\/code> attribute for this block should be unique.\n- create the following javascript snippet: <code>new Snowfall(\"some-unique-id\");<\/code> <strong>NOTE:<\/strong> <code>some-unique-id<\/code> from this code snippet should be the same as <code>id<\/code> attribute from the block you created above.\n- enqueue the code snippet from the step above after <code>snowfall<\/code> script (<code>snowfall<\/code> - is a script's handle for more info see <a href=\"https:\/\/developer.wordpress.org\/reference\/functions\/wp_enqueue_script\/\">wp_enqueue_script<\/a>)\n- now activate the plugin if it's still disabled and you will see the snowfall effect on your site.<\/p>\n\n<!--section=faq-->\n<dl>\n<dt><h3>Can I customize the snow effect?<\/h3><\/dt>\n<dd><p>In short - yes.\nTo customize the snowfall effect(increase\/decrease number of snowflakes, increase\/decrease it's size\/color etc) you have 2 options:\n- do it manually yourself (some coding knowledge required)\n- ask me to do it for you<\/p>\n\n<p>If you chose to do it yourself, please refer to snowfall library documentation <a href=\"https:\/\/github.com\/KupnoH\/snowfall\/blob\/master\/README.md\">here<\/a>.\nIf you want me to do it for you, please write me an email to <code>kupnoh25@gmail.com<\/code> with Subject <code>Snowfall customization<\/code> and we would discuss further details.<\/p><\/dd>\n\n<\/dl>","raw_excerpt":"Simple easy-to-use and easy-to-set-up lightweight plugin for snowfall effect on your site.","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/pcd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/133955","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=133955"}],"author":[{"embeddable":true,"href":"https:\/\/pcd.wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/ailyin"}],"wp:attachment":[{"href":"https:\/\/pcd.wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=133955"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/pcd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=133955"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/pcd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=133955"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/pcd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=133955"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/pcd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=133955"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/pcd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=133955"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}