H5P Shortcode Column
Adds a Shortcode column to the H5P content list page in WordPress admin
by Hessameddin Ayoubi · github.com/hessamayoubi/h5p-shortcode-column · website
★ 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/hessamayoubi/h5p-shortcode-column/archive/refs/heads/main.zipAdds a Shortcode column to the H5P content list page in WordPress admin, so you can quickly copy the shortcode for each H5P item.
What it does
On this admin page:
/wp-admin/admin.php?page=h5p
it adds a new column:
- Title
- Content type
- Author
- Tags
- Last modified
- ID
- Shortcode
Each row shows the shortcode in this format:
[h5p id="111"]
Requirements
- WordPress
- H5P plugin for WordPress
Installation
Option 1: Upload as a normal plugin
- Download the ZIP from this repository's Releases.
- In WordPress admin, go to Plugins > Add New > Upload Plugin.
- Upload the ZIP file.
- Activate H5P Shortcode Column.
Option 2: Install manually
- Download or clone this repository.
- Upload the
h5p-shortcode-columnfolder to/wp-content/plugins/. - Go to Plugins in WordPress admin.
- Activate H5P Shortcode Column.
How it works
The H5P content list page does not expose a standard WordPress column filter for this screen, so this plugin adds the Shortcode column with a small admin-side script after the page loads.
Notes
- The column is added only on the H5P admin list page.
- The shortcode is built from the existing H5P content ID.
- Clicking inside the shortcode field selects it for quick copying.
License
GPL-2.0-or-later