<?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>Frankie Jarrett</title>
	<atom:link href="http://frankiejarrett.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://frankiejarrett.com</link>
	<description>Theme designer. WordPress geek. Jesus freak.</description>
	<lastBuildDate>Mon, 12 Dec 2011 17:25:02 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	
<xhtml:meta xmlns:xhtml="http://www.w3.org/1999/xhtml" name="robots" content="noindex" />
		<item>
		<title>Joining X-Team</title>
		<link>http://frankiejarrett.com/2011/10/joining-x-team/</link>
		<comments>http://frankiejarrett.com/2011/10/joining-x-team/#comments</comments>
		<pubDate>Fri, 28 Oct 2011 06:02:02 +0000</pubDate>
		<dc:creator>Frankie Jarrett</dc:creator>
				<category><![CDATA[Thoughts]]></category>
		<category><![CDATA[wordpress]]></category>
		<category><![CDATA[x-team]]></category>

		<guid isPermaLink="false">http://frankiejarrett.com/?p=215</guid>
		<description><![CDATA[Not long ago I was contacted by Dave Rosen, the CEO of X-Team, who had stumbled across my blog (this one). He was looking for a WordPress guru who could help wrangle up their many projects on the technical/development side &#8230; <a href="http://frankiejarrett.com/2011/10/joining-x-team/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>Not long ago I was contacted by Dave Rosen, the CEO of <a href="http://x-team.com" target="_blank">X-Team</a>, who had stumbled across my blog (this one). He was looking for a WordPress guru who could help wrangle up their many projects on the technical/development side of things.</p>
<p>After just three days of communicating back and forth (and one Skype call) he offered me a full-time position, and I wholeheartedly accepted! He flew me to Los Angeles a few days later to sync up with his top developers, Weston and Josh, who have been temporarily living here while working at FOX Broadcasting.</p>
<p>Needless to say, it&#8217;s been an outstanding experience working with these two. They&#8217;re not only top notch programmers but also great guys who are a blast to hang out with and have become good friends of mine. Since I&#8217;ve been here I&#8217;ve really enjoyed soaking up all the new information and techniques X-Team uses, specifically learning to incorporate version control with <a href="http://git-scm.com/" target="_blank">Git</a> via command line into my workflow. I&#8217;m very happy to say I&#8217;m no longer <a href="http://2011.sf.wordcamp.org/session/scaling-servers-and-deploys-oh-my/" target="_blank">Cowboy Coding</a>! <img src='http://frankiejarrett.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>My next big task (apart from client projects) is to bring a WordPress framework into fruition for X-Team that we&#8217;re calling: WPized. <a href="http://weston.ruter.net" target="_blank">Weston Ruter</a> has laid a ton of groundwork for the WPized framework already, so I&#8217;ll be taking a lot of what he&#8217;s started and simplifying it into a tool for creating themes rapidly. I&#8217;ll also be writing a lot of documentation for our other WP developers so they will know how to use the custom helper functions the framework will offer and all of this will hopefully make the process of theming much more unified within X-Team.</p>
<p>It&#8217;s an extreme privilege to be doing what I love for a company that boasts some very big clients, has a long history of doing extraordinary things and has a lot of fun doing it! I am very fortunate to not only be running my own <a title="WordPress Church Themes" href="http://churchthemes.net" target="_blank">theme shop</a> but now also working with a superb international team on WordPress projects full-time&#8230;from home!</p>
]]></content:encoded>
			<wfw:commentRss>http://frankiejarrett.com/2011/10/joining-x-team/feed/</wfw:commentRss>
		<slash:comments>6</slash:comments>
		</item>
		<item>
		<title>Create a dropdown of custom taxonomies in WordPress (the easy way)</title>
		<link>http://frankiejarrett.com/2011/09/create-a-dropdown-of-custom-taxonomies-in-wordpress-the-easy-way/</link>
		<comments>http://frankiejarrett.com/2011/09/create-a-dropdown-of-custom-taxonomies-in-wordpress-the-easy-way/#comments</comments>
		<pubDate>Fri, 02 Sep 2011 20:05:26 +0000</pubDate>
		<dc:creator>Frankie Jarrett</dc:creator>
				<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[custom functions]]></category>
		<category><![CDATA[custom taxonomies]]></category>
		<category><![CDATA[wordpress]]></category>

		<guid isPermaLink="false">http://frankiejarrett.com/?p=161</guid>
		<description><![CDATA[So you&#8217;ve been busy taking advantage of custom post type functionalities in WordPress since mid 2010. And of course you&#8217;re using custom taxonomies too, right? Of course you are. If you&#8217;re a theme or plugin developer you may have ran across &#8230; <a href="http://frankiejarrett.com/2011/09/create-a-dropdown-of-custom-taxonomies-in-wordpress-the-easy-way/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>So you&#8217;ve been busy taking advantage of <a href="http://codex.wordpress.org/Post_Types#Custom_Types" target="_blank">custom post type</a> functionalities in WordPress since mid 2010. And of course you&#8217;re using <a href="http://codex.wordpress.org/Taxonomies#Custom_Taxonomies" target="_blank">custom taxonomies</a> too, right? Of course you are.</p>
<p>If you&#8217;re a theme or plugin developer you may have ran across the need to populate a dropdown list of your custom taxonomies. Essentially there are two different (easy) ways to accomplish this. One you always hear about and the other you don&#8217;t.</p>
<p><strong>Method #1</strong></p>
<p>Since WP 2.1 the <code><a href="http://codex.wordpress.org/Function_Reference/wp_dropdown_categories" target="_blank">wp_dropdown_categories</a></code> function has been around but in WP 3.0 the <code>taxonomy</code> argument was introduced. So just calling this function and using the <code>taxonomy</code> argument is probably the absolute easiest way to populate a dropdown list of your custom taxonomies.</p>
<pre>&lt;?php wp_dropdown_categories('taxonomy=my_custom_taxonomy'); ?&gt;</pre>
<p>This method is great if you need the output of your dropdown values to be the category ID. Because this is the HTML that will be generated:</p>
<pre>&lt;select name="cat" class="postform"&gt;
	&lt;option value="3"&gt;Tax A&lt;/option&gt;
	&lt;option value="14"&gt;Tax B&lt;/option&gt;
	&lt;option value="26"&gt;Tax C&lt;/option&gt;
	&lt;option value="29"&gt;Tax D&lt;/option&gt;
&lt;/select&gt;</pre>
<p>However, let&#8217;s say you want your option value output to be the taxonomy&#8217;s slug instead of the ID. Well, that&#8217;s impossible to achieve using the <code>wp_dropdown_categories</code> function.</p>
<p>Peering into the WordPress core we see that this function is using a walker class called <code>Walker_CategoryDropdown</code>. This walker is designed to output only the ID as the value for each dropdown item. There is not an argument in the function to control value output.</p>
<p><strong>Method #2</strong></p>
<p>That&#8217;s where Method #2 comes in. We&#8217;ll have to write our own custom function that will generate the dropdown so we can output each option value as a slug:</p>
<pre>&lt;?php

function custom_taxonomy_dropdown($taxonomy) {
	$terms = get_terms($taxonomy);
	echo '&lt;select name="'.$taxonomy.'" class="postform"&gt;';
	foreach ($terms as $term) {
		echo '&lt;option value="'.$term-&gt;slug.'"&gt;'.$term-&gt;name.'&lt;/option&gt;';
	}
	echo '&lt;/select&gt;';
}

?&gt;</pre>
<p>So, now that we&#8217;ve got a cool custom function, we can call anywhere in our code like so:</p>
<pre>&lt;?php custom_taxonomy_dropdown('my_custom_taxonomy'); ?&gt;</pre>
<p><strong>Expansions on Method #2</strong></p>
<p>If you&#8217;re a coding rockstar you can take Method #2 even further by making room for more parameters. This will give you even more control and make it function more like <code>wp_dropdown_categories</code> does:</p>
<pre>&lt;?php

function custom_taxonomy_dropdown($taxonomy, $orderby, $order, $limit, $name, $show_option_all, $show_option_none) {
	$args = array(
		'orderby' =&gt; $orderby,
		'order' =&gt; $order,
		'number' =&gt; $limit
	);
	$terms = get_terms($taxonomy, $args);
	echo '&lt;select name="'.$name.'" class="postform"&gt;';
	if($show_option_all) echo '&lt;option value="0"&gt;'.$show_option_all.'&lt;/option&gt;';
	if($show_option_none) echo '&lt;option value="-1"&gt;'.$show_option_none.'&lt;/option&gt;';
	foreach ($terms as $term) {
		echo '&lt;option value="'.$term-&gt;slug.'"&gt;'.$term-&gt;name.'&lt;/option&gt;';
	}
	echo '&lt;/select&gt;';
}

?&gt;</pre>
<p>Then call it in your code like so:</p>
<pre>&lt;?php custom_taxonomy_dropdown('my_custom_taxonomy', 'date', 'DESC', '5', 'my_custom_taxonomy', 'Select All', 'Select None'); ?&gt;</pre>
<p>As you can see, WordPress has done a fabulous job of making room for you and I to do pretty much whatever we want.</p>
<p>To reference all available arguments and parameters, please see:<br />
<a href="http://codex.wordpress.org/Function_Reference/wp_dropdown_categories" target="_blank">http://codex.wordpress.org/Function_Reference/wp_dropdown_categories</a><br />
<a href="http://codex.wordpress.org/Function_Reference/get_terms" target="_blank">http://codex.wordpress.org/Function_Reference/get_terms</a></p>
<p>Was this code helpful to you? Let me know in the comments!</p>
]]></content:encoded>
			<wfw:commentRss>http://frankiejarrett.com/2011/09/create-a-dropdown-of-custom-taxonomies-in-wordpress-the-easy-way/feed/</wfw:commentRss>
		<slash:comments>10</slash:comments>
		</item>
		<item>
		<title>How to remove an auto-complete URL from Chrome on a Mac</title>
		<link>http://frankiejarrett.com/2011/08/how-to-remove-an-auto-complete-url-from-chrome-on-a-mac/</link>
		<comments>http://frankiejarrett.com/2011/08/how-to-remove-an-auto-complete-url-from-chrome-on-a-mac/#comments</comments>
		<pubDate>Tue, 23 Aug 2011 17:54:48 +0000</pubDate>
		<dc:creator>Frankie Jarrett</dc:creator>
				<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[chrome]]></category>
		<category><![CDATA[mac]]></category>
		<category><![CDATA[webkit]]></category>

		<guid isPermaLink="false">http://frankiejarrett.com/?p=129</guid>
		<description><![CDATA[If you&#8217;re at all like me, you get very annoyed at little things Let&#8217;s imagine you love to browse with Chrome on your beloved Mac and you frequently visit Facebook. So you type the letters &#8220;fa&#8221; in your browser&#8217;s address bar &#8230; <a href="http://frankiejarrett.com/2011/08/how-to-remove-an-auto-complete-url-from-chrome-on-a-mac/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>If you&#8217;re at all like me, you get very annoyed at little things <img src='http://frankiejarrett.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>Let&#8217;s imagine you love to browse with <a href="http://www.google.com/chrome" target="_blank">Chrome</a> on your beloved Mac and you frequently visit Facebook. So you type the letters &#8220;fa&#8221; in your browser&#8217;s address bar and *bam!* the URL auto-completes to read &#8220;facebook.com&#8221;. It&#8217;s a wonderful thing. But sometimes it&#8217;s not so wonderful.</p>
<p><a href="http://www.google.com/support/forum/p/Chrome/thread?tid=075a627e7d92e38c" target="_blank">Some users are reporting</a> that when you first startup Safari or Chrome on a Mac the browser may take a while to load those auto-complete gems from your history. That&#8217;s not good when you&#8217;re used to typing &#8220;fa&#8221; and rapidly pressing &#8220;Enter&#8221;.</p>
<p>Oops! Now you&#8217;ve just asked your browser to visit &#8220;fa&#8221; (which does not exist) and from this point on &#8220;facebook.com&#8221; will show up as the second auto-complete option. Yikes! How do we remove that darn &#8220;fa&#8221; entry now showing above the actual entry we want?</p>
<p>There is hope.</p>
<p>On a PC everyone seems to have the answer. You simply highlight the entry and press &#8220;Shift+Delete&#8221;. But us Mac users have an extra step that no one seems to be talking about.</p>
<p>On a Mac, you need to highlight the entry and then press &#8220;Fn + Shift + Del&#8221;. Now, you might need to wait a bit, or restart the browser to see it removed but I found it to work perfectly.</p>
<p>Did this work for you? Let me know.</p>
]]></content:encoded>
			<wfw:commentRss>http://frankiejarrett.com/2011/08/how-to-remove-an-auto-complete-url-from-chrome-on-a-mac/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>5 Cross-platform mobile frameworks worth considering</title>
		<link>http://frankiejarrett.com/2011/08/5-cross-platform-mobile-frameworks-worth-considering/</link>
		<comments>http://frankiejarrett.com/2011/08/5-cross-platform-mobile-frameworks-worth-considering/#comments</comments>
		<pubDate>Fri, 19 Aug 2011 02:38:51 +0000</pubDate>
		<dc:creator>Frankie Jarrett</dc:creator>
				<category><![CDATA[Reviews]]></category>
		<category><![CDATA[android]]></category>
		<category><![CDATA[css3]]></category>
		<category><![CDATA[html5]]></category>
		<category><![CDATA[ios]]></category>
		<category><![CDATA[javascript]]></category>
		<category><![CDATA[mobile]]></category>

		<guid isPermaLink="false">http://frankiejarrett.com/?p=113</guid>
		<description><![CDATA[I&#8217;ve been doing a shallow dive into the development of native mobile apps. In my exploring, I&#8217;ve discovered a lot of conversation about these five mobile frameworks that seem to be speeding up development time and productivity: Titanium PhoneGap Rhomobile &#8230; <a href="http://frankiejarrett.com/2011/08/5-cross-platform-mobile-frameworks-worth-considering/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve been doing a shallow dive into the development of native mobile apps. In my exploring, I&#8217;ve discovered a lot of conversation about these five mobile frameworks that seem to be speeding up development time and productivity:</p>
<p><a href="http://www.appcelerator.com/products/titanium-mobile-application-development/" target="_blank">Titanium</a><br />
<a href="http://www.phonegap.com/" target="_blank"> PhoneGap</a><br />
<a href="http://rhomobile.com/"> Rhomobile</a><br />
<a href="http://www.anscamobile.com/corona/" target="_blank"> Corona</a><br />
<a href="http://www.sencha.com/products/touch/" target="_blank"> Sencha Touch</a></p>
<p>Has anyone had any experience with one or more of these?</p>
]]></content:encoded>
			<wfw:commentRss>http://frankiejarrett.com/2011/08/5-cross-platform-mobile-frameworks-worth-considering/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Create a shortcode for displaying Order History on your Cart66 site</title>
		<link>http://frankiejarrett.com/2011/08/create-a-shortcode-for-displaying-order-history-on-your-cart66-site/</link>
		<comments>http://frankiejarrett.com/2011/08/create-a-shortcode-for-displaying-order-history-on-your-cart66-site/#comments</comments>
		<pubDate>Mon, 15 Aug 2011 00:21:47 +0000</pubDate>
		<dc:creator>Frankie Jarrett</dc:creator>
				<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[cart66]]></category>
		<category><![CDATA[custom functions]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[shortcodes]]></category>

		<guid isPermaLink="false">http://frankiejarrett.com/?p=38</guid>
		<description><![CDATA[I&#8217;m a fan of Cart66. It&#8217;s easy to integrate and has a fair amount of features that make it a flexible e-commerce and member management solution for WordPress. However, there&#8217;s one pretty big feature that Cart66 is missing: the ability &#8230; <a href="http://frankiejarrett.com/2011/08/create-a-shortcode-for-displaying-order-history-on-your-cart66-site/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>I&#8217;m a fan of <a href="http://cart66.com/" target="_blank">Cart66</a>. It&#8217;s easy to integrate and has a fair amount of features that make it a flexible e-commerce and member management solution for WordPress.</p>
<p>However, there&#8217;s one pretty big feature that Cart66 is missing: the ability to display the Order History of a logged in user.</p>
<p>What? Really?</p>
<p>Yes. Really.</p>
<p>This doesn&#8217;t really require a lot of explanation. It was easy to achieve with a simple SQL query and a custom loop. And all without editing the Cart66 core! So you can keep updating the plugin without worry. <img src='http://frankiejarrett.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>Websites that sell digital goods will especially find this handy since users will be able to view their past receipts to re-download purchases.</p>
<p>Just insert this code into the functions.php file of your WordPress theme and use the shortcode <code>[order_history]</code> on a member&#8217;s only page to show the Order History for that user. Enjoy!</p>
<p>The original code for this idea came from a post by <a title="Show a user’s order history on “My Account” in Cart66" href="http://alisothegeek.com/2011/06/show-a-users-order-history-on-my-account-in-cart66/" target="_blank">Alison Barrett</a>.</p>
<pre>// Cart66 order history shortcode
function cart66_order_history( $atts, $content = null ) {
	extract( shortcode_atts( array(), $atts ) );
	global $wpdb;
	$results = $wpdb-&gt;get_results( "SELECT ouid, ordered_on, trans_id, total, status FROM " . $wpdb-&gt;prefix . "cart66_orders WHERE account_id = " . Cart66Session::get( 'Cart66AccountId' ) . ' ORDER BY ordered_on DESC' );
	foreach($results as $order){
		$data .= '&lt;tr&gt;&lt;td&gt;' . $order-&gt;trans_id . '&lt;/td&gt;&lt;td&gt;' . date( 'F j, Y', strtotime( $order-&gt;ordered_on ) ) . '&lt;/td&gt;&lt;td&gt;' . $order-&gt;total . '&lt;/td&gt;&lt;td&gt;' . ucwords( $order-&gt;status ) . '&lt;/td&gt;&lt;td&gt;&lt;a href="' . get_bloginfo( 'url' ) . '/store/receipt/?ouid=' . $order-&gt;ouid . '" title="Click to view receipt" target="_blank"&gt;View Receipt&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;';
	}
	$table = '&lt;table id="viewCartTable"&gt;
				&lt;thead&gt;
					&lt;tr&gt;
						&lt;th&gt;Order Number&lt;/th&gt;
						&lt;th&gt;Date&lt;/th&gt;
						&lt;th&gt;Total&lt;/th&gt;
						&lt;th&gt;Order Status&lt;/th&gt;
						&lt;th&gt;Receipt&lt;/th&gt;
					&lt;/tr&gt;
				&lt;/thead&gt;
				&lt;tbody&gt;' . $data . '&lt;/tbody&gt;&lt;/table&gt;';
	return $table;
}
add_shortcode('order_history', 'cart66_order_history');</pre>
]]></content:encoded>
			<wfw:commentRss>http://frankiejarrett.com/2011/08/create-a-shortcode-for-displaying-order-history-on-your-cart66-site/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>What&#8217;s the future of the WordPress iOS app?</title>
		<link>http://frankiejarrett.com/2011/08/whats-the-future-of-the-wordpress-ios-app/</link>
		<comments>http://frankiejarrett.com/2011/08/whats-the-future-of-the-wordpress-ios-app/#comments</comments>
		<pubDate>Thu, 11 Aug 2011 00:13:55 +0000</pubDate>
		<dc:creator>Frankie Jarrett</dc:creator>
				<category><![CDATA[Thoughts]]></category>
		<category><![CDATA[ios]]></category>
		<category><![CDATA[wordpress]]></category>

		<guid isPermaLink="false">http://frankiejarrett.com/?p=31</guid>
		<description><![CDATA[I don&#8217;t launch the WordPress iOS application very often, and when I do it&#8217;s usually to do a quick typo fix on a post, page or comment. Sadly, there is no other reason to use it. Once, I heard Matt &#8230; <a href="http://frankiejarrett.com/2011/08/whats-the-future-of-the-wordpress-ios-app/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>I don&#8217;t launch the WordPress iOS application very often, and when I do it&#8217;s usually to do a quick typo fix on a post, page or comment. Sadly, there is no other reason to use it.</p>
<p>Once, I heard <a href="http://ma.tt" target="_blank">Matt Mullenweg</a> mention in a podcast interview (can&#8217;t remember where, sorry) that he really wasn&#8217;t happy with the app and agreed there was still a lot to be done. I&#8217;m always glad to see Matt pushing for more and it makes me very optimistic about the app&#8217;s future.</p>
<p>I don&#8217;t intend for this post to be a rant, I just believe that in order for the app to have a successful future, it should be supporting what WordPress is already known for. Otherwise, Tumblr, Posterous and a slew of other platforms who are thinking more &#8220;mobile&#8221; could gain a significant portion of the WordPress market share.</p>
<p>It seems to me that there are five major components of WordPress that just aren&#8217;t supported by the app yet.</p>
<p><strong>1. Custom Post Types</strong><br />
This is a big one. WordPress introduced them in June 2010 with version 3.0 and we still don&#8217;t have them supported in the iOS app. This is probably the biggest upset of the five since it has been around for over a year and involves the very core of WordPress: Writing posts.</p>
<p><strong>2. Widgets</strong><br />
Seriously? Yes, seriously. Currently, there is no way to add, modify or remove widgets from your WordPress site using the iOS app. Some may disagree that this belongs on my list, but I think it&#8217;s deserving. Widgets were introduced in version 2.2 and are one of the core things that makes WordPress unique and attractive. The mobile app should reflect WordPress&#8217;s existing core strengths to differentiate itself from other mobile players.</p>
<p><strong>3. Post Formats</strong><br />
Post formats were introduced in version 3.1 and I think it was an excellent addition. It took the Custom Post Types functionality from version 3.0 and expanded it even further. We even saw the birth of &#8220;Tumblogs&#8221;, or WordPress themes that function like Tumblr sites, all because of Post Formats. Hell, I can&#8217;t even use the default <a href="http://wordpress.org/extend/themes/twentyeleven" target="_blank">Twentyeleven</a> theme effectively on iOS because support for Post Formats is still missing. This would be a huge improvement.</p>
<p><strong>4. Custom Fields (Post Meta)</strong><br />
Some plugins and advanced themes take advantage of Custom Fields on WordPress posts and pages. Although not always crucial, this is another capability that already makes WordPress unique and is part of core functionality so I believe it should be a part of the mobile strategy.</p>
<p><strong>5. Theme Options<br />
</strong>Almost every theme these days has a variety of Theme Options. And I&#8217;m not just talking about the &#8220;Theme Options&#8221; item under the Appearance menu, but also Header, Background, Sidebars and any other options page available for a particular theme. Why is this last on my list? Because Theme Options aren&#8217;t exactly critical for delivering content, which is what mobile is really all about: creating and publishing content quickly while on-the-go.</p>
<p>Jump on over to the <a href="http://ios.forums.wordpress.org/" target="_blank">WordPress iOS App Forum</a> to join the conversation or be part of the solution.</p>
]]></content:encoded>
			<wfw:commentRss>http://frankiejarrett.com/2011/08/whats-the-future-of-the-wordpress-ios-app/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Remove specific admin menu items in WordPress</title>
		<link>http://frankiejarrett.com/2011/08/remove-specific-admin-menu-items-in-wordpress/</link>
		<comments>http://frankiejarrett.com/2011/08/remove-specific-admin-menu-items-in-wordpress/#comments</comments>
		<pubDate>Sat, 06 Aug 2011 20:42:33 +0000</pubDate>
		<dc:creator>Frankie Jarrett</dc:creator>
				<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[admin]]></category>
		<category><![CDATA[custom functions]]></category>
		<category><![CDATA[menu]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[wordpress]]></category>

		<guid isPermaLink="false">http://frankiejarrett.com/?p=1</guid>
		<description><![CDATA[Of course I love running the daily grind over at ChurchThemes, but every once in a (great) while I do take on a side project for a friend. And each time, I&#8217;m reminded how truly different doing client work is &#8230; <a href="http://frankiejarrett.com/2011/08/remove-specific-admin-menu-items-in-wordpress/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>Of course I love running the daily grind over at <a href="http://churchthemes.net/" target="_blank">ChurchThemes</a>, but every once in a (great) while I do take on a side project for a friend. And each time, I&#8217;m reminded how truly different doing client work is from being a theme publisher.</p>
<p>Sometimes it&#8217;s best &#8211; especially when you&#8217;re using WordPress as a CMS &#8211; to remove those unwanted admin menus that create clutter for clients. They are never going to use them so why confuse their admin experience? For example: if the client isn&#8217;t going to blog, why include the Posts and Comments menus?</p>
<p>Just insert this code into the functions.php file of your WordPress theme and *bam!* no more clutter.</p>
<p>(Make sure to remove the items in the <code>$hidden</code> array you don&#8217;t want to hide, this is just an example so you can see what&#8217;s possible) Enjoy!</p>
<pre>
// Remove Specific Admin Menu Items
function remove_menu_items() {
	global $menu;
	$hidden = array(
		__('Posts'),
		__('Media'),
		__('Links'),
		__('Pages'),
		__('Comments'),
		__('Plugins'),
		__('Users'),
		__('Tools')
	);
	end ($menu);
	while (prev($menu)) {
		$value = explode(' ', $menu[key($menu)][0]);
		if(in_array($value[0] != NULL?$value[0]:"", $hidden)){
			unset($menu[key($menu)]);
		}
	}
}
add_action('admin_menu', 'remove_menu_items');
</pre>
]]></content:encoded>
			<wfw:commentRss>http://frankiejarrett.com/2011/08/remove-specific-admin-menu-items-in-wordpress/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

<!-- Performance optimized by W3 Total Cache. Learn more: http://www.w3-edge.com/wordpress-plugins/

Page Caching using disk: enhanced

Served from: frankiejarrett.com @ 2012-02-22 22:45:41 -->
