Home Forums WC Vendors Pro Support rearange pro dashboard tab orders

NOTICE: We've Moved to a Ticket System for Support

As of August 31, 2017 (12am EST) our support forums will be retired (read-only), and we will be moving to a support ticket system.  This will allow us to better organize and answer support requests, and provide a more personalized experience as we assist our customers.

For the time being, we will leave our forums open for reading and learning while we work on creating a more robust Knowledge Base for everyone to use.

If you are a WC Vendors Pro customer please open a support ticket here. 

If you are a WC Vendors user please open a support ticket on the Wordpress.org forums.

The information on this forum is outdated and in most instances no longer relevant. Please be sure to check our documentation for the most up to date information.

https://docs.wcvendors.com/

Thank you to all of our customers!

 

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #58745
    patrick
    Participant

    Is there a way to rearange the order of the tab labels on the pro dashboard nav bar?

    Like were it says orders settings etc?

    #58768
    patrick
    Participant

    After more research, and because I have custom links, I suspect, but of course could be wrong, that the best solution would be to hard code the links into the themes/nav

    Here is the code on the nav:
    `?>
    <li id=”dashboard-menu-item-<?php echo $page[‘slug’]; ?>” class=”<?php echo $class; ?>”>“><?php echo $page_label; ?>

    My only question is, what is the starting and end points, and would I just put normal html? I tried php but it didnt do anything. Of course im not really sure if the opening and closing tags. Do i leave the ?> there? Im thinking like this:
    ?>
    <li “href=”/link”>link name<”

    #58777
    Jamie
    Keymaster

    Hello,

    Yes you can change the order of the tabs by hooking into the pages filter. This code will do just that.

    https://gist.github.com/digitalchild/e495f8c48338747fc3f56521c78f673a

    cheers,

    Jamie.

Viewing 3 posts - 1 through 3 (of 3 total)
  • The forum ‘WC Vendors Pro Support’ is closed to new topics and replies.