• Resolved MarthaBechtel

    (@marthabechtel)


    I have two custom post types set up using the CPT plug-in. They have identical settings but different names. On one of the custom post types, the buttons are displaying correctly and on the other, they are not.

    The sharing buttons are working everywhere else I have them turned on and I have tried unchecking-saving-rechecking the checkboxes for the custom post types without luck.

    The related posts are working fine, it’s just the sharedaddy div that’s not being added.

    All of the posts use the same PHP files, so I’m a bit lost as to why one works and one doesn’t.

    I am using the minify features of SiteGround, but I can’t see how that would cause issues with only one type of post.

    Example of missing buttons: https://martha.net/artwork/cardinal-ornament-004/
    Example of working buttons: https://martha.net/writing/vss365-abnegation/

Viewing 5 replies - 1 through 5 (of 5 total)
  • Thread Starter MarthaBechtel

    (@marthabechtel)

    And now I am more confused, because when I was working on something else I noted that some of the Artwork posts do appear to work.

    Example of working Artwork: https://martha.net/artwork/fat-pony-magnet-021/

    There’s nothing that I can figure out that would be keeping the buttons from displaying on the one post and not the other.

    Thread Starter MarthaBechtel

    (@marthabechtel)

    I have tried individually (and mass) disabling all of the various modification options that SiteGround offers via SG Optimizer and still have not managed to get the share buttons to appear on all Artwork posts.

    Interestingly, I can’t get the same thing to happen on a normal Post or Writing post. It’s just some of the Artwork posts… There has to be something obvious I’m missing.

    Plugin Support supernovia

    (@supernovia)

    Hi, just to clarify, is this intermittent on items that have the same CPT? If so, could you double check to see whether sharing / like buttons are enabled for that item?

    And, are you finding that setting in the item edit page? They should be able to be turned off or on per item.

    Thread Starter MarthaBechtel

    (@marthabechtel)

    I apologize for the delay, I was out sick yesterday.

    The problem only appears to exist for Custom Post Type ‘Artwork’ and only happens on some items. It does appear to be a static (works/doesn’t work) and editing the posts and resaving them has no impact on if the buttons appear or not.

    I was changing the show/don’t show checkbox using
    Jetpack -> Settings -> Sharing -> Configue your sharing buttons -> Options (Show like and sharing buttons on)

    However, your suggestion was to use the Item Edit page, which I hadn’t noticed a checkbox on. When I went exploring I found the following:

    If I Edit the Artwork that is working and click on the green Jetpack icon in the upper left it shows that the Likes and Sharing checkbox (Show sharing buttons) is checked.

    If I Edit the Artwork that is not working and click on the green Jetpack icon in the upper left it shows that the Likes and Sharing checkbox (Show sharing buttons) is not checked.

    When I checked the checkbox and save the Artwork that was not showing buttons previously, the buttons did show.

    So that fixes things!

    TL;DR – SOLVED (and I will make a shorter update so it’s easy for others to find)

    I can’t find a way to see which posts have this checked and which don’t without opening each post in my browser to see if the buttons appear. Where could I put in a suggestion that this is something I could opt to see in the Items Listing page?

    It would also be nice if I could change this in the Quick Edit box instead of having to use the Edit Item screen.

    Thread Starter MarthaBechtel

    (@marthabechtel)

    SOLVED

    This was not an issue with Custom Post Types (that was a red herring)

    The issue was not with the checkboxes under Jetpack -> Settings -> Sharing -> Configue your sharing buttons -> Options (Show like and sharing buttons on)

    The issue was with the checkbox under Edit Item -> Jetpack (green circular icon) -> Likes and Sharing

    Checking this box (and saving) on each of the posts that were having the issue solved the problem.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Sharing Buttons only appear on some Custom Post Types’ is closed to new replies.