Home › Forums › ACF PRO › Upvote/Downvote System using ACF Pro › Reply To: Upvote/Downvote System using ACF Pro
I don’t think you need ACF for this I built something similar to show if a post was helpful or not. Basically you add post meta to a post, by adding or removing instances of 1.
If someone likes the post he clicks the button and the counter will go up by one. If someone doesn’t like it the reverse will happen.
This is stored in post meta so no need for ACF. And you can easily use this meta to sort the posts with.
You need 1 form with 2 options.
option + = update post meta with +1
option – = update post meta with -1
Welcome to the Advanced Custom Fields community forum.
Browse through ideas, snippets of code, questions and answers between fellow ACF users
Helping others is a great way to earn karma, gain badges and help ACF development!
Accordions are a great way to group related information while allowing users to interactively show and hide content. In this video, Damon Cook goes in-depth on how to create an accessible accordion block using ACF PRO’s Repeater field.https://t.co/RXT0g25akN— Advanced Custom Fields (@wp_acf) March 2, 2023
© 2023 Advanced Custom Fields.