Code Tag: Taxonomy
-
Rename WooCommerce “Brands” to “Manufacturers”
A useful way of filtering the taxonomy arguments in WooCommerce’s ‘product_brand’ taxonomy. 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 Show hidden characters <?php /**…
-
Remove Genesis Taxonomy Meta Fields
This snippet removes the genesis taxonomy meta fields, just add to your functions.php file or a custom plugin file. 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…
-
Get Post Types By Taxonomy
Get post types that have a specific taxonomy, returns an array of objects or names, or false if nothing found. 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…
-
Taxonomy List and Dropdown Link Shortcode
Shortcode to create a list or dropdown link to taxonomy archives 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 Show hidden characters <?php /** *…