Changeset 1986250
- Timestamp:
- 12/05/2018 06:55:42 PM (7 years ago)
- Location:
- search-filter/trunk
- Files:
-
- 4 edited
-
of-admin.php (modified) (2 diffs)
-
of-list-table.php (modified) (1 diff)
-
readme.txt (modified) (2 diffs)
-
search-filter.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
search-filter/trunk/of-admin.php
r1897510 r1986250 60 60 To display Search & Filter all you need to do is a use a shortcode:<br /> 61 61 62 <pre><code class="string">[searchandfilter taxonomies="category,post_tag"]</code></pre>62 <pre><code class="string">[searchandfilter fields="search,category,post_tag"]</code></pre> 63 63 64 64 This will display a search box, a category dropdown and a tag dropdown. You can use the shortcode within posts/pages and widget areas.<br /><br /> … … 66 66 To use this within a theme file you simple need to call the `do_shorcode` function with the shortcode above within the theme file:<br /> 67 67 68 <pre><code class="php"><?php echo do_shortcode( \'[searchandfilter taxonomies="category,post_tag"]\' ); ?></code></pre>68 <pre><code class="php"><?php echo do_shortcode( \'[searchandfilter fields="search,category,post_tag"]\' ); ?></code></pre> 69 69 </div>'; 70 70 -
search-filter/trunk/of-list-table.php
r1196498 r1986250 191 191 "defaultval" => " ", 192 192 "options" => "<em>Comma seperated list of any field names and Public Taxonomies:</em><br /><br />search<br />post_date<br />post_types<br /><em>*public taxonomy names</em>", 193 "info" => "Example using all your public taxonomies (copy & paste!):<pre><code class='string'>[searchandfilter taxonomies=\"search,".$fulltaxonomylist."\"]</code></pre>"193 "info" => "Example using all your public taxonomies (copy & paste!):<pre><code class='string'>[searchandfilter fields=\"search,".$fulltaxonomylist."\"]</code></pre>" 194 194 ); 195 195 $counter++; -
search-filter/trunk/readme.txt
r1897499 r1986250 4 4 Tags: category, filter, taxonomy, search, wordpress, post type, post date 5 5 Requires at least: 3.5 6 Tested up to: 4.96 Tested up to: 5.0 7 7 Stable tag: 1.2.10 8 8 License: GPLv2 or later … … 35 35 == Changelog == 36 36 37 = 1.2.11 = 38 * Fixed - a few typos in the admin screen 39 * Tested with WP 5.0 RC2 40 37 41 = 1.2.10 = 38 42 * Fixed - an issue with our syntax highlighting script modifying our shortcodes 39 40 43 41 44 = 1.2.9 = -
search-filter/trunk/search-filter.php
r1897499 r1986250 6 6 Author: Designs & Code 7 7 Author URI: http://www.designsandcode.com/ 8 Version: 1.2.1 08 Version: 1.2.11 9 9 Text Domain: searchandfilter 10 10 License: GPLv2 11 11 */ 12 13 // TO DO - i18n http://codex.wordpress.org/I18n_for_WordPress_Developers14 12 15 13 /* … … 17 15 */ 18 16 if (!defined('SEARCHANDFILTER_VERSION_NUM')) 19 define('SEARCHANDFILTER_VERSION_NUM', '1.2.1 0');17 define('SEARCHANDFILTER_VERSION_NUM', '1.2.11'); 20 18 21 19 if (!defined('SEARCHANDFILTER_THEME_DIR'))
Note: See TracChangeset
for help on using the changeset viewer.