Tagged: social share buttons
Hi!
When I want to share a post with Twitter using Social Share Buttons, website URL is seen as http://www.example.com/?p=3349. Even my URL is /%postname/, how can I solve this problem?
Thank you in advance…
Can anybody help me?
I can not find a solution in spite of seaching solution from Web and Forum for hours!
Hi!
Can you post the link to your website please?
For your information, our queue goes from the oldest queries to the newest queries and each time you self post, you are pushing your query to the end of the queue.
Cheers!
Yigit
Hi!
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 this.
'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]"),
Regards,
Yigit
It worked! Thank you so much for help Yiğit!
Hey!
You are welcome, we are always happy to help :)
For your information, you can take a look at Enfold documentation here – http://kriesi.at/documentation/enfold/
And if there are features that you wish Enfold had, you can request them and vote the requested ones here – https://kriesi.at/support/enfold-feature-requests/
For any other questions or issues, feel free to post them here on the forum and we will gladly try to help you :)
Best regards,
Yigit