<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	
	xmlns:media="http://search.yahoo.com/mrss/"
		>
<channel>
	<title>Comments on: WordPress Settings API Tutorial</title>
	<atom:link href="http://ottopress.com/2009/wordpress-settings-api-tutorial/feed/" rel="self" type="application/rss+xml" />
	<link>http://ottopress.com/2009/wordpress-settings-api-tutorial/</link>
	<description>You have to use an Ottopress to get fresh squeezed Otto.</description>
	<lastBuildDate>Wed, 16 May 2012 21:47:38 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.4-beta4-20725</generator>
	<item>
		<title>By: Allon</title>
		<link>http://ottopress.com/2009/wordpress-settings-api-tutorial/comment-page-2/#comment-10738</link>
		<dc:creator>Allon</dc:creator>
		<pubDate>Wed, 25 Apr 2012 14:30:16 +0000</pubDate>
		<guid isPermaLink="false">http://ottopress.com/?p=39#comment-10738</guid>
		<description>Hi,

Thanks for the great tutorial.

I have seen a few tutorials on the subject and none of them explain where the changes are saved to.
Once the option is set up, when the admin makes changes to whatever option was created, where is the data saved to when the submit button is clicked? Maybe I am missing something but I cant figure it out :)

Also, in this tutorial and most tutorials I have seen no one ever mentions which file the code should go into. I just put it all in functions.php but could I put it in any file even a new one I creat in the theme folder?

