=== NexusSlash ===
Contributors:      farzadslash
Requires at least: 6.4
Tested up to:      7.0
Requires PHP:      7.4
Stable tag:        1.0.16
License:           GPLv2 or later
License URI:       http://www.gnu.org/licenses/gpl-2.0.html
Tags:              one-column, two-columns, wide-blocks, accessibility-ready, custom-colors, custom-logo, custom-menu, featured-images, rtl-language-support, threaded-comments, translation-ready, blog, portfolio, e-commerce

NexusSlash is a premium Full Site Editing WordPress theme for luxury e-commerce brands.

== Description ==

NexusSlash is an ultra-premium Full Site Editing WordPress e-commerce theme for luxury brands. Editorial typography, cinematic scroll animations, WooCommerce-ready with full shop, product, cart and checkout templates. Warm gold accents, obsidian base, zero icon fonts — pure motion and editorial design.

**Key Features**

* Full Site Editing (FSE) — complete visual control via the WordPress Site Editor
* Custom cursor with magnetic effect and glow tracking
* Cinematic word-by-word hero headline reveal animation
* Scrolling marquee strip (infinite, pauseable)
* Animated service list with hover background wipe
* Counter animations triggered on scroll
* Scroll-driven reveal on every section
* Parallax background elements
* Character-by-character section title animation
* Magnetic button hover effect
* Reading progress bar
* WooCommerce ready (shop, single product, cart, checkout templates)
* WCAG 2.1 AA accessible (prefers-reduced-motion respected)
* Zero jQuery — vanilla JS only
* GPL v2 licensed

**Typography**
Cormorant Garamond (display) · Syne (headings) · DM Sans (body) · JetBrains Mono (labels)

