Adding buttons to course list
-
Hi.
Wonder if you can help? We are running the pro version of wpComplete and would like to add the page completion buttons in to a contents table on the website, such that, a user can click down the list to complete lessons in bulk. At the moment, if I copy the html code from a button created on a page and paste it in to a table, the button will change to “complete” briefly when clicked, but then resets itself back to the incomplete status. I think the problem is that I’ve only copied the html code and I’m assuming there’s some PHP code needed to make the button work correctly and interact with the lesson for that user.
Can you advise how I can address this, or would it be possible to create a shortcode for the button specific to the lesson, along the lines of [wpcomplete_button id=post_649] for example, so that the button is linked to the user and to the lesson in question.
Further request, would it be possible to add an “in progress” status to the buttons, so students can mark lessons as “not started”, “in progress” and “complete”?
Hope you can help.
Thanks,
Dan
The topic ‘Adding buttons to course list’ is closed to new replies.