Jump to content
Sign in to follow this  
cshoffmann

Add Tags to Custom Post Type Boxes

Recommended Posts

cshoffmann

I would like to request post tags be added to the Box custom post type. Is there instructions to program this feature into the Box settings?

Share this post


Link to post
Share on other sites
ricardo

Hi Shaun! I was playing with this the other day. Adding tags it's easy, just add this to your functions.php

function boxes_tag_support() {
		 register_taxonomy_for_object_type('post_tag', 'boxes');
	}
	add_action('init', 'boxes_tag_support');

The "problem" is using them. Where are you going to call them? How are you going to use them? What type of integration do you need and so on ... Ricardo

Share this post


Link to post
Share on other sites
ricardo

And just for the sake of argument, how do you see yourself using tags and how can they be better (or more useful) than the current box set system? Thanks =) Ricardo

Share this post


Link to post
Share on other sites
cshoffmann

I have a client who is building a site for a festival of artists. She wants to list the artists attending using a custom post type. I suggested using the boxes. She wants to tag them so she can have them tagged painters, sculpters, so on. I had suggested creating seperate box sets, but the issue I think is that you would not be able to call multiple box sets within Platform Pro Page Meta Settings. Thank you for your help!

Share this post


Link to post
Share on other sites
ricardo

Oh I see! That might actually solve one of my problems =) Thanks! Ricardo

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this  

×