saving checkbox values to display stars
-
I am using wp_insert_post to take in form data of name and brief review on the front end. And that works no problem. Both of those data show up in the post. But I also have 5 stars that can be highlighted as part of the review. The stars highlight when clicked but when the post is published the highlighted stars do not show up. The stars show up but they are in the unchecked state and thus are not in the yellow state that I want. So the question is how do I save the state of the highlighted stars? Do I save the checked state of the input? do I save the values in a custom field? If so how do I do that? I do not want to use a 5 star plugin. As I am so close to doing it the way that I want. At this point only the first star highlights but it only highlights to the last post. Any help will be appreciated. Even a point in the right direction will be much obliged. The website is on my localhost so do not have a link yet to show.
- The topic ‘saving checkbox values to display stars’ is closed to new replies.