Adding tab to Dokan back office dashboard
Author | Posts |
---|---|
May 23, 2014 at 4:04 pm 20871 | |
Roberto | Hi Support. I was wondering how I would go about adding a tab to vendor dashboard in the back office (below the settings tab). I have made an instruction page for the vendors and would like the link to be clickable from their back office. Any idea how I could do this please? Thanks |
May 24, 2014 at 5:17 pm 20935 | |
Nizam Uddin | Hello Jason |
May 25, 2014 at 2:03 am 20968 | |
Jason | Thanks Nizam Had a look at filters and it seems to be outside the realms of my coding skills. I will try to find more information on filters and try figure this out. I was hoping it would be as easy as adding a WP menu! |
May 25, 2014 at 2:11 am 20970 | |
Tareq Hasan | It would be similar like this, just replace the page id with yours: [php] $menus[‘custom’] = array( It would be ideal to create a child theme for adding this sorts of codes. So it wouldn’t be lost when a new update comes. |
November 22, 2014 at 5:20 pm 30957 | |
Roberto | This adds a page, but it won’t have the dashboard on the side. Would it be possible to create a file in the /templates/ or “mytheme/dokan” folder like “new-slug.php” and having it work like “new-product”? Cheers |
November 24, 2014 at 2:14 pm 31051 | |
Roberto | UP!!! (Sorry not sure you devs saw it) Anyway my point is: I am trying to put the shortcode for WPUF in a page
where the page 19 has the shortcode in it. So i was thinking of just creating a new php file in the templates theme called “new-newsletter.php”. But I can’t figure how to do it…’cause there is something with “query_vars” and so on in order to properly show and link the page. Would you be able to point out how to do it? |
November 24, 2014 at 4:36 pm 31073 | |
Roberto | Anyway my point is: I am trying to put the shortcode for WPUF in a page
where the page 19 has the shortcode in it. So i was thinking of just creating a new php file in the templates theme called “new-newsletter.php”. But I can’t figure how to do it…’cause there is something with “query_vars” and so on in order to properly show and link the page. Would you be able to point out how to do it? |