{"id":296955,"date":"2026-04-14T17:50:33","date_gmt":"2026-04-14T17:50:33","guid":{"rendered":"https:\/\/wordpress.org\/plugins\/lunar-phase-stock-widget\/"},"modified":"2026-04-14T17:50:01","modified_gmt":"2026-04-14T17:50:01","slug":"celestial-lunar-phase","status":"publish","type":"plugin","link":"https:\/\/ms.wordpress.org\/plugins\/celestial-lunar-phase\/","author":18674975,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_crdt_document":"","version":"1.1.0","stable_tag":"trunk","tested":"6.9.4","requires":"5.8","requires_php":"7.4","requires_plugins":null,"header_name":"Lunar Phase Stock Widget","header_author":"Celestial Web Development","header_description":"Display the current lunar phase with a bundled moon image, phase name, moonrise, moonset, and illumination using WeatherAPI astronomy data.","assets_banners_color":"6a6b70","last_updated":"2026-04-14 17:50:01","external_support_url":"","external_repository_url":"","donate_link":"","header_plugin_uri":"https:\/\/celestialwebdevelopment.com\/lunar-phase-plugin\/","header_author_uri":"https:\/\/celestialwebdevelopment.com\/","rating":0,"author_block_rating":0,"active_installs":0,"downloads":121,"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":"johnfoo","date":"2026-04-14 17:50:01"}},"upgrade_notice":{"1.1.0":"<p>Adds a Gutenberg block, improved plugin metadata, and submission-ready screenshot support.<\/p>"},"ratings":[],"assets_icons":{"icon-128x128.png":{"filename":"icon-128x128.png","revision":3509189,"resolution":"128x128","location":"assets","locale":""},"icon-256x256.png":{"filename":"icon-256x256.png","revision":3509189,"resolution":"256x256","location":"assets","locale":""}},"assets_banners":{"banner-1544x500.png":{"filename":"banner-1544x500.png","revision":3509189,"resolution":"1544x500","location":"assets","locale":""},"banner-772x250.png":{"filename":"banner-772x250.png","revision":3509189,"resolution":"772x250","location":"assets","locale":""}},"assets_blueprints":{},"all_blocks":{"celestial-web-development\/lunar-phase-widget":{"name":"celestial-web-development\/lunar-phase-widget","title":"Celestial Lunar Phase Widget"}},"tagged_versions":["1.0.0"],"block_files":[],"assets_screenshots":{"screenshot-1.png":{"filename":"screenshot-1.png","revision":3506317,"resolution":"1","location":"assets","locale":""},"screenshot-2.png":{"filename":"screenshot-2.png","revision":3509167,"resolution":"2","location":"assets","locale":""}},"screenshots":{"1":"Front-end widget showing the current lunar phase, location, moonrise, moonset, and illumination.","2":"Settings screen for WeatherAPI key, default location, time format, and shortcode examples."},"jetpack_post_was_ever_published":false},"plugin_section":[],"plugin_tags":[7964,151844,27463,260211,260212],"plugin_category":[],"plugin_contributors":[260213],"plugin_business_model":[],"class_list":["post-296955","plugin","type-plugin","status-publish","hentry","plugin_tags-astronomy","plugin_tags-gutenberg-block","plugin_tags-moon-phase","plugin_tags-moonrise","plugin_tags-moonset","plugin_contributors-johnfoo","plugin_committers-johnfoo"],"banners":{"banner":"https:\/\/ps.w.org\/celestial-lunar-phase\/assets\/banner-772x250.png?rev=3509189","banner_2x":"https:\/\/ps.w.org\/celestial-lunar-phase\/assets\/banner-1544x500.png?rev=3509189","banner_rtl":false,"banner_2x_rtl":false},"icons":{"svg":false,"icon":"https:\/\/ps.w.org\/celestial-lunar-phase\/assets\/icon-128x128.png?rev=3509189","icon_2x":"https:\/\/ps.w.org\/celestial-lunar-phase\/assets\/icon-256x256.png?rev=3509189","generated":false},"screenshots":[{"src":"https:\/\/ps.w.org\/celestial-lunar-phase\/assets\/screenshot-1.png?rev=3506317","caption":"Front-end widget showing the current lunar phase, location, moonrise, moonset, and illumination."},{"src":"https:\/\/ps.w.org\/celestial-lunar-phase\/assets\/screenshot-2.png?rev=3509167","caption":"Settings screen for WeatherAPI key, default location, time format, and shortcode examples."}],"raw_content":"<!--section=description-->\n<p>Celestial Lunar Phase Widget helps WordPress sites display the current moon phase in a polished astronomy card.<\/p>\n\n<p>The plugin shows:<\/p>\n\n<ul>\n<li>Current lunar phase name<\/li>\n<li>Moonrise time<\/li>\n<li>Moonset time<\/li>\n<li>Illumination percentage<\/li>\n<li>Bundled moon phase image matched to the returned phase<\/li>\n<li>Optional location label<\/li>\n<li>Optional WeatherAPI credit line<\/li>\n<\/ul>\n\n<p>It includes both a classic shortcode and a Gutenberg block, so site owners can add lunar data in the editor or in traditional content areas.<\/p>\n\n<h4>Ideal for<\/h4>\n\n<ul>\n<li>Astronomy and space science websites<\/li>\n<li>Observing clubs and public outreach pages<\/li>\n<li>Weather and nature blogs<\/li>\n<li>Classroom and education sites<\/li>\n<li>Hobbyist websites that want a live moon phase widget<\/li>\n<\/ul>\n\n<h4>Key features<\/h4>\n\n<ul>\n<li>Shortcode: <code>[celestial_lunar_phase_widget]<\/code><\/li>\n<li>Gutenberg block: <strong>Celestial Lunar Phase Widget<\/strong><\/li>\n<li>Eight bundled moon phase photos packaged locally<\/li>\n<li>Default location and title settings<\/li>\n<li>12-hour or 24-hour time display<\/li>\n<li>Per-location and per-date caching for better performance<\/li>\n<li>No visitor geolocation in the browser, so your API key stays server-side<\/li>\n<\/ul>\n\n<h4>Support<\/h4>\n\n<p>Support and documentation are available at:\nhttps:\/\/celestialwebdevelopment.com\/lunar-phase-plugin\/<\/p>\n\n<h3>Blocks<\/h3>\n\n<h4>Celestial Lunar Phase Widget<\/h4>\n\n<p>Display the current moon phase with a bundled moon image, phase name, moonrise, moonset, and illumination.<\/p>\n\n<h3>External Services<\/h3>\n\n<p>This plugin connects to the following external service:<\/p>\n\n<h4>WeatherAPI<\/h4>\n\n<ul>\n<li>Service URL: <code>https:\/\/api.weatherapi.com\/v1\/astronomy.json<\/code><\/li>\n<li>What the service does: Returns moon phase, moonrise, moonset, and illumination data for the requested location and date.<\/li>\n<li>When data is sent: Only when the block or shortcode is rendered and no cached response is available.<\/li>\n<li>What data is sent: The site administrator's WeatherAPI key, the configured location or override location, and the selected date.<\/li>\n<li>Service provider: WeatherAPI<\/li>\n<li>Terms of use: <code>https:\/\/www.weatherapi.com\/terms.aspx<\/code><\/li>\n<li>Privacy policy: <code>https:\/\/www.weatherapi.com\/privacy.aspx<\/code><\/li>\n<\/ul>\n\n<!--section=installation-->\n<ol>\n<li>Upload the plugin folder to <code>\/wp-content\/plugins\/<\/code> or install the ZIP from <strong>Plugins &gt; Add New &gt; Upload Plugin<\/strong>.<\/li>\n<li>Activate the plugin.<\/li>\n<li>Go to <strong>Settings &gt; Celestial Lunar Phase Widget<\/strong>.<\/li>\n<li>Enter your WeatherAPI key.<\/li>\n<li>Set a default location.<\/li>\n<li>Add the <strong>Celestial Lunar Phase Widget<\/strong> block or place <code>[celestial_lunar_phase_widget]<\/code> into a post, page, or widget area.<\/li>\n<\/ol>\n\n<!--section=faq-->\n<dl>\n<dt id=\"does%20the%20plugin%20include%20moon%20images%3F\"><h3>Does the plugin include moon images?<\/h3><\/dt>\n<dd><p>Yes. Eight moon phase images are bundled locally inside the plugin package.<\/p><\/dd>\n<dt id=\"does%20the%20plugin%20include%20a%20gutenberg%20block%3F\"><h3>Does the plugin include a Gutenberg block?<\/h3><\/dt>\n<dd><p>Yes. Version 1.1.0 includes a dynamic Gutenberg block with editor controls for location, date, title, and display options.<\/p><\/dd>\n<dt id=\"does%20the%20plugin%20need%20an%20api%20key%3F\"><h3>Does the plugin need an API key?<\/h3><\/dt>\n<dd><p>Yes. The plugin uses WeatherAPI to retrieve moon phase, moonrise, moonset, and illumination data.<\/p><\/dd>\n<dt id=\"does%20the%20plugin%20auto-detect%20each%20visitor%20location%3F\"><h3>Does the plugin auto-detect each visitor location?<\/h3><\/dt>\n<dd><p>No. This version uses the saved default location or a block\/shortcode override.<\/p><\/dd>\n<dt id=\"where%20can%20i%20get%20support%3F\"><h3>Where can I get support?<\/h3><\/dt>\n<dd><p>Support is available at:\nhttps:\/\/celestialwebdevelopment.com\/lunar-phase-plugin\/<\/p><\/dd>\n\n<\/dl>\n\n<!--section=changelog-->\n<h4>1.1.0<\/h4>\n\n<ul>\n<li>Added a dynamic Gutenberg block with editor preview.<\/li>\n<li>Added WordPress.org screenshot assets and improved submission readme.<\/li>\n<li>Updated plugin author, support, and company branding to Celestial Web Development.<\/li>\n<\/ul>\n\n<h4>1.0.0<\/h4>\n\n<ul>\n<li>Initial release.<\/li>\n<\/ul>","raw_excerpt":"Display the current moon phase with a bundled moon image, moonrise, moonset, illumination, shortcode, and Gutenberg block.","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/ms.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/296955","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/ms.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/ms.wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/ms.wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=296955"}],"author":[{"embeddable":true,"href":"https:\/\/ms.wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/johnfoo"}],"wp:attachment":[{"href":"https:\/\/ms.wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=296955"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/ms.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=296955"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/ms.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=296955"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/ms.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=296955"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/ms.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=296955"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/ms.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=296955"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}