• Resolved L4SN

    (@l4sn)


    Hello,

    I would like to have the link for custom post types redirect to an administration page that lists all of the posts types. I would use a drop down menu but there will likely be too many options.

    Any help would be greatly appreciated.

Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Contributor Michael Beckwith

    (@tw2113)

    The BenchPresser

    This is definitely not something we have built any sort of support for in our plugin here.

    However, I could easily see it being done via the settings API and a general options page, depending on what all you need the destination to do.

    Thread Starter L4SN

    (@l4sn)

    Thank you for the quick reply.

    All I really need is to have one link in the admin sidebar that goes to an admin page that would have all of the different post types listed, instead of having them all listed in the admin sidebar.

    The number of post types I will have is too great to keep on the sidebar.

    Having a page with them rowed and possibly columned would make navigation much easier.

    Plugin Contributor Michael Beckwith

    (@tw2113)

    The BenchPresser

    Still going to end up being a custom solution, but after thinking things over a bit more, not a difficult one.

    For example: https://cloudup.com/cuOMNSuXSVR and https://cloudup.com/cR8TB1W3QXI

    Here’s the plugin code used for what you see. It’s very bare, but ripe for customization.

    https://gist.github.com/tw2113/ae85882c957c435f5202327ed7c81851

    Plugin Contributor Michael Beckwith

    (@tw2113)

    The BenchPresser

    After that, for each one you want to have listed here, but not in the admin, you can set the Show in Menu option to false. The links generated will still work and lead you to the posts list for the post type.

    Thread Starter L4SN

    (@l4sn)

    Michael, thank your for the help. It is greatly appreciated!

    Plugin Contributor Michael Beckwith

    (@tw2113)

    The BenchPresser

    Welcome

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Administration Menu Customization’ is closed to new replies.