Allow users mark posts as “complete”?

Any search keyword suggestions to help would be appreciated – not sure how best to describe this query 🙂

I have a custom post type “module”. I have ~300+ modules in my install.
I have ~100+ registered users (Subscriber role)

Read More

Query: I want to allow users to mark a “module” as “Complete” using a checkbox, and be able to get that info from DB when I’m generating lists of modules.

Is there a plugin or hack available or any suggestions if I need to code it up myself? Any other suggestions?

Related posts

Leave a Reply

1 comment

  1. You can use a “custom field” for marking the items as complete. These are also known as post meta fields. To set and read these fields, you’ll use the WordPress functions update_post_meta() and get_post_meta(), respectively.

    As for actually allowing users to set this flag from the frontend, AJAX seems like the best way. Check out the Codex article on AJAX, specifically the section titled “Ajax on the Viewer-Facing Side”.

    You can build this all out as a plugin, or you can simply include your code in your theme’s functions.php file.