Advertisement
Guest User

Untitled

a guest
Jul 24th, 2012
61
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.40 KB | None | 0 0
  1. <?php
  2. /*
  3. Title: Specialties
  4. Post Type: provider
  5. context: side
  6. */
  7.  
  8. ?>
  9. <div class="wp-tab-panel">
  10. <?php
  11. piklist('field', array(
  12. 'type' => 'checkbox'
  13. ,'scope' => 'taxonomy'
  14. ,'field' => 'provider_specialties'
  15. ,'label' => __('Specialties')
  16. ,'list' => true
  17. ,'attributes' => array(
  18. 'class' => 'text'
  19. )
  20. ,'choices' => piklist(get_terms('specialty'), array('slug', 'name'))
  21. ));
  22. ?>
  23. </div>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement