Viewing 3 replies - 1 through 3 (of 3 total)
  • Thread Starter michaelcollado

    (@michaelcollado)

    Never mind. I misspelled “attribute” in the code and broke the site which is why I thought it wasn’t possible. If anyone’s having this problem just look for

    $post_title = get_the_title();

    In tf_display.php and replace it with

    $post_title = the_title_attribute();
    Thread Starter michaelcollado

    (@michaelcollado)

    Wait, unresolved actually. It does help but it displays the title anyway before the button on the post. :/ Anyone know of a way to filter out HTML code for the twitter button?

    Thread Starter michaelcollado

    (@michaelcollado)

    Hahaha! Okay, I’m the worst. Figured it out now:

    Once again, if anyone needs it:

    $post_title = the_title_attribute (array('echo' => 0) );
Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘[Plugin: Add Twitter, Facebook Like, Google plus one Social share] Strip title of HTML for Twitter’ is closed to new replies.