Created
December 26, 2013 12:58
-
-
Save anonymous/8133544 to your computer and use it in GitHub Desktop.
This is the taxonomy-all.php file that should be placed inside piklist/parts/fields/
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <div class="catseldiv"> | |
| <ul class="wp-tab-bar"> | |
| <li class="wp-tab-active"><a href="#"><?php _e('Camp Categories'); ?></a></li> | |
| </ul> | |
| <div class="wp-tab-panel"> | |
| <?php | |
| require_once(WP_PLUGIN_DIR . '/mae-merchant/includes/tax-walker-class.php'); | |
| echo '<ul class="catsellist">'; | |
| if (!isset($postid)) { | |
| $postid=0; | |
| } | |
| mae_terms_checklist($postid, array( 'taxonomy' => $catname, 'pl_field' => $field, 'pl_scope' => $scope, 'pl_prefix' => $prefix, 'selected_cats' => (array) $value, 'attclass' => ((isset($attributes['class']))?$attributes['class']:null), 'checked_ontop' => true) ); | |
| echo '</ul>'; | |
| ?> | |
| </div> | |
| </div> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment