=== ID Newsletters ===
Contributors: insightdezign
Tags: newsletters, custom post type, archive, grid, taxonomy
Requires at least: 5.0
Tested up to: 6.9
Requires PHP: 7.2
Stable tag: 1.1.0
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html

Creates a Newsletters custom post type with categories, tags, archive grid, and single newsletter templates.

== Description ==

ID Newsletters adds a fully-featured Newsletter custom post type to your WordPress site. Organize newsletters with categories and tags, display them in a responsive grid archive, and present individual newsletters with a clean, branded single template.

**Features:**

* Newsletter custom post type with Gutenberg support
* Newsletter Categories (hierarchical) and Newsletter Tags taxonomies
* Responsive archive grid template (3 columns, 2 at tablet, 1 at mobile)
* Single newsletter template with featured image, meta, content, and navigation
* Previous/next newsletter navigation on single pages
* Custom admin columns for categories and tags
* Insight Dezign brand styling with Montserrat and Open Sans typography
* Fully translatable

== Installation ==

1. Upload the `id-newsletters` folder to the `/wp-content/plugins/` directory.
2. Activate the plugin through the 'Plugins' menu in WordPress.
3. Go to Newsletters > Add New to create your first newsletter.
4. Visit `/newsletter/` on your site to see the archive grid.

== Frequently Asked Questions ==

= How do I display the newsletter archive? =

The archive is automatically available at `/newsletter/` on your site after activation.

= Can I organize newsletters by topic? =

Yes. Use Newsletter Categories for broad groupings and Newsletter Tags for specific topics. Both have their own archive pages.

= Does it work with the block editor? =

Yes. The Newsletter post type has full Gutenberg / block editor support enabled.

== Changelog ==

= 1.1.0 =
* Restructured plugin into class-based architecture.
* Added archive and single newsletter templates.
* Added frontend CSS with responsive grid layout.
* Added template_include filter for custom templates.
* Added asset enqueuing with SCRIPT_DEBUG support.
* Added uninstall.php cleanup handler.
* Fixed unescaped output in admin columns (wp_kses_post).
* Fixed _e() calls replaced with esc_html_e().
* Created languages directory for Domain Path compliance.

= 1.0.0 =
* Initial release.
* Newsletter custom post type with categories and tags.
* Custom admin columns for taxonomy display.
