WordPress Category UI (3 posts)

  1. Timothy Jacobs
    Posted 3 years ago #

    Hi All,

    Is there anywhere to find documentation, or a good tutorial to replicate the category selector UI that you see on a post or page edit screen?



  2. Mark / t31os

    Posted 3 years ago #

    Are you referring to the widget or metabox shown to the right of the editor when you're creating/editing posts/pages?

    If that is indeed what you're referring to, the applicable code that runs for that metabox can be found here.


    It's setup as a metabox callback on hierarchal taxonomies, using add_meta_box.


    Unfortunately i don't think there's any specific guide for that code, but there's certainly plenty of guides for adding metaboxes out there, but i'd venture to guess you're not looking to make a metabox and have a greater interest in the tabbed category list(ie. specifically the code that generates those lists).

  3. Timothy Jacobs
    Posted 3 years ago #

    Yes exactly. Yeah I got the metabox down, I just need help with the categories. Thanks for the link, lets see what happens :)

Topic Closed

This topic has been closed to new replies.

About this Topic