WordPress.org

Forums

ShareThis not showing up (5 posts)

  1. cdhs
    Member
    Posted 7 years ago #

    I was using default WP theme and Sharethis was showing up well on the index page and the individual pages. I switched to BloggingPro theme (http://bloggingpro.com/) and Sharethis stopped showing up.

    I manually added the code in index.php, but sharethis is still not working.

    <?php if (function_exists(’sharethis_button’)) { sharethis_button(); } ?>

    Any pointers will be helpful.

  2. ShareThis
    Member
    Posted 7 years ago #

    Hello,

    Manually changing the single quotes around the "sharethis_button" parameter of function_exists should fix the issue as the slanted single quotes are not code compliant.

    This is an error caused by copying and pasting the code from the sharethis support website. We apologize for the inconvenience.

    Thanks for using ShareThis!

  3. cdhs
    Member
    Posted 7 years ago #

    I fixed the issue. The new theme was missing wp_head(), so sharethis_button didn't exist. Adding wp_head() showed the sharethis button.

  4. kugelblitz
    Member
    Posted 7 years ago #

    My ShareThis button is showing up and working on the serverpage http://kisd.de/~martinb/
    but not working on the frame forwarded page
    http://zehn-kleine-spielfiguren.de

    What can I do to make it work?

  5. chmura
    Member
    Posted 7 years ago #

    I am having the same issue and would like to know where I have to add wp_head() to.
    Does it go somewhere in here?
    <?php if (function_exists(’sharethis_button’)) { sharethis_button(); } ?>

Topic Closed

This topic has been closed to new replies.

About this Topic