Changeset 1957759
- Timestamp:
- 10/16/2018 10:19:45 PM (7 years ago)
- Location:
- aprils-call-posts/trunk
- Files:
-
- 4 edited
-
ahs_callposts.php (modified) (2 diffs)
-
ahs_callposts_admin.php (modified) (1 diff)
-
readme.html (modified) (1 diff)
-
readme.txt (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
aprils-call-posts/trunk/ahs_callposts.php
r1682856 r1957759 4 4 Plugin URI: http://springthistle.com/wordpress/plugin_callposts 5 5 Description: Via shortcode, lets you call in a list of posts that are filtered, displayed and ordered based on criteria you provide. <a href="options-general.php?page=ahs_callposts_admin.php">Edit Settings</a>. 6 Version: 2.0.1 36 Version: 2.0.14 7 7 Author: Aaron Hodge Silver 8 8 Author URI: http://springthistle.com/ … … 73 73 // order by default or by custom field? 74 74 // let shortcode override options default 75 if ($custom_field===null ) $custom_field = get_option('ahscp_customfield');75 if ($custom_field===null && $custom_field !== 'false') $custom_field = get_option('ahscp_customfield'); 76 76 if (empty($title)) $title = get_option('ahscp_titletype'); 77 77 if (empty($orderby)) $orderby = get_option('ahscp_orderby'); -
aprils-call-posts/trunk/ahs_callposts_admin.php
r1264200 r1957759 36 36 "id" => "ahscp_customfield", 37 37 'size'=>150, 38 'help'=>'The shortcode automatically orders posts by most-recent-first. If you\'d like them to be ordered by a custom field, enter the name of the custom field here. You can override this default setting in any individual use of the shortcode by including the option <code>custom_field</code>. '),38 'help'=>'The shortcode automatically orders posts by most-recent-first. If you\'d like them to be ordered by a custom field, enter the name of the custom field here. You can override this default setting in any individual use of the shortcode by including the option <code>custom_field</code>. If you set a custom_field value here, but want it to NOT impact a particular shortcode instances, set its value to <code>false</code>.'), 39 39 40 40 /* Templates tab */ -
aprils-call-posts/trunk/readme.html
r1264955 r1957759 12 12 <tr><td><code>post_type</code></td><td>Default is <code>post</code>. The only other type you might want is a custom post_type.</td></tr> 13 13 <tr><td><code>category_tax</code></td><td>If you want to retrieve from a different taxonomy (other than category) you can enter specify it with this attribute. Note that this will only work with one item; you cannot enter multiple items separated by commas.</td></tr> 14 <tr><td><code>custom_field</code></td><td> Default is chosen in Global Settings, if not empty. Otherwise, ignored.</td></tr>14 <tr><td><code>custom_field</code></td><td>This is used for sorting also. Default is chosen in Global Settings, if not empty. Otherwise, ignored.</td></tr> 15 15 </table> 16 16 -
aprils-call-posts/trunk/readme.txt
r1682856 r1957759 3 3 Tags: posts, shortcode 4 4 Requires at least: 2.9.1 5 Tested up to: 4. 8.x6 Stable tag: 2.0.1 35 Tested up to: 4.9.x 6 Stable tag: 2.0.14 7 7 8 8 Via shortcode, lets you call in a list of posts that are filtered, ordered, and displayed based on criteria you provide. … … 40 40 41 41 == Changelog == 42 43 = 2.0.14 = 44 * Added option to ignore globally-set custom_field on specific shortcode instances 45 * Updated compatibility version. 42 46 43 47 = 2.0.13 =
Note: See TracChangeset
for help on using the changeset viewer.