Mangora Core
WordPress manga streaming plugin with custom post types, AJAX filtering, episode system, and video player integration.
Install
No release zip yet. The repository archive installs, but the folder name will carry the branch suffix and updates will not flow:
wp plugin install https://github.com/sanchenkowork/mangora-core/archive/refs/heads/master.zipA lightweight, scalable WordPress plugin for manga streaming with episode management.
Description
Mangora Core provides a complete manga streaming solution for WordPress. It registers custom post types for manga and episodes, includes taxonomies for genres and status, and provides a modern frontend interface with AJAX filtering and video playback.
Features
- Custom Post Types: Manga and Episode management
- Taxonomies: Genre (hierarchical) and Status (controlled vocabulary)
- Meta Fields: Year, Rating, Video URLs, Episode Numbers
- AJAX Filtering: Filter manga by genre, status, and year without page reload
- Video Player: Built-in player supporting YouTube, Vimeo, and direct video files
- Responsive Design: Mobile-friendly grid layouts
- Security: Nonce verification, input sanitization, and output escaping throughout
- Clean Architecture: Object-oriented classes with WordPress coding standards
Installation
- Upload the plugin files to
/wp-content/plugins/mangora-core/ - Activate the plugin through the 'Plugins' menu in WordPress
- Create manga entries via the 'Manga' menu
- Add episodes via 'Manga > Episodes' and link them to manga
Usage
Adding Manga
- Navigate to Manga > Add New
- Enter title, description, and featured image
- Set metadata: Year, Rating (0-10), Status
- Assign Genres
- Publish
Adding Episodes
- Navigate to Manga > Episodes > Add New
- Select the parent Manga from dropdown
- Enter episode number (supports decimals for OVAs)
- Add video URL (YouTube, Vimeo, or direct link)
- Set duration (optional)
- Publish
Frontend Display
- Archive page at
/manga/with filters - Single manga page with episode list
- Click any episode to open the video player modal
Architecture
mangora-core/
├── mangora-core.php # Main plugin file
├── includes/
│ ├── class-post-types.php # CPT & taxonomy registration
│ ├── class-meta-boxes.php # Admin meta fields
│ ├── class-ajax.php # AJAX filtering handlers
│ ├── class-template.php # Frontend template loader
│ └── class-template-helper.php # Template helper functions
├── assets/
│ ├── css/
│ │ ├── admin.css
│ │ └── frontend.css
│ └── js/
│ └── frontend.js
└── templates/
├── archive-manga.php # Manga listing with filters
└── single-manga.php # Single manga with episodes
Security
- All forms use WordPress nonce verification
- Input data sanitized using
absint(),sanitize_text_field(),esc_url_raw() - Output escaped using
esc_attr(),esc_html(),esc_url() - Capability checks on all admin actions
- Prepared queries via WP_Query/WP_Meta_Query
Screenshots
Screenshots section - add images to your README:
- Admin - Manga Edit Screen: Shows custom meta boxes for year, rating, status
- Admin - Episode Edit Screen: Shows manga selection dropdown and video URL field
- Frontend - Manga Archive: Grid layout with filter sidebar
- Frontend - Single Manga: Poster, metadata, and episode list
- Frontend - Video Player: Modal with embedded video player
Customization
Template Override
To override templates in your theme, copy files from templates/ to your theme's root and modify.
CSS Customization
Target these CSS classes for styling:
.mangora-archive- Archive page container.mangora-single- Single manga page.manga-card- Individual manga card.episode-item- Episode list item.mangora-modal- Video player modal
Requirements
- WordPress 5.8+
- PHP 7.4+
- jQuery (bundled with WordPress)
License
GPL v2 or later
Credits
Built with WordPress coding standards and modern best practices.