Viewing 13 posts - 1 through 13 (of 13 total)
  • Author
    Posts
  • #263205

    Hello
    Just click on the Share Twitter icon in this post: http://www.domodeco.fr/exterieur/terrasse/terrasse-jeux-mineraux-aquatiques.html
    And what? The Url is the short URL…:
    Terrasse : jeux minéraux et aquatiques http://www.domodeco.fr/?p=4129

    #263579

    Hey pako69!

    I believe its to help the character limit that is inherit in tweets.

    Regards,
    Devin

    #263939
    #264116

    Hey!

    I’ll discuss this with Kriesi. Tbh it doesn’t make sense to pass the full url since twitter shortens it anyway. For now we’ll stick with the short url and wait for user feedback.

    Best regards,
    Peter

    #285811

    Back to this old post.
    Enfold Tweet share has other issue.
    Please go to this post: http://www.wax-interactive.com/paroles-d-experts/viuz-les-nouvelles-frontieres-du-marketing-digital
    Try to share it with Twitter :
    Forget the short URL (even if i don’t like it :-)
    but look at the text:
    My original post title is : Libéré de mes péchés digitaux…
    Your title become :
    Libéré de mes péchés digitaux & # 8 2 3 0 ; http://www.wax-interactive.com/?p=478

    #285889

    Hi!

    That’s because of the three dots in the title, they are getting converted to “#8230;”.

    You can avoid that by adding this to your theme or child theme functions.php:

    remove_filter('the_title', 'wptexturize');
    

    Cheers!
    Josue

    #286160

    Thanks Josue.

    If you do not mind I will talk again about my initial resquest: the WordPress shortlink that appear if you use the Enfold Twitter share icon.
    I made some tests and yes, that’s what iI was saying: Twitter has is own URL Shortener
    It means that:
    Blablabla blablabla blablabla … http://www.mysite.com/?p=478
    become:
    Blablabla blablabla blablabla … http://t.co/NOfDx6cyps

    The shortened URL is hidden but the share URL is shown.
    It is a question of aesthetics…

    Can you teel me where I can change the way the short URL is included?

    Thanks

    PS: maybe a good idea should be to have an Enfold option to use others URL Shortener like Google or Bitly?
    That way, each link would be Shortened

    #286319

    Hi!

    You can change that in /includes/helper-social-media.php, line 147. Replace [shortlink] for [permalink].

    Regards,
    Josue

    #286533

    Hello Josue

    I have changed it:
    'twitter' => array("encode"=>true, "encode_urls"=>false, "pattern" => "http://twitter.com/home?status=[title]%20[permalink]"),
    But it do not change anything…

    > I use a child theme, so I copy the file helper-social-media.php from Enfold includes folder to my child includes folder
    It’s like my own helper-social-media.php was not read at all :(

    thank you

    #286727

    Hey!

    Insert this code into the child theme functions.php file and make sure the modified helper-social-media.php is in a folder called “includes”.

    
    require_once( 'includes/helper-social-media.php' ); 			// holds some helper functions necessary for twitter and facebook buttons
    

    Best regards,
    Peter

    #286739

    Thank you Dude it worls now
    But I wonder why for this file only Enfold do not look at if handle my own file?
    An little issue.

    #286764

    Hi!

    Child themes in WordPress don’t replace files that are included via php methods. So anything that is included with require, require_once, include, include_once will not get automatically replaced when you add the same file to your child theme.

    Cheers!
    Devin

    #286789

    okey, thanks for the explanation.

Viewing 13 posts - 1 through 13 (of 13 total)
  • The topic ‘New share on Twitter > it do not take the right permalink’ is closed to new replies.