NooTheme Premium WordPress Theme › Forums › Other Products › Medicus › Issue with Categories Doctors links
- This topic has 16 replies, 3 voices, and was last updated 2 years, 7 months ago by
_nixstar_.
-
AuthorPosts
-
2 years, 8 months ago #1053975
Hi Jackie.
It has been detected by my customer, but I think that they have reason: currently, when you click on this links, it goes to the Doctor photo, which is absurd.
For me, the more simple solution is delete the links... but, IMPORTANT! maintain the texts in his current location and with the same color.
My customer says me "Yo delete this links", but I defend both their interests and mine: this is Madness, because, currently, is the way of to inform at the users of respectives functions of Professional team (=Doctors).
Please comment me if this is possible, or, in other case, what I can...
NOTE:
If you take care of doing it in person, better than better.
I'm going to try (and I think I'll get) that they'll keep you indefinitely in technical support. It's a small thing, but something is something.
Thank you very much.
Best regards,
Ignacio Iglesias - trespies
2 years, 8 months ago #1054157Hi.
Thank you for contacting us.
Can you tell me the correct link to doctor photo?
We have hover to doctor info, it links to doctor details, not doctor photo as you said.
If yes, please give us some image about that.
Thank you.
Jackie.
2 years, 8 months ago #1054286Hello Jackie
Sorry for the delay in my response but I had to leave on an urgent trip and had no coverage.
The case is this: I want to keep the texts of the categories (because it is the way for the user to know who is who in my customer's Clinic), but remove the links from these texts, because they only lead to the same photo of the Professional Team member, which does not make sense.
I tried to insert texts in these categories, but it did not work, the same thing happened and only the photo of the person in question appeared.
So what I need is (1) keep these texts highlighted and (2) remove their links.
I attached screenshot.
Thank you very much.
Best regards,
Ignacio Iglesias - trespies
Attachments:
You must be logged in to view attached files.2 years, 8 months ago #1054447Hi again.
If you don't want the link, you can add the code as this to get the category
$categories = get_the_term_list(get_the_ID(),'doctor_category'); $categories = strip_tags( $categories ); echo $categories;
Or use the code
$categories = wp_get_object_terms(get_the_ID(),'doctor_category');
to
this will return the array, and you need to use the code to print the array item.Please check it again.
Thank you.
Jackie.
2 years, 8 months ago #1054631Hi again Jackie.
It is not clear to me where to insert this code ... Could I do it directly in the "Custom JavaScript" of "Custom Code", within Customizer, or do I have to insert it in a specific document?
Thank you very much.
Best regards,
Ignacio Iglesias - trespies
2 years, 8 months ago #1054736Hi again.
Sorry for the missing, please check the code at file /wp-content/themes/noo-medicus/functions_custom.php line 486 you will see the code get doctor category
$categories = get_the_term_list(get_the_ID(),'doctor_category');
The code will get the category with the link, but if you don't want the link, you can use the code in our previous message
$categories = get_the_term_list(get_the_ID(),'doctor_category'); $categories = strip_tags( $categories ); echo $categories;
Please check it again.
Thank you.
Jackie.2 years, 8 months ago #1054795Hi Jackie.
It works ! 🙂
Thank you very much.
Best regards,
Ignacio Iglesias - trespies
2 years, 7 months ago #1055598I see that the Doctors categories links already don't show in the Doctors page (http://odontologia.trespies.com/equipo-profesional), but in the Doctor single page they follow showing (for example http://odontologia.trespies.com/equipo-profesional/doctora-maria-eugenia-subirana-izquierdo).
I've used the same code than the functions_custom.php in "" of single-noo_doctor and ..\framework\functions\noo-html-shortcodes, but the links remain.
How can I fix this, so that the links do not appear (but the names of the categories remain, as in the Doctors page)?
Thank you very much.
Best regards,
Ignacio Iglesias - trespies
2 years, 7 months ago #1055756Hi again,
Thanks for getting back to us.
Please check again your admin account then give us soon. We will help you to check this issue.
Best Regards,
Tracy - NooTheme
2 years, 7 months ago #1055772This reply has been marked as private.2 years, 7 months ago #1055773This reply has been marked as private.2 years, 7 months ago #1055774This reply has been marked as private.2 years, 7 months ago #1055775Hi.
In any case, is obvious that someone is changing the password of Admin Account "nootheme": the another day I set these password, I check it, and it works perfectly.
2 years, 7 months ago #1055861Hi again.
I have checked your site and found the issue from the wrong file.
Because you using the child-theme and also have the custom file single-noo_doctor.php, but the changed on the parent theme
wp-content/themes/noo-medicus/single-noo_doctor.php
That is why the change can't affect the child theme.
I have helped you change the file.
Please check it again.
Thank you.
Jackie.
2 years, 7 months ago #1055890Hi Jackie.
So, Must I copy the changed file single-noo_doctor.php in the child theme, no?
Thank you very much.
Best regards,
Ignacio Iglesias - trespies
2 years, 7 months ago #1055891Ok, perfect! It works.
Thank you very much Jackie.
Best regards,
Ignacio Iglesias - trespies
2 years, 7 months ago #1055942This reply has been marked as private. -
AuthorPosts
You must be logged in and have valid license to reply to this topic.