Skip to content

Commit

Permalink
Revert "Add tag drop down to options-check."
Browse files Browse the repository at this point in the history
This reverts commit c850851.
  • Loading branch information
devinsays committed Jun 25, 2012
1 parent d733bac commit 0d92f1a
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 19 deletions.
5 changes: 0 additions & 5 deletions options-check/index.php
Expand Up @@ -51,11 +51,6 @@
<dd>of_get_option('example_select_categories'): category id = <?php echo of_get_option('example_select_categories', 'no entry' ); ?></dd>
</dl>

<dl>
<dt>type: select</dt>
<dd>of_get_option('example_select_tags'): term id = <?php echo of_get_option('example_select_tags', 'no entry' ); ?></dd>
</dl>

<dl>
<dt>type: select</dt>
<dd>of_get_option('example_select_pages'): page id = <?php echo of_get_option('example_select_pages', 'no entry' ); ?></dd>
Expand Down
14 changes: 0 additions & 14 deletions options-check/options.php
Expand Up @@ -80,13 +80,6 @@ function optionsframework_options() {
foreach ($options_categories_obj as $category) {
$options_categories[$category->cat_ID] = $category->cat_name;
}

// Pull all tags into an array
$options_tags = array();
$options_tags_obj = get_tags();
foreach ( $options_tags_obj as $tag ) {
$options_tags[$tag->term_id] = $tag->name;
}

// Pull all the pages into an array
$options_pages = array();
Expand Down Expand Up @@ -150,13 +143,6 @@ function optionsframework_options() {
'id' => 'example_select_categories',
'type' => 'select',
'options' => $options_categories);

$options[] = array(
'name' => __('Select a Tag', 'options_check'),
'desc' => __('Passed an array of tags with term_id and term_name', 'options_check'),
'id' => 'example_select_tags',
'type' => 'select',
'options' => $options_tags);

$options[] = array(
'name' => __('Select a Page', 'options_check'),
Expand Down

0 comments on commit 0d92f1a

Please sign in to comment.