=== AuthorPro === Contributors: rswpthemes Tags: blog, e-commerce, grid-layout, one-column, two-columns, three-columns, four-columns, left-sidebar, right-sidebar, custom-background, custom-colors, custom-header, custom-logo, custom-menu, editor-style, footer-widgets, flexible-header, theme-options, translation-ready, featured-images, block-styles, wide-blocks, sticky-post, full-width-template, threaded-comments, accessibility-ready Requires at least: 6.0 Tested up to: 7.1 Requires PHP: 7.4 Stable tag: 1.0.9 License: GPLv2 or later License URI: http://www.gnu.org/licenses/gpl-2.0.html == Description == AuthorPro is a modern, high-performance WordPress Theme designed specifically for authors, writers, and publishers who want to showcase their books and write blogs. Built with the powerful Tailwind CSS framework, it offers a blazing-fast loading speed and a clean, responsive design. The theme seamlessly integrates with WooCommerce, allowing you to sell books directly from your site with a custom-designed cart and shop experience. It comes with "Starter Content" which automatically sets up your Home and Blog pages upon installation, making it incredibly easy to get started. AuthorPro is fully optimized for the Block Editor (Gutenberg) and includes custom block patterns for Hero sections, About Me, and Book Showcases. It features advanced Customizer options to control typography (Inter, Libre Baskerville, etc.), brand colors, and layouts without writing any code. With SEO-optimized markup and schema.org readiness, AuthorPro helps your content rank higher in search engines. == Frequently Asked Questions == = How to Install Theme = 1. In your admin panel, go to Appearance > Themes and click the Add New button and Search for AuthorPro, OR 2. If you have the theme zip file, click Upload and choose File, then select the theme's .zip file. Click Install Now. 3. Click Activate to use your new theme right away. = Does this theme support WooCommerce? = Yes, AuthorPro is fully compatible with WooCommerce and includes a custom-designed cart page and header mini-cart icon. == Changelog == = 1.0.9 - September 12, 2026 = * Security: Added ABSPATH direct file access prevention checks across all PHP templates, includes, parts, and block patterns. * Security: Fixed late output escaping in content-single.php and searchform.php. * a11y: Resolved duplicate unique ID generation between search form label and input elements. * a11y: Implemented strict keyboard focus trapping, Escape key handling, and background click dismiss in header search modal. * a11y: Added visible close button (X) to search modal and updated mobile menu toggle button with state-driven hamburger/close icons. * a11y: Added circular keyboard focus trap to mobile navigation drawer to keep focus within open menu items. * i18n: Created languages directory and generated full authorpro.pot translation template covering all theme strings. * i18n: Replaced untranslated hardcoded English strings in patterns and starter templates with localized gettext calls. * Typography: Implemented zero-specificity :where() selectors for all dynamic entry content and excerpt tags to prevent overriding Gutenberg user styles. * Typography: Added dedicated bookish styling for drop caps, blockquotes, citations, nested lists, definition lists, and data tables. * Typography: Enhanced comment text typography to support clean rendering of dynamic HTML tags (tables, blockquotes, code, definition lists). * Gutenberg: Synchronized inline link colors and typography between frontend and Block Editor via theme.json bridge and editor styles. * Admin UI: Resolved CSS bleeding by removing direct admin enqueue of frontend stylesheets and isolating editor rules with add_editor_style(). * Layout: Added dedicated styling for post pagination links (.authorpro-page-links). * Layout: Added featured article styling for sticky posts (.sticky) with accent borders and badges. * Layout: Fixed 1400px viewport container overflow and removed horizontal scrollbar by standardizing responsive container max-widths. * Layout: Optimized blog loop grid at 1024px to render 2 columns alongside the sidebar for balanced card proportions. * Patterns: Fixed multi-column flex/grid layouts and image right-alignment for Hero Section and Latest Blog Posts block patterns. * Code Quality: Updated constant names to theme-prefixed AUTHORPRO_VERSION and ensured PHP 8.x safe object property checks. = 1.0.8 - July 22, 2026 = * Fix big error of search.php = 1.0.7 - Jun 15, 2026 = * Improved Sanitization of radio and select fields = 1.0.6 - May 09, 2026 = * wrapped string with profer esc functions = 1.0.5 - April 25, 2026 = * Translation (i18n) Fix: WooCommerce Cart Hardcoded String = 1.0.4 - April 16, 2026 = * Solved About section image not found issue * Added Pro link in customizer panel. * Updated Description = 1.0.3 - April 11, 2026 = * Fixed skip id issue. = 1.0.2 - April 02, 2026 = * Added Word Breaks to title = 1.0.1 - April 01, 2026 = * Added * Local Webfonts: Added support for locally hosted webfonts (Inter, Libre Baskerville) to comply with WordPress.org Privacy/GDPR guidelines. * System Fonts: Added safe system fonts as fallback options in the Customizer Typography settings. * Build Tools Inclusion: Included essential build configuration files (package.json, tailwind.config.js, webpack.config.js) in the final distribution package for reviewer reproducibility. * Custom Header Output: Implemented frontend rendering for the Custom Header image feature in header-template.php. * Fixed * Menu Accessibility: Resolved desktop submenu accessibility issues by ensuring full keyboard (Tab key) navigation support using focus-within and proper ARIA attributes. * Global Float Layouts: Fixed container height collapse issues globally for floated elements (e.g., .alignleft, .alignright) using modern CSS display: flow-root and the :has() selector. * WooCommerce Compatibility: Prevented a fatal error (Call to undefined function WC()) when WooCommerce is deactivated by adding a strict sanity check inside the authorpro_woo_cart_fragments filter. * Late Escaping Standards: Enforced strict late escaping rules (esc_html, esc_url, esc_attr) for all dynamic variables output directly at the echo boundaries in header and footer templates. * Custom Background Visibility: Resolved an issue where hardcoded background classes (like bg-white on .innerbody) were hiding the WordPress core Custom Background feature. * Dynamic CSS Safelisting: Fixed an issue where dynamically generated Tailwind classes for deeply nested submenus were being stripped during the build process. * Removed * Remote Font Requests: Completely removed all remote requests to Google Fonts API (fonts.googleapis.com and fonts.gstatic.com) to ensure strict GDPR compliance. = 1.0.0 - March 07, 2026 = * Initial release * Integrated Tailwind CSS * Added Custom Block Patterns == Copyright == AuthorPro WordPress Theme, Copyright 2026 rswpthemes.com AuthorPro is distributed under the terms of the GNU GPL 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. AuthorPro bundles the following third-party resources: * Unless otherwise specified, all the theme files, scripts and images are licensed under GNU General Public License Version 2 or later. * Based on Underscores http://underscores.me/, (C) 2012-2015 Automattic, Inc., [GPLv2 or later](https://www.gnu.org/licenses/gpl-2.0.html) * Google Fonts (Inter, Libre Baskerville, JetBrains Mono), [SIL Open Font License, 1.1](http://scripts.sil.org/OFL) == License/copyright for images == * screenshot.png & Book Cover Image self created. * Demo images are licensed under CC0 Universal Image for theme about section, Copyright Pexels License: CC0 1.0 Universal (CC0 1.0) Source: https://www.pexels.com/photo/man-wearing-eyeglasses-262391/