Thanks</description>
		<content:encoded><![CDATA[<p>Hi,</p>
<p>Thanks for the great tutorial.</p>
<p>I have seen a few tutorials on the subject and none of them explain where the changes are saved to.<br />
Once the option is set up, when the admin makes changes to whatever option was created, where is the data saved to when the submit button is clicked? Maybe I am missing something but I cant figure it out <img src='http://ottopress.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>Also, in this tutorial and most tutorials I have seen no one ever mentions which file the code should go into. I just put it all in functions.php but could I put it in any file even a new one I creat in the theme folder?</p>
<p>Thanks</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: salomone</title>
		<link>http://ottopress.com/2009/wordpress-settings-api-tutorial/comment-page-2/#comment-10723</link>
		<dc:creator>salomone</dc:creator>
		<pubDate>Fri, 13 Apr 2012 12:45:21 +0000</pubDate>
		<guid isPermaLink="false">http://ottopress.com/?p=39#comment-10723</guid>
		<description>Great job, nice tutorial.
Just a question on the validation bit: I was wondering how I could possibly output some text explaining to the user why his input has been rejected.
Any idea?</description>
		<content:encoded><![CDATA[<p>Great job, nice tutorial.<br />
Just a question on the validation bit: I was wondering how I could possibly output some text explaining to the user why his input has been rejected.<br />
Any idea?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Otto</title>
		<link>http://ottopress.com/2009/wordpress-settings-api-tutorial/comment-page-2/#comment-10651</link>
		<dc:creator>Otto</dc:creator>
		<pubDate>Wed, 14 Mar 2012 12:26:22 +0000</pubDate>
		<guid isPermaLink="false">http://ottopress.com/?p=39#comment-10651</guid>
		<description>Umm, no... The above code is all working code. I pulled it straight out of already working plugins, with minor changes to make it more generic.

If you&#039;re getting syntax errors, then you&#039;re the one introducing those errors.</description>
		<content:encoded><![CDATA[<p>Umm, no&#8230; The above code is all working code. I pulled it straight out of already working plugins, with minor changes to make it more generic.</p>
<p>If you&#8217;re getting syntax errors, then you&#8217;re the one introducing those errors.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Squid Billy</title>
		<link>http://ottopress.com/2009/wordpress-settings-api-tutorial/comment-page-2/#comment-10645</link>
		<dc:creator>Squid Billy</dc:creator>
		<pubDate>Wed, 14 Mar 2012 00:24:43 +0000</pubDate>
		<guid isPermaLink="false">http://ottopress.com/?p=39#comment-10645</guid>
		<description>Your tutorial explains the functions pretty well, but the code is not working. It looks like you have syntax errors in places, and all I seem to get is white screen no matter what I do. It would be really useful if you had a working version of the code posted as the Codex points to your tutorial as a &quot;better example&quot; of making this happen.</description>
		<content:encoded><![CDATA[<p>Your tutorial explains the functions pretty well, but the code is not working. It looks like you have syntax errors in places, and all I seem to get is white screen no matter what I do. It would be really useful if you had a working version of the code posted as the Codex points to your tutorial as a &#8220;better example&#8221; of making this happen.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Eric TF Bat</title>
		<link>http://ottopress.com/2009/wordpress-settings-api-tutorial/comment-page-2/#comment-10615</link>
		<dc:creator>Eric TF Bat</dc:creator>
		<pubDate>Sun, 04 Mar 2012 07:04:38 +0000</pubDate>
		<guid isPermaLink="false">http://ottopress.com/?p=39#comment-10615</guid>
		<description>Agreed. It&#039;s difficult to follow which strings are meant to be literals and which are programmer-defined.  I&#039;m guessing as I go along.

Also, it&#039;s bad style to mix languages -- in this case, HTML and PHP.  I know it&#039;s the whole raison d&#039;etre of PHP to be able to mix it freely, but just because PHP does it doesn&#039;t mean it&#039;s right.  (In fact, the opposite is usually true.)  It would be better to use &lt;code&gt;print &quot;&lt;div&gt;\n&quot;;&lt;/code&gt; than &lt;code&gt;&lt;?php &lt;div&gt; ?&gt;&lt;/code&gt; throughout.  Readability would be vastly improved.

Finally, your clever syntax highlighting thingy doesn&#039;t seem to work with the Linux clipboard, as far as I can tell.  That might be a Firefox thing; I don&#039;t know.

But apart from these minor nitpicks, thank you very much -- I&#039;m on a deadline to produce two rather fiddly plugins, and you&#039;re a life saver.</description>
		<content:encoded><![CDATA[<p>Agreed. It&#8217;s difficult to follow which strings are meant to be literals and which are programmer-defined.  I&#8217;m guessing as I go along.</p>
<p>Also, it&#8217;s bad style to mix languages &#8212; in this case, HTML and PHP.  I know it&#8217;s the whole raison d&#8217;etre of PHP to be able to mix it freely, but just because PHP does it doesn&#8217;t mean it&#8217;s right.  (In fact, the opposite is usually true.)  It would be better to use <code>print "&lt;div&gt;\n";</code> than <code>&lt;?php &lt;div&gt; ?&gt;</code> throughout.  Readability would be vastly improved.</p>
<p>Finally, your clever syntax highlighting thingy doesn&#8217;t seem to work with the Linux clipboard, as far as I can tell.  That might be a Firefox thing; I don&#8217;t know.</p>
<p>But apart from these minor nitpicks, thank you very much &#8212; I&#8217;m on a deadline to produce two rather fiddly plugins, and you&#8217;re a life saver.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Otto</title>
		<link>http://ottopress.com/2009/wordpress-settings-api-tutorial/comment-page-2/#comment-10554</link>
		<dc:creator>Otto</dc:creator>
		<pubDate>Thu, 16 Feb 2012 10:29:52 +0000</pubDate>
		<guid isPermaLink="false">http://ottopress.com/?p=39#comment-10554</guid>
		<description>Look at the tutorial again. Adding the options page is literally the first bit of code in this post. 

See that line that says &quot;add_options_page&quot;? That adds the options page and the associated menu item to get there. Next, the bit with the plugin_options_page function? That outputs the HTML to displays the options page.

There&#039;s no code needed to make an admin menu, it does that for you when you add the admin page.

WordPress doesn&#039;t use a file structure for this sort of thing. You specify it in the code.</description>
		<content:encoded><![CDATA[<p>Look at the tutorial again. Adding the options page is literally the first bit of code in this post. </p>
<p>See that line that says &#8220;add_options_page&#8221;? That adds the options page and the associated menu item to get there. Next, the bit with the plugin_options_page function? That outputs the HTML to displays the options page.</p>
<p>There&#8217;s no code needed to make an admin menu, it does that for you when you add the admin page.</p>
<p>WordPress doesn&#8217;t use a file structure for this sort of thing. You specify it in the code.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: jez</title>
		<link>http://ottopress.com/2009/wordpress-settings-api-tutorial/comment-page-2/#comment-10553</link>
		<dc:creator>jez</dc:creator>
		<pubDate>Thu, 16 Feb 2012 10:20:15 +0000</pubDate>
		<guid isPermaLink="false">http://ottopress.com/?p=39#comment-10553</guid>
		<description>While this is great, can you say more about files and locations as i cannot get my admin menu to appear, but the plugin is showing in active plugins.

I appreciate the effort you have put into this, but to get here, i have gone through several wordpress documentation pages that seem to see admin menus as something separate so provide a link. In that passing off, no-one seems to mention the file name for where this code goes or another means of including it. For instance xoops has a specific file name you must use in your module for the admin stuff.

Thanks,</description>
		<content:encoded><![CDATA[<p>While this is great, can you say more about files and locations as i cannot get my admin menu to appear, but the plugin is showing in active plugins.</p>
<p>I appreciate the effort you have put into this, but to get here, i have gone through several wordpress documentation pages that seem to see admin menus as something separate so provide a link. In that passing off, no-one seems to mention the file name for where this code goes or another means of including it. For instance xoops has a specific file name you must use in your module for the admin stuff.</p>
<p>Thanks,</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jean-Philippe Murray</title>
		<link>http://ottopress.com/2009/wordpress-settings-api-tutorial/comment-page-2/#comment-10491</link>
		<dc:creator>Jean-Philippe Murray</dc:creator>
		<pubDate>Fri, 03 Feb 2012 19:41:39 +0000</pubDate>
		<guid isPermaLink="false">http://ottopress.com/?p=39#comment-10491</guid>
		<description>Hi,

It seems I can&#039;t used your solution for multiple option screen. It just... Won&#039;t work! I&#039;ve opened a stackexchange on the question, feel free to drop by if you (anyone! :P) can help! :)

http://wordpress.stackexchange.com/questions/41113/multiple-options-pages-validation-for-a-plugin</description>
		<content:encoded><![CDATA[<p>Hi,</p>
<p>It seems I can&#8217;t used your solution for multiple option screen. It just&#8230; Won&#8217;t work! I&#8217;ve opened a stackexchange on the question, feel free to drop by if you (anyone! <img src='http://ottopress.com/wp-includes/images/smilies/icon_razz.gif' alt=':P' class='wp-smiley' /> ) can help! <img src='http://ottopress.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p><a href="http://wordpress.stackexchange.com/questions/41113/multiple-options-pages-validation-for-a-plugin" rel="nofollow">http://wordpress.stackexchange.com/questions/41113/multiple-options-pages-validation-for-a-plugin</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: idleberg</title>
		<link>http://ottopress.com/2009/wordpress-settings-api-tutorial/comment-page-2/#comment-10451</link>
		<dc:creator>idleberg</dc:creator>
		<pubDate>Tue, 24 Jan 2012 22:24:36 +0000</pubDate>
		<guid isPermaLink="false">http://ottopress.com/?p=39#comment-10451</guid>
		<description>for clarities sake, this nice tutorial would work much better if you used something like &quot;myplugin&quot; for those parts that can be name freely</description>
		<content:encoded><![CDATA[<p>for clarities sake, this nice tutorial would work much better if you used something like &#8220;myplugin&#8221; for those parts that can be name freely</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Codeamazon</title>
		<link>http://ottopress.com/2009/wordpress-settings-api-tutorial/comment-page-1/#comment-10408</link>
		<dc:creator>Codeamazon</dc:creator>
		<pubDate>Tue, 10 Jan 2012 20:51:35 +0000</pubDate>
		<guid isPermaLink="false">http://ottopress.com/?p=39#comment-10408</guid>
		<description>I want to tie in the WordPress image uploader so that the user has a familiar experience.  Neither answer here shows how I can code that, and I haven&#039;t found it in a day of looking online.

I found the original tutorial here to be clear and very well written -- any chance of adding this bit of info Otto?</description>
		<content:encoded><![CDATA[<p>I want to tie in the WordPress image uploader so that the user has a familiar experience.  Neither answer here shows how I can code that, and I haven&#8217;t found it in a day of looking online.</p>
<p>I found the original tutorial here to be clear and very well written &#8212; any chance of adding this bit of info Otto?</p>
]]></content:encoded>
	</item>
</channel>
</rss>

<!-- Performance optimized by W3 Total Cache. Learn more: http://www.w3-edge.com/wordpress-plugins/

Page Caching using xcache
Object Caching 368/388 objects using xcache

Served from: ottodestruct.com @ 2012-05-16 22:42:49 -->
