Homepage › Forum › Product Support › Medilab › Site Issues
This topic contains 41 replies, has 2 voices, and was last updated by Jackie 5 months, 3 weeks ago.
-
AuthorPosts
-
7 months, 3 weeks ago #29114
Hello,
im not sure what happened, but all of a sudden the website css Is alll messed up, without even touching the website. screenshot attached
Also when we go to https://daralbaraa.com/doctor it was supposed to be our team, kindly let me know how its fixed, and it should also reflect in the url
Attachments:
You must be logged in to view attached files.7 months, 3 weeks ago #29123Hi.
Thank you for contacting us.
For the homepage, it still works fine. Maybe you have fixed that issue.
For the doctor URL, do you want to change the URL to team? Please give us your site admin and FTP account info again. We will help you check it.
Thanks.
7 months ago #29151This reply has been marked as private.7 months ago #29152This reply has been marked as private.7 months ago #29157Hi.
For the doctors link in the breadcrumb, I have changed the source code in this file: wp-content/themes/yolo-medilab/framework/core/functions/class-breadcrumb.php to help you change the doctor's archive page to the team link.
Please recheck it.
Thanks.
7 months ago #29158Hello, you added the wrong link fo the our team. It should be https://daralbaraa.com/team/
Also in the url, if I go to a doctor, it should be https://daralbaraa.com/team/doctor-name
7 months ago #29159Hi.
I have helped you change the breadcrumb to the correct link. Please recheck it.
For the doctor details URL, the doctor link is generated from the post type. It can't change to another URL. You need to change the doctor post type to the team.
Please recheck it.
Thanks.
7 months ago #29163Hello, thank you for that. How would I change the post type to Team?
7 months ago #29165Hi.
I have added the source code below to the functions.php file in the themes folder to help you change the doctor slug to the team slug.
function change_post_types_slug( $args, $post_type ) { /*item post type slug*/ if ( 'doctor' === $post_type ) { $args['rewrite']['slug'] = 'team'; } return $args; } add_filter( 'register_post_type_args', 'change_post_types_slug', 10, 2 );
After adding the source code, you need to save the permalink config again.
Now the https://daralbaraa.com/team/ URL will redirect to the doctor archive page, not to the page you created.Please recheck it.
Thanks.
6 months, 4 weeks ago #29184Hello, im not sure what’s up with but the breadcrumbs are showing the doctors archive again. it was supposed to be Team page, but not sure what happened. I never touched any of the files.
Can you pls advice.
6 months, 4 weeks ago #29196Hi.
Maybe you have updated the theme. I see the file has been modified on Mar 5, 2023. https://prnt.sc/cyKlQXzNQN4a
I have copied the code to help you change the doctor slug.
wp-content/themes/yolo-medilab/framework/core/functions/class-breadcrumb.php
Please recheck it.
Thanks.
6 months, 3 weeks ago #29218Hello, thank you for this. There is one more issue that I have been facing for a while now. And its with the footer of the website. whenever I update something on the website, the footer css messes up and the divider overlaps with the text. I tried regenerating the css with Elementor > Tools, and if the English version is fixed, the arabic version messes up and vice versa. Kindly let me know what is the solution to it.
Secondly, the arabic version, services dropdown menu had to be RTL. The dropdown should drop starting from the right and the columns swapped aswell.
Attachments:
You must be logged in to view attached files.6 months, 3 weeks ago #29239Hi.
As I see, maybe you have updated the theme or rollback to the old version. It removed the custom CSS I have added to your site.
Do you have the cache on the server? I have changed the CSS on your site but it doesn't change.
Please let us know again.
Thanks.
6 months, 3 weeks ago #29246Hello, I have cleared cache, but the issue is still there. This needs to be fixed urgently. Kindly look into it
6 months, 3 weeks ago #29247ok its fixed now, but the arabic dropdown is still the same. Also kindly help me out with the services url mentioned above
-
AuthorPosts
You must be logged in and have valid license to reply to this topic.