WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] Creating A Widget (3 posts)

  1. corbins
    Member
    Posted 2 years ago #

    Hey all,

    I am an intermidant PHP programer and this is the first widget/plugin I have created for WordPress. I realize the plugin doesn't do anything yet, I am just trying to get the wrapper working so I can write the core code.

    The problem I am having is pretty generic. I am able to install and activate the plugin, however, when I drag the widget into a side bar, the form appears for me to enter the settings. I enter the settings and hit save, and they remain in the fields.

    When I refresh the page though, the plugin disapears from the side bar list and has lost its configuration. Based on the code below, does anyone see the mistake I am making?

    Thanks.

    [code moderated - please use the pastebin]

  2. corbins
    Member
    Posted 2 years ago #

  3. corbins
    Member
    Posted 2 years ago #

    I'm dumb and posted this in the wrong section. Moving it to the 'Hacks' sub-forum. Sorry.

Topic Closed

This topic has been closed to new replies.

About this Topic