Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #503738

    The twitter shares a weird tweet

    EG: https://www.midischool.com/studios/

    Try sharing with the twitter and it shares this

    Studios https://www.midischool.com/?p=6609

    i have tried it ion the twitter Card Validator and its what it should be, Correct

    The content it should share is set up correctly in the SEO yoast at the bosom of the admin page., Facebook and google work just fine/

    Idea?

    #503829

    Hey midischool!

    Thank you for using Enfold.

    The social share element will fetch the current url of the page, in this case, https://www.midischool.com/?p=6609. I’m sorry but I don’t think this is going to work the way you expected. Please use a third party plugin or script that will work in the current setup of the page.

    Regards,
    Ismael

    #503899

    Im using the built in Enfold Social share buttons element, So what you are saying is that the twitter on the enfold actual built in element does not work?

    Surly not!?

    Why does it fetch the current page number url of the page not the name? Kind of pointless in having the twitter element their then??

    Why bother putting it in if it just shares a page number, thats of no use… I am using a 3rd party sharer and that works but we wanted the styling of the enfold one as it fits the site./ theme.. Facebook works fine as does google +

    #504078

    Hey!

    Twitter only allows a certain amount of character per tweet so it makes sense to use small permalinks like that. If you switch to pretty permalinks then the URL might get truncated and not work.

    If you still want to change it then open up /enfold/includes/helper-social-media.php and change line 148 from

    'twitter' 	=> array("encode"=>true, "encode_urls"=>false, "pattern" => "https://twitter.com/share?text=[title]&url=[shortlink]"),

    to following

    'twitter' 	=> array("encode"=>true, "encode_urls"=>false, "pattern" => "https://twitter.com/share?text=[title]&url=[permalink]"),

    Best regards,
    Yigit

    #504254

    Ok got it, thanks

Viewing 5 posts - 1 through 5 (of 5 total)
  • The topic ‘Social share buttons’ is closed to new replies.