Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #300289

    Hi – we’d like to add “via @username” to the twitter share. Is this possible, and if so, where would we edit it?

    Thanks!

    #300495

    Hi interage!

    Thank you for using the theme.

    You can edit includes > helper-social-media.php, find this code on line 147:

    'twitter' 	=> array("encode"=>true, "encode_urls"=>false, "pattern" => "http://twitter.com/home?status=[title]%20[shortlink]"),
    

    Replace it with:

    'twitter' 	=> array("encode"=>true, "encode_urls"=>false, "pattern" => "http://twitter.com/home?status=[title]%20[shortlink]" , 'label' => __("Share on Twitter via @username",'avia_framework')),
    

    Change the username on the label.

    Cheers!
    Ismael

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