Quote Vote
A simple WordPress plugin that allows to submit, publish, and vote on quotes.
★ 0stars
0forks
Install
No release zip yet. The repository archive installs, but the folder name will carry the branch suffix and updates will not flow:
wp plugin install https://github.com/hoplitfr/quote-vote/archive/refs/heads/main.zipA plugin to submit, approve, and vote on quotes.
Description
The Quote Vote plugin allows users to submit quotes, which can then be approved or rejected by administrators. Users can also vote on the quotes.
Installation
- Upload the
quote-votefolder to the/wp-content/plugins/directory. - Activate the plugin through the 'Plugins' menu in WordPress.
Features
- Custom Post Type: Registers a custom post type for quotes.
- Shortcodes: Provides shortcodes for quote submission and displaying the latest quotes.
- Voting System: Allows users to upvote or downvote quotes.
- Admin Approval: Admins can approve or reject submitted quotes.
Shortcodes
[quote_submission_form]
Displays a form for users to submit new quotes.
[latest_quotes number="5"]
Displays the latest quotes. The number attribute specifies the number of quotes to display (default is 5).
Usage
Submitting a Quote
- Add the
[quote_submission_form]shortcode to a page or post. - Users can fill out the form to submit a new quote.
Displaying Latest Quotes
- Add the
[latest_quotes]shortcode to a page or post. - The latest quotes will be displayed with upvote and downvote buttons.
Admin Approval
- Navigate to the
Quote Votemenu in the WordPress admin area. - Approve or reject pending quotes.
TODO
- [x] Prevent spamming of the voting buttons
- [ ] Improve the approve/reject interface design