WordPress.org

Ready to get started?Download WordPress

Forums

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

  1. kskwared
    Member
    Posted 1 year ago #

    My current theme has built-in social media integration, but I prefer jetpacks options so I'm using the share buttons through publicize. The buttons are showing up on my pages and posts, but when clicked, they reload the blog page rather than redirecting to facebook, pinterest, or twitter.

    I've tried changing the "open links in" setting, changing the button styles, and switching themes, but the problem persists.

    Right now I still have my theme's sharing buttons activated because I don't want to deactivate them until the Jetpack buttons are working correctly but I've tried the buttons with and without the theme buttons and the same issue happens.

    Any ideas?

  2. Jeremy Herve
    Happiness Engineer
    Plugin Author

    Posted 1 year ago #

    Could you post a link to your site so I can have a look?

    You might also want to check if your theme uses the correct version of jQuery, that comes bundled with WordPress. Some themes deregister jQuery and use their own outdated version, and that can create such issues.

  3. kskwared
    Member
    Posted 1 year ago #

    Hi Jeremy -- Thanks for the response.

    The link to the site is
    http://www.adventurestonowhere.com

    Take a look at any of the posts to see the issue. Right now I still have the share buttons built into my theme activated because the publicize ones aren't working. I've tried getting them to work with and without the buttons from my theme and the same problem persists. I click the share button and the page reloads back to the blog page.

    I will try and figure out how to check on the jQuery version this evening. I'm using the Sexy Thrilling Theme and I've gone to other sites using this same theme and the publicize share buttons work.

    Thanks again.

  4. jlstempel
    Member
    Posted 1 year ago #

    I am having a similar problem on TheCubanReuben.com. My subscribe link doesn't work.

  5. Jeremy Herve
    Happiness Engineer
    Plugin Author

    Posted 1 year ago #

    @kskwared Try removing the call to an old version of jQuery in footer.php, in your theme folder; that should solve the problem.

    @jlstempel I used the sharing buttons and subscribed to your site using the Subscription widget in your sidebar; everything seems to be working properly on your site. Have you managed to find a solution by yourself?

  6. jlstempel
    Member
    Posted 1 year ago #

    Yes, Jeremy. Thanks. I was able to figure it out on my own. It turns out that I moved the widget to the wrong area.

  7. kskwared
    Member
    Posted 1 year ago #

    @Jeremy - I deleted the old version of Query. Now a new window pops up and loads, but instead of loading facebook or pinterest, it reloads my page into a new window....So it appears that is an improvement, but still not taking me to the share site.

  8. Jeremy Herve
    Happiness Engineer
    Plugin Author

    Posted 1 year ago #

    Could you try to disable all other plugins one by one, and see if one them conflicts with Jetpack Sharing buttons?

  9. fastjay4
    Member
    Posted 1 year ago #

    Hi ! I have the same problem with the email and print buttons on Jetpack - they are there but don't work (just return the same page with an error message) - is there somewhere to configure them ? http://www.mplanes.com
    Any help much appreciated.

  10. Jeremy Herve
    Happiness Engineer
    Plugin Author

    Posted 1 year ago #

    @fastjay4 Your theme also uses an old version of jQuery (1.6.1). Removing it should solve the issue.

    You can read more about it here:
    http://wordpress.org/support/topic/troubleshooting-wordpress-35-master-list?replies=4#post-3547424

  11. fastjay4
    Member
    Posted 1 year ago #

    hi Jeremy, thanks a lot for your help. I first went to the link and followed the instructions but no change. For info it is the same problem on Safari and Firefox and I added the script_debug line and still nothing.
    I suppose if deleting jQuery is the answer, how do I do this ? Is it a plugin ? Sorry for the simple questions but I'm not a programmer ...

  12. Jeremy Herve
    Happiness Engineer
    Plugin Author

    Posted 1 year ago #

    You'll want to look for the function loading jQuery in functions.php, in your theme folder, or in the header.php file.

    If you do not feel comfortable editing your theme files, I would suggest that you contact the theme author about it.

  13. fastjay4
    Member
    Posted 1 year ago #

    I am ok editing files as I've done it before but I need to know which lines to delete. In header.php there are 17 references to jQuery beginning:

    <script type="text/javascript">
    // initialise plugins
    jQuery(function(){
    // main navigation init
    jQuery('ul.sf-menu, nav.primary .menu').superfish({

    In the functions.php there is only this reference to jQuery:
    //Loading jQuery and Scripts
    require_once $includes_path . 'theme-scripts.php';

    Can you suggest what I need to do ? Thanks

  14. Jeremy Herve
    Happiness Engineer
    Plugin Author

    Posted 1 year ago #

    In the functions.php there is only this reference to jQuery:

    //Loading jQuery and Scripts
    require_once $includes_path . 'theme-scripts.php';

    That seems to indicate that your theme loads scripts from a file named theme-scripts.php, placed in subdirectory of your theme (maybe inc/, includes/, or functions/)

    Could you check that file, and look for a function calling jQuery?

  15. fastjay4
    Member
    Posted 1 year ago #

    Thanks for your quick reply, sorry for being slow in responding ;-)
    Yes the theme-scripts.php is full of jQuery and it begins like this:

    <?php
    function my_script() {
    if (!is_admin()) {
    wp_deregister_script('jquery');
    wp_register_script('jquery', get_bloginfo('template_url').'/js/jquery-1.6.1.min.js', false, '1.6.1');
    wp_enqueue_script('jquery');

    After this, every line has jQuery in it ....

  16. Jeremy Herve
    Happiness Engineer
    Plugin Author

    Posted 1 year ago #

    Can you delete that function? That should solve your issue.

  17. fastjay4
    Member
    Posted 1 year ago #

    I deleted the function with all the indented text, I then deleted ALL the text in the theme_scripts.php (there is only a first line and a last line in addition to the above) and it just messes up the whole website .....
    BY 'delete function' can you please be more specific (I mean from where to where - the end of the indented text ?) or does it seem like this is not the fix ?

  18. Jeremy Herve
    Happiness Engineer
    Plugin Author

    Posted 1 year ago #

    Could you paste the contents of the file in a pastebin, so I can tell you what to delete?
    http://pastebin.com/

  19. fastjay4
    Member
    Posted 1 year ago #

    done !

  20. Jeremy Herve
    Happiness Engineer
    Plugin Author

    Posted 1 year ago #

    I am sorry for the confusion: can you post the pastebin URL here, so I can have a look?

  21. fastjay4
    Member
    Posted 1 year ago #

  22. Jeremy Herve
    Happiness Engineer
    Plugin Author

    Posted 1 year ago #

    Thanks. That's a lot of things loading on your site!

    Here is how it should look:
    http://pastebin.com/Xqq7mdvk

  23. fastjay4
    Member
    Posted 1 year ago #

    it's fixed the problem ! Thanks so much.
    However .. the site has become very very slow .... do you think it is linked to this issue ?
    http://www.mplanes.com

  24. fastjay4
    Member
    Posted 1 year ago #

    ignore my last comment, it's working fine now ...
    I know that you don't support other templates themes but would you know where this problem could be solved (I am not getting much assistance from the template makers):
    I do not have the dark grey bar menu as per the template which you can see here on a site with the same theme where it works:
    http://www.healinghandsabroad.com
    Thanks ! (this is my last issue...)

  25. Jeremy Herve
    Happiness Engineer
    Plugin Author

    Posted 1 year ago #

    I am not sure I can help you with that, but you might want to try creating a custom menu, under Appearance > Menus in your dashboard.

    You can read more about it here:
    http://codex.wordpress.org/Appearance_Menus_Screen

  26. fastjay4
    Member
    Posted 1 year ago #

    Thanks but I have tried and in any case all I want is the theme's menu bar as it should be.
    Thanks for all your help, you have been most helpful.

  27. TonyScutella
    Member
    Posted 1 year ago #

    My share buttons do not work. when you click on it the result is that it goes to the top of the page. This was working in the past but I just received feedback from some associates about it so I do not know how long the issue has been there. My web site is http://www.shiftingmindsets.ca

  28. peezey01
    Member
    Posted 1 year ago #

    I'm having a similar issue to TonyScutella. My share buttons also do not work... instead they open the blog they're attached to in a new window. (see http://datingshakeup.com)

    The buttons work if I change the 'button style' to 'official buttons' in Publicize Sharing Settings. But if I used 'official buttons' the Facebook Like button has no pop-up dialog to post anything to the users Facebook profile. Whereas I've noticed that the Facebook share button used on this page (http://jetpack.me/2012/11/08/jetpack-2-0-publicize-to-facebook-twitter-linkedin-tumblr-post-by-email-photon-infinite-scroll/) with the button style 'icon + text' opens up a 'Share this link on your timeline etc.' dialog, which I would like to have.

  29. Jeremy Herve
    Happiness Engineer
    Plugin Author

    Posted 1 year ago #

    @TonyScutella See my answer here:
    http://wordpress.org/support/topic/jetpack-share-button-not-working?replies=21#post-3757350

    @peezey01 Could you start a new thread about your issue, since your issue seems different from the one original poster?
    You'll want to try to disable all other plugins first, one at a time, and check if one of them conflicts with the sharing buttons.

    Thank you.

  30. kskwared
    Member
    Posted 1 year ago #

    I'm sure this is overkill by now, but I have one last help question on this thread!

    So after I changed the buttons back to the "official buttons" they finally started working! The only remaining issue that the Pinit button icon isn't showing up. The words show up and it works, but now the icon isn't showing up. Thoughts?

    I'm posting this here since I think the issues are prob somehow related.

    Thanks!

    http://adventurestonowhere.com/mesmerized-by-candles/

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic