Skip to content

Theme Options Page with Submenus #627

Closed

Description

@gorirrajoe

Was wondering if there was a clean way to make a theme options page with multiple submenus?

I'm guessing it would be based off of this code: https://github.com/WebDevStudios/CMB2-Snippet-Library/tree/master/options-and-settings-pages

I'm currently trying to hack my way through that code...

Activity

  1. rianbotha commented on Apr 11, 2016

    @rianbotha
  2. gorirrajoe commented on Apr 11, 2016

    @gorirrajoe
    Author

    not quite. i'm looking for submenus, not tabs.

  3. rianbotha commented on Apr 11, 2016

    @rianbotha

    The tabs are listed as submenu items in the admin menu too. If that is what you want then removing the tabs and only retaining the menu items should be fairly simple.

  4. gorirrajoe commented on Apr 11, 2016

    @gorirrajoe
    Author

    i wanted it more like this:

    https://cloudup.com/c7ihI7yUO1q

    independent pages so i can break menus up into years

  5. rianbotha commented on Apr 11, 2016

    @rianbotha

    It does that. See screenshot attached.
    menu

    It follows the normal Wordpress convention. Flyout menu until you are in the section and then it expands as in example.

    The tabbed part is separate and you can eliminate that without losing the menu part.

  6. rianbotha commented on Apr 11, 2016

    @rianbotha

    You would just need to remove line 101 to prevent the tab links from being created.

  7. gorirrajoe commented on Apr 11, 2016

    @gorirrajoe
    Author

    oh interesting -- i'll look into this and close after i test!
    thanks!!

  8. tw2113 commented on May 15, 2016

    @tw2113
    Contributor

    Any update with this one @gorirrajoe ?

  9. gorirrajoe commented on May 16, 2016

    @gorirrajoe
    Author

    boom -- yea that's exactly what i was looking for. thanks!

  10. marcellovocale commented on May 9, 2017

    @marcellovocale

    how..... get a subbage and subsection??

  11. tw2113 commented on May 9, 2017

    @tw2113
    Contributor

    @vucumbra I'd look over the tutorial provided at #627 (comment)

  12. jtsternberg commented on Dec 23, 2017

    @jtsternberg
    Member
  13. jtsternberg commented on Dec 23, 2017

    @jtsternberg
    Member
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions