=== HF Lite ===
Contributors: hromf
Tags: minimal, one-column, custom-logo, translation-ready, accessibility-ready, artist, portfolio, blog, simple, responsive-layout
Requires at least: 5.3
Tested up to: 6.8
Requires PHP: 7.4
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Stable tag: 1.2.6

HF Lite, Copyright 2025 Hiromitsu Fujiki
HF Lite is distributed under the terms of the GNU GPL
The images used in the screenshots are original works created by me, Hiromitsu Fujiki, and do not require a separate license or source URL.

A minimalist WordPress theme for artists and creators. Designed by Hiromitsu Fujiki.

== Description ==
HF Lite is a quiet, minimal theme designed for clarity and expression.
With elegant typography and focus on whitespace, it's ideal for artists, poets, and anyone who wants their work to breathe.

Fully compatible with the WordPress block editor (Gutenberg).

= Image Credits =
* The screenshot image is my own artwork.

== Features ==
* Minimal One-Column Layout
* Custom Logo
* Custom Accent Color
* Base Font Size Adjustment
* Sidebar Widget Area
* Editor Style Support
* Accessibility-Ready Markup

Upgrade to [HF Pro](https://hromf.com/hf-pro/) for artwork registration, database features, and advanced customization.

== Changelog ==

= 1.2.6 =

New: Support for Post Tags.
Added the_tags() support to both archive and single post templates. Tags are displayed with a minimalist hashtag style (#tag), maintaining the theme's clean aesthetic while improving site navigation and SEO.

= 1.2.5 =

New: Seamless Display Mode Integration.
Introduced full support for Dark and Light modes when paired with the "HF-Lite" theme. The UI now automatically synchronizes with OS settings or ambient lighting, providing a jet-black background that enhances the depth and texture of displayed artwork.

Improved: Navigation Bar Typography.
Refined the font weight and letter-spacing for the navigation bar to ensure optimal legibility and visual balance across both display modes. This adjustment provides a more professional and consistent aesthetic.

Enhanced: Visual Fidelity.
Optimized UI component contrasts specifically for Dark Mode to ensure that interactive elements remain intuitive while maintaining a high-fidelity gallery experience.

= 1.2.4 =

Improved: Centralized Front Page Hero Management. 
Streamlined the front page hero image logic by prioritizing the Customizer setting over the individual post thumbnail (featured image). This ensures a more intuitive and consistent user experience where the front page design is managed from a single location.

Improved: UX & Customizer Integration. 
Added a dedicated "Front Page Settings" section in the Customizer, allowing users to select and preview the hero image in real-time.

Fixed: Resolved Background Interference. 
Removed 'custom-background' theme support to prevent unintended legacy background images or inline styles from appearing behind the hero section, ensuring a clean and high-fidelity visual presentation.

Fixed: Cleaned up redundant image retrieval logic in front-page.php to improve performance and code maintainability.

Enhancement: Added utility classes for letter-spacing (.ls-1px to .ls-8px) to allow fine-grained typography control without triggering block editor validation errors.

= 1.2.3 =

Modified the display style of underlines for links within content during hover.

Adjusted the border width for button blocks.

= 1.2.2 =

Fixed:

Resolved layout interference: Migrated from border-bottom to native text-decoration for hyperlinks. This ensures that unintended underlines no longer appear on buttons, icons, or other non-text elements, maintaining a clean and consistent UI.

= 1.2.1 =

Improved:

Refined Footer Aesthetics: Adjusted the footer background color to achieve a more seamless, integrated transition with the overall page layout.

Localized Hyperlink Decor: Scoped the dotted underline styling exclusively to the post-content area. This ensures a focused reading experience in articles while preserving the clean, minimal UI for functional elements like buttons and navigation.

Optimized Heading Typography: Fine-tuned the letter-spacing for all heading levels (h1 - h6) to enhance visual hierarchy and achieve a more sophisticated, well-balanced typographic structure.

= 1.2.0 =

Improved:
Refined hyperlink aesthetics and affordance: Re-engineered the visual style of anchor text to balance minimalism with usability. Introduced a subtle dotted underline and a sophisticated tonal transition (from mono6 to mono3) to clearly define interactive elements while maintaining the theme's clean, high-fidelity aesthetic.

= 1.1.9 =

Improved:
Refined navigation typography: Updated character spacing (letter-spacing) and layout gaps across the primary menu and language switcher to enhance readability and achieve a more sophisticated visual balance.

Optimized hyperlink aesthetics: Updated the anchor text color to achieve better tonal harmony with the dark UI and improved visual affordance for a more intuitive browsing experience.

= 1.1.8 =

Fixed: Prevented an empty list bullet (dot) from appearing in the header when no primary menu is assigned.
Fixed: Resolved an issue where the language switcher shortcode [r_ais_language_switcher] would appear as plain text in the header if the required plugin was deactivated. Added shortcode_exists check to prevent this.

Improved: Refined navigation bar layout logic to ensure the menu toggle remains correctly positioned even when the language switcher is hidden.

Cleaned up: Removed unnecessary legacy code and comments in template-parts/nav.php and template-parts/front-nav.php to align with the 1.1.7 structural updates.

= 1.1.7 =

Removed: Removed custom JavaScript scroll logic and legacy CSS (.hf-sticky-header, .hf-show-on-up, etc.) for the navigation bar to prevent conflicts.

Improved: Transitioned header scroll control to UIkit 3 uk-sticky (managed via plugin) for better performance and stability.

Updated: Consolidated three footer widget areas into a single, full-width area (hf-footer-main). This allows for greater layout flexibility by using the WordPress Column Block.

Added: Introduced a new shortcode [hfam_site_social_links] with a ratio parameter, enabling flexible control over icon sizes (e.g., ratio="0.8").

Added: Introduced [hfam_language_switcher] shortcode, allowing the multilingual switcher to be placed anywhere while automatically preserving URL parameters such as year (y) and artwork ID.

= 1.1.6 =

Added: Added support for third-party plugins (e.g., multilingual or SEO plugins) to display key elements.
Added hooks for Language Switcher in template-parts/nav.php (L44) and template-parts/front-nav.php (L44).
Added hooks for Breadcrumb Navigation in archive.php (L18), page.php (L27), and single.php (L27).
Fixed: Resolved a PHP Warning in 'template-parts/content-page.php' (L26) where an empty needle was passed to 'strpos()'.
Improved: Refined the logic for 'wp_link_pages' by using the global '$multipage' variable for better reliability.
Removed: Removed the function 'hf_render_latest_posts_slider' from 'page-front.php' to streamline front page rendering and improve performance.
Improved: Adjusted and refined the display of the copyright information in 'utils-art.php'.

= 1.1.5 =

Fixed: **Resolved ALL remaining accessibility issues (Skip Link, Underline Links, Keyboard Navigation) as reported by the theme review team.**
Improved: **Enhanced link accessibility by ensuring permanent underlines on all content links (Overriding 'text-decoration: none;' for body content).**
Improved: **Enhanced keyboard accessibility by applying high-contrast focus indicators (3px solid #000 outline) to ALL interactive elements (links, buttons, forms).**
Improved: **Enhanced mobile menu hierarchy visibility by adding the '▶︎' symbol to all parent links in the first level.**
Fixed: Corrected the font size of the menu hierarchy symbol (▶︎) for better visual balance.

= 1.1.4 =

Fixed: Resolved all reported issues from the theme review.
Improved: Enhanced mobile menu functionality for better responsiveness.
Improved: Updated the front page display for "latest posts."
Improved: Ensured long titles are handled properly to prevent overflow.
Added: Translation-ready strings for improved localization.
Removed: Unwanted files, including wp-config.php.
Removed: Accessibility review tag from style.css for a faster review process.

= 1.1.3 =
* Fixed: Resolved all theme check warnings and notices.
* Fixed: Corrected off-canvas and submenu keyboard navigation issues, including proper focus trap behavior.
* Improved: Updated theme header details in style.css and readme.txt to reflect the latest WordPress requirements.
* Improved: Added copyright and image license information to the readme file.

= 1.1.2 =
* Improved: Updated the skip link to enhance accessibility for keyboard and screen reader users.
* Improved: Updated the prefix for all theme-defined elements (functions, constants, meta keys, script handles, etc.) to `hf_` to prevent namespace collisions.
* Passed: Re-tested with Theme Check and Accessibility Review guidelines.

= 1.1.1 =
* Fixed: Removed unsupported tags from style.css (responsive-layout, artist, clean, simple)
* Updated: Theme version bumped to 1.1.1 following tag correction

= 1.1.0 =
* Improved: Added `hf_` prefix to all theme-defined elements (functions, constants, meta keys, script handles, etc.) to ensure namespace isolation and theme review compatibility.
* Improved: Accessibility enhancements:
  - Added skip link for screen reader and keyboard users
  - Ensured keyboard navigation for submenus and mobile menu
  - Implemented proper focus trap behavior within mobile modals
* Improved: All text strings are now translatable and passed through localization functions (`__()`, `esc_html__()`, etc.)
* Fixed: Removed theme-defined constants such as `SITE_NAME`, `THEME_NAME`, etc. and replaced them with dynamic WordPress functions like `get_bloginfo()`
* Fixed: Proper escaping for dynamic content in HTML attributes (e.g., `esc_attr()`, `esc_html()`, `esc_url()`)
* Passed: Re-tested with Theme Check and Accessibility Review guidelines

= 1.0.3 =
* Fixed: Replaced PHP short tags in footer.php with standard PHP tags.
* Fixed: Adjusted screenshot.png to the correct size (1200x900px) and optimized file size.
* Removed: hf-lite-sample-content.xml from the production version.
* Improved: Refined wp_nav_menu() implementation and added fallback handling.
* Improved: CSS adjustments for better multi-level submenu support.
* Improved: Overall code cleanup and alignment with Theme Check best practices.
* Passed: Theme Check basic tests successfully.

= 1.0.2 =
* Fixed timing of `load_theme_textdomain()` to comply with WordPress 6.7+ requirements.
* Resolved a notice related to early translation loading.

= 1.0.1 =
* Updated `screenshot.png` to meet WordPress.org requirement (maximum width and height of 1200x900).

= 1.0.0 =
* Initial release with core layout, custom logo, color and font customizer support.
* Basic accessibility and responsive layout support.