WordPress.org

Ready to get started?Download WordPress

Forums

Jetpack by WordPress.com
[resolved] Share Buttons Showing but Not Working (42 posts)

  1. Jeremy Herve
    Happiness Engineer
    Plugin Author

    Posted 1 year ago #

    @kskwared The problem is indeed similar to the ones listed above: your theme, Thrilling Theme, includes its own version of jQuery 1.2.1 instead of using the version that of jQuery that comes bundled with WordPress.

    The Pinterest button should start appearing again once you remove this old version of jQuery.

    You will also want to make sure you are running the latest version of the Jetpack plugin, to avoid any other issues.

  2. kskwared
    Member
    Posted 1 year ago #

    I had already deleted the jQuery from the functions.php file, but I looked in the header and found this:

    <?php wp_enqueue_script('jquery'); ?>
    <?php if ( is_singular() ) wp_enqueue_script( 'comment-reply' ); ?>
    <?php wp_head(); ?>

    that's the only jquery reference. Just double checking because I'm technologically challenged in life and have a strong propensity for messing things up - is this what I should delete?

    I updated to the latest jetpack version. Unfortunately it kills my next gen gallery, but oh well, share buttons are more important right now!

  3. kskwared
    Member
    Posted 1 year ago #

    ugh. nevermind. So i deleted the call to jquery in the header then went into the theme and deleted the jquery files. The button still isn't showing up. The text shows, but not the logo. Any ideas of where I could be missing it?

  4. Jeremy Herve
    Happiness Engineer
    Plugin Author

    Posted 1 year ago #

    The button seems to work on my end:
    http://i.wpne.ws/MazE

    Since your site now use the proper version of jQuery, you shouldn't experience any more issues.

  5. emmettmcp
    Member
    Posted 1 year ago #

    Hi Jeremy,

    The only code that I can see that relates to what you are referring to in my theme is this - in theme_javascript.php:

    <?php
    /* ------------------------------------- */
    /* LOAD JAVASCRIPTS */
    /* ------------------------------------- */

    function loadJS() {
    if (!is_admin()) {
    wp_deregister_script('jquery');
    wp_register_script('jquery', APEX_JAVASCRIPT .'/jquery-1.7.min.js', false, '1.7');
    wp_enqueue_script('jquery');

    wp_enqueue_script( 'jqueryeasing', APEX_JAVASCRIPT .'/jquery.easing.1.3.js', false);
    wp_enqueue_script( 'jqueryanimatecolors', APEX_JAVASCRIPT .'/jquery.animate-colors-min.js', false);
    wp_enqueue_script( 'jqueryddsmoothmenu', APEX_JAVASCRIPT .'/ddsmoothmenu.php', false);
    wp_enqueue_script( 'jquerycssanimate', APEX_JAVASCRIPT .'/jquery.cssAnimate.mini.js', false);
    wp_enqueue_script( 'jqueryfitvids', APEX_JAVASCRIPT .'/jquery.fitvids.js', false);
    wp_enqueue_script( 'jqueryflexslider', APEX_JAVASCRIPT .'/jquery.flexslider-min.js', false);
    wp_enqueue_script( 'prettyphoto', APEX_JAVASCRIPT .'/jquery.prettyPhoto.js', false);
    wp_enqueue_script( 'templatejs', APEX_JAVASCRIPT .'/templatejs.php', false);
    }
    }
    add_action('init', 'loadJS');
    ?>

    And changing anything in there seems to just mess up the way everything else is working on the site. I tried deleting the call to bring in that version of JQuery, and I tried changing it to version 1.8... Am I doing that the right way?

    Thanks!

  6. emmettmcp
    Member
    Posted 1 year ago #

    Oh sorry the site is:

    alwayssurfing.com

  7. Jeremy Herve
    Happiness Engineer
    Plugin Author

    Posted 1 year ago #

    That's the right code. You can remove these 2 lines:

    wp_deregister_script('jquery');
    wp_register_script('jquery', APEX_JAVASCRIPT .'/jquery-1.7.min.js', false, '1.7');
  8. emmettmcp
    Member
    Posted 1 year ago #

    Hi Jeremy,

    Thanks so much for getting back to me. THe one issue when I deactivate these two lines of code is that it seems to break the rollovers that the theme has. Not the end of the world but it could be indicative of other issues.

    I notice that the theme calls for jquery.easing.1.3.js as well as jquery.animate-colors-min.js... Is there something I should be changing there?

    Thanks Again!

  9. Jeremy Herve
    Happiness Engineer
    Plugin Author

    Posted 1 year ago #

    THe one issue when I deactivate these two lines of code is that it seems to break the rollovers that the theme has.

    Your theme might not be compatible with the current version of jQuery. Unfortunately, I'm afraid I can only suggest that you contact the theme author and let them know about the issue.

    I notice that the theme calls for jquery.easing.1.3.js as well as jquery.animate-colors-min.js... Is there something I should be changing there?

    These 2 libraries are not included in WordPress Core, so it's fine to load them from an external location.

  10. cdesign99
    Member
    Posted 1 year ago #

    All of my sharing buttons work except the email. I get a fail message.
    Wordpress GorillaThemes Residence. Also, they don't show up on the home page. I did check the box for that.

    http://homesofne.com/about/

    Thanks!

  11. Jeremy Herve
    Happiness Engineer
    Plugin Author

    Posted 1 year ago #

    @cdesign99 Could you please start your own thread, as per the Forum Welcome?
    http://wordpress.org/support/plugin/jetpack#postform

    Thank you!

  12. cdesign99
    Member
    Posted 1 year ago #

    I did just do that. Apologies and thanks.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic