I agree on #2 and #3.
On #2, at least maybe add a “Loading Favorites” text until list fully loads. 🙂
Although on issue #3, I have a YouTube-Comments function loading, and it seems that the favorites button doesn’t take until the youtube-comments are done loading. I’ve tested this a few times, clicking the favorites button before the ENTIRE page loads and after the page loads.
Button takes favorite only after ENTIRE page has loaded (all elements/plugins).
Thanks for the very cool plugin!
1) I probably should been more specific in the documentation. The favorite count is not part of the default favorite button, although I can see where that would be a nice feature. By post entry screen, I’m referring to the default wp admin edit screen. The count is available via the template function the_favorites_count(). I like the idea of having the option to display that in the button itself… I’ll look at adding that in a future release.
2) RightBeatRadio is correct… there is an AJAX call that updates all the buttons on the page after it has loaded. This is a workaround for sites with cacheing enabled. There will be a noticeable delay if you have other elements loading that hold up the dom from being ready, or if the server is slow to respond to the request.
3) I’m guessing this may be related to #2. If the server is slow to respond, and the page is refreshed before the action is complete, it may prevent the favorite from being saved. I’ll look add adding a “loading/saving” indicator to the button to provide a visual cue that something is happening in the background.
Hey, Kyle. Thanks for the update. It solved the issues.
You are the man! Gonna give you my 5-stars rating now.