=== Prismix ===

Contributors: devshakil
Requires at least: 6.0
Tested up to: 6.9
Requires PHP: 7.4
Stable tag: 1.0.16
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html

A modern content gallery and artist platform theme for WordPress.

== Description ==

Prismix is a dark-themed WordPress theme designed for content galleries and artist platforms. It features artist profiles, image galleries, category browsing, likes, comments, and a responsive dark aesthetic design.

== Resources / Bundled Assets ==

This theme bundles no third-party fonts, JavaScript libraries, or images. All assets shipped in the theme zip are either:

1. Theme-author original code (CSS, PHP, vanilla JS) — Copyright (C) 2026 devshakil, released under GPL v2 or later (same as the theme).
2. Loaded externally and only when selected via the WordPress Customizer.

External resources optionally loaded at runtime:

* Google Fonts (Plus Jakarta Sans, Inter, Poppins, DM Sans, Outfit, Space Grotesk, Manrope, Nunito Sans, Work Sans, Sora, Rubik, Figtree, Montserrat, Raleway, Open Sans, and others)
    License: SIL Open Font License 1.1 / Apache License 2.0 (depending on family)
    Source: https://fonts.google.com/
    Loaded only when the user picks a Google Font family in the Customizer (theme defaults to system fonts otherwise).

== Screenshot ==

screenshot.png is a real capture of the theme rendered with sample content (artist profiles + placeholder images generated locally). No third-party images are used in the screenshot; the gallery cards display SVG gradient placeholders generated inline by the theme. Theme author owns the screenshot composition. Released under GPL v2.

== Copyright ==

Prismix WordPress Theme, Copyright (C) 2026 devshakil.
Prismix is distributed under the terms of the GNU GPL v2 or later.

This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 2 of the License, or
(at your option) any later version.

This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.

== Changelog ==

= 1.0.16 =
* Front-page "Your latest posts" mode now renders post cards with post-type-aware fallback: prismix_artist + prismix_image use their respective card templates; regular posts render as proper blog cards (thumbnail, title, date, excerpt) instead of empty image-card placeholders.

= 1.0.15 =
* Front-page template now renders the static front page's title and content (the_content) above the gallery layout so the page body content is visible when a static page is selected in Reading Settings.

= 1.0.14 =
* Prefixed all custom image sizes (card-thumbnail -> prismix-card-thumbnail, gallery-large -> prismix-gallery-large, artist-avatar -> prismix-artist-avatar) per WordPress.org Theme Review prefix requirements.
* Wrapped the companion plugin's setup wizard JavaScript in an IIFE and namespaced its global functions under window.prismixWizard.*, removing the goStep/ajax/saveIdentity/importDemo/saveNav globals.

= 1.0.13 =
* Front-page template now correctly respects WordPress "Reading Settings": "Your latest posts" renders the blog post loop; "A static page" loads the selected gallery layout from the Customizer.
* Removed empty assets/images/ directory.
* Hardened copyright notice format in style.css to ensure Theme Check copyright detection passes across all parser versions.

= 1.0.12 =
* Converted ALL remaining inline <style> and <script> blocks in template files (category.php, tag.php, search.php, single.php, single-prismix_image.php, single-user-profile.php) to wp_add_inline_style() / wp_add_inline_script() registered conditionally in new inc/template-assets.php.
* All PHP-interpolated dynamic values (prev/next image URLs, translatable strings) now passed via wp_localize_script for safety.

= 1.0.11 =
* Refactored dynamic Customizer CSS output to use wp_add_inline_style() (attached to prismix-style handle) instead of raw <style> tag echoed on wp_head.
* Added Resources / Screenshot license sections to readme.txt explicitly documenting Google Fonts source + screenshot composition ownership.

= 1.0.10 =
* Display site tagline (WordPress blogdescription) next to site title in header when set.
* "Powered by Prismix" link in footer now points to WordPress.org theme page instead of GitHub.

