Support » Plugin: MashShare - Social Media Share Buttons, Social Share Icons » Can we hard code @TwitterName?

Viewing 5 replies - 1 through 5 (of 5 total)
  • Hi Chris,

    please try this and give me feedback if it works:

    file class.mashsharer.php line 142:

    <a class="twitter" href="javascript:mashTwSharrer(\'' . $url . '\', \'' . $title . '\', \'Twitter share popup\', \'http://goo.gl/dS52U\', 520, 350)">Tweet on Twitter</a>

    change to:

    <a class="twitter" href="javascript:mashTwSharrer(\'@your-twitter-name ' . $url . '\', \'' . $title . '\', \'Twitter share popup\', \'http://goo.gl/dS52U\', 520, 350)">Tweet on Twitter</a>

    regards,
    René

    Does it work?

    Thread Starter Christopher Glaeser

    (@cglaeser)

    Hi Rene,

    Thanks for suggesting the code. I am finishing up another project and hope to test this soon.

    Best,
    Christopher

    I just tried this and it doesn’t work. The @yourtwittername doesn’t appear in the tweet and it removes the URL.

    Thread Starter Christopher Glaeser

    (@cglaeser)

    @jtracy, thanks for testing this.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Can we hard code @TwitterName?’ is closed to new replies.