Title: plugin development
Last modified: August 19, 2016

---

# plugin development

 *  Resolved [patrickkk](https://wordpress.org/support/users/patrickkk/)
 * (@patrickkk)
 * [16 years ago](https://wordpress.org/support/topic/plugin-development-2/)
 * hi,
 * i am currently in the process of learning to develop a WordPress plugin, and 
   after several tutorials I decided to give it a go. I have tried to inform myself
   about all the features and best practices, and in the process stumbled upon the
   new settings API following this [http://ozh.in/lp](http://ozh.in/lp) tutorial
   I have a feeling I am very close, the only problem I keep getting is when submitting
   I get an error that the page is not found. if you happen to find any other code
   that could be improved please also say so
    here is the plugin code
 * _[Code moderated as per the [Forum Rules](http://wordpress.org/support/topic/68664).
   Please use a [pastebin](http://pastebin.com)]_
 * thanks in advance

Viewing 2 replies - 1 through 2 (of 2 total)

 *  Thread Starter [patrickkk](https://wordpress.org/support/users/patrickkk/)
 * (@patrickkk)
 * [16 years ago](https://wordpress.org/support/topic/plugin-development-2/#post-1491729)
 * I seem to be unable to edit my post so I am going to post the pastebin here [http://pastebin.com/v4JVQpBy](http://pastebin.com/v4JVQpBy)
 *  Thread Starter [patrickkk](https://wordpress.org/support/users/patrickkk/)
 * (@patrickkk)
 * [16 years ago](https://wordpress.org/support/topic/plugin-development-2/#post-1491730)
 * it is solved,
    2 changes need to be made
 * 1. register hook for admin init that registers settings instead of the activation
   hook
 * 2. use the correct value for settings_fields() and, get_option()

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘plugin development’ is closed to new replies.

## Tags

 * [development](https://wordpress.org/support/topic-tag/development/)
 * [settings](https://wordpress.org/support/topic-tag/settings/)

 * 2 replies
 * 1 participant
 * Last reply from: [patrickkk](https://wordpress.org/support/users/patrickkk/)
 * Last activity: [16 years ago](https://wordpress.org/support/topic/plugin-development-2/#post-1491730)
 * Status: resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
