Daily New Nation YouTube Shorts
WordPress plugin for Daily New Nation YouTube Shorts
by Rayhan Sardar · github.com/rayhansysmin/dnn-youtube-shorts · website
Install
The author publishes release zips, so WP-CLI can install straight from GitHub:
wp plugin install https://github.com/rayhansysmin/dnn-youtube-shorts/releases/download/v1.0.7/dnn-youtube-shorts.zipReadme
Daily New Nation YouTube Shorts
Production-ready WordPress plugin for showing Daily New Nation YouTube Shorts with a shortcode, dedicated plugin tables, scheduled YouTube Data API sync, archive page, and on-site modal playback.
Repository: https://github.com/RayhanSysMin/dnn-youtube-shorts
Author: Rayhan Sardar
Features
- Dedicated optimized database tables.
- No WordPress posts, categories, tags, or custom post types for Shorts.
- YouTube Data API v3 sync from
@dailynewnation. - Uploads playlist based sync, not expensive YouTube search queries.
- Manual Sync Now button.
- WP-Cron scheduled sync.
- Admin Shorts list with active/inactive and Short/not Short toggles.
- Responsive Shorts slider shortcode.
- Paginated archive shortcode.
- YouTube no-cookie iframe modal playback.
- Configurable primary color. Default:
#dd0000. - Cache clearing after sync and settings changes.
Installation
Download the release ZIP from GitHub Releases and install it from:
WordPress Admin > Plugins > Add New > Upload Plugin
Or upload the extracted folder to:
wp-content/plugins/dnn-youtube-shorts/
Activate:
Daily New Nation YouTube Shorts
Settings
Open:
Daily New Nation Shorts > Sync Settings
Configure:
- YouTube API key
- Channel ID or channel handle
- Archive slug
- Slider limit
- Archive per-page count
- Primary color
- Cron sync interval
- API pages per sync
Default channel handle:
@dailynewnation
Shortcodes
Slider:
[dnn_youtube_shorts]
Slider with attributes:
[dnn_youtube_shorts limit="8" title="Shorts" archive_url="/shorts/" autoplay="true"]
Archive:
[dnn_youtube_shorts_archive]
Database Tables
The plugin creates and uses only these dedicated tables:
{prefix}dnn_shorts
{prefix}dnn_shorts_sync_log
It does not create Shorts as normal posts.
Release
Current release:
v1.0.7
Development
Run PHP lint:
find . -name "*.php" -print0 | xargs -0 -n1 php -l
Run JavaScript syntax checks:
node --check assets/js/frontend.js
node --check assets/js/admin.js
License
GPLv2 or later.
Read the full README on GitHub →
Releases
| Tag | Published | Asset | Downloads |
|---|---|---|---|
| v1.0.7 | Jul 12, 2026 | dnn-youtube-shorts.zip | 0 |