This could potentially be complex but I'd like to at least start with a relatively simple to use shortcode which can show buttons for "liking" or "upvoting" (possibly downvoting as well) the current post.
Things to consider:
- Allowing both up-votes and down-votes
- Allowing non-logged in users to vote?
- Storing the votes in user_meta, somewhere else or not storing them
- Retaining the data somewhere (pretty much all the other shortcodes do not add new data to the database. Should we even consider this?)
- Allowing the changing of the text in and around a voting tool
- Allowing for the changing of a button style and icons
I'm starting to think that this may not be an awesome idea for a shortcode, but rather integrating with another plugin (created by us or someone else) could be smarter. Thoughts?
This could potentially be complex but I'd like to at least start with a relatively simple to use shortcode which can show buttons for "liking" or "upvoting" (possibly downvoting as well) the current post.
Things to consider:
I'm starting to think that this may not be an awesome idea for a shortcode, but rather integrating with another plugin (created by us or someone else) could be smarter. Thoughts?