Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #570900

    Hi,
    I selected to have my social media button displayed after a blog but when people are sharing on Twitter, my twitter handle doesn’t show on what they are sharing. How do I add my twitter handle on what they are sharing on twitter?

    #571153

    Hi webblove,

    Could you provide us with a link to the site in question so that we can take a closer look please?

    Thanks,
    Rikard

    #577548
    #578267

    Hi!

    Thank you for the link. Please add this in the functions.php file:

    // modify social share args
    add_filter('avia_social_share_link_arguments', 'avia_add_social_share_link_arguments', 10, 1);
    function avia_add_social_share_link_arguments($args)
    {
    	$args['twitter']['pattern'] = 'https://twitter.com/share?text=[title]%20@something&url=[shortlink]';
    	return $args;
    }
    

    Change @something to your actual twitter handle.

    Regards,
    Ismael

    #583049

    Hi,
    the other thing that is not done when the link is shared on twitter is the URL not formated to have http://website.com/blogtitle.
    It gives the wordpress default format even when I changed it in settings to be website.com/blogtitle (permalink). How do I fix that?

    #583361

    Hey!

    Please refer to my post here – https://kriesi.at/support/topic/social-share-buttons-3/#post-504078

    Cheers!
    Yigit

Viewing 6 posts - 1 through 6 (of 6 total)
  • You must be logged in to reply to this topic.