开发者 |
edshelf
mikeleeorg |
---|---|
更新时间 | 2017年7月17日 14:27 |
PHP版本: | 2.9 及以上 |
WordPress版本: | 4.8 |
版权: | GPLv2 or later |
版权网址: | 版权信息 |
[edshelf-shelf-widget id="NNNN" height="YYY" format="FFFF"]
The template tag is: edshelf_shelf_widget( NNNN, YYYY, 'FFFF' );
Where NNNN
is the ID of the shelf you want to embed, YYY
is the height of the widget in pixels, and FFFF
is the format of widget. You can get this ID from the shelf on edshelf, in the Widget module at the bottom of the right column. The choices for the format of widget are "grid" (the default setting), "list", or "compact".
edshelf-widgets
folder into your /wp-content/plugins/
directory.[edshelf-shelf-widget id="NNNN" height="YYY" format="FFFF"]
.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".edshelf_shelf_widget( $id, $height, '$format' );
if you are familiar with PHP.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.
Yes, edshelf only has one widget so far. More will be coming. Stay tuned!
As tall as you want!
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.
Yes! Embed as many as you would like.
Sorry, not yet. We do intend to offer multiple language support in the future though.
If you need additional assistance, email us at support@edshelf.com.
[edshelf-collection-widget]