Support » Plugin: Custom Post Type UI » Tags metabox not showing with manual code

  • Resolved Rogier


    I am using two localhost installs of WP 3.5.1. One of these has Custom Post Type UI v0.7.2 installed. The second install doesn’t have the plugin installed; instead I ‘Get Code’ from installation 1 and paste the generated code in the functions.php file of installation 2.

    The post type is configured to support tags in its taxonomies. But the tags metabox only shows up in the install that has the plugin. In the second install (where I add the code manually) everything else seems the same, except that the ‘tags’ metabox doesn’t show.

    How can I get the metabox to show?

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Michael Beckwith


    Hi Rogier, I’ll have to test this out myself and see if I can reproduce.

    Have you made any progress on this since? Just making sure I have all the right data still.

    Plugin Author Michael Beckwith


    Hello again Rogier.

    I realize I may not be reaching you, but if you check in again, and for anyone else with the same issue. I finally determined that the manual code needs to be wrapped in a callback function attached to the init hook. I will be making a note of this or outputting it with the “get code” in version .8.

    For those who need a visual, do the following:

    add_action( 'init', 'mycallbackfunction');
    function mycallbackfunction() {
        /*paste the "get code" output here. everything within the register post type function*/

    Feel free to rename the mycallbackfunction bit to whatever you want, but do try to avoid function name clashes 🙂



    Hi Michael, thanks so much for your reply. I will give this a try.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Tags metabox not showing with manual code’ is closed to new replies.