[resolved] Custom taxonomies not showing up in post admin (7 posts)

  1. LJK
    Posted 6 years ago #

    I've added custom taxonomies into my theme's functions.php using register_taxonomy as all the tutorials say. However, no admin boxes are showing up in my post admin.

    I've tried this using the Default file to see if there was something wrong with my theme, but still no admin interface.

    Any ideas?

  2. Mark / t31os
    Posted 6 years ago #

    Could i see your code? ...

    Using the example here works.

    I see 2 new options in the admin under posts (in the left sidebar), adding tags does so under the new taxonomies, depending on which one was clicked from the menu..

    Also 2 new boxes are placed down the right-hand side when editing or creating a post... :)

  3. LJK
    Posted 6 years ago #


    I copied and pasted that code straight into my functions.php file (and took everything else out of it) and it ended up breaking my WordPress install. All pages (including admin) became blank. I took it out and it all worked again.

    Is it possible something in the code could be causing a conflict?

  4. Mark / t31os
    Posted 6 years ago #

    No reason it should break anything... perhaps it causes a conflict with a plugin...

    All i can say is it works for me...

    Although it would seem there is something else causing a problem, might be worth testing another theme simply to see if the problem carries across.

  5. LJK
    Posted 6 years ago #

    Tried it with all plugins disabled. Tried it on Default theme, both still make everything go blank.

    ARGH, this is SO infuriating :-/

    (Thanks for your help though, :-) )

  6. LJK
    Posted 6 years ago #

    It turns out that it wasn't working because I had

    hierarchical' => true rather than hierarchical' => false

    For some reason it doesn't like "true", so I'll raise this in a new post.

  7. pampfelimetten
    Posted 6 years ago #

    @LJK: I have the same problem, I'd need it with hierarchical true (so it behaves like categories, not like tags). Do you know of any progress on this?

Topic Closed

This topic has been closed to new replies.

About this Topic