WordPress.org

Ready to get started?Download WordPress

Forums

Trying to code checkbox into widget (2 posts)

  1. Dave Clements
    Member
    Posted 3 years ago #

    Hi there,

    I'm in the process of trying to update my plugin and I have a question about how to include a checkbox in the control panel and then use its value in the HTML output. The code I have so far is shown below, but the option is not being saved to the database as it is. Every time I go to save, it reverts to unchecked. Any ideas?

    Widget code

  2. Dave Clements
    Member
    Posted 3 years ago #

    Sorry, code didn't appear in original version - had to put it on pastebin. Any help would be much appreciated.

Topic Closed

This topic has been closed to new replies.

About this Topic