Tagged Questions
0
votes
1answer
46 views
Trying to display terms from custom taxonomy within function
I have a function that is giving me this error - Catchable fatal error: Object of class stdClass could not be converted to string in.... blah blah
Below is some of the code from the function. It is ...
0
votes
1answer
217 views
Unsetting post_tag taxonomy breaks term description for other taxonomies
Here's something I can't figure out. I don't need the default post_tag taxonomy, so I'm removing it with this piece of code :
function mwm_unregister_taxonomy(){
global $wp_taxonomies;
...
0
votes
1answer
1k views
get_terms return errors
Hi when i try to get_terms(); in theme options via this code
$catalogs_terms = get_terms( 'catalogs' );
$mycatalogs = array( -1 => 'Select a catalog' );
if ( $catalogs_terms ) {
...