Plugin Directory

Changeset 708018


Ignore:
Timestamp:
05/04/2013 11:56:07 PM (13 years ago)
Author:
mikeleeorg
Message:

Added support for new type attribute (valid values are "full", "compact", or "list). Fixed minor bug.

Location:
edshelf-widget/trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • edshelf-widget/trunk/edshelf-widgets.php

    r708017 r708018  
    44Plugin URI: http://edshelf.com
    55Description: Adds a shortcode for embedding an edshelf widget on your site.
    6 Version: 0.2
     6Version: 0.2.1
    77Author: edshelf
    88Author URI: http://edshelf.com
     
    104104    ), $atts ) );
    105105
    106     return edshelf_collection_widget_embed( $id );
     106    return edshelf_collection_widget_embed( $id, $height, $type );
    107107}
    108108
     
    155155<p>
    156156    <label for="edshelf-collection-id">Collection ID</label>:
    157     <input type="text" id="edshelf-collection-id" name="edshelf_collection_id" size="5" maxlength="5" value="<?php echo $options['id'];?>">
     157    <input type="text" id="edshelf-collection-id" name="edshelf_collection_id" size="5" maxlength="5" value="<?php echo $options['id'];?>"><br>
    158158    <label for="edshelf-collection-height">Widget height</label>:
    159     <input type="text" id="edshelf-collection-height" name="edshelf_collection_height" size="5" maxlength="6" value="<?php echo $options['height'];?>">
     159    <input type="text" id="edshelf-collection-height" name="edshelf_collection_height" size="5" maxlength="6" value="<?php echo $options['height'];?>"><br>
    160160    <label for="edshelf-collection-height">Widget type</label>:
    161     <input type="text" id="edshelf-collection-type" name="edshelf_collection_type" size="5" maxlength="10" value="<?php echo $options['type'];?>">
     161    <input type="text" id="edshelf-collection-type" name="edshelf_collection_type" size="5" maxlength="10" value="<?php echo $options['type'];?>"><br>
    162162    <input type="hidden" name="edshelf_collection_submit" value="1">
    163163</p>
  • edshelf-widget/trunk/readme.txt

    r708017 r708018  
    44Tested up to: 3.5
    55Requires at least: 2.9
    6 Stable Tag: 0.2
     6Stable Tag: 0.2.1
    77License: GPLv2 or later
    88License URI: http://www.gnu.org/licenses/gpl-2.0.html
Note: See TracChangeset for help on using the changeset viewer.