-
Author
-
March 9, 2018 at 20:18 #191147getmebrianParticipant
Hi there. This is probably a silly question, but I need to change the “baked in” header text of the portfolio preview at the bottom of a portfolio page. How do I do that? Currently, the text defaults to “Related Projects”. See attached. Thanks!
Attachments:
You must be logged in to view attached files.March 10, 2018 at 17:18 #191221Kieran_SQModeratorHi,
Thanks for contacting us about translations. If you’re not already using a translation plugin and do not plan to offer your site in multiple languages you can use the below snippet in your KLEO Child theme’s functions.php file to change this one string.
COPY CODEfunction change_translate_text_multiple( $translated ) { $text = array( 'Related Projects' => 'New Translation 1', ); $translated = str_ireplace( array_keys($text), $text, $translated ); return $translated; } add_filter( 'gettext', 'change_translate_text_multiple', 20 );
In the above example please change New Translation 1 to your desired string.
If you are using a translation plugin, like Loco Translate, you can simply search for the string ‘Related Projects’ and translate to your desired string.
Thanks,
Kieran
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionIf you like the theme or the support you've received please consider leaving us a review on Themeforest!
Custom development requests can be sent to dev@seventhqueen.com, one of the development team will be happy to discuss your needs.
March 10, 2018 at 22:06 #191286getmebrianParticipantThanks! It doesn’t like the closing parentheses on the argument for some reason. See attached.
Attachments:
You must be logged in to view attached files.March 10, 2018 at 22:08 #191289Kieran_SQModeratorHi,
It looks like you haven’t copied the code from the code snippet within the ticket as you have &039 etc within the line above. Please copy the code as is from the ticket and try again.
Thanks,
Kieran
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionIf you like the theme or the support you've received please consider leaving us a review on Themeforest!
Custom development requests can be sent to dev@seventhqueen.com, one of the development team will be happy to discuss your needs.
March 10, 2018 at 22:11 #191291Kieran_SQModeratorNo worries at all, does it work for you now?
Kieran
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionIf you like the theme or the support you've received please consider leaving us a review on Themeforest!
Custom development requests can be sent to dev@seventhqueen.com, one of the development team will be happy to discuss your needs.
March 10, 2018 at 22:28 #191294Kieran_SQModeratorHi,
I will refer this ticket to one of our developers for review as I am not sure where it is inheriting the ‘projects’ from. They’ll be in touch with you as soon as they can, Monday to Friday, East European Time.
Thank you for your continued patience,
Kieran.
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionIf you like the theme or the support you've received please consider leaving us a review on Themeforest!
Custom development requests can be sent to dev@seventhqueen.com, one of the development team will be happy to discuss your needs.
March 12, 2018 at 15:55 #191473RaduModeratorHi,
The text can be changed using visual composer…
Go to wp-admin -> portfolio -> rotator cuff and edit directly the page, there it’s “Related Projects” text
Cheers
RHi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionMarch 12, 2018 at 18:28 #191508getmebrianParticipantHaha. Of course, it’s right there. I spent hours searching, thinking it was built-in. Thanks.
March 13, 2018 at 16:12 #191575RaduModeratorHi,
No problem
Chehers
RHi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution -
AuthorPosts
The forum ‘General questions’ is closed to new topics and replies.