Title: User dashboard bug
Last modified: June 29, 2022

---

# User dashboard bug

 *  Resolved [ravizsoft](https://wordpress.org/support/users/ravizsoft/)
 * (@ravizsoft)
 * [3 years, 11 months ago](https://wordpress.org/support/topic/user-dashboard-bug/)
 * I have added the below code,
    add_filter(‘tutor_dashboard/nav_items’, ‘add_some_links_dashboard’);
   function add_some_links_dashboard($links){ $links[‘custom-link’] = array(‘title’
   => __(‘Orders’, ‘tutor’), ‘url’ => ‘[https://vizsoft.xyz/my-account/orders/&#8217](https://vizsoft.xyz/my-account/orders/&#8217););
   return $links; }
 * But in the dashboard menu the url ([https://vizsoft.xyz/my-account/orders/](https://vizsoft.xyz/my-account/orders/))
   also getting display with the menu name.

Viewing 13 replies - 1 through 13 (of 13 total)

 *  [Ibrahim](https://wordpress.org/support/users/kardi420/)
 * (@kardi420)
 * [3 years, 11 months ago](https://wordpress.org/support/topic/user-dashboard-bug/#post-15785249)
 * Hello [@ravizsoft](https://wordpress.org/support/users/ravizsoft/)!
 * solution : in this file path plugins/tutor/templates/dashboard.php, 183 no line
   
   need to remove echo before this line $menu_link = $dashboard_page[‘url’];
 * Thank you!
 *  Thread Starter [ravizsoft](https://wordpress.org/support/users/ravizsoft/)
 * (@ravizsoft)
 * [3 years, 11 months ago](https://wordpress.org/support/topic/user-dashboard-bug/#post-15795494)
 * Sorry i can’t find in 183 line
 * // Add new menu item property “url” for custom link
    if (isset($dashboard_page[‘
   url’])) { $menu_link = $dashboard_page[‘url’]; }
 *  Plugin Support [Md. Jobayer Al Mahmud](https://wordpress.org/support/users/jobayertuser/)
 * (@jobayertuser)
 * [3 years, 11 months ago](https://wordpress.org/support/topic/user-dashboard-bug/#post-15795686)
 * Hello [@ravizsoft](https://wordpress.org/support/users/ravizsoft/)
 * Remove the first code and Use this demo code.
 *     ```
       add_filter('tutor_dashboard/nav_items', 'add_some_links_dashboard');
       function add_some_links_dashboard($links){
   
           $links['custom_link'] = [
               "title" =>  __('Custom Link', 'tutor'),
               "icon" => "tutor-icon-calender-line",
           ];
   
           return $links;
       }
       ```
   
    -  This reply was modified 3 years, 11 months ago by [Md. Jobayer Al Mahmud](https://wordpress.org/support/users/jobayertuser/).
 *  Thread Starter [ravizsoft](https://wordpress.org/support/users/ravizsoft/)
 * (@ravizsoft)
 * [3 years, 11 months ago](https://wordpress.org/support/topic/user-dashboard-bug/#post-15795724)
 * i tried this code, but i want to add third party URL.
    This will redirect within
   the dashboard page
 *  Plugin Support [Md. Jobayer Al Mahmud](https://wordpress.org/support/users/jobayertuser/)
 * (@jobayertuser)
 * [3 years, 11 months ago](https://wordpress.org/support/topic/user-dashboard-bug/#post-15796022)
 * Hello [@ravizsoft](https://wordpress.org/support/users/ravizsoft/)
 *     ```
       add_filter('tutor_dashboard/nav_items', 'add_some_links_dashboard');
       function add_some_links_dashboard($links){
   
           $links['custom_link'] = [
               "title" =>  __('Custom Link', 'tutor'),
               'url' => 'custom URL'
               "icon" => "tutor-icon-calender-line",
           ];
   
           return $links;
       }
       ```
   
 *  Thread Starter [ravizsoft](https://wordpress.org/support/users/ravizsoft/)
 * (@ravizsoft)
 * [3 years, 11 months ago](https://wordpress.org/support/topic/user-dashboard-bug/#post-15796179)
 * I have added the above code, if i add url parameter, this will shown above the
   menu title
    i have shared the screenshot please check, [https://prnt.sc/cBNr9ArqT8DP](https://prnt.sc/cBNr9ArqT8DP)
 *  Plugin Support [Md. Jobayer Al Mahmud](https://wordpress.org/support/users/jobayertuser/)
 * (@jobayertuser)
 * [3 years, 11 months ago](https://wordpress.org/support/topic/user-dashboard-bug/#post-15797917)
 * Hello [@ravizsoft](https://wordpress.org/support/users/ravizsoft/)
 * Little changes previous code has little comma mistake use this code.
 *     ```
       add_filter('tutor_dashboard/nav_items', 'add_some_links_dashboard');
       function add_some_links_dashboard($links){
   
       	$links['custom_link'] = [
       		"title" =>	__('Custom Link', 'tutor'),
       		"url" => "//youtube.com",
       		"icon" => "tutor-icon-calender-line",
   
       	];
       	return $links;
       }
       ```
   
 *  Thread Starter [ravizsoft](https://wordpress.org/support/users/ravizsoft/)
 * (@ravizsoft)
 * [3 years, 11 months ago](https://wordpress.org/support/topic/user-dashboard-bug/#post-15798100)
 * I just copied and pasted your code, same issue still url is visible
    [https://prnt.sc/3IFKKpRFWlff](https://prnt.sc/3IFKKpRFWlff)
 *  Plugin Support [Md. Jobayer Al Mahmud](https://wordpress.org/support/users/jobayertuser/)
 * (@jobayertuser)
 * [3 years, 11 months ago](https://wordpress.org/support/topic/user-dashboard-bug/#post-15798179)
 * Hello [@ravizsoft](https://wordpress.org/support/users/ravizsoft/)
 * Update your template file from your theme. Check this link for that [https://docs.themeum.com/tutor-lms/developers/override-templates/](https://docs.themeum.com/tutor-lms/developers/override-templates/)
 *  Thread Starter [ravizsoft](https://wordpress.org/support/users/ravizsoft/)
 * (@ravizsoft)
 * [3 years, 11 months ago](https://wordpress.org/support/topic/user-dashboard-bug/#post-15799280)
 * If i add the plugin templates folder to child theme, the samething will repeat.
   Basically i’m using twenty twenty two theme.
 *  Thread Starter [ravizsoft](https://wordpress.org/support/users/ravizsoft/)
 * (@ravizsoft)
 * [3 years, 11 months ago](https://wordpress.org/support/topic/user-dashboard-bug/#post-15799283)
 * Documentation says that you can modify the templates if i add templates folder
   within the child theme. What do i modify
 *  Thread Starter [ravizsoft](https://wordpress.org/support/users/ravizsoft/)
 * (@ravizsoft)
 * [3 years, 11 months ago](https://wordpress.org/support/topic/user-dashboard-bug/#post-15799295)
 * Mine concern is simple, it’s showing url of the custom menu above the menu title
   when i visit the dashbord page
    check this screenshot, [https://prnt.sc/cBNr9ArqT8DP](https://prnt.sc/cBNr9ArqT8DP)
 *  Plugin Support [Md. Jobayer Al Mahmud](https://wordpress.org/support/users/jobayertuser/)
 * (@jobayertuser)
 * [3 years, 11 months ago](https://wordpress.org/support/topic/user-dashboard-bug/#post-15799372)
 * Hello [@ravizsoft](https://wordpress.org/support/users/ravizsoft/)
 * Do one thing send an email here support at themeum dot com. we will access your
   site and check why the URL is not working and it’s coming as text cause On our
   site it’s working as a custom link no problem found as you mentioned.

Viewing 13 replies - 1 through 13 (of 13 total)

The topic ‘User dashboard bug’ is closed to new replies.

 * ![](https://ps.w.org/tutor/assets/icon-256x256.gif?rev=3193875)
 * [Tutor LMS - eLearning and online course solution](https://wordpress.org/plugins/tutor/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/tutor/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/tutor/)
 * [Active Topics](https://wordpress.org/support/plugin/tutor/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/tutor/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/tutor/reviews/)

 * 13 replies
 * 3 participants
 * Last reply from: [Md. Jobayer Al Mahmud](https://wordpress.org/support/users/jobayertuser/)
 * Last activity: [3 years, 11 months ago](https://wordpress.org/support/topic/user-dashboard-bug/#post-15799372)
 * Status: resolved