=== Tidy Author Box ===
Contributors: pierreferrolliet
Tags: author, author box, author bio, social links, gutenberg
Requires at least: 6.0
Tested up to: 7.0
Requires PHP: 8.2
Stable tag: 1.4.3
License: GPL-2.0-or-later
License URI: https://www.gnu.org/licenses/gpl-2.0.html

Display a responsive author box with custom avatar, author bio, and social links below your posts. Gutenberg block included.

== Description ==

**Tidy Author Box** is the easiest way to add a professional author box to your WordPress posts. Display an author bio, custom avatar, and social media links — with a dedicated Gutenberg block and shortcode. No coding required.

Whether you run a single-author blog or a multi-author publication, Tidy Author Box gives each writer a polished author profile that builds credibility and encourages readers to explore more content.

= Key Features =

* **Custom avatar upload** — not limited to Gravatar
* **Author bio** — synced with the WordPress profile
* **5 social networks** — Website, X, Instagram, LinkedIn, Facebook (15 more with Pro)
* **Job title / role** — display a title under the author name
* **Gutenberg block** — insert an author box anywhere in the editor
* **Shortcode** — `[tidy_author_box]` or `[tidy_author_box user_id="123"]`
* **2 display styles** — Default and Card
* **Position control** — before content, after content, or both
* **Post type selection** — choose which content types show the box
* **Schema.org structured data** for SEO
* **Responsive design** — looks great on all devices
* **Co-authors** — assign multiple authors to a single post
* **Import tool** — migrate from other author box plugins

= Pro Features =

* 15 additional social networks (YouTube, Bluesky, Pinterest, TikTok, Threads, Discord, Twitch, and more)
* 3 additional styles: Minimal, Banner, and Custom (with live builder)
* Custom style & colors builder
* Guest authors (no WordPress account needed)
* Author box on archive pages
* Sidebar widget
* Export / Import JSON
* Priority support

== Installation ==

1. Upload the `tidy-author-box` folder to `/wp-content/plugins/`
2. Activate the plugin
3. Go to each user profile to set avatar and social links
4. Configure display settings under Settings > Tidy Author Box

== Frequently Asked Questions ==

= Does it work with Gravatar? =
Yes. If no custom avatar is uploaded, Tidy Author Box falls back to Gravatar automatically.

= Can I display the author box on custom post types? =
Yes. Go to Settings > Tidy Author Box and select which post types should display the author box.

= Does it support multiple authors per post? =
Co-authors support is available in the Pro version.

= Can I create author boxes for guest contributors? =
Guest authors (without a WordPress account) are available in the Pro version.

= Is it compatible with page builders? =
Yes. Tidy Author Box uses a shortcode and a Gutenberg block, both compatible with all major page builders.

== External services ==

This plugin connects to Gravatar to display user avatars as a fallback when no custom avatar has been uploaded.

* What the service is and what it is used for: Gravatar is a globally recognized avatar service operated by Automattic. The plugin uses WordPress core's `get_avatar()` / `get_avatar_url()` to render an avatar image for an author when the user has not uploaded a custom avatar via this plugin.
* What data is sent and when: a SHA-256 hash of the user's email address is sent to gravatar.com each time an author avatar needs to be rendered (front-end author box, admin user list, onboarding screen). No raw email, name, or IP address is transmitted by the plugin itself; the request is performed by the visitor's browser when the avatar URL is loaded.
* Service provider: Automattic Inc.
* Terms of service: https://wordpress.com/tos/
* Privacy policy: https://automattic.com/privacy/

== Screenshots ==

1. Author box — Default style
2. Author box — Card style
3. Settings page — Style picker and options
4. User edit page — Avatar, bio, and social links

== Changelog ==

= 1.4.3 =
* WordPress.org coding-standards hardening: output escaping and translators comments for i18n placeholders (Plugin Check compliance).

= 1.4.2 =
* Escape SVG icon output on the author box edit screen with `wp_kses()` and an explicit SVG allowlist.
* Rename generic menu slugs to `tidy-author-boxes` and `tidy-my-author-box` to avoid conflicts with other plugins.
* Rename the shortcode to `[tidy_author_box]` (replaces the previous generic `[author_box]` tag).

= 1.4.1 =
* Sanitize nonces with `sanitize_text_field( wp_unslash() )` before passing them to `wp_verify_nonce()`.
* Cast integer values explicitly before output in the import admin view.
* Document Gravatar usage under the new "External services" section of the readme.
* Remove the `load_plugin_textdomain()` call now that translations are auto-loaded by WordPress.org.

= 1.4.0 =
* Removed all rendering code for premium-only features (Minimal and Banner styles, custom theme builder, author archive injection). The free plugin now only ships the Default and Card styles, with no hidden capabilities behind extension hooks.
* Added the `apbx_default_settings` filter so add-on plugins can register their own setting defaults.

= 1.3.5 =
* Increase the spacing between the author name and the role label.

= 1.3.4 =
* Add `Domain Path: /languages` header so WordPress 6.7+ can pick up bundled translations via the just-in-time loader.
* Center the author box horizontally when its width is constrained (margin auto).

= 1.3.3 =
* Add a "Width" setting to control the author box max-width (default 100%).
* Reinforce theme overrides on author name and bio (max-width / font-size with !important).

= 1.3.2 =
* Override theme rules that center the author name and bio (e.g. Neve `.nv-content-wrap p { margin: auto !important }`).

= 1.3.1 =
* Removed all licence checks and premium-feature gating from the free plugin code (premium features are now distributed via a separate companion plugin).
* Removed the now-unnecessary `load_plugin_textdomain()` call (handled by WordPress.org translation system since WP 4.6).
* Added extension hooks for add-on plugins (settings, render, social fields, admin UI).

= 1.3.0 =
* Lower PHP requirement to 8.2
* Migrate URLs to tidyplugins.com
* Fix license validation — require active license for Pro features

= 1.2.0 =
* Add freemium architecture with pro/ directory
* Add license API integration
* Add auto-updater for Pro

= 1.1.0 =
* Add Card style
* Add import tool for other author box plugins
* Add "View all posts" link option
* Add Gutenberg block

= 1.0.0 =
* Initial release
* Custom avatar upload
* Bio and social links
* Schema.org structured data
* Shortcode support

== Upgrade Notice ==

= 1.3.0 =
PHP 8.2+ now required. Pro features now require an active license key.
