Changeset 598555
- Timestamp:
- 09/13/2012 04:07:48 PM (14 years ago)
- Location:
- quicksand-jquery-post-filter/trunk
- Files:
-
- 2 edited
-
quicksand.php (modified) (2 diffs)
-
readme.txt (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
quicksand-jquery-post-filter/trunk/quicksand.php
r595975 r598555 5 5 Description: Use the Jquery Quicksand to filter posts by categories. 6 6 Author: Mark Stockton 7 Version: 1. 57 Version: 1.6 8 8 Author URI: http://www.developingtheweb.co.uk 9 9 */ … … 57 57 $limit = get_option('post_limit'); 58 58 59 60 59 global $post; 61 $args = array('numberposts' => $limit, 'category' => $quicksand_category1, 'category' => $quicksand_category2, 'category' => $quicksand_category3, 'category' => $quicksand_category4, 'category' => $quicksand_category5, 'category' => $quicksand_end);60 $args = array('numberposts' => $limit, 'category' => "'" . $quicksand_category1 . ',' . $quicksand_category2 . ',' . $quicksand_category3 . ',' . $quicksand_category4 . ',' . $quicksand_category5 . ',' . $quicksand_end . "'"); 62 61 $myposts = get_posts( $args ); 63 62 foreach( $myposts as $post ) : setup_postdata($post); -
quicksand-jquery-post-filter/trunk/readme.txt
r595976 r598555 7 7 Requires at least: 3.0 8 8 Tested up to: 3.4.1 9 Stable Tag: 1. 59 Stable Tag: 1.6 10 10 License: GPLv2 or later 11 11 License URI: http://www.gnu.org/licenses/gpl-2.0.html … … 40 40 == Changelog == 41 41 42 = 1.6= 43 44 1. 'All' filter option now does not contain all the post categories but only the posts from selected filter categories. Thanks to Sparksight for bringing this to my attention. 45 42 46 = 1.5 = 43 47
Note: See TracChangeset
for help on using the changeset viewer.