Changeset 2007581
- Timestamp:
- 01/07/2019 09:35:31 AM (7 years ago)
- Location:
- albnet-shortcodes/trunk
- Files:
-
- 2 edited
-
README.txt (modified) (1 diff)
-
albnet-shortcodes.php (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
albnet-shortcodes/trunk/README.txt
r2007577 r2007581 145 145 146 146 1.1.4 Fix bug that not show content 147 148 1.1.5 Add fields 'order' and 'orderby' to set posts ordering -
albnet-shortcodes/trunk/albnet-shortcodes.php
r2007577 r2007581 12 12 * Plugin URI: https://shortcodes.albreis.com.br 13 13 * Description: A lot of shortcodes to show posts 14 * Version: 1.1. 414 * Version: 1.1.5 15 15 * Author: Albreis Network <[email protected]> 16 16 * Author URI: https://albreis.com.br … … 91 91 // Current page 92 92 'paged' => '', 93 94 // Posts ordering 95 'order' => 'ASC', 96 97 // Field to ordering 98 'orderby' => 'ID', 93 99 94 100 // Show pagination? Only if "paged" is set … … 210 216 } 211 217 218 /** 219 * Set posts ordering 220 */ 221 $args['order'] = $a['order']; 222 $args['orderby'] = $a['orderby']; 223 212 224 return $args; 213 225 }
Note: See TracChangeset
for help on using the changeset viewer.