-
AuthorPosts
-
September 15, 2015 at 10:27 pm #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?
September 16, 2015 at 7:34 am #503829Hey 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,
IsmaelSeptember 16, 2015 at 10:22 am #503899Im 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 +
September 16, 2015 at 1:51 pm #504078Hey!
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,
YigitSeptember 16, 2015 at 4:23 pm #504254Ok got it, thanks
-
AuthorPosts
- The topic ‘Social share buttons’ is closed to new replies.