Skip to content

Post voting shortcodes #33

Description

@brashrebel

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?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions