Viewing 5 replies - 1 through 5 (of 5 total)
  • I’d like to do this as well – is it possible?

    Plugin Author Diana K. Cury

    (@dianakc)

    Hello,

    Yes, this is possíble using register_taxonomy() In functions.php file or through a plugin add:

    add_action( 'init', 'create_location_tax' );
    
    function create_location_tax() {
    	register_taxonomy(
    		'location',
    		'pet',
    		array(
    			'label' => __( 'Location' ),
    			'rewrite' => array( 'slug' => 'location' ),
    			'hierarchical' => true,
    		)
    	);
    }

    Hi Diana.

    Thanks for your help on the other post so far. I’m slowly putting things together for Riverside however I now need to add more sections to the plugin. The ones you have listed already are great but I need the following:

    Child Suitability
    Live with Dogs
    Ideal Location
    Live with Cats

    I have installed a taxonomy plugin but for some reason I can’t get any of the new ones I’ve listed above to add within the options section you made and I am also having issues then adding it to the pets page when you add a pet.

    Would you be able to explain in greater detail how this works? or could you add them for me?

    Also following on from this I’d like to change the desexed bit to say neutered as desexed is quite a harsh term and also isn’t used on most UK adoption sites.

    Plugin Author Diana K. Cury

    (@dianakc)

    Hi Rivercats,

    I’m quite confused about the term, really 🙂

    I’ve made some small adjustments since the new WP version changed some functions, could you download and re-install the plugin again?

    Thanks for your patience

Viewing 5 replies - 1 through 5 (of 5 total)

The topic ‘Adding more taxonomies’ is closed to new replies.