Navigation
This is archived content. Visit our new forum.

Tagged: 

  • Author
    Posts
  • #1126775
    pcnordhaug
    Participant

    Hi there!

    I have a problem when trying to change the text on the entry share shortcode. The mouse over text and the generated text that appears automatic in a mail when this button is hit.

    Have search a bit here for a solution but doesn´t found any that works.

    What i want is to change the language. I have done this the right way with the .po- and .mo-file (and yes, I have a child theme set up – have already done a lot of changes to the theme).

    Changing this language files works fine for the buttons and info if you select it from the portfolio section in the theme setup. Problem when this is done is that these sharing icons shows up on every post.

    I want to just show them on some. Plus on a few blog post.

    Therefore the Entry Share Shortcode are perfect. But on these the text are still the same. Why?

    I have tried many things;

    Found a code to put in the function file in the child theme. But this crashed the hole site. Removed this code and the site works again.

    I have also change the .portfolio.php file i found in this location:
    wp-content – themes – x – framework – functions – global …

    Do you please have a solution to solve this issue? 🙂

    #1126776
    pcnordhaug
    Participant
    This reply has been marked as private.
    #1126936
    Christian
    Moderator

    Hey there,

    Would you mind providing us with login credentials so we can take a closer look? To do this, you can make a post with the following info:

    – Link to the page with issue
    – WordPress Admin username / password
    – FTP credentials

    Don’t forget to select Set as private reply. This ensures your information is only visible to our staff.

    Thanks.

    #1126939
    pcnordhaug
    Participant
    This reply has been marked as private.
    #1126941
    pcnordhaug
    Participant

    A general question really. Per now the shortcode is not on any page.
    Want to be able to change the text one these in general. Have another site also whith this theme…

    #1127093
    Christian
    Moderator

    We’d like to check the back-end setup and sorry but I don’t see the Entry Share setup anywhere in this page http://www.norsksykling.no/?1913287004

    Thanks.

    #1127123
    pcnordhaug
    Participant
    This reply has been marked as private.
    #1127320
    Lely
    Moderator

    Hi There,

    Perhaps you forget your admin username? I am not able to access the page because I need to login first.

    #1127344
    pcnordhaug
    Participant
    This reply has been marked as private.
    #1127666
    Jade
    Moderator

    Hi there,

    Please try the suggestion on this thread.

    In case you are not able to make it work, kindly provide us with your FTP details as well so that we can check it.

    #1127717
    pcnordhaug
    Participant
    This reply has been marked as private.
    #1127718
    pcnordhaug
    Participant
    This reply has been marked as private.
    #1128222
    Rue Nel
    Moderator

    Hello There,

    You should be changing the text in your language file. If you cannot find it in your .po file, you must update your language file. To know how you can update your .po file from the latest X .pot file, please check out his articles:
    https://wordpress.org/support/topic/poedit-how-to-update-pot-and-mo-po-files
    marketpressthemes.com/blog/how-to-merge-two-po-files-using-poedit/

    Hope this helps.

    #1128339
    pcnordhaug
    Participant
    This reply has been marked as private.
    #1128473
    Rue Nel
    Moderator

    Hello There,

    Even if you change the text in the portfolio.php, it will not change because you are using a shortcode. You still have to translate Cornerstone too! The easiest way you can translate it is by using this custom function:

    // Change Email text
    // =============================================================================
    function change_email_text($translated) { 
      $translated = str_ireplace('Hey, thought you might enjoy this! Check it out when you have a chance:', 'insert your translation here', $translated);
      return $translated; 
    }
    add_filter('gettext', 'change_email_text' );
    // =============================================================================

    Hope this helps. Please let us know how it goes.

  • <script> jQuery(function($){ $("#no-reply-1126775 .bbp-template-notice, .bbp-no-topic .bbp-template-notice").removeClass('bbp-template-notice'); }); </script>