Homepage › Forum › Product Support › Medilab › How to change the path for doctors
- This topic has 11 replies, 2 voices, and was last updated 3 years ago by
Jackie.
-
AuthorPosts
-
3 years, 1 month ago #28734
Hello, when I go to any doctor like http://abdullahs21.sg-host.com/doctor/dr-hatem-matar/
and if I click on the breadcrumb “doctor”, it takes me to http://abdullahs21.sg-host.com/doctor/ .
I want it to redirect to http://abdullahs21.sg-host.com/team/
how do I do that?
3 years, 1 month ago #28738Hi.
To change the breadcrumb link for the doctor archive page, please change the source code at file:
/wp-content/themes/yolo-medilab/framework/core/functions/class-breadcrumb.php line 84-85,
if (function_exists('get_post_type_archive_link') && !empty($post_type_object->has_archive) && $wp_query->post->post_type != 'doctor') $item[] = '- labels->name) . '">' . $post_type_object->labels->name . '
'; if ($wp_query->post->post_type == 'doctor') { $item[] = '- Doctors
'; }Please recheck it.
Thanks.
3 years, 1 month ago #28748Thank you, but is there a way to use this as the page for the Our team tab on the website, instead of using the doctors page. Also, how would I change the weight of the font for the title and the subtitle for the doctors archive:
3 years, 1 month ago #28754This gives me an error the code you shared
3 years, 1 month ago #28764Hi.
Please share the file you have to add the custom code, we will help you check it. Maybe have some missing on the source code.
To change the font for the title and subtitle, please check the theme options/ typography/ Page title font https://prnt.sc/QJJMroNI0oj_
Please recheck it.
Thanks.
3 years ago #28927Hello, It wont let me attach the file below for security reasons. I have pasted the txt file. Please note that the path should also be changed for the arabic version.
3 years ago #28928remove source code
3 years ago #28936Hi.
I have edited the source code in this file: wp-content/themes/yolo-medilab/framework/core/functions/class-breadcrumb.php and give us the error.
Can you give me the FTP account?
Thanks.
3 years ago #28938This reply has been marked as private.3 years ago #28943Hi.
I have helped you change the doctor path to the team URL, please recheck it.
Thanks.
3 years ago #28948Thank you, but pls check in the arabic version, it takes you to the English version
3 years ago #28967Yes. I have helped you change the source code at file: wp-content/themes/yolo-medilab/framework/core/functions/class-breadcrumb.php line 94 to fix that issue.
Please recheck it.
Thanks.
-
AuthorPosts
You must be logged in and have valid license to reply to this topic.
