Last active
December 4, 2023 15:46
-
-
Save nayemDevs/9d3d3f1bc05eb2e5e8543fb4d6c5b6cd to your computer and use it in GitHub Desktop.
Adding extra dashboard menu for Vendor Dashboard ( this code need to be inserted on your theme's functions.php)
Kindly re-save the permalinks
…On Mon, Sep 27, 2021, 8:33 PM arimultiservicios ***@***.***> wrote:
***@***.**** commented on this gist.
------------------------------
Good afternoon I followed all the steps but when I click on the new item I
get a 404 error.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<https://gist.github.com/9d3d3f1bc05eb2e5e8543fb4d6c5b6cd#gistcomment-3906525>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ACSUW7JAFUIHPZZNZR7MKE3UEB6DZANCNFSM4ITQZHVQ>
.
Triage notifications on the go with GitHub Mobile for iOS
<https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675>
or Android
<https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub>.
You can only add sub-menu under the settings panel as like Payment, shipping. In that case, you have to use $sub_settings variable and a different hook which you can find in your dokan template-tags.php file.
@nayemDevs I have added a submenu under the settings tab, but if I click on a new tab it shows this error Warning: Undefined array key 2 in \wp-content\plugins\dokan-lite\includes\template-tags.php on line 539
if i want to add more than one item to the menu how can i do it?
if i want to add more than one item to the menu how can i do it?
Duplicate the code that creates the menu and custimize it
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Good afternoon I followed all the steps but when I click on the new item I get a 404 error. How can I solve it?