Changeset 624205
- Timestamp:
- 11/12/2012 08:51:49 PM (13 years ago)
- Location:
- network-latest-posts/trunk
- Files:
-
- 3 edited
-
network-latest-posts-widget.php (modified) (3 diffs)
-
network-latest-posts.php (modified) (5 diffs)
-
readme.txt (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
network-latest-posts/trunk/network-latest-posts-widget.php
r620259 r624205 49 49 'tag' => NULL, // Tag(s) to display 50 50 'paginate' => FALSE, // Paginate results 51 'posts_per_page' => NULL, // Number of posts per page (paginate needs to be active)51 'posts_per_page' => NULL, // Number of posts per page (paginate must be activated) 52 52 'excerpt_length' => NULL, // Excerpt's length 53 53 'auto_excerpt' => FALSE, // Generate excerpt from content … … 55 55 'full_meta' => FALSE, // Display full metadata 56 56 'sort_by_date' => FALSE, // Display the latest posts first regardless of the blog they come from 57 'sort_by_blog' => FALSE, // Sort by blog ID58 'sorting_order' => NULL, // Sort posts from Newest to Oldest or vice versa (newer / older), asc / desc for blog ID s57 'sort_by_blog' => FALSE, // Sort by Blog ID 58 'sorting_order' => NULL, // Sort posts from Newest to Oldest or vice versa (newer / older), asc / desc for blog ID 59 59 'sorting_limit' => NULL, // Limit the number of sorted posts to display 60 60 'post_status' => 'publish', // Post status (publish, new, pending, draft, auto-draft, future, private, inherit, trash) … … 62 62 'wrapper_list_css' => 'nav nav-tabs nav-stacked', // Custom CSS classes for the list wrapper 63 63 'wrapper_block_css'=> 'content', // Custom CSS classes for the block wrapper 64 'instance' => NULL, // Instance identifier, used to uniquely differenciate each widget 65 'random' => FALSE, 66 'post_ignore' => NULL 64 'random' => FALSE, // Pull random posts (true or false) 65 'post_ignore' => NULL // Post ID(s) to ignore 67 66 ); 68 67 -
network-latest-posts/trunk/network-latest-posts.php
r622203 r624205 4 4 Plugin URI: http://en.8elite.com/network-latest-posts 5 5 Description: Display the latest posts from the blogs in your network using it as a function, shortcode or widget. 6 Version: 3.4. 26 Version: 3.4.3 7 7 Author: L'Elite 8 8 Author URI: http://laelite.info/ … … 115 115 * -- Anton Channing 116 116 * --- Spotted blog IDs were missing from element classes 117 * 118 * -- Julien Dizdar 119 * --- Spotted a bug in sorting parameters 117 120 * 118 121 * That's it, let the fun begin! … … 433 436 setup_postdata($post); 434 437 // Sort by blog ID 435 if( $sort_by_blog ) {438 if( $sort_by_blog == 'true' ) { 436 439 // Ignore Posts 437 440 if( !in_array( $post->ID, $post_ignore ) ) { … … 456 459 } 457 460 // Sort by date (regardless blog IDs) 458 if( $sort_by_date ) {461 if( $sort_by_date == 'true' ) { 459 462 // Sorting order (newer / older) 460 463 if( !empty($sorting_order) ) { … … 498 501 } 499 502 // Sort by blog ID 500 if( $sort_by_blog ) {503 if( $sort_by_blog == 'true' ) { 501 504 // Sorting order (newer / older) 502 505 if( !empty($sorting_order) ) { -
network-latest-posts/trunk/readme.txt
r622203 r624205 5 5 Requires at least: 3.0 6 6 Tested up to: 3.4.1 7 Stable tag: 3.4. 27 Stable tag: 3.4.3 8 8 9 9 This plugin allows you to pull all the recent posts from the blogs in your WordPress network and display them in your main site (or internal sites) … … 140 140 == Changelog == 141 141 142 = 3.4.3 = 143 * Fixed bug while using sort_by_date and sort_by_blog, sorting capabilities were not working properly. Thanks to Julien Dizdar for reporting this bug. 144 142 145 = 3.4.2 = 143 146 * Fixing typo in $thumbnail_custom variable
Note: See TracChangeset
for help on using the changeset viewer.