Viewing 12 replies - 1 through 12 (of 12 total)
  • Plugin Author Brandon Kraft

    (@kraftbj)

    Code Wrangler

    The sharing bar is added through a filter onto the_content area. It looks like you’re using a child theme of Twenty Fourteen. Is there another plugin or your functions.php that is adding add_filter( 'the_content', 'sharing_display', 19 );?

    Thread Starter Sheriziya

    (@sheriziya)

    I haven’t got a clue! I’m as far to my knowledge not using a child theme, just the Twenty Fourteen Theme. But I do have Twentyfour Extended, Styles and Styles extended as plugins installed. Does that matter somehow?

    I’ve searched the functions.php for the line you suggested, but the only things I find for add_filter are the following:
    add_filter( 'use_default_gallery_style', '__return_false' );
    add_filter( 'body_class', 'twentyfourteen_body_classes' );
    add_filter( 'post_class', 'twentyfourteen_post_classes' );
    add_filter( 'wp_title', 'twentyfourteen_wp_title', 10, 2 );

    Does that give any clue?

    Thanks for the help again, Brandon!

    Plugin Author Brandon Kraft

    (@kraftbj)

    Code Wrangler

    In that case, can you try with deactivating all other plugins (besides Jetpack) to easily determine if one of your other plugins is causing it?

    Thanks!

    Thread Starter Sheriziya

    (@sheriziya)

    Oh, duh! Why didn’t I think about that? I’ll try that immediately!

    Thanks for reminding me πŸ™‚

    Thread Starter Sheriziya

    (@sheriziya)

    Okay. Back from dinner and a few phonecalls and back on the subject :).

    I’ve deactivated all plugins (including Jetpack) first to see how everything would look. It all seemed normal.

    I’ve activated Jetpack and again I seem to have a problem with the sharing module in one post and the featured image in the previous post. As far as I can now it’s not a double module, but instead part of the sharing module is now covered by the featured image of the previous post below it.

    Here’s an example of what it looks like. I don’t know if it matters, but the post of which the sharing module is partly readable is a private post.

    I ask this, because I noticed the whole sharing/liking thing seems a bit off. I can share the private post, but cannot like it. The option is nowhere to be found, not even in the code. I’ve checked with Inspector in Firefox, but there’s no “sharedaddy sd-block sd-like jetpack-likes-widget-wrapper jetpack-likes-widget-loaded” in the private post. I get why a visitor wouldn’t be able to like a private post, but why is a visitor able to share a private post? Cause I can clearly see that code with the private post.

    Also, with a public post I noticed part of the “like” text is being covered by the featured image. Here’s an example of what I mean.

    Don’t know if these images are helpful, but I thought I’d link them anyway.
    You can find the live version here.

    Just to be sure I’m activating Akismet and Limit Login attempts again. I’ll leave the rest of the plugins deactivated.

    The above screenshots were made with only Jetpack as a plugin activated and nothing else with theme Twenty Fourteen.

    Plugin Author Brandon Kraft

    (@kraftbj)

    Code Wrangler

    For the overlapping, were those images possibly uploaded before switching to your current theme? I tried uploading the same picture to my site and it looked as expected.

    Could you try using the Regenerate Thumbnails plugin http://wordpress.org/plugins/regenerate-thumbnails/ ? Once installed and activated, there will be an option to regenerate thumbnails in the Tools menu.

    Liking is disabled on private posts since the like is recorded on WordPress.com. Since the post is private, we intentionally decline to sync any part of the post on our system. Being able to share a private post, that’s a good point. I’ll ensure there’s not a reason we are showing those links that isn’t obvious to me.

    Cheers!

    Thread Starter Sheriziya

    (@sheriziya)

    Hey Brandon,

    I’ve never switched themes. I’ve installed wordpress with the default themes and TwentyFourteen was already installed and default activated.

    The pictures were uploaded while the plugins like 2014 Extended, styles and 2014 styles were active. I don’t know if that matters?

    I’ve just installed Regenerate Thumbnails but it doesn’t help. The situation is still the same…..

    Is it possible there’s a setting on my server (host side) that’s causing this problem?

    Thread Starter Sheriziya

    (@sheriziya)

    Okay….. I’m starting to think there’s a problem in the 2014 theme itself that’s got nothing to do with Jetpack.

    I’ve just made a new post at my other site so that the post on the second page with the featured image would have a post above it, instead of being the first post on the second page.

    And now I noticed a new thing. The first post on the second has two tags, as you can see here. On the home page 2, however, the tags are disappearing behind the featured image while both the Likes and Sharign module are visible and the Yarpp plugin as well (which is not activated on FGantasy Game Creations).

    So perhaps there’s a whole other problem going on?

    Plugin Author Brandon Kraft

    (@kraftbj)

    Code Wrangler

    You’re absolutely right. I dug in a bit more and it is a bug in Twenty Fourteen (IMO).

    I created a ticket and submitted a patch at: https://core.trac.wordpress.org/ticket/28649

    You can “star” that ticket to receive updates about it via e-mail.

    Cheers!

    Thread Starter Sheriziya

    (@sheriziya)

    Hey Brandon,

    Thanks for digging into it! I hope it’ll be solved soon πŸ™‚

    Should I mark this particular topic as resolved, since the problem originates in 2014 theme instead of a jetpack module?

    Plugin Author Brandon Kraft

    (@kraftbj)

    Code Wrangler

    Yeah, marking it as resolved here is best.

    Cheers!

    Thread Starter Sheriziya

    (@sheriziya)

    Thanks!

Viewing 12 replies - 1 through 12 (of 12 total)
  • The topic ‘Featured image causes double sharing module on homepage?’ is closed to new replies.