[wp-hackers] Child categories

Dobri dyordan1 at ramapo.edu
Thu Jan 23 14:24:08 UTC 2014


Yeah,

Thanks, Nikola. That's kinda what I was trying to avoid but I guess there's no built-in way to do it.

I think I'll look into filtering the standard taxonomy meta box content instead of creating my own so if someone has an idea if there are any hooks for that, that'd be helpful.

~Dobri

On Thu, 23 Jan 2014, at 9:11 AM, Nikola Nikolov wrote:

> Custom meta box? If you don't want to do it with the standard meta box, I
> think a custom one is the only other approach. You would obviously need to
> make sure the input doesn't include a top-level category in case one of the
> users is a smart one.
> 
> This would give you the best control over what the user can select and what
> not.
> 
> 
> On Thu, Jan 23, 2014 at 4:09 PM, Dobri <dyordan1 at ramapo.edu> wrote:
> 
>> Hi all,
>> 
>> Say you have a custom hierarchical taxonomy (think categories). Would
>> there be a way to limit term selection for that taxonomy to only children
>> terms (level 2+)? I'm thinking something better than gray out the checkbox
>> with javascript or filters, that seems like a hacky way to do it.
>> 
>> Any ideas? Thanks!
>> 
>> ~Dobri
>> 
>> _______________________________________________
>> wp-hackers mailing list
>> wp-hackers at lists.automattic.com
>> http://lists.automattic.com/mailman/listinfo/wp-hackers
>> 
> _______________________________________________
> wp-hackers mailing list
> wp-hackers at lists.automattic.com
> http://lists.automattic.com/mailman/listinfo/wp-hackers



More information about the wp-hackers mailing list