• 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 (https://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.

Viewing 4 replies - 1 through 4 (of 4 total)
  • 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!

    Thread Starter cdhs

    (@cdhs)

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

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

    What can I do to make it work?

    chmura

    (@chmura)

    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(); } ?>

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘ShareThis not showing up’ is closed to new replies.