= 1.0.9 =
* Updated Theme URI to https://www.shakvaro.com/prismix (a dedicated theme page with full GPL license disclosure). The previous WordPress.org URL was reserved for default Twenty* themes only and returns 404 until approval.
* Polished plugin page templates UI: filter bar, sort dropdown, filter chips, and "X photos found" results count now have consistent themed styling.
* Refined comment area styling and toast notification visibility.

= 1.0.8 =
* Required fix: normalized line endings in style.css and other theme files to LF only (Theme Check flagged mixed DOS/UNIX endings as REQUIRED).
* Added Theme URI pointing to the WordPress.org theme page.
* Comment area styling: added full styles for default WordPress comments (single posts) including comment list, avatars, reply pill button, and form layout.
* Comment toast: added missing CSS for the floating success/error notification used on single image pages.
* Synced PRISMIX_VERSION constant to 1.0.8.

= 1.0.7 =
* Accessibility: skip link now properly moves focus to the main content area (added tabindex="-1" on <main>).
* Accessibility: links inside post content, excerpts, comments, and text widgets are now visibly underlined.
* Synced PRISMIX_VERSION constant in functions.php to match style.css Version header (1.0.7).
* Replaced empty languages/.gitkeep with an actual translation template (languages/prismix.pot).
* Moved plugin-territory page templates (Login, Register, Forgot Password, Upload, Dashboard) out of the theme. These are now provided by the companion Prismix Core plugin.
* Removed companion page templates that depend on plugin features (Blog index, Categories, Photos, Popular, Top Users, Users) — also plugin territory.

= 1.0.6 =
* Renamed licence.txt to license.txt (American spelling) so Theme Check recognises the copyright file.
* Reformatted copyright notice to canonical "Copyright (C) YEAR NAME" form in style.css and readme.txt.

= 1.0.5 =
* Removed plugin-territory code from theme: maintenance mode handler, custom admin redirect (prismix_block_non_admin_access), PWA web app manifest endpoint, and the maintenance template part.
* Renamed inc/seo.php to inc/theme-helpers.php to reflect actual contents (only non-SEO performance/template helpers remain).
* Updated copyright attribution back to devshakil (theme author / WordPress.org submitter).
* Removed Author URI / promotional language pointing to off-WordPress.org sites.

= 1.0.4 =
* Removed Theme URI (was off-wp.org).
* Removed custom favicon output — relies on core Site Icon (Customizer → Site Identity).
* Removed standalone wp_enqueue_script('jquery'); jQuery now loaded only as a script dependency.
* Removed all SEO output from theme (title parts filter, meta description, canonical URL, robots meta, hreflang, OpenGraph) — SEO is plugin territory.
* Accessibility: desktop sub-menus now open on :focus-within so keyboard users can reach child links; mobile drawer modal now traps focus (Tab/Shift+Tab cycle, Esc closes, focus returns to opener).
* CSS: long page/post titles now wrap instead of clipping (.submission-title, magazine pick title, single post titles).
* Bumped version to 1.0.4 and refreshed copyright attribution.

= 1.0.3 =
* Renamed CPTs/taxonomy used by companion plugin (artist -> prismix_artist, ml_image -> prismix_image, artist_category -> prismix_artist_cat); template files renamed accordingly.
* Removed legacy CDN code paths (signed URLs, cdn-server/cdn-path post meta) — uploads now go through standard WordPress media library.
* Replaced "Requires Plugins" header and error notice with a dismissible recommendation notice (notice-info) for the optional Prismix Core companion plugin.
* Replaced screenshot.png with a real screenshot of the live theme front page.
* Updated theme metadata (Author, Theme URI, Author URI) to shakvaro.

= 1.0.2 =
* Theme rename pass and metadata cleanup (internal release).

= 1.0.1 =
* Added comments.php template with wp_list_comments, comment_form and comment pagination.
* Wired comments_template() into single.php and page.php.
* Replaced hardcoded title tags in maintenance template with wp_head().

= 1.0.0 =
* Initial release
