ThemeShaper Forums » Thematic

share-this plugin not working with power blog

(8 posts)
  • Started 9 years ago by gertzse
  • Latest reply from hally
  • This topic is not resolved

Tags:

  1. gertzse
    Member

    I am using power blog. The share-this plugin is installed but not working. I've used it successfully with other (non-thematic) themes. Any ideas?

    thanks!

    Posted 9 years ago #
  2. Tried it on my local install even with the default theme and can't get it to run. Looking into the generated source .. the plugin injects the code into the_content() but it's not executed (IE displays an script error).

    I don't think that this is a typical Thematic problem. Please check the source view of your browser for SHARETHIS.addEntry. If it is listed then it seems to be a script problem. In this case try the ShareThis Support Forum.

    Cheers,

    Chris

    Posted 9 years ago #
  3. gertzse
    Member

    OK, I find the following. Are you saying the problem is with ShareThis? Why, if it works on other themes?

    <p><script type="text/javascript">SHARETHIS.addEntry({ title: "Marvelous Moving Things", url: "http://localhost/?p=40" });</script></p>

    Posted 9 years ago #
  4. hally
    Member

    I too am having the same problem in the sense when I activate the plugin the sharethis feature doesn't show up in my blog posts which I don't know why this is occuring. A solution would be welcome

    Posted 9 years ago #
  5. hally
    Member

    I too am having the same problem in the sense when I activate the plugin the sharethis feature doesn't show up in my blog posts which I don't know why this is occuring. A solution would be welcome

    Posted 9 years ago #
  6. Ok .. currently I don't know if my negative result with WordPress' Default theme is caused by running it on a local machine. I'll give it a second try on my live blog.

    Could you please try one thing .. add the following code to your child theme's functions.php:

    // Filter away the default scripts loaded with Thematic
    function childtheme_head_scripts() {
     // Abscence makes the heart grow fonder
    }
    add_filter('thematic_head_scripts','childtheme_head_scripts');

    This will switch off the menu's bells and whistles (menu will still work).

    Please check and report if the Share-This-Plugin will work after this action.

    You can remove the above mentioned code after the test.

    To be honest .. if it works I still have no solution out of the box for you, 'cause in this case the plugin's script interferes with the Superfish jQuery.

    Cheers,

    Chris

    Posted 9 years ago #
  7. gertzse
    Member

    For now, I am using AddThis, which works.

    Posted 9 years ago #
  8. hally
    Member

    Hello Chris

    I added the code to my functions.php file and it didn't show the sharethis button or feature.

    Posted 9 years ago #

RSS feed for this topic

Reply

You must log in to post.