<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	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:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Www.stevesoffice.com Blogs &#187; Wordpress</title>
	<atom:link href="http://stevesoffice.com/category/wordpress/feed" rel="self" type="application/rss+xml" />
	<link>http://stevesoffice.com</link>
	<description>Just another Stevesoffice.com weblog</description>
	<lastBuildDate>Sun, 09 May 2010 14:11:55 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Fix for the Wordpress Theme Studiopress for WordpressMU</title>
		<link>http://stevesoffice.com/2010/02/01/fix-for-the-wordpress-theme-studiopress-for-wordpressmu</link>
		<comments>http://stevesoffice.com/2010/02/01/fix-for-the-wordpress-theme-studiopress-for-wordpressmu#comments</comments>
		<pubDate>Tue, 02 Feb 2010 07:49:10 +0000</pubDate>
		<dc:creator>StevesOffice</dc:creator>
				<category><![CDATA[Wordpress]]></category>
		<category><![CDATA[fix]]></category>
		<category><![CDATA[studiopress]]></category>

		<guid isPermaLink="false">http://www.stevesoffice.com/2010/02/01/fix-for-the-wordpress-theme-studiopress-for-wordpressmu</guid>
		<description><![CDATA[The Studiopress theme for WordpressMU is broken. When you try to update the options you get the message &#8220;options page not found&#8221;. I have fixed the issue:
[code]
18a19
&#62; if ( is_admin() ){ // admin actions
19a21,30
&#62; add_action('admin_init', 'register_mysettings' );
&#62;
&#62; } else {
&#62; // non-admin enqueues, actions, and filters
&#62; }
&#62;
&#62; function register_mysettings() { // whitelist options
&#62;   register_setting( 'Theme [...]]]></description>
			<content:encoded><![CDATA[<p>The Studiopress theme for WordpressMU is broken. When you try to update the options you get the message &#8220;options page not found&#8221;. I have fixed the issue:<br />
[code]<br />
18a19<br />
&gt; if ( is_admin() ){ // admin actions<br />
19a21,30<br />
&gt; add_action('admin_init', 'register_mysettings' );<br />
&gt;<br />
&gt; } else {<br />
&gt; // non-admin enqueues, actions, and filters<br />
&gt; }<br />
&gt;<br />
&gt; function register_mysettings() { // whitelist options<br />
&gt;   register_setting( 'Theme Options', 'greeting' );<br />
&gt;   register_setting( 'Theme Options', 'welcomemessage' );<br />
&gt; }<br />
27c38<br />
&lt;   &lt;div class='wrap'&gt;<br />
---<br />
&gt;   &lt;div&gt;<br />
30a42,43<br />
&gt; &lt;?php settings_fields('greeting,welcomemessage'); ?&gt;<br />
&gt;<br />
35c48<br />
&lt;   &lt;p&gt;&lt;input type="submit" name="Submit" value="Update Options" /&gt;&lt;/p&gt;<br />
---<br />
&gt;   &lt;p&gt;&lt;input type="submit" name="Submit" value="&lt;?php _e('Update Options'); ?&gt;" /&gt;&lt;/p&gt;<br />
37a51<br />
&gt; &lt;?php settings_fields( 'Theme Options' ); ?&gt;<br />
43c57<br />
&lt; ?&gt;<br />
\ No newline at end of file<br />
---<br />
&gt; ?&gt;</p>
<!-- AdSense Now! V1.83 -->
<!-- Post[count: 2] -->
<div class="adsense adsense-midtext" style="float:left;margin: 12px;"><script type="text/javascript"><!--
google_ad_client = "pub-3696425351841264";
/* stevesoffice 250x250, created 1/21/10 */
google_ad_slot = "0332303998";
google_ad_width = 250;
google_ad_height = 250;
//-->
</script>
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script></div><p>[/code]</p>
]]></content:encoded>
			<wfw:commentRss>http://stevesoffice.com/2010/02/01/fix-for-the-wordpress-theme-studiopress-for-wordpressmu/feed</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
	</channel>
</rss>
