• Resolved coope

    (@coope)


    I don’t know how to debug this. The social sharing ‘more’ button does not display the popup menu on mouse hover. The jetpack style sheets come after ALL of mine, so I don’t understand why this would be happening.

    It show up if/when I disable display: none in the DOM Developer Tools for chrome.

    On the 2014 theme the code shows up like this:
    <div class="inner" style="left: 801.234px; top: 3875px; display: none;">

    On my theme it shows like this:
    <div class="inner" style="display: none;">

    I don’t know what I should be looking at to fix.

    https://ww.wp.xz.cn/plugins/jetpack/

Viewing 11 replies - 1 through 11 (of 11 total)
  • Plugin Contributor csonnek

    (@csonnek)

    Happiness Rocketeer 🚀

    Can you let me know what site you’re having this problem? Once I have that information, I’ll be better able to help.

    If you want it to remain private, you can also contact us via this contact form:
    http://jetpack.me/contact-support/

    Thanks!

    Thread Starter coope

    (@coope)

    Plugin Contributor csonnek

    (@csonnek)

    Happiness Rocketeer 🚀

    Thank you!

    The issue is that your theme has an outdated version of jQuery and it’s overriding the built-in jQuery library that’s part of WordPress.

    You should contact your theme’s author and have them update the theme to remove this script:

    <script type='text/javascript' src='http://cppcooper.com/wp-content/themes/GroundUp-Substance/_js/jquery.min.js?ver=4.4.2'></script>

    And instead they should be enqueuing jQuery using wp_enqueue_script(); instead of loading its own copy in the theme.

    I hope that helps! Marking as resolved as this is a theme issue.

    Thread Starter coope

    (@coope)

    Thanks for pointing me in the right direction. I made the wordpress theme btw. The built in jQuery doesn’t seem to fix the issue, and in fact a lot of other working features break if I swap it for mine.

    Thread Starter coope

    (@coope)

    Actually, I’ve replaced all the javascript includes with the javascript files listed on a 2014 themed page. (where the share button worked) Still doesn’t work.

    Maybe I am trying too hard to hack a solution here, but it would seem that what you’ve indicated to be the problem is possibly only part of the problem.

    Plugin Author Jeremy Herve

    (@jeherve)

    Jetpack Mechanic 🚀

    I don’t seem to find any sharing buttons on your site at the moment. Did you end up removing them all?
    If so, could you add them back so I can take a closer look?

    Thanks!

    Thread Starter coope

    (@coope)

    Sure, is there a particular way you’d like me to set things up? Or simply add the buttons back?
    edit: the buttons are there, but the javascripting is all the way it was before I started trying to fix the buttons in the theme.

    Plugin Author Jeremy Herve

    (@jeherve)

    Jetpack Mechanic 🚀

    Thank you.

    A specific Jetpack file appears to be missing from your site: sharing.js.

    Do you happen to use a plugin or some code to stop Jetpack from adding that file to your site?

    Thread Starter coope

    (@coope)

    None that I am aware.

    I don’t mind adding it manually to my theme. It is probably something I’ve done in one of my functions that somehow inadvertently removed it.

    Thread Starter coope

    (@coope)

    Cool, I found it on the 2014 theme and added it above <?php wp_footer() ?>

    Seems to be resolved now.

    <script type='text/javascript'>
    /* <![CDATA[ */
    var sharing_js_options = {"lang":"en","counts":"1"};
    /* ]]> */
    </script>
    <script type='text/javascript' src='http://cppcooper.com/wp-content/plugins/jetpack/modules/sharedaddy/sharing.js?ver=3.9.4'></script>
    <script type="text/javascript">
    	(function() {
    		var request, b = document.body, c = 'className', cs = 'customize-support', rcs = new RegExp('(^|\\s+)(no-)?'+cs+'(\\s+|$)');
    
    		request = true;
    
    		b[c] = b[c].replace( rcs, ' ' );
    		b[c] += ( window.postMessage && request ? ' ' : ' no-' ) + cs;
    	}());
    </script>
    		<?php wp_footer(); ?>
    Plugin Author Jeremy Herve

    (@jeherve)

    Jetpack Mechanic 🚀

    I would recommend against adding this to your theme manually, as the code you’ve inserted isn’t dynamic, and won’t be updated when Jetpack is updated. Instead, I’d recommend that you look for the function removing the resource in your theme. Since the resource appears again when switching back to 2014, we can confirm that your theme is causing this issue.

    Let me know how it goes.

Viewing 11 replies - 1 through 11 (of 11 total)

The topic ‘Share Button remains hidden’ is closed to new replies.