Category and Tag options for Fundraising custom post type

I need to add category and tag support for my Fundraising post types.

I dug around and found a few things but they still don’t give me the option to have categories and tags.

I added this to my functions.php file (I’m using Pagelines as my theme)

// To be placed in functions.php

// Init Function to add category and post tags to Fundraising post type funder.

add_action(‘init’, ‘funder_add_default_boxes’:wink:;

function funder_add_default_boxes() {

register_taxonomy_for_object_type(‘category’, ‘funder’:wink:;

register_taxonomy_for_object_type(‘post_tag’, ‘funder’:wink:;

}

// Init Function to add category and post tags to Fundraising post type donation.

add_action(‘init’, ‘funder_add_default_boxes’:wink:;

function donation_add_default_boxes() {

register_taxonomy_for_object_type(‘category’, ‘donation’:wink:;

register_taxonomy_for_object_type(‘post_tag’, ‘donation’:wink:;

}

I’m grabbing this off of a website and changing it as I think so there could definitely be an error in there somewhere or I’m missing some other component that needs to be done.

Once this is working I also need them to show up in search and archives by category and tags which I believe needs another code snippet inserted somewhere.

Ideas?

Thanks.

Wally