Support Forums for LiveMesh Themes & Plugins › Forums › FitPro Theme Support › Changing trainer labels on Single trainer page
Tagged: certifications, labels, single trainer, specializations
- This topic has 13 replies, 2 voices, and was last updated 7 years, 11 months ago by rubyvandort.
-
AuthorPosts
-
April 6, 2016 at 9:58 pm #20446rubyvandortMember
Hi!
So my last question:) (i think) I would like to change 2 labels on the single trainer pages. Right now it says: 1Specializations & 2Certifications and i would like it to say: 1Credentials & 2Personal info
I do sometimes change some codes in php so am not afraid to do that if needed. I already have a childtheme so should be pretty easy, but i could not figure out which lines to change and in which file precisely.
Could you help me out so i can change the 2 labels?:)
cheers!
April 7, 2016 at 6:19 am #20455VeenaModeratorThis reply has been marked as private.April 7, 2016 at 8:16 am #20459rubyvandortMemberHi!
Thanks for the quick response! So i went in to ftp and as you already thought the files were not in the language folder. So i added the files you gave me, but in those po/mo files the strings “specialiazations” and “Certifications” are not included. They are no where to be found 🙁
I used cmd f to find them and after that i manually searched through the files, but nothing there.Could it be that the files are for another theme maybe? I use fitpro (just to be sure)
Cheers!
April 7, 2016 at 9:19 am #20460VeenaModeratorThis reply has been marked as private.April 7, 2016 at 2:55 pm #20466rubyvandortMemberHi!
No problem haha it happens.
So i used your files, and this time indeed found Specialization/Certifications, i changed them both and saved them. But when i look on the website nothing is changed, should i change anything else to make it work?Cheers,
April 8, 2016 at 5:37 am #20479VeenaModeratorHit update and save .
I have tried in my local installation and i am able to change strings .
Or
You can change it in the actual file single-trainer.php .April 9, 2016 at 5:32 pm #20510rubyvandortMemberHi!:)
Yeah i did update/save it, but nothing changed. When i tried to change it in single-trainer.php in the past, the whole page would stop working. Even though i am 100% sure that i did not mess up the file the only thing i changed was the word Specializations for example, save it and then the page would not work. If i changed it back, same thing. Only if i uploaded a completely original file right out of the theme package on my computer, then the page would work again for single trainers.
Any idea’s?
ps. sorry for the late reply everytime, but your messages get in my spam folder of my e-mail browser or they don’t arrive at all sometimes, so everytime i need to check online if you replied or not.
Cheers,
April 9, 2016 at 5:35 pm #20511rubyvandortMemberI am using a child theme, does that matter? I have both tried changing the file in the main theme or in the child theme and same result, not working:(
April 11, 2016 at 6:57 am #20521VeenaModeratorThis reply has been marked as private.April 11, 2016 at 12:17 pm #20529rubyvandortMemberHi!
Thanks for the quick reply, however it is still not working.
What i did:
I added your language files in my child theme, and checked if there were any changes, nothing changed. I could refresh the page but everything stayed the same.
So i tried it with the single-trainer.php.
Then i copied the file single-trainer.php and added it in my child theme, then for example changed the line After h5 class=”subheading”> So the line below:echo ‘<h5 class=”subheading”>’ . __(‘Specializations:’, ‘mo_theme’) . ‘</h5>’;
I changed to:
echo ‘<h5 class=”subheading”>’ . __(‘Credentials:’, ‘mo_theme’) . ‘</h5>’;Then i uploaded and saved the file, and when i refreshed the page, the page turns blank and says”Can’t open this page”. The moment i delete the single-trainer.php file in my child theme then it works again.
So i have no idea what i am doing wrong:(
April 11, 2016 at 5:14 pm #20542VeenaModeratorPls share the ftp Credentials as a private msg .
April 11, 2016 at 5:52 pm #20543rubyvandortMemberThis reply has been marked as private.April 12, 2016 at 9:05 am #20561VeenaModeratorI have added single-trainer.php file in fitpro-child theme and done the string modifications .
Pls check.April 15, 2016 at 2:36 pm #20691rubyvandortMemberHiii!
SO SORRY for the late reply, i have been in and out planes for days. I just checked and it worked perfectly thank you so much for your help.
GREAT support:)
Have a nice day/evening!
-
AuthorPosts
- The topic ‘Changing trainer labels on Single trainer page’ is closed to new replies.