ePub Embed
A WordPress plugin to easily embed eBooks published in the ePub format into your blog posts.
★ 12stars
3forks
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/hwdsb/epub-embed/archive/refs/heads/master.zipFrom the readme
ePub Embed #
ePub Embed is a WordPress plugin, allowing you to upload and embed eBooks in the ePub format into your blog posts.
Recommended: Install the Shortcake plugin to get instant ePub previews in the WordPress editor.
This plugin was developed for the Hamilton-Wentworth District School Board Commons. Licensed under the GPLv2 or later.
How to Use
1. Activate the plugin.
2. Create or edit a post. Click on the "Add Media" button.
3. Upload an ePub file and click on the "Insert to Post" button.
4. If you installed the Shortcake plugin, you'll see the ePub in the post editor. If not, you'll see an [epub] shortcode. To customize the shortcode, view the "Shortcode parameters" section below.
Shortcode parameters
The following are some custom parameters you can use with the shortcode:
"width" - By default, this tries to use your theme's content width. If this doesn't exist, the width is "100%". Fill in this value to enter a custom width.
"height" - Enter in a custom height for your ePub file if desired. Defaults to "700". Avoid percentages.
"downloadlink" - By default, shows a download link after the ePub viewer. Set to "false" to disable this.
Notes
- If your Word