=== PochiCheck XML SiteMap ===
Contributors: satohata
Tags: sitemap, xml sitemap, noindex, seo, google
Requires at least: 6.0
Tested up to: 7.0
Requires PHP: 8.0
Stable tag: 1.1.8
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Plugin URI: https://satoruhatano.xsrv.jp/pochicheck-xml-sitemap/

Ultra-lightweight XML sitemap generator with per-post noindex control and automated rules.

== Description ==

PochiCheck XML SiteMap is a simple and high-performance XML sitemap generator.
Unlike heavy SEO plugins, it focuses strictly on sitemap generation and noindex management, ensuring minimal impact on site speed. It automatically handles robots.txt integration and provides a smart auto-noindex feature based on categories or tags.

== Features ==

* **Instant Setup**: Works immediately after activation with sensible defaults.
* **Per-Post Noindex**: Easily exclude any post from sitemaps and search engines.
* **Smart Auto-Noindex**: Automatically applies noindex based on selected categories or tags.
* **Robots.txt Integration**: Automatically adds the sitemap URL to your virtual robots.txt.
* **Caching Engine**: Uses WP Transient API to serve sitemaps lightning fast.

== Installation ==

1. Upload the `pochicheck-xml-sitemap` folder to the `/wp-content/plugins/` directory.
2. Activate the plugin through the 'Plugins' menu in WordPress.
3. Configure your post types in Settings > PochiCheck SITEMAP.

== FAQ ==

= Where is my sitemap? =
It is located at `your-site.com/sitemap.xml`.

= Does it support custom post types? =
Yes. You can select which post types to include in the settings page.

= Does it work with caching plugins? =
Yes. The plugin uses the WP Transient API internally, but make sure your caching plugin excludes `sitemap.xml` from page caching to ensure fresh output.

= Will it affect my site's performance? =
Minimal impact. The plugin is intentionally lightweight — no bloat, no unnecessary database queries outside of sitemap generation.

== Screenshots ==

1. Post editor meta box for noindex control.
2. Plugin settings page for post types and auto-noindex rules.

== Changelog ==
= 1.1.8 =
* Fixed: Removed duplicate IIFE block in posts.js that caused double event listener registration.
* Fixed: Filter dropdown (.pcxsm-filter-select) now correctly navigates on change.

= 1.1.7 =
* Fixed: Corrected meta box title from "PochiCheck SITEMAP" to "PochiCheck SiteMap".

= 1.1.6 =
* Removed: Bundled language files removed; translations are now served via WordPress.org.

= 1.1.5 =
* Improved: Refined CSS styling on the settings page.
* Fixed: Corrected broken promotional link on the settings page.

= 1.1.4 =
* Improved: Added Plugin URI to link to the official plugin page.

= 1.1.3 =
* Improved: Plugin promotion section now displays Mamotte Login URL Changer icon.

= 1.1.2 =
* Fixed: Fixed duplicate "Settings saved." notice and undefined array key warning caused by conflict with WordPress's reserved `updated` GET parameter.

= 1.1.1 =
* Fixed: Fixed "Cannot modify header information" error when saving auto-noindex settings or manually regenerating the sitemap.

= 1.1.0 =
* Improved: Moved plugin menu under Settings in admin sidebar.
* Improved: Added Settings link on the Plugins list page.
* Improved: Replaced hamburger menu with horizontal scroll tabs.
* Improved: Reordered admin tabs (Settings first).

= 1.0.1 =
* Fixed: Fixed a bug where the bulk check feature did not work correctly.

= 1.0.0 =
* Initial release.
* Added XML sitemap generation.
* Added per-post noindex toggle.
* Added auto-noindex rules for taxonomies.