Hello @dan87manc
Please follow these steps:
1. Add the following code to your theme function.php file
add_filter('tutor_dashboard/nav_items', 'add_some_links_dashboard');
function add_some_links_dashboard($links){
$links['your_page'] = array('title' => __('Your Page Title', 'tutor'), 'auth_cap' => tutor()->instructor_role);
return $links;
}
2. Now, create a PHP file your_page.php on this location: tutor/templates/dashboard/
3. Create and edit a page with elementor, after the editing/ designing has been done save the page as a template.
http://prntscr.com/26cnw0l
http://prntscr.com/26cnw67
4. Now navigate to your wordpress dashboard > Templates > Saved templetes. On the right side you will find the specific shortcode for the templete.
5. Now, add the following code to the file your_page.php
<?php
echo do_shortcode('[elementor-template id="14304"]');
?>
Don’t forget to replace the template id with your elementor template id.
Thank you!
Best Regards,
@parag44
Hi Parag
Thank you very much for the detailed reply!
I have followed the instructions and I can now see the link on the dashboard. However, when I click it I get a 404. I have swapped the template id with my page, so that shouldn’t be the problem.
Any thoughts?
Thanks mate!
@dan87manc I wanted to make the same thing on my site and came across your post.
just wondering if you managed to get this work?
-
This reply was modified 1 year, 11 months ago by futureyoon.
Hello @dan87manc!
You can resave permalinks from dashboard-> settings-> permalinks and check again, please
Thank you!
@futureyoon
No, but I haven’t had a chance to try Kardi’s new suggestion, but you should try that.
-
This reply was modified 1 year, 10 months ago by dan87manc.