Poll Plugin archived
This WordPress plugin creates a "Poll" widget that allows users to vote on their favorite blog post utilizing the REST API and Vue.
★ 1stars
1forks
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/nicolesmithdev/vue-poll/archive/refs/heads/main.zipReadme
Poll Widget
This plugin creates a "Poll" WordPress widget that allows users to vote on their favorite blog post utilizing the WordPress REST API and Vue.js.
How to Use
- Drop the
vuepluginfolder in thewp-content/plugins/directory of your WordPress installation - Activate the plugin through the
Pluginsmenu in WordPress - Go to
Appearance => Widgetsand add thePollwidget to your widget area - Go to
Users => ProfileandAdd a New Application Password. Update lines 12 & 13 infunctions/wp-enqueue-script.phpwith the username and application password. This is required for logged out users to be able toPOSTtheir vote via the WordPress REST API. - Confirm or publish a few posts to be able to vote on ;)
Changelog
2.2.0
- Migrate from Webpack to Vite
2.1.0
January 25, 2023
- Upgrade from Vue 2 to Vue 3
2.0.0
March 30, 2022
One year from my initial commit! I've entirely overhauled the plugin.
- Now utilizing npm
- Refactored Vue template literals into single-file components
- Compiling JavaScript and CSS assets via Webpack Mix
- Organized PHP functions via includes
1.0.0
March 28, 2021
- Initial commit