When they search, make sure they find you!

ID Newsletters

Creates a custom post type called Newsletters that works like Posts.

v1.1.0 Free

Description

ID Newsletters adds a dedicated custom post type to WordPress specifically designed for managing newsletters. It works exactly like Posts — same editor, same publishing workflow, same featured images — but keeps your newsletters organized in their own section with dedicated categories, tags, and a clean archive URL.

A Separate Content Section for Newsletters

Instead of mixing newsletters into your regular blog feed or cramming them into pages, this plugin gives newsletters their own home. They appear in a dedicated admin menu, have their own category and tag taxonomies, and are accessible at /newsletter/ on the frontend. Visitors can browse your newsletter archive, search by category or tag, and read individual issues — all with your theme’s standard templates.

Full WordPress Editor Support

Every newsletter supports the full Gutenberg block editor with REST API integration. Use any block, any pattern, any layout tool you normally use for posts. Add featured images for cover art, write excerpts for previews, and enable comments for reader feedback. Newsletters are first-class content in WordPress.

Newsletter Categories and Tags

Organize issues with hierarchical Newsletter Categories — perfect for series like “Monthly Update,” “Product News,” or “Industry Insights.” Add Newsletter Tags for cross-cutting topics. Both taxonomies are independent from your regular post categories and tags, keeping content organization clean and separate.

Admin List View

The newsletter admin list shows custom columns for categories, tags, author, and publication date. Sort and filter your newsletter archive just like you would with posts. Bulk actions, quick edit, and trash management all work exactly as expected.

Clean URLs and Archives

Newsletters get SEO-friendly URLs at /newsletter/{slug}/ with a dedicated archive page at /newsletter/. Rewrite rules are flushed automatically on activation and deactivation, so permalinks work immediately without manual settings updates.

Key Features

  • Dedicated Newsletters custom post type with full WordPress post functionality
  • Full Gutenberg block editor support with REST API integration
  • Newsletter Categories taxonomy (hierarchical) for organizing issues by series or topic
  • Newsletter Tags taxonomy (flat) for flexible cross-cutting labels
  • Featured image support labeled as "Cover Image" for newsletter cover art
  • Excerpt support for newsletter previews and summaries
  • Comments enabled for reader feedback and engagement
  • Full author attribution and management
  • Custom admin columns showing title, categories, tags, author, and publication date
  • Clean URL structure at /newsletter/{slug}/ with SEO-friendly permalinks
  • Newsletter archive page at /newsletter/ for browsing all published issues
  • Automatic rewrite rule flushing on activation and deactivation
  • Translation-ready with full text domain support
  • Lightweight single-file implementation with no external dependencies

Requirements

WordPress 5.0+
PHP 7.2+
Tested Up To 6.9

Changelog

# Changelog

All notable changes to ID Newsletters will be documented in this file.

## [1.1.0] - 2026-02-15

### Added
- Class-based architecture with `IDN_Post_Type` in `includes/class-idn-post-type.php`
- Archive template (`templates/archive-newsletter.php`) with responsive card grid
- Single newsletter template (`templates/single-newsletter.php`) with header, content, and navigation
- Frontend stylesheet (`assets/css/idn.css`) with Insight Dezign brand styling
- Minified stylesheet (`assets/css/idn.min.css`) for production
- `template_include` filter to load custom templates for newsletter pages
- Asset enqueuing with `SCRIPT_DEBUG` support for development/production CSS
- `uninstall.php` cleanup handler to remove posts and taxonomy terms on deletion
- `readme.txt` for WordPress plugin directory compliance
- `languages/` directory for Domain Path compliance
- Previous/next newsletter navigation on single pages
- Back to archive link on single pages

### Fixed
- Unescaped `$out` output in admin columns wrapped with `wp_kses_post()`
- `_e()` calls replaced with `esc_html_e()` for proper escaping

### Changed
- Refactored main plugin file to bootstrap-only (constants, requires, hooks)
- Moved CPT, taxonomy, and column logic into `IDN_Post_Type` class
- Version bumped to 1.1.0

## [1.0.0] - 2026-01-01

### Added
- Custom post type `idn_newsletter` for managing newsletters
- `idn_newsletter_category` hierarchical taxonomy
- `idn_newsletter_tag` non-hierarchical taxonomy
- Custom admin columns for category and tag display
- Rewrite rules flush on activation/deactivation
- Full internationalization support with `idn-newsletters` text domain