<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" media="screen" href="/~d/styles/rss2full.xsl"?><?xml-stylesheet type="text/css" media="screen" href="http://feeds.feedburner.com/~d/styles/itemcontent.css"?><rss 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/" xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0" version="2.0">

<channel>
	<title>Wordpress Tips</title>
	
	<link>http://tipsforwordpress.com</link>
	<description>Tips and Tricks for Wordpress</description>
	<lastBuildDate>Sun, 20 Nov 2011 22:52:19 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="self" type="application/rss+xml" href="http://feeds.feedburner.com/tipsforwordpress" /><feedburner:info uri="tipsforwordpress" /><atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="hub" href="http://pubsubhubbub.appspot.com/" /><item>
		<title>WordPress Pretty URL Sorting by Date</title>
		<link>http://feedproxy.google.com/~r/tipsforwordpress/~3/bGte9mcj7F0/</link>
		<comments>http://tipsforwordpress.com/wordpress/wordpress-pretty-url-sorting-by-date/#comments</comments>
		<pubDate>Sun, 20 Nov 2011 22:44:27 +0000</pubDate>
		<dc:creator>Weston Deboer</dc:creator>
				<category><![CDATA[PHP]]></category>
		<category><![CDATA[Wordpress]]></category>
		<category><![CDATA[add_action]]></category>
		<category><![CDATA[add_filter]]></category>
		<category><![CDATA[add_rewrite_rule]]></category>
		<category><![CDATA[functions]]></category>

		<guid isPermaLink="false">http://tipsforwordpress.com/?p=134</guid>
		<description><![CDATA[I don&#8217;t know how to title this post properly, so I am just going to try and explain it and see if then I can have a good title. I wanted to be able to sort custom post types by &#8230; <a href="http://tipsforwordpress.com/wordpress/wordpress-pretty-url-sorting-by-date/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>I don&#8217;t know how to title this post properly, so I am just going to try and explain it and see if then I can have a good title. I wanted to be able to sort custom post types by the url and have it look pretty. I wanted it to look like:</p>
<p>http://www.com/customposttype/date/asc/</p>
<p>I know how to do:</p>
<p>http://www.com/customposttype/?sortby=date&#038;direction=asc</p>
<p>The key is that I wanted it to be clean looking and now that I found out that it is relatively simple. I am going to be using this more and maybe make a plugin for it. I am just wondering out loud if this is already built into WordPress and I am being dumb (which I hope is the case, because I will really use this more and more in the sites that I make).</p>
<p>This goes into functions.php:<br />
<iframe src="http://pastebin.com/embed_iframe.php?i=PmB6f0f1" style="border:none;width:100%"></iframe></p>
<p>in my example above I am using the page &#8220;art&#8221; which uses a custom template. So when the URL h<a href="http://youawake.com/art/date/desc/">ttp://youawake.com/art/date/desc/</a> gets called.</p>
<p>Now within the custom page template ART, I just need to call the variable that gets displayed and then sort it within the query, the example.</p>
<p><iframe src="http://pastebin.com/embed_iframe.php?i=qGRNgAW9" style="border:none;width:100%"></iframe></p>
<p>If there is no date sort it just displays it by default order.</p>
<p>You can see my two examples at:<br />
<a href="http://youawake.com/art/date/desc/ ">http://youawake.com/art/date/desc/<br />
</a><br />
<a href="http://youawake.com/art/date/asc/">http://youawake.com/art/date/asc/</a></p>
<img src="http://feeds.feedburner.com/~r/tipsforwordpress/~4/bGte9mcj7F0" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://tipsforwordpress.com/wordpress/wordpress-pretty-url-sorting-by-date/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://tipsforwordpress.com/wordpress/wordpress-pretty-url-sorting-by-date/</feedburner:origLink></item>
		<item>
		<title>Single Serving WordPress Theme</title>
		<link>http://feedproxy.google.com/~r/tipsforwordpress/~3/Rxma2fTda40/</link>
		<comments>http://tipsforwordpress.com/wordpress/single-serving-wordpress-theme/#comments</comments>
		<pubDate>Fri, 13 May 2011 00:20:19 +0000</pubDate>
		<dc:creator>Weston Deboer</dc:creator>
				<category><![CDATA[Theme]]></category>
		<category><![CDATA[Wordpress]]></category>

		<guid isPermaLink="false">http://tipsforwordpress.com/?p=127</guid>
		<description><![CDATA[I just bought a domain today doineedtoseeitin3d.com and I was sad to see that there are no single serving WordPress themes. So, I went ahead and made it obviously. This is my second attempt at doing a Single Serving Site. &#8230; <a href="http://tipsforwordpress.com/wordpress/single-serving-wordpress-theme/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p><img class="size-medium wp-image-128 alignnone" title="Screen shot 2011-05-12 at 5.12.09 PM" src="http://tipsforwordpress.com/images/2011/05/Screen-shot-2011-05-12-at-5.12.09-PM-514x338.png" alt="" width="514" height="338" /></p>
<p>I just bought a domain today <a href="http://www.doineedtoseeitin3d.com/">doineedtoseeitin3d.com</a> and I was sad to see that there are no single serving WordPress themes. So, I went ahead and made it obviously. This is my second attempt at doing a Single Serving Site. But now that I have a WordPress theme for it, I think I will make more.</p>
<p><a href="http://tipsforwordpress.com/images/2011/05/single-serving.zip">Download</a><br />
<a href="http://www.doineedtoseeitin3d.com/">Demo</a> with random posts setting</p>
<img src="http://feeds.feedburner.com/~r/tipsforwordpress/~4/Rxma2fTda40" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://tipsforwordpress.com/wordpress/single-serving-wordpress-theme/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://tipsforwordpress.com/wordpress/single-serving-wordpress-theme/</feedburner:origLink></item>
		<item>
		<title>Simple Comment Spam Stopper</title>
		<link>http://feedproxy.google.com/~r/tipsforwordpress/~3/za5XTjhK_E8/</link>
		<comments>http://tipsforwordpress.com/wordpress/simple-comment-spam-stopper/#comments</comments>
		<pubDate>Mon, 09 May 2011 00:46:52 +0000</pubDate>
		<dc:creator>Weston Deboer</dc:creator>
				<category><![CDATA[PHP]]></category>
		<category><![CDATA[Wordpress]]></category>
		<category><![CDATA[plugin]]></category>

		<guid isPermaLink="false">http://tipsforwordpress.com/?p=123</guid>
		<description><![CDATA[This is from Another Approach at Comment Spam, I couldn&#8217;t wait for a plugin to be made, So I just made it myself. All this does it add is a hidden field to the comment form, spam. And if anything &#8230; <a href="http://tipsforwordpress.com/wordpress/simple-comment-spam-stopper/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>This is from <a href="http://kovshenin.com/archives/another-approach-at-comment-spam/">Another Approach at Comment Spam</a>, I couldn&#8217;t wait for a plugin to be made, So I just made it myself. </p>
<p>All this does it add is a hidden field to the comment form, spam. And if anything gets put into there it gets marked as spam. Simple as that. I was getting some spam on my WordPress sites that I had to do something more about it. I did not want to upload it to the WordPress plugin directory because it wasn&#8217;t my idea. </p>
<p><a href="http://tipsforwordpress.com/download/simple-comment-spam-stopper.zip">Download</a></p>
<img src="http://feeds.feedburner.com/~r/tipsforwordpress/~4/za5XTjhK_E8" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://tipsforwordpress.com/wordpress/simple-comment-spam-stopper/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://tipsforwordpress.com/wordpress/simple-comment-spam-stopper/</feedburner:origLink></item>
		<item>
		<title>WordPress Instant Search</title>
		<link>http://feedproxy.google.com/~r/tipsforwordpress/~3/vjBsystKubw/</link>
		<comments>http://tipsforwordpress.com/wordpress/wordpress-instant-search/#comments</comments>
		<pubDate>Tue, 21 Sep 2010 18:11:20 +0000</pubDate>
		<dc:creator>Weston Deboer</dc:creator>
				<category><![CDATA[PHP]]></category>
		<category><![CDATA[Wordpress]]></category>
		<category><![CDATA[instant]]></category>
		<category><![CDATA[instant search]]></category>
		<category><![CDATA[search]]></category>

		<guid isPermaLink="false">http://tipsforwordpress.com/?p=121</guid>
		<description><![CDATA[I have been getting a lot of requests lately to do an Instant Search type thing for a couple of my sites. I wasn&#8217;t really into it, and I am still not into it. I have had trouble lately with &#8230; <a href="http://tipsforwordpress.com/wordpress/wordpress-instant-search/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>I have been getting a lot of requests lately to do an Instant Search type thing for a couple of my sites. I wasn&#8217;t really into it, and I am still not into it. I have had trouble lately with searching, on how to do it properly. But this sparked my interest in search and have now found a great solution. Apparently RLIKE is way better to use than LIKE in your mysql query. Also, you need to do an array to search for two words if two words are present and on and on. But anyways, this tutorial, <a href="http://woorkup.com/2010/09/13/how-to-create-your-own-instant-search/">How-To Create Your Own Instant Search</a> sparked my interest for some reason into looking into it again. It is basically an Instant google/facebook type search. I had a lot of trouble with the code but, took me an hour or so to figure it out. You can see an example at <a href="http://obeygiant.com/search">Obey Giant Search</a>. It is awful and doesn&#8217;t work very well, but it is just for fun. </p>
<p><strong>Download: <a href="http://tipsforwordpress.com/download/instant-search.zip">instant-search.zip</a></strong></p>
<p>I am not going to get into how this works, or anything like that. This is a complete file that will work when everything gets changed. It is for wordPress specifically, but can be used in other ways. </p>
<img src="http://feeds.feedburner.com/~r/tipsforwordpress/~4/vjBsystKubw" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://tipsforwordpress.com/wordpress/wordpress-instant-search/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		<feedburner:origLink>http://tipsforwordpress.com/wordpress/wordpress-instant-search/</feedburner:origLink></item>
		<item>
		<title>Make Network WordPress Private Site Wide</title>
		<link>http://feedproxy.google.com/~r/tipsforwordpress/~3/yPKRgpQ_mT4/</link>
		<comments>http://tipsforwordpress.com/wordpress/make-network-wordpress-private-site-wide/#comments</comments>
		<pubDate>Tue, 24 Aug 2010 19:14:50 +0000</pubDate>
		<dc:creator>Weston Deboer</dc:creator>
				<category><![CDATA[Wordpress]]></category>

		<guid isPermaLink="false">http://tipsforwordpress.com/?p=114</guid>
		<description><![CDATA[I am creating an Intranet wordPress site for the company that I work for. It has different sections for each part of the company. When you login to the site it will show you everything that you have access to, &#8230; <a href="http://tipsforwordpress.com/wordpress/make-network-wordpress-private-site-wide/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>I am creating an Intranet wordPress site for the company that I work for. It has different sections for each part of the company. When you login to the site it will show you everything that you have access to, Graphs, Charts, Personal To Do&#8217;s. This is all using WordPress Multi Network, and it is slowly coming along and now I wanted to make it private. This is a two fold thing, We want you to be logged in to view whats going on, and we don&#8217;t want any outsiders seeing what we are doing. I could put this on a computer her in the office and host it internally, but thats no fun, We have a lot of satellite working and are often working off our devices. So thats why i made it possible to access anywhere.</p>
<p>Anyways, We wanted to make it so you had to login to be able to see anything. Essentially making it private. Luckily there is already a plugin out there and it is very small, and works magical to our needs, <a href="http://wordpress.org/extend/plugins/private-wp/">Private WP</a>. But  then I have to add it to every blog we have and activate it. But thankfully wordPress is smart and made a mu-plugins folder in wp-content. Whatever plugin you add in there gets activated and added to every blog in your install.<br />
<a href="http://tipsforwordpress.com/images/2010/08/Screen-shot-2010-08-24-at-12.04.46-PM.png"><img class="alignright size-full wp-image-115" title="Make Network WordPress Private Site Wide" src="http://tipsforwordpress.com/images/2010/08/Screen-shot-2010-08-24-at-12.04.46-PM.png" alt="Make Network WordPress Private Site Wide" width="510" height="277" /></a></p>
<p>All you have to do is download the plugin and upload it to that folder and it is activated site wide.</p>
<p>This is the plugin, which is exactly how I would have done it.</p>
<p><code><br />
function private_wp() {<br />
  if (!is_user_logged_in()) {<br />
    auth_redirect();<br />
  }<br />
}</p>
<p>add_action('get_header', 'private_wp');<br />
</code></p>
<img src="http://feeds.feedburner.com/~r/tipsforwordpress/~4/yPKRgpQ_mT4" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://tipsforwordpress.com/wordpress/make-network-wordpress-private-site-wide/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://tipsforwordpress.com/wordpress/make-network-wordpress-private-site-wide/</feedburner:origLink></item>
		<item>
		<title>Code Injection</title>
		<link>http://feedproxy.google.com/~r/tipsforwordpress/~3/XA_UIWNWST0/</link>
		<comments>http://tipsforwordpress.com/php/code-injection/#comments</comments>
		<pubDate>Sat, 22 May 2010 21:22:22 +0000</pubDate>
		<dc:creator>Weston Deboer</dc:creator>
				<category><![CDATA[PHP]]></category>
		<category><![CDATA[code injection]]></category>
		<category><![CDATA[wordpress code injection]]></category>

		<guid isPermaLink="false">http://tipsforwordpress.com/?p=101</guid>
		<description><![CDATA[So, I found out this weekend that I got all my sites injected with code. I tried deleting it and it just wouldn&#8217;t go away. It had injected itself into every plugin in the plugin folder. I tried removing the &#8230; <a href="http://tipsforwordpress.com/php/code-injection/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>So, I found out this weekend that I got all my sites injected with code. I tried deleting it and it just wouldn&#8217;t go away. It had injected itself into every plugin in the plugin folder. I tried removing the code, but it was still showing up in the footer of my theme. So, I just tried to do some more detective work on how to remove it. Thank god for google, I found the answer at stack overflow which is a great resource for doing this sort of thing. I found a code that scans files and looks for  the code injection if it uses base64 injection. Anyways, since i have multiple domains in my host i changed one thing.<br />
<code><br />
This script will clean the malware from this attack:</p>
<p><?php</p>
<p>$dir = "./";</p>
<p>$rmcode = `find $dir -name "*.php" -type f |xargs sed -i 's#<?php /\*\*/ eval(base64_decode("aWY.*?>##g' 2>&#038;1`;<br />
echo "Malware removed.<br />\n";<br />
$emptyline = `find $dir -name "*.php" -type f | xargs sed -i '/./,$!d' 2>&#038;1`;<br />
echo "Empty lines removed.<br />\n";<br />
?><br />
<br />
Completed.</code></p>
<p>If you upload this to the root of your website and open it up in the browser it will do as it says. I changed the $dir = &#8220;./&#8221;; to $dir = &#8220;./../&#8221;; so it went through all my websites at the same time. Took about 30 seconds or so. And it removed the injection from all my sites. Great</p>
<img src="http://feeds.feedburner.com/~r/tipsforwordpress/~4/XA_UIWNWST0" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://tipsforwordpress.com/php/code-injection/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		<feedburner:origLink>http://tipsforwordpress.com/php/code-injection/</feedburner:origLink></item>
		<item>
		<title>Disable New User Email Notifications</title>
		<link>http://feedproxy.google.com/~r/tipsforwordpress/~3/Drf_Ap9iGzg/</link>
		<comments>http://tipsforwordpress.com/wordpress/disable-new-user-email-notifications/#comments</comments>
		<pubDate>Sat, 13 Mar 2010 22:48:31 +0000</pubDate>
		<dc:creator>Weston Deboer</dc:creator>
				<category><![CDATA[Wordpress]]></category>
		<category><![CDATA[disable]]></category>
		<category><![CDATA[email]]></category>
		<category><![CDATA[new user]]></category>
		<category><![CDATA[PHP]]></category>

		<guid isPermaLink="false">http://tipsforwordpress.com/?p=98</guid>
		<description><![CDATA[This plugin will disable emails about new users who register on your blog. It is a very simple plugin that just changes what happens when new users registers. You can download this plugin here. I am going to be submitting &#8230; <a href="http://tipsforwordpress.com/wordpress/disable-new-user-email-notifications/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>This plugin will disable emails about new users who register on your blog. It is a very simple plugin that just changes what happens when new users registers. </p>
<p>You can download this plugin <a href="http://tipsforwordpress.com/download/disable-new-user-notifications.zip">here</a>.</p>
<p>I am going to be submitting this plugin to the repository, I don&#8217;t suspect any updates to this anytime soon. But if there are, it will be there. </p>
<p><code><br />
<?php<br />
/*<br />
Plugin Name: Disable new user email notifications<br />
Plugin URI: http://www.tipsforwordpress.com<br />
Description: Disables email notifications of new users registered on your blog<br />
Author URI: http://westondeboer.com<br />
Version: 1.0<br />
*/</p>
<p>if ( !function_exists('wp_new_user_notification') ) :<br />
function wp_new_user_notification($user_id, $plaintext_pass = '') {<br />
	$user = new WP_User($user_id);</p>
<p>	$user_login = stripslashes($user->user_login);<br />
	$user_email = stripslashes($user->user_email);</p>
<p>	// The blogname option is escaped with esc_html on the way into the database in sanitize_option<br />
	// we want to reverse this for the plain text arena of emails.<br />
	$blogname = wp_specialchars_decode(get_option('blogname'), ENT_QUOTES);</p>
<p>	if ( empty($plaintext_pass) )<br />
		return;</p>
<p>	$message  = sprintf(__('Username: %s'), $user_login) . "\r\n";<br />
	$message .= sprintf(__('Password: %s'), $plaintext_pass) . "\r\n";<br />
	$message .= wp_login_url() . "\r\n";</p>
<p>	wp_mail($user_email, sprintf(__('[%s] Your username and password'), $blogname), $message);</p>
<p>}<br />
endif;<br />
?><br />
</code></p>
<p>With this plugin, I have learned so much about pluggable.php and am so excited about it! Things I didn&#8217;t know before.</p>
<img src="http://feeds.feedburner.com/~r/tipsforwordpress/~4/Drf_Ap9iGzg" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://tipsforwordpress.com/wordpress/disable-new-user-email-notifications/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		<feedburner:origLink>http://tipsforwordpress.com/wordpress/disable-new-user-email-notifications/</feedburner:origLink></item>
		<item>
		<title>Custom Post Types in WordPress 3.0</title>
		<link>http://feedproxy.google.com/~r/tipsforwordpress/~3/5QRnu4XbJAc/</link>
		<comments>http://tipsforwordpress.com/wordpress/custom-post-types-in-wordpress-3-0/#comments</comments>
		<pubDate>Sat, 06 Mar 2010 20:20:18 +0000</pubDate>
		<dc:creator>Weston Deboer</dc:creator>
				<category><![CDATA[Wordpress]]></category>
		<category><![CDATA[custom post type]]></category>
		<category><![CDATA[post type]]></category>
		<category><![CDATA[register_post_type]]></category>
		<category><![CDATA[wordpress 3.0]]></category>

		<guid isPermaLink="false">http://tipsforwordpress.com/?p=89</guid>
		<description><![CDATA[This has been something that I have been looking forward to for a very long time. With these options, wordpress mu and buddypress, WordPress is really a cms/blogging software to be reckoned with. Clients get confused when you install wordpress &#8230; <a href="http://tipsforwordpress.com/wordpress/custom-post-types-in-wordpress-3-0/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p><img src="http://tipsforwordpress.com/images/2010/03/custom-post-wordpress.gif" alt="" title="custom-post-wordpress" width="162" height="418" class="alignright size-full wp-image-92" /><br />
This has been something that I have been looking forward to for a very long time. With these options, wordpress mu and buddypress, WordPress is really a cms/blogging software to be reckoned with. </p>
<p>Clients get confused when you install wordpress as a cms for them and they see add a new post, they always get confused with that. With this new feature where it says add a new client, or add new business. Clients will be able to understand easily what they need to do. This will also add the ability to organize much easier within categories and categories within categories.</p>
<p>To add a custom post type in wordpress 3.0 this would go into either a plugin or the functions.php file in your theme directory:</p>
<p><code><br />
// This function is where the magic happens<br />
function post_type_gallery() {</p>
<p>// this is where we say the post type<br />
  register_post_type( 'gallery',</p>
<p>// This section tells wordpress what to show when they go to add Gallery. This will only show the subject box, the body box and the publish box.<br />
    array( 'label' => __('Gallery'), 'public' => true, 'show_ui' => true) ) );<br />
}</p>
<p>// This action shows the above function in the WordPress Dashboard<br />
add_action('init', 'post_type_gallery');<br />
</code></p>
<p>With that you will have a custom post screen, Way easier than it was before! Everything posted in this gallery section will also only appear in the gallery edit posts section. It should look this this below:</p>
<p><a href="http://tipsforwordpress.com/images/2010/03/custom-post-write-screen.gif"><img src="http://tipsforwordpress.com/images/2010/03/custom-post-write-screen-514x205.gif" alt="" title="custom-post-write-screen" width="514" height="205" class="alignright size-medium wp-image-91" /></a></p>
<p>Next will be how to add a custom field to this custom post. It is the same way as before, just a little bit of added code into the register_post_type. </p>
<p><a href="http://wpengineer.com/impressions-of-custom-post-type/">WP Engineer</a> goes a little more in detail about custom post types. More in detail about how to display certain boxes and what not. Definitely worth a read.</p>
<img src="http://feeds.feedburner.com/~r/tipsforwordpress/~4/5QRnu4XbJAc" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://tipsforwordpress.com/wordpress/custom-post-types-in-wordpress-3-0/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
		<feedburner:origLink>http://tipsforwordpress.com/wordpress/custom-post-types-in-wordpress-3-0/</feedburner:origLink></item>
		<item>
		<title>Add Link to Favorites Drop Down</title>
		<link>http://feedproxy.google.com/~r/tipsforwordpress/~3/r4E0Fcqj_CM/</link>
		<comments>http://tipsforwordpress.com/wordpress/add-link-to-favorites-drop-down/#comments</comments>
		<pubDate>Tue, 02 Mar 2010 19:36:20 +0000</pubDate>
		<dc:creator>Weston Deboer</dc:creator>
				<category><![CDATA[Wordpress]]></category>
		<category><![CDATA[functions]]></category>
		<category><![CDATA[functions.php]]></category>
		<category><![CDATA[PHP]]></category>

		<guid isPermaLink="false">http://tipsforwordpress.com/?p=85</guid>
		<description><![CDATA[I saw a post today about making a quick action button always there that required you to edit the core wordpress files. This made me cringe a little bit, I have only had to do this once for a wordpress &#8230; <a href="http://tipsforwordpress.com/wordpress/add-link-to-favorites-drop-down/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p><img class="alignright size-full wp-image-86" title="wordpress quick actions" src="http://tipsforwordpress.com/images/2010/03/quick-actions.jpg" alt="" width="216" height="193" /> I saw a <a href="http://digwp.com/2010/03/change-quick-action-button/">post</a> today about making a quick action button always there that required you to edit the core wordpress files. This made me cringe a little bit, I have only had to do this once for a wordpress install. And I always forget when I upgrade and the site gets borked. So I decided to steal a function from wp cache that does this exact same thing. </p>
<p>I have no uses for this as I can navigate to any area that I want to, pretty easily. Just putting it out there for other plugin/theme developers.  </p>
<p><code><br />
function my_favorite_action( $actions ) {</p>
<p>	$actions[ wp_nonce_url( 'edit-comments.php', 'wp-cache' ) ] = array( __( 'Manage Comments' ), 'manage_options' );</p>
<p>	return $actions;<br />
}<br />
add_filter( 'favorite_actions', 'my_favorite_action' );<br />
</code></p>
<p>The only section that you need to edit is the edit-comments.php, and just point that to where you want the link to go. And the Manage Comments will be the text that is displayed. </p>
<img src="http://feeds.feedburner.com/~r/tipsforwordpress/~4/r4E0Fcqj_CM" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://tipsforwordpress.com/wordpress/add-link-to-favorites-drop-down/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		<feedburner:origLink>http://tipsforwordpress.com/wordpress/add-link-to-favorites-drop-down/</feedburner:origLink></item>
		<item>
		<title>WordCamp San Francisco May 1st, 2010</title>
		<link>http://feedproxy.google.com/~r/tipsforwordpress/~3/8HnURNNhDvk/</link>
		<comments>http://tipsforwordpress.com/wordpress/wordcamp-san-francisco-may-1st-2010/#comments</comments>
		<pubDate>Thu, 25 Feb 2010 18:24:54 +0000</pubDate>
		<dc:creator>Weston Deboer</dc:creator>
				<category><![CDATA[Wordpress]]></category>
		<category><![CDATA[sf]]></category>
		<category><![CDATA[wordcamp]]></category>

		<guid isPermaLink="false">http://tipsforwordpress.com/?p=82</guid>
		<description><![CDATA[Just bought two WordCamp San Francisco tickets. I have never been to anything like this before and don&#8217;t know what to expect. There aren&#8217;t any speakers yet, but it will be interesting to meet some WordPress folk. There are already &#8230; <a href="http://tipsforwordpress.com/wordpress/wordcamp-san-francisco-may-1st-2010/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>Just bought two <a href="http://2010.sf.wordcamp.org/">WordCamp San Francisco</a> tickets. I have never been to anything like this before and don&#8217;t know what to expect. There aren&#8217;t any speakers yet, but it will be interesting to meet some WordPress folk. There are already some <a href="http://2010.sf.wordcamp.org/attendees/">194 attendees</a> which is impressive. I don&#8217;t really know anyone on the list except for <a href="http://ma.tt/">ma.tt</a>, But I would be interested in talking with some theme developers. I really like <a href="http://www.studiopress.com/">studiopress</a> and would be interested in chatting them up.</p>
<p>Anyways May 1st is a long way away.</p>
<img src="http://feeds.feedburner.com/~r/tipsforwordpress/~4/8HnURNNhDvk" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://tipsforwordpress.com/wordpress/wordcamp-san-francisco-may-1st-2010/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://tipsforwordpress.com/wordpress/wordcamp-san-francisco-may-1st-2010/</feedburner:origLink></item>
	</channel>
</rss><!-- WP Super Cache is installed but broken. The path to wp-cache-phase1.php in wp-content/advanced-cache.php must be fixed! -->

