I have a headless WordPress CMS setup with React generating the front end. I am pulling across all posts from WordPress using the RESTful API.
I would like to add Like/Dislike functionality to my posts, so visitors to my website can see my posts and react to them. I haven’t been able to find any documentation on achieving this as I’m not sure of how it should be worded.
Does anyone have a link to some documentation or a tutorial on how to add a Like/Dislike field to the post data, which I can then access from the front end both to display the number of likes and also to change the number of likes when someone gives feedback? TIA!
[ad_2]