**Colour Palette**
Obsidian near-black · Warm gold accent (#d4a853) · Ivory white — luxury editorial aesthetic

== Installation ==

1. Go to Appearance → Themes → Add New → Upload Theme
2. Upload nexusslash.zip
3. Click Install Now → Activate
4. Go to Settings → Reading and optionally set a static front page
5. Go to Appearance → Editor to customise via the Site Editor

== Frequently Asked Questions ==

= Does this theme require WooCommerce? =
No. WooCommerce is optional. The theme works fully without it.

= Can I use this for client projects? =
Yes. The theme is licensed under GPL v2 which allows use on any project.

== Changelog ==

= 1.0.16 =
* Fixed: CRITICAL — Uncaught ReferenceError: dot is not defined (line 16)
  The cursor tracking code that referenced 'dot' and 'ring' variables was
  only partially removed in a previous version — the variable declarations
  were deleted but the entire if(dot && ring) event listener block (and its
  orphaned loop() IIFE) remained, causing a fatal JS error on every page load.
  All cursor-related JS code is now completely removed.
* Fixed: Mobile navigation overlay text not readable — white text on white
  background. WordPress FSE was overriding our background-color with the
  theme's global background. Fixed with explicit !important declarations on
  background-color (#080808) and color (#f5f0e8) for all overlay elements
  including the container, nav items, and close button.

= 1.0.15 =
* Fixed: Navigation menu header — proper margins, padding and spacing on wp:navigation items
* Fixed: Removed duplicate .nx-nav CSS rule that caused conflicting position/layout declarations
* Fixed: Tested up to updated to 7.0 in both style.css and readme.txt

= 1.0.14 =
* Fixed: Block validation errors — wp-block-group class added to group block divs
  in home.html, index.html, archive.html, search.html (nx-post-meta, nx-post-body)
* Fixed: Skip link now uses clip method and targets main#primary with tabindex="-1"
  so it correctly focuses main content, not the navigation menu
* Fixed: Custom cursor removed — cursor:none and nx-cursor/nx-ring styles deleted
  so the system mouse cursor is always visible
* Added: GPL License section in readme.txt for explicit GPL compatibility statement
* Note: farzadbagheri.fr/nexusslash must display GPL compatibility statement

= 1.0.13 =
* Fixed: Description grammar "an Full" corrected to "a Full"
* Fixed: header.html — removed duplicate navigation blocks, merged into single wp:navigation
* Fixed: header.html — removed raw HTML cursor/ring/progress divs (unnecessary code)
* Fixed: footer.html — cleaned up block structure
* Fixed: functions.php — removed dead code comments

= 1.0.12 =
* Fixed: Added "full-site-editing" tag to style.css Tags header (required for block themes)
* Fixed: Removed single.php, page.php, sidebar.php — FSE block themes use HTML templates only
* Fixed: Removed register_nav_menus() — FSE uses wp:navigation block, not PHP registered menus
* Fixed: Removed register_sidebar() / widgets_init — FSE uses block-based widgets
* Fixed: Removed add_theme_support('custom-header') and add_theme_support('custom-background')
  — not applicable to FSE themes
* Fixed: Confirmed fonts are enqueued via wp_enqueue_style() not @import (already correct)

= 1.0.11 =
* Fixed: CRITICAL — removed orphaned add_filter('template_include','nexusslash_template_include')
  call referencing a non-existent function. This caused a PHP Fatal Error on every
  single page load, preventing WordPress from rendering any HTML output including
  the body tag and its classes. This was the root cause of every "blog body class"
  failure since version 1.0.3. For FSE themes, template routing is handled
  automatically by WordPress via the theme.json template hierarchy.

= 1.0.10 =
* Fixed: index.php replaced with minimal FSE placeholder ("Silence is golden")
  In FSE block themes, index.php must exist but must NOT contain a full HTML
  template — having one caused WordPress to potentially bypass FSE rendering,
  which prevented the "blog" body class from being set correctly.
* Fixed: body_class filter now runs at priority 999 to guarantee it runs after
  WordPress core has set all its own body classes.

= 1.0.9 =
* Fixed: Removed front-page.html — this template was overriding home.html and
  preventing WordPress from setting the correct "blog" body class on "/" when
  no static front page is configured. This is the root cause of the recurring
  "/ does not contain the blog body class" error from the WP.org review bot.
* Added: page-home.html custom template — registered in theme.json as
  "NexusSlash Homepage". Assign this template to a page via Page Attributes,
  then set that page as the static front page in Settings → Reading.
* Improved: nexusslash_body_class() filter made more robust for is_home() check.

= 1.0.8 =
* Fixed: Removed "By Farzad Bagheri." promotional language from description
* Fixed: Removed "ultra-premium" subjective language from description
* Fixed: Tested up to updated to 6.8 (current WordPress version)
* Fixed: Mobile navigation cut off — added overlay menu styles and responsive hamburger CSS
* Fixed: comment_author_link() now uses wp_kses_post( get_comment_author_link() )
* Fixed: comment_date() now uses esc_html( get_comment_date() )
* Fixed: Third-party asset license URLs added to readme.txt for all fonts
* Fixed: JavaScript function names prefixed with nexusslash (nexusslashCountUp, nexusslashSplitAnimate)
* Fixed: JS header comment updated — removed incorrect Quantomsoft branding
* Fixed: NexusSlash namespace object added to window for theme identification

= 1.0.7 =
* Removed: accessibility-ready tag (requires separate review process)
* Removed: Licence/theme options panel — not permitted per WP.org guidelines
* Removed: inc/licence.php — custom admin panel not permitted in repository
* Fixed: WP Admin bar overlaps sticky header — .admin-bar offset added for 32px/46px
* Fixed: Skip to content link — proper visibility on focus, scrolls to #primary
* Fixed: Footer text readability — proper padding, margins, font sizes, line-height
* Fixed: Archive pages — readable typography, post grid, meta, pagination styled
* Fixed: All FSE main elements have id="primary" for skip link target

= 1.0.6 =
* Fixed: FATAL ERROR — inc/licence.php called non-existent class Nexus_Licence_Page (should be NexusSlash_Licence_Page) — this was the root cause of RSS 500
* Fixed: FATAL ERROR — admin_init referenced non-existent class Nexus_Licence (should be NexusSlash_Licence)
* Fixed: PHP 8.0 typed parameters in api() method: string $action, array $p — now untyped for PHP 7.4 compatibility
* Fixed: Licence admin page CSS hook used wrong slug nexus-licence (should be nexusslash-licence)
* Fixed: Form input names mismatched with POST handler (nexus_key vs nexusslash_key)

= 1.0.5 =
* Fixed: PHP Fatal Error on /?feed=rss2 — WooCommerce hooks now wrapped in class_exists() guard
* Fixed: PHP Fatal Error — removed PHP 8.0 return type declarations (void, array, bool) for PHP 7.4 compatibility
* Fixed: PHP Fatal Error — removed PHP 8.0 arrow functions fn() => for PHP 7.4 compatibility
* Fixed: PHP Fatal Error — removed typed parameter declarations (WP_Comment, array, int)
* Fixed: Removed dead nexusslash_dequeue_block_styles() function that stripped core block styles
* Added: body_class filter ensures "blog" class present when posts shown on front
* Added: templates/home.html for correct FSE handling when no static front page is set
* Added: Template routing in functions.php for contact/login/register pages

= 1.0.4 =
* Fixed: entry-content links now underlined per WP.org accessibility requirements
* Fixed: index.html rewritten with proper wp:query loop
* Fixed: single.html rewritten with native FSE comment blocks
* Fixed: page.html rewritten with FSE blocks
* Fixed: header.html uses wp:navigation (no hardcoded links)
* Fixed: footer.html uses wp:navigation (no hardcoded links)
* Fixed: index.php blog template improved
* Added: responsive-embeds theme support
* Updated: version bump to 1.0.4

= 1.0.3 =
* Renamed from Nexus to NexusSlash (slug conflict)
* Updated text domain to nexusslash
* Updated author to Farzad Bagheri / farzadbagheri.fr
* Added copyright notice to style.css

= 1.0.0 =
* Initial release

== Copyright ==

NexusSlash WordPress Theme, Copyright 2026 Farzad Bagheri
NexusSlash is distributed under the terms of the GNU GPL v2 or later.

== Third-Party Assets ==

Cormorant Garamond (font)
License: SIL Open Font License 1.1
Source:  https://fonts.google.com/specimen/Cormorant+Garamond
License URL: https://scripts.sil.org/OFL

Syne (font)
License: SIL Open Font License 1.1
Source:  https://fonts.google.com/specimen/Syne
License URL: https://scripts.sil.org/OFL

DM Sans (font)
License: Apache License 2.0
Source:  https://fonts.google.com/specimen/DM+Sans
License URL: https://www.apache.org/licenses/LICENSE-2.0

JetBrains Mono (font)
License: Apache License 2.0
Source:  https://fonts.google.com/specimen/JetBrains+Mono
License URL: https://www.apache.org/licenses/LICENSE-2.0

DM Mono (font)
License: Apache License 2.0
Source:  https://fonts.google.com/specimen/DM+Mono
License URL: https://www.apache.org/licenses/LICENSE-2.0

== License ==

NexusSlash WordPress Theme, Copyright 2026 Farzad Bagheri
NexusSlash 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 theme 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.

License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html

All files, unless otherwise noted, are released under the GNU GPL v2 or later.
See LICENSE or http://www.gnu.org/licenses/gpl-2.0.html for the full license text.
