WordPress.org

Ready to get started?Download WordPress

Forums

Tweet, Like, Google +1 and Share
HTML codes in title and Twitter (4 posts)

  1. michaelcollado
    Member
    Posted 3 years ago #

    I love the Tweet, Like, Share, +1 plugin A LOT but I'm having a bit of a problem.

    I use <em> codes in my post titles quite heavily because I'm referencing titles of shows; Facebook and Google can understand not to show the code themselves but when someone clicks on the tweet button they get nasty coding plus <em> ITALICIZED WORD </em>

    Is there any way to edit so that the plugin gets the_title_attribute (without the HTML markup) than just the_title?

  2. sudipto
    Member
    Plugin Author

    Posted 3 years ago #

    yes it can be done. But you need to edit the plugin code and remove the HTML tags from the title... Then passing the Title (without HTML tags) to the Twitter button script.

  3. michaelcollado
    Member
    Posted 3 years ago #

    Thanks for telling me it can be done!

    How exactly would I go about editing the plugin to work in my favor?

  4. sudipto
    Member
    Plugin Author

    Posted 3 years ago #

    First of all don't try to edit the plugin if you are not familiar with PHP and also how WordPress works. Also never try to edit the plugin on your live site.

    You are required to display_social4i function.
    $ptitle contains the title of the post.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic