{"id":244661,"date":"2025-08-17T11:18:09","date_gmt":"2025-08-17T11:18:09","guid":{"rendered":"https:\/\/vi.wordpress.org\/plugins\/lnh-lunar-calendar\/"},"modified":"2025-08-17T11:17:58","modified_gmt":"2025-08-17T11:17:58","slug":"lnh-lunar-calendar","status":"publish","type":"plugin","link":"https:\/\/pe.wordpress.org\/plugins\/lnh-lunar-calendar\/","author":15660913,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_crdt_document":"","version":"2.8.5","stable_tag":"2.8.5","tested":"6.8.5","requires":"5.0","requires_php":"7.0","requires_plugins":null,"header_name":"LNH Lunar Calendar","header_author":"tobevn","header_description":"Displays a beautiful, modern, and accurate Vietnamese Lunar Calendar via shortcode.","assets_banners_color":"","last_updated":"2025-08-17 11:17:58","external_support_url":"","external_repository_url":"","donate_link":"","header_plugin_uri":"https:\/\/wordpress.org\/plugins\/lnh-lunar-calendar\/","header_author_uri":"https:\/\/profiles.wordpress.org\/tobevn\/","rating":0,"author_block_rating":0,"active_installs":0,"downloads":279,"num_ratings":0,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","installation","faq","changelog"],"tags":{"2.8.5":{"tag":"2.8.5","author":"tobevn","date":"2025-08-17 11:17:58"}},"upgrade_notice":{"2.8.5":"<p>This version adds a new dark theme and several stability fixes. Updating is recommended for all users.<\/p>"},"ratings":[],"assets_icons":[],"assets_banners":[],"assets_blueprints":{},"all_blocks":[],"tagged_versions":["2.8.5"],"block_files":[],"assets_screenshots":[],"screenshots":[],"jetpack_post_was_ever_published":false},"plugin_section":[],"plugin_tags":[128178,173231,94539,80,246421],"plugin_category":[43],"plugin_contributors":[246422],"plugin_business_model":[],"class_list":["post-244661","plugin","type-plugin","status-publish","hentry","plugin_tags-am-lich","plugin_tags-dark-mode","plugin_tags-lunar-calendar","plugin_tags-shortcode","plugin_tags-vietnamese-calendar","plugin_category-customization","plugin_contributors-tobevn","plugin_committers-tobevn"],"banners":[],"icons":{"svg":false,"icon":"https:\/\/s.w.org\/plugins\/geopattern-icon\/lnh-lunar-calendar.svg","icon_2x":false,"generated":true},"screenshots":[],"raw_content":"<!--section=description-->\n<p>LNH Lunar Calendar is a simple yet powerful plugin that allows you to easily insert a detailed Lunar-Solar calendar block anywhere on your WordPress site using a shortcode. The plugin is designed with a modern, responsive interface and provides accurate information about the lunar date, Can Chi (Stem-Branch), and dynamic Zodiac Hours calculated for each specific day.<\/p>\n\n<p>This is an essential tool for websites targeting a Vietnamese audience, helping to enrich content and provide a culturally relevant experience.<\/p>\n\n<p>Key Features:<\/p>\n\n<p>Flexible Shortcode: Use [lnh_lunar_calendar] to display the calendar with various options.<\/p>\n\n<p>Multiple Layouts &amp; Themes:<\/p>\n\n<p>widget: A compact block, perfect for sidebars or footers.<\/p>\n\n<p>full: Displays a full monthly calendar with an integrated details header.<\/p>\n\n<p>inline: Shows date information in a single, clean line.<\/p>\n\n<p>theme=\"dark\": A beautiful dark mode is available for all layouts.<\/p>\n\n<p>Smart Interaction: Users can click any day in the full calendar to see its detailed information (including Zodiac Hours) updated instantly in the header.<\/p>\n\n<p>Dynamic Zodiac Hours: The Zodiac Hours (Gi\u1edd Ho\u00e0ng \u0110\u1ea1o) are accurately calculated for each day based on its Earthly Branch (\u0110\u1ecba Chi).<\/p>\n\n<p>Easy Customization: Allows users to translate basic text strings (like \"Day\", \"Month\", \"Year\"...) directly from the settings page.<\/p>\n\n<p>Accurate &amp; High-Performance: Uses a verified astronomical algorithm for date conversion and the smart Transients API for caching to ensure the fastest page load times.<\/p>\n\n<p>Responsive Design: Displays beautifully on all devices, from desktops to mobile phones, including abbreviated weekday names on smaller screens.<\/p>\n\n<!--section=installation-->\n<p>Upload the lnh-lunar-calendar folder to the \/wp-content\/plugins\/ directory.<\/p>\n\n<p>Activate the plugin through the 'Plugins' menu in WordPress.<\/p>\n\n<p>Go to Settings &gt; LNH Lunar Calendar to customize default settings and translations.<\/p>\n\n<p>Use the shortcode [lnh_lunar_calendar] in your posts, pages, or widgets.<\/p>\n\n<!--section=faq-->\n<dl>\n<dt id='how%20do%20i%20use%20the%20shortcode%3F'><h3>How do I use the shortcode?<\/h3><\/dt>\n<dd><p>You can insert the shortcode into any WordPress text editor. Here are some examples:<\/p>\n\n<p>Basic Widget: [lnh_lunar_calendar]<\/p>\n\n<p>Full Month Calendar: [lnh_lunar_calendar layout=\"full\"]<\/p>\n\n<p>Using the Dark Theme: [lnh_lunar_calendar layout=\"full\" theme=\"dark\"]<\/p><\/dd>\n<dt id='how%20does%20the%20interactive%20feature%20work%3F'><h3>How does the interactive feature work?<\/h3><\/dt>\n<dd><p>The layout=\"full\" shortcode automatically includes a detailed header. When you click on any day in the calendar grid, this header will update to show the detailed information for the selected day. If you also place a [lunar_calendar] widget on the same page, it will be updated as well.<\/p><\/dd>\n<dt id='can%20i%20translate%20words%20like%20%22day%22%2C%20%22month%22%2C%20%22monday%22%2C%20etc.%3F'><h3>Can I translate words like \"Day\", \"Month\", \"Monday\", etc.?<\/h3><\/dt>\n<dd><p>Yes. Go to Settings &gt; LNH Lunar Calendar &gt; Translate. Here you can enter custom translations for the text strings displayed on the front end.<\/p><\/dd>\n\n<\/dl>\n\n<!--section=changelog-->\n<h4>2.8.5<\/h4>\n\n<p>Feature: Added a beautiful dark mode (theme=\"dark\") for the full calendar layout.<\/p>\n\n<h4>2.8.3<\/h4>\n\n<p>Fix: Resolved a critical bug where calendar navigation (next\/prev month) would fail if the mbstring PHP extension was not enabled on the server.<\/p>\n\n<h4>2.8.2<\/h4>\n\n<p>Tweak: Weekday headers in the full calendar now automatically switch to single-letter abbreviations on mobile devices for a cleaner look.<\/p>\n\n<h4>2.8.1<\/h4>\n\n<p>Tweak: Added a current-day class to the present day in the full calendar for easier styling.<\/p>\n\n<h4>2.8.0<\/h4>\n\n<p>Major Feature: Implemented dynamic Zodiac Hours. The auspicious hours are now accurately calculated for each day based on its specific Earthly Branch (Chi).<\/p>\n\n<h4>2.7.0<\/h4>\n\n<p>Feature: Integrated a widget-like details header directly into the layout=\"full\" view for a more comprehensive experience.<\/p>\n\n<h4>2.6.1<\/h4>\n\n<p>Fix: Resolved a JavaScript Invalid URL error by rewriting the navigation logic to be more robust.<\/p>\n\n<h4>2.5.1<\/h4>\n\n<p>Fix: Corrected a bug where the month's Can Chi (Stem-Branch) was missing on the initial load and showed \"undefined\" on click.<\/p>\n\n<h4>2.5.0<\/h4>\n\n<p>Fix: Updated plugin to comply with WordPress.org guidelines, including author information, English readme, and proper code prefixing.<\/p>\n\n<h4>1.0.0<\/h4>\n\n<p>Initial release.<\/p>","raw_excerpt":"Display an accurate Vietnamese Lunar-Solar Calendar via shortcode. Supports multiple layouts, dark mode, interactions, and dynamic Zodiac Hours.","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/pe.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/244661","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/pe.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/pe.wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/pe.wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=244661"}],"author":[{"embeddable":true,"href":"https:\/\/pe.wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/tobevn"}],"wp:attachment":[{"href":"https:\/\/pe.wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=244661"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/pe.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=244661"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/pe.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=244661"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/pe.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=244661"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/pe.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=244661"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/pe.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=244661"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}