Install
This is the repository archive. It installs, but the folder name will carry the branch suffix and updates will not flow.
Install straight from GitHub with WP-CLI:
wp plugin install https://github.com/nijpadaliya/wp-custom-news-plugin/archive/refs/heads/main.zipNo built-in updater. New versions won't appear under Dashboard → Updates. Install new releases yourself, or let Git Updater track the repository.
A lightweight WordPress plugin that registers a custom News post type and displays it using a shortcode.
Features
- Custom Post Type (News)
- Shortcode: [news_list]
- Clean WordPress APIs
- Secure escaping & sanitization
- Extensible via filters
Usage
- Activate plugin
- Add News posts
- Use shortcode: [news_list posts="5"]
Why this plugin?
Built to demonstrate WordPress fundamentals, security practices, and extensibility.
Author
Nij