Adds a shortcode and template tag for embedding an edshelf widget onto your site.
Author: | edshelf (profile at wordpress.org) |
WordPress version required: | 2.9 |
WordPress version tested: | 4.8 |
Plugin version: | 1.2 |
Added to WordPress repository: | 22-01-2013 |
Last updated: | 08-12-2016
Warning! This plugin has not been updated in over 2 years. It may no longer be maintained or supported and may have compatibility issues when used with more recent versions of WordPress.
|
Rating, %: | 0 |
Rated by: | 0 |
Plugin URI: | https://edshelf.com |
Total downloads: | 1 399 |
Active installs: | 10+ |
Click to start download
|
FAQ
Installation Instructions
- Download and unzip the plugin file.
- Upload the
edshelf-widgets
folder into your /wp-content/plugins/
directory.
- Go to the Plugins section of your WordPress admin and activate the “edshelf Widgets” plugin.
- Go to edshelf and view a collection you want to embed.
- Look for the Widget module at the bottom of the right column. In that module will be some code.
- Look for a 5 or 6-digit number in that code. That number is the ID number of the shelf.
- Go to the blog post or page on which you want to embed this shelf widget.
- Type in the following WordPress shortcode in the text editor:
[edshelf-shelf-widget id="NNNN" height="YYY" format="FFFF"]
.
- The settings are:
NNNN
is the shelf ID you just found. YYY
is the height of the widget in pixels. FFFF
is the format of widget, where your choices are “grid” (the default setting), “list”, or “compact”.
- Or use the template tag
edshelf_shelf_widget( $id, $height, '$format' );
if you are familiar with PHP.
- And you’re done!
Do I need to use this plugin to embed an edshelf widget?
If you want to embed this widget within a blog post, then yes. The WordPress text editor strips out JavaScript by default. Since the edshelf widget’s embed code uses JavaScript, simply copying and pasting the embed code seen on edshelf will not work.
This widget gives you the next best thing: a shortcode for your blog posts and pages that will automatically embed the edshelf widget for you.
If you know PHP, a template tag is also available.
I only see one widget. Is that it?
Yes, edshelf only has one widget so far. More will be coming. Stay tuned!
How tall can I make the widget?
As tall as you want!
How can I set the width of the widget?
We don’t offer that option yet, but the widget will automatically stretch to 100% of whatever space you put it in – so if you know HTML and CSS, you can just set the width of the parent container holding this widget.
Can I embed more than one widget to a page?
Yes! Embed as many as you would like.
Is this widget available in other languages?
Sorry, not yet. We do intend to offer multiple language support in the future though.
Where can I go for more help?
If you need additional assistance, email us at support@edshelf.com.
ChangeLog
1.2
- Added backwards compatibility with previous shortcode,
[edshelf-collection-widget]
1.1
1.0
- Updated code to reflect the new naming scheme (“shelves” instead of “collections”) and architecture of the edshelf site. Changed settings and controls accordingly.
0.2.2
- Replaced the parameter and term “type” with “format” for future compatibility of upcoming features.
0.2.1
- Added support for widget types, such as full, list, and compact.