WisdomRain HTML Reader
A lightweight HTML reader plugin skeleton for WordPress.
by WisdomRain · github.com/wisdomrainmusic/wisdomrain-html-reader
★ 0stars
0forks
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/wisdomrainmusic/wisdomrain-html-reader/archive/refs/heads/main.zipA starter WordPress plugin that provides the scaffolding for rendering HTML reader content with enqueueable assets and a shortcode-based template. Version 0.1.0.
Features
- Plugin bootstrap with constants, loader, and hooks.
- Front-end asset registration for CSS and JavaScript, enqueued only when the shortcode renders.
[wisdomrain_reader]shortcode with optionalsourceattribute for future content injection.- Admin menu with Dashboard, Manage Readers, and Settings placeholders (admin templates filterable via
wrhr_admin_template_path). - Template placeholder and uninstall safety check.
Installation
- Copy the
wisdomrain-html-readerdirectory into your WordPresswp-content/plugins/folder. - Activate WisdomRain HTML Reader from the WordPress admin dashboard.
Usage
Add the shortcode to any post or page:
[wisdomrain_reader source="https://example.com"]
The template will display a placeholder message and surface the source attribute in the rendered markup.
Development
- PHP 7.4+ and WordPress 5.8+ are expected for this skeleton.
- Assets live in
assets/cssandassets/jsand are enqueued automatically via the loader. - Admin templates live in
templates/and are loaded through the admin menu callbacks.
Uninstall
The uninstall.php file includes a guard for secure uninstallation. Extend it to clean up any stored options if needed.