October 8, 2015 at 12:37 pm #74299
How can I add plugin into vendor dashborad's left menu?(link to toolbar icon)
I already add plugin icon in vendor's product description visual toolbar.
(This question is related to ‘How can I do if want to add plugin icon on vendor-side product description part.' topic)
October 8, 2015 at 12:46 pm #74301
We do not provide support for any customization. If you want to customize the plugin then please hire a developer to do this for you. Please read our support policy- https://wedevs.com/support-policy/.
Thanks.October 8, 2015 at 1:04 pm #74303
but, please tell me which php file should I edit(and line number).
Just like as how did you add the coupon pages, orders page in vendor dashboard menu.
After that, I'll resolve it my self.October 8, 2015 at 1:09 pm #74304
Please open dokan/includes/template-tags.php file. You will get this function here-
function dokan_get_dashboard_nav(). You have to create a menu here then you have to manage re-writes rule for the page which will open after clicking on the menu. You have to render the settings by using this action-
add_action( 'dokan_render_settings_content', 'your function name', 10 );
Thanks.October 8, 2015 at 1:39 pm #74306
It can help me.October 9, 2015 at 10:06 am #74366
How can I link this new button to my new function opend?
I already did belows.
1.Made new button adding codes in
function dokan_get_dashboard_nav()in template-tags.php file.
'3D' => array( 'title' => __( '3D', 'dokan'), 'icon' => '<i class="fa fa upload"></i>', 'url' => dokan_get_navigation_url( '#' ), 'pos' => 90
I think if I edit “‘url' =>dokan_get_navigation_url( ‘#' )” variable, I can link those two. But, don't know how can handle this one.
2.Wrote this code
add_action( 'dokan_render_settings_content', 'my new function name', 10 );in my new function php file.October 10, 2015 at 11:50 am #74421
As I have said before that we do not provide support for customization but I have tried to provide you the file location and few code snippets as sample. I can not provide more support on this.
Thanks.October 12, 2015 at 2:56 am #74475
AshrafParticipantPost count: 1
I'm looking for the same thing as Jeongsik, I followed your explanations, the first part worked correctly for me, I added a button on the left menu sending to “mywebsite.com/dashboard/posts/” but I can't link the URL with my php page having this code:
< ?php echo do_shortcode('[wpfepp_post_table form="1"]'); ?>
can you help me please
ThanksOctober 12, 2015 at 11:34 am #74479
I have provided the possible direction to achieve this personalized page. I can not provide more support for this customization. We do not provide support for any customized feature. But I can share this gists- https://gist.github.com/nayemDevs/b2dd4b81d343220d90a1. You can get idea from this file to add a menu and add a new page on dashboard page.
The topic ‘Add plugin into vendor dashborad's left menu’ is closed to new replies.