WordPress.org

Ready to get started?Download WordPress

Forums

Add a Second Category Box to the Post Page (3 posts)

  1. trivum
    Member
    Posted 6 years ago #

    I've looked around, but I can't find an answer to this.

    Is it possible to add a second category check list to the post/edit page?

    I have a situation where my users will be posting, and I have A LOT of categories, but only a small number of those categories will be used regularly. Therefore, I'd like to have a "Common Categories" list first, and then if need be, an "All Categories" list below it.

    While I'm at it - does anyone know if it's possible to put that common list of categories in a drop down menu right above the title? (As I said, my users will be posting, and if it isn't right in their face, they will probably not check any category a lot of the time.)

    Thanks.

  2. trivum
    Member
    Posted 6 years ago #

    Anyone know of a plugin that might do the trick for this? I've looked but can't find one.

    I know that the mini forms plugin can do this for the new submission form that it creates, but I can't use that because I am using a different plugin that uses the main post page.

    Any help would be appreciated.

  3. trivum
    Member
    Posted 6 years ago #

    Ok, I think I'm getting closer, but still can't quite get it.

    I found the code that makes the category box, and so I just copied it. That worked, but I can't get the arguments to work in order to exclude the categories I want to exclude.

    For example, when trying to exclude category 1 and 3, I am putting in the following:

    <fieldset id="categorydiv" class="dbx-box">
    <h3 class="dbx-handle"><?php _e('Categories') ?></h3>
    <div class="dbx-content">
    <p id="jaxcat"></p>
    <ul id="categorychecklist"><?php dropdown_categories('exclude=1,3'); ?></div>
    </fieldset>

    Is there something wrong with this argument?

Topic Closed

This topic has been closed to new replies.

About this Topic