WordPress.org

Support

Support » Plugins and Hacks » Tweet This » [Plugin: Tweet This] Placing tweet_this function within single.php

[Plugin: Tweet This] Placing tweet_this function within single.php

  • Hi all,

    I am trying to place the tweet_this button above <div class=”entry”>, and below <div class=”post”> within the single.php file. I have inserted this code: <?php tweet_this_manual(); ?> between the two div tags, but when I refresh my page I get a “Fatal error: Call to undefined function tweet_this_manual() in…single.php on line 23”

    From my research it looks like this error message is given with the plugin is not installed, but I have the plugin installed. Am I missing something?

Viewing 1 replies (of 1 total)
  • Plugin Author richardxthripp

    @richardxthripp

    That’s weird… it could be the plugin is loading after that portion of single.php is executed, but I’ve never seen this before. Are you using Tweet This 1.8.1? Try using this instead:

    <?php remove_filter('the_content', 'insert_tweet_this');
    echo insert_tweet_this(); ?>
Viewing 1 replies (of 1 total)
  • The topic ‘[Plugin: Tweet This] Placing tweet_this function within single.php’ is closed to new replies.
Skip to toolbar