[wp-hackers] where's documentation for options pages?

Konrad Karpieszuk kkarpieszuk at gmail.com
Tue Apr 5 13:41:52 UTC 2011


this tutorial i saw :) it didn't help me ;)

because i found a problem: i had: action="" and it should be
action="options.php". i changed this and it works. small thing but as
aevery small misstypes hard to find :)

2011/4/5 Marko Novaković <atisha34 at gmail.com>:
> See this tutorial:
> http://ottopress.com/2009/wordpress-settings-api-tutorial/
>
> On Tue, Apr 5, 2011 at 1:33 PM, Konrad Karpieszuk <kkarpieszuk at gmail.com>wrote:
>
>> hello
>>
>> could anyone explain me why for this moment still we don't have
>> working documentation for creating options pages? :)
>>
>> in this place:
>> http://codex.wordpress.org/Creating_Options_Pages
>>
>> examples and explanations doesn't work. for example in the code is
>> mentioned function do_settings() which doesnt exists
>>
>> yes, i see red info about to use old documentation, or go to setting
>> api http://codex.wordpress.org/Settings_API
>>
>> i dont want to use old way to create options page. i know that this is
>> deprecated, so i prefere to move all my plugins to new settings api.
>> but also this what is described in settings api doesn't work (or maybe
>> i dont understand something)
>>
>> this is code which i produced basing on 'creating options page' and
>> 'settings api': http://wklej.org/id/506506/
>>
>> it doesn't work. it shows field for option 'bet_domyslne_boksiki'
>> (here's a screenshot http://awesomescreenshot.com/0f4au7zfc )
>>
>> but after click on save button new value is not saved. still is the
>> same (which i set directly using update_option() in other part of
>> code)
>>
>> can anyone tell what about i forgot? :)
>>
>> --
>> (en) regards / (pl) pozdrawiam
>> Konrad Karpieszuk
>> _______________________________________________
>> wp-hackers mailing list
>> wp-hackers at lists.automattic.com
>> http://lists.automattic.com/mailman/listinfo/wp-hackers
>>
> _______________________________________________
> wp-hackers mailing list
> wp-hackers at lists.automattic.com
> http://lists.automattic.com/mailman/listinfo/wp-hackers
>



-- 
(en) regards / (pl) pozdrawiam
Konrad Karpieszuk


More information about the wp-hackers mailing list