This topic has 10 replies, 3 voices, and was last updated 6 years by Radu.

  • Author
  • #191147
     getmebrian
    Participant

    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.
    #191221
     Kieran_SQ
    Moderator

    Hi,

    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 CODE
    function 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 solution

    If 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.

    #191286
     getmebrian
    Participant

    Thanks! 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.
    #191289
     Kieran_SQ
    Moderator

    Hi,

    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 solution

    If 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.

    #191290
     getmebrian
    Participant

    Embarrassing! Thanks 🙂

    #191291
     Kieran_SQ
    Moderator

    No 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 solution

    If 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.

    #191292
     getmebrian
    Participant
    This reply has been set as private.
    #191294
     Kieran_SQ
    Moderator

    Hi,

    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 solution

    If 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.

    #191473
     Radu
    Moderator

    Hi,

    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
    R

    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution
    #191508
     getmebrian
    Participant

    Haha. Of course, it’s right there. I spent hours searching, thinking it was built-in. Thanks.

    #191575
     Radu
    Moderator

    Hi,

    No problem
    Chehers
    R

    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution
Viewing 11 posts - 1 through 11 (of 11 total)

The forum ‘General questions’ is closed to new topics and replies.

Log in with your credentials

Forgot your details?