I am making a Wordpress theme with a custom admin page. What I did to make it save the settings was this:
<form method="post" action="options.php">
When I hit the submit button, I got an error message saying that "options.php" was not found. I attempted to change the general settings and it worked. It was just with my settings page.
Thanks!
EDIT: I just found something on the Codex about this. But I have no idea what it means. It is at the "Notes" section. If someone could help that would be great!
My code:http://pastebin.com/bvXcXhCQ
type="text"
is for<input>
elements, not the<form>
element, and the location to load should go in theaction
attribute not themethod
. Where did you get this code from?