The Like button doesn’t seem to be activated on your site at the moment. Did you deactivate it?
If you still experience issues, could you try the following:
1) Go the Jetpack menu in your dashboard
2) Click on “My Jetpack” at the top of the page.
3) Click on “Disconnect Site from WordPress.com” if your site is currently connected to WordPress.com.
4) Confirm the disconnection.
5) Click on the Connect button to connect your site to WordPress.com again.
Let me know how that goes.
The Like button is activated. It was working on some articles but after doing the disconnect and reconnect process it now shows on none. Just hangs on the “loading” thing.
Note: the Like button does work on the front page, so there’s probably a good chance this is a problem with the integration of the IssueM plugin and WordPress. The article structure they superimpose is effectively a custom post, as I understand it, but I am far from an expert on this.
That’s curious. I don’t see any Like Buttons on your posts at the moment, not even a “Loading…” message or any Like related markup:
http://i.wpne.ws/gcfk
Could you point me to a page where you see the Loading message?
Could you also let me know what your settings are under Settings > Sharing in your dashboard?
Thanks!
Okay, here’s a link to an article: http://eaglepeakpress.com/article/dont-be-a-settler/
And here’s what I see when I look at the page:
Like this:
LIKE Loading…
Thank you!
Do you use a plugin to add this article Custom Post Type, or is that post type added by your theme?
If so, could you try to add the following code to a functionality plugin like this one, to make sure these articles are synchronized with WordPress.com?
function swjack14_allow_my_post_types( $allowed_post_types ) {
$allowed_post_types[] = 'article';
return $allowed_post_types;
}
add_filter( 'rest_api_allowed_post_types', 'swjack14_allow_my_post_types' );
Once you’ve done so, could you try to go to the Jetpack menu in your dashboard, scroll down to the bottom of the page, click on “Debug”, and then click on the Reindex button at the bottom of that page.
Let me know if it helps.
It did work! I am mystified as to why my ww.wp.xz.cn/support userid should make this work, however. If you can explain that to me and/or add some other clarification that may help others with this same problem. Then we can consider it resolved.
I am mystified as to why my ww.wp.xz.cn/support userid should make this work, however.
I used your ww.wp.xz.cn username in the function name to make sure the function name was unique on your site. In WordPress, when adding custom code, it’s strongly recommended to prefix everything, as explained here:
https://nacin.com/2010/05/11/in-wordpress-prefix-everything/
add some other clarification that may help others with this same problem
Likes normally work with all Post Types, but it seems that posts belonging to your article post type weren’t properly synchronized with WordPress.com until now; since we didn’t have a record of those posts on WordPress.com, we couldn’t log a “Like” action.
That code snippet above adds the article post type to the list of post types synchronized with WordPress.com.
It’s worth noting that the next major Jetpack release, 4.2, will include several improvements to synchronization, to avoid these kinds of issues. Once 4.2 is out, the code snippet shouldn’t be necessary anymore.
I hope this clarifies things a bit.