Plugin Directory

Changeset 997699


Ignore:
Timestamp:
09/27/2014 04:40:18 PM (12 years ago)
Author:
VamsiTech
Message:

Uploading version 2.8. Adding Sorting options for Shortcode

Location:
jquery-vertical-scroller
Files:
19 added
3 edited

Legend:

Unmodified
Added
Removed
  • jquery-vertical-scroller/trunk/readme.txt

    r983957 r997699  
    44Requires at least: 3.4
    55Tested up to: 4.0
    6 Stable tag: 2.7
     6Stable tag: 2.8
    77License: GPLv2 or later
    88License URI: http://www.gnu.org/licenses/gpl-2.0.html
     
    4646
    4747= Shortcode =
    48 <b>Usage:</b> [sgvscroller postcount="5" category="1" posttype="post" width="250px" height="200px" startfrom="bottom" includecontent="excerpt" showdate="true" showdateformat="F, Y"]
     48<b>Usage:</b> [sgvscroller postcount="5" sortby="post_date" sortorder="DESC" category="1" posttype="post" width="250px" height="200px" startfrom="bottom" includecontent="excerpt" showdate="true" showdateformat="F, Y"]
    4949
    5050postcount (optional, default value = 5): Sets the number of posts displayed by the scroller. Usage: postcount="5".
     51
     52sortby (optional, default value = post_date): Set the Order By option for getting posts.
     53        Valid Values:   'none' - No order (available with Version 2.8).
     54                        'ID' - Order by post id. Note the capitalization.
     55                        'author' - Order by author.
     56                        'title' - Order by title.
     57                        'date' - Order by date.
     58                        'modified' - Order by last modified date.
     59                        'parent' - Order by post/page parent id.
     60                        'rand' - Random order.
     61                        'comment_count' - Order by number of comments (available with Version 2.9).
     62        Usage: sortby="post_date"
     63
     64sortorder (optional, default value = DESC): Sorts the posts in ascending or descending order of post date. Usage: sortorder="ASC" or "DESC"
    5165
    5266category (optional, default value = 1): Sets the category to be displayed by the scroller. Usage: category="1".
     
    118132== Changelog ==
    119133
     134= 2.7 =
     135* Tested with Wordpress Version 4.0
     136
     137= 2.6 =
     138* Tested with Wordpress Version 3.9.1
     139
    120140= 2.5 =
    121141* Tested with Wordpress Version 3.8
     
    158178== Upgrade Notice ==
    159179
    160 = 2.6 =
    161 * Tested with Wordpress Version 3.9.1
     180= 2.8 =
     181* Adding Sorting option to Shortcode
    162182* As usual, if you any hiccups, email us at info@sirisgraphics.com
  • jquery-vertical-scroller/trunk/sg-jqvs-widget-plugin.php

    r983957 r997699  
    44Plugin URI: http://sirisgraphics.com/development/jquery-vertical-scroller-2-0
    55Description: A plugin to add a widget to scroll posts in your sidebar or footer widgets for WordPress powered by jQuery
    6 Version: 2.7
     6Version: 2.8
    77Author: Vamsi Pulavarthi
    88Author URI: http://sirisgraphics.com/
     
    371371        "category" => '1',
    372372        "posttype" => 'post',
     373        "sort" => 'post_date',
     374        "sortorder" => 'DESC',
    373375        "width" => '250px',
    374376        "height" => '200px',
     
    387389        'numberposts'     => $postcount,
    388390        'category'        => $category,
    389         'orderby'         => 'post_date',
    390         'order'           => 'DESC',
     391        'orderby'         => $sort,
     392        'order'           => $sortorder,
    391393        'post_type'       => $posttype,
    392394        'post_status'     => 'publish',
  • jquery-vertical-scroller/trunk/sgjvs_stylesheet.css

    r983957 r997699  
    33Plugin URI: http://sirisgraphics.com/development/jquery-vertical-scroller-2-0
    44Description: A plugin to add a widget to scroll posts in your sidebar or footer widgets for WordPress powered by jQuery
    5 Version: 2.7
     5Version: 2.8
    66Author: Vamsi Pulavarthi
    77Author URI: http://sirisgraphics.com/
Note: See TracChangeset for help on using the changeset viewer.