Forum Replies Created

Viewing 4 Topics - 1 through 4 (of 4 total)
Author Posts
July 31, 2015 at 2:33 am in reply to: Dokan – Rename Navigation 64540
Kat Indo Kat Indo

The code you provided allows to add a tab in “Settings”, but I need to add a main tab. I modified the code but I still have some issues:
1. The tab should appear second. Changing the position doesn’t seem to have any effect.
2. The URL should be dashboard/redemptions. The code you provided creates the URL dashboard/settings/redemptions. If I modify the code the URL returns 404 error page.

Here’s the updated code:
`add_filter( ‘dokan_get_dashboard_nav’, ‘dokan_add_menu’ );

function dokan_add_menu( $settings_tab ) {
$settings_tab[‘redemption’] = array(
‘title’ => __( ‘Redemptions’, ‘dokan’),
‘icon’ => ‘‘,
‘url’ => dokan_get_navigation_url( ‘redemptions’ ),
‘pos’ => 32

return $settings_tab;

add_filter( ‘dokan_dashboard_settings_heading_title’, ‘dokan_load_settings_header’, 11, 0 );’

Can you tell me what needs to be done so it works the way I needed to?

July 30, 2015 at 8:39 pm in reply to: Dokan – Rename Navigation 64518
Kat Indo Kat Indo

How about renaming a tab without modifying core files?

July 30, 2015 at 2:31 am in reply to: Dokan – Rename Navigation 64314
Kat Indo Kat Indo

Also, how can I add one more option in the nav bar?
I tried the following but it doesn’t work:
1. Added a new option in “includes/template-tags.php” (line #301)
2. Created a new file in “templates”
3. Added the url in “templates/dashboard.php”

I see the tab in the frontend but when it’s selected it returns a 404 error page.
What am I missing?

June 2, 2015 at 10:53 pm in reply to: DOKAN: Limit products per vendor 46008
Kat Indo Kat Indo

Hello Nayem!

Does your plugin create subscriptions? Or is there a compatible plugin that we use?

Viewing 4 Topics - 1 through 4 (of 4 total)