kylephillips / favorites

Simple and flexible favorite buttons for any WordPress post type.
https://favoriteposts.com
224 stars 85 forks source link

Static implementation? #101

Closed lazmo88 closed 5 years ago

lazmo88 commented 6 years ago

Heya, plugin seems exactly what we are looking for. Especially the cookie based cache part.

I am wondering if this could be used on a static website or does it always require php? If yes, could it be possible to point the code to a custom backend server/WP instance to facilitate the Ajax requests and save the data there?

bcorke commented 6 years ago

Would be easier to port the static site to WordPress I would imagine.

kylephillips commented 5 years ago

This plugin does require WordPress/PHP. There are plans to add WP API support, but due to the use of sessions/cookies/authenticated user ids as part of the core of the plugin, I'm not sure it will fit your requirements.