Changeset 805101
- Timestamp:
- 11/15/2013 08:58:13 PM (12 years ago)
- Location:
- homie/trunk
- Files:
-
- 2 edited
-
homie.php (modified) (2 diffs)
-
readme.txt (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
homie/trunk/homie.php
r801173 r805101 4 4 Plugin URI: http://github.com/ryanve/homie 5 5 Description: Include or exclude homepage categories. 6 Version: 0.1. 16 Version: 0.1.2 7 7 Author: Ryan Van Etten 8 8 Author URI: http://ryanve.com … … 96 96 97 97 add_settings_field($field, $label, function() use (&$curr, $field, $id, $key, $options) { 98 $select = "<select name='$field' style='display:inline-block;line-height:1;margin:.5em'>" 98 $select = "<select name='$field' style='display:inline-block;line-height:1;margin:.5em'>"; 99 99 $value = empty($curr[$key][$id]) ? $options[0] : $curr[$key][$id]; 100 100 echo array_reduce($options, function($str, $op) use ($value) { -
homie/trunk/readme.txt
r801173 r805101 12 12 == Description == 13 13 14 Include or exclude categories on the homepage. 15 16 ### [Usage](https://github.com/ryanve/homie#usage) options 17 18 - `*` default 19 - `Include` <b>whitelists</b> the category 20 - `Exclude` <b>blacklists</b> the category 14 Include or exclude categories on the homepage. See [documentation](https://github.com/ryanve/homie#usage). 21 15 22 16 == Installation ==
Note: See TracChangeset
for help on using the changeset viewer.