Welcome to the PageLines Forum. First check out the PageLines Docs to see if we have already answered your question. Before you post please read the forum guidelines.
Upcoming “PageLines Developer Essential Training”
Latest news regarding the developer training videos Click here!
New Framework 2.1.1 Sharebar: Modify "Share ->" text?
  • How do you change the default text in the new Sharebar? I am using Framework 2.1.1 and iBlogPro5 5.1.1

    Site: http://brasesco.com/incanto/

    Thanks,
    J.D.
  • J.D., Are you referring to things like Category, Tags, etc? That should be in Dashboard > Appearance > Widgets but those appear to be default widgets. You might have to remove the widget, then replace it to get an option to edit. When you add a new widget usually there's a title space in the widget where you can specify the text for the header/title.
    PageLines Moderator, Renaissance Man, Food Expert and Raconteur

    Tell us how we are doing in 15 seconds or less
  • @rangelone, I'm trying to change what the sharebar text says, ie Change "SHARE ->" to "If you enjoyed this post, please share it:"

    FjINx.png

    I found this in firebug:
    <em class="pl-sharebar-text">Share →</em>
    

    But I don't know how/where to change it.

    Thanks,
    J.D.
  • JD

    You can change text strings with the language files. Please read this article from Simon: article
    Jackey van Melis | Graphic Designer • Typographer • PrePress Specialist                   @                   Melis Graphic Services  image
    Please no unsolicited PM messages!
    Thanked by 1brasesco
  • @jackey@melisgs.nl Thanks but this may be beyond me. I downloaded POedit and looked in my Pagelines Customize folder but don't see a pagelines.pot file in the directory.
  • jackeyjackey
    @jackey
    This answer was Accepted.
    The .pot file is in the /themes/pagelines/language folder.

    The .mo and .po files you create have to go in the /plugins/pagelines-customize/language folder.
    Jackey van Melis | Graphic Designer • Typographer • PrePress Specialist                   @                   Melis Graphic Services  image
    Please no unsolicited PM messages!
    Thanked by 1brasesco
  • jackeyjackey
    @jackey
    This answer was Accepted.
    The name of the .mo and .po files depend on your current WordPress language setting.

    You can find that setting in your /wp-config.php file.

    There is a line down the bottom of the file:
    define ('WPLANG', 'nl_NL');
    

    The filenames need to correspond with the language code (in my case nl_NL.po and nl_NL.mo).

    You can edit the .po file with poedit, when you save the file, a new .mo file will be created.
    Jackey van Melis | Graphic Designer • Typographer • PrePress Specialist                   @                   Melis Graphic Services  image
    Please no unsolicited PM messages!
    Thanked by 1brasesco
  • That did it. Thanks, Jackey!

    dWJcf.png
  • Looks good, like the transparency.
    Jackey van Melis | Graphic Designer • Typographer • PrePress Specialist                   @                   Melis Graphic Services  image
    Please no unsolicited PM messages!
    Thanked by 1brasesco
  • Hi guys,

    I am also in the same boat as J.D... I want to change the text 'Share ->' to some other text. The entire website is created in English and there is no need for language support for this website. Is there another way to change the text without using the POedit?

    Paul
  • You could create a filter in your function.php but using the language support files is the easy way to go. It also gives you easy access to all other text strings in pagelines.
    Jackey van Melis | Graphic Designer • Typographer • PrePress Specialist                   @                   Melis Graphic Services  image
    Please no unsolicited PM messages!
    Thanked by 1cybersphere
  • paul_sacconepaul_saccone
    @paul_saccone
    This answer was Accepted.
    I love Incanto. GREAT restaurant.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

In this Discussion

Tagged

Weekly Karma