Skip to content

Instantly share code, notes, and snippets.

Patrick Moore patmoore

Block or report user

Report or block patmoore

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@helen
helen / wp-chosen-tax-metabox.php
Last active May 1, 2019
Use Chosen for a replacement WordPress taxonomy metabox
View wp-chosen-tax-metabox.php
<?php
/**
* WordPress Chosen Taxonomy Metabox
* Author: Helen Hou-Sandi
*
* Use Chosen for a replacement taxonomy metabox in WordPress
* Useful for taxonomies that aren't changed much on the fly and are
* non-hierarchical in nature, as Chosen is for flat selection only.
* You can always use the taxonomy admin screen to add/edit taxonomy terms.
* Categories need slightly different treatment from the rest in order to
You can’t perform that action at this time.