<?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>bavotasan.com &#187; Settings</title>
	<atom:link href="http://bavotasan.com/tag/settings/feed/" rel="self" type="application/rss+xml" />
	<link>http://bavotasan.com</link>
	<description>by c.bavota</description>
	<lastBuildDate>Tue, 07 Feb 2012 15:42:10 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>A Settings Link for Your WordPress Plugins</title>
		<link>http://bavotasan.com/2009/a-settings-link-for-your-wordpress-plugins/</link>
		<comments>http://bavotasan.com/2009/a-settings-link-for-your-wordpress-plugins/#comments</comments>
		<pubDate>Mon, 22 Jun 2009 17:47:38 +0000</pubDate>
		<dc:creator>c.bavota</dc:creator>
				<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[admin]]></category>
		<category><![CDATA[Array]]></category>
		<category><![CDATA[code]]></category>
		<category><![CDATA[file]]></category>
		<category><![CDATA[Function]]></category>
		<category><![CDATA[link]]></category>
		<category><![CDATA[Lt]]></category>
		<category><![CDATA[menu]]></category>
		<category><![CDATA[page]]></category>
		<category><![CDATA[Php]]></category>
		<category><![CDATA[plugin]]></category>
		<category><![CDATA[Plugins]]></category>
		<category><![CDATA[return]]></category>
		<category><![CDATA[Settings]]></category>
		<category><![CDATA[tag]]></category>
		<category><![CDATA[WordPress]]></category>
		<category><![CDATA[Wordpress Plugins]]></category>

		<guid isPermaLink="false">http://bavotasan.com/?p=712</guid>
		<description><![CDATA[If you are developing a WordPress plugin, one of the first things I would suggest is adding a &#8220;Settings&#8221; link directly on the plugins page. This makes it easier for users to quickly access the plugin&#8217;s options page without having to search through the admin menu. It is pretty simple to do, and only takes [...]]]></description>
			<content:encoded><![CDATA[<p>If you are developing a WordPress plugin, one of the first things I would suggest is adding a &#8220;Settings&#8221; link directly on the plugins page. This makes it easier for users to quickly access the plugin&#8217;s options page without having to search through the admin menu.<br />
<span id="more-712"></span><br />
It is pretty simple to do, and only takes a few lines of code.</p>
<p>Add the following to your plugin file, within a &lt;php&gt; tag:</p>

<div class="wp_syntax"><table border='0' cellpadding='0' cellspacing='0'><tr><td><div class="code"><pre class="php" style="font-family:monospace;"><span style="color: #666666; font-style: italic;">// Add settings link on plugin page</span>
<span style="color: #000000; font-weight: bold;">function</span> your_plugin_settings_link<span style="color: #009900;">&#40;</span><span style="color: #000088;">$links</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span> 
  <span style="color: #000088;">$settings_link</span> <span style="color: #339933;">=</span> <span style="color: #0000ff;">'&lt;a href=&quot;options-general.php?page=your_plugin.php&quot;&gt;Settings&lt;/a&gt;'</span><span style="color: #339933;">;</span> 
  <span style="color: #990000;">array_unshift</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$links</span><span style="color: #339933;">,</span> <span style="color: #000088;">$settings_link</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span> 
  <span style="color: #b1b100;">return</span> <span style="color: #000088;">$links</span><span style="color: #339933;">;</span> 
<span style="color: #009900;">&#125;</span>
&nbsp;
<span style="color: #000088;">$plugin</span> <span style="color: #339933;">=</span> plugin_basename<span style="color: #009900;">&#40;</span><span style="color: #009900; font-weight: bold;">__FILE__</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span> 
add_filter<span style="color: #009900;">&#40;</span><span style="color: #0000ff;">&quot;plugin_action_links_<span style="color: #006699; font-weight: bold;">$plugin</span>&quot;</span><span style="color: #339933;">,</span> <span style="color: #0000ff;">'your_plugin_settings_link'</span> <span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span></pre></div></td></tr></table></div>

<p>Be sure to change the <code>your_plugin.php</code> to the actual filename of your plugin.</p>
]]></content:encoded>
			<wfw:commentRss>http://bavotasan.com/2009/a-settings-link-for-your-wordpress-plugins/feed/</wfw:commentRss>
		<slash:comments>8</slash:comments>
		</item>
		<item>
		<title>Two Things You Should Do After Installing WordPress</title>
		<link>http://bavotasan.com/2008/things-you-should-do-after-installing-wordpress/</link>
		<comments>http://bavotasan.com/2008/things-you-should-do-after-installing-wordpress/#comments</comments>
		<pubDate>Tue, 28 Oct 2008 04:58:54 +0000</pubDate>
		<dc:creator>c.bavota</dc:creator>
				<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[blog]]></category>
		<category><![CDATA[Click]]></category>
		<category><![CDATA[customize]]></category>
		<category><![CDATA[default]]></category>
		<category><![CDATA[engine]]></category>
		<category><![CDATA[google]]></category>
		<category><![CDATA[Images]]></category>
		<category><![CDATA[left]]></category>
		<category><![CDATA[menu]]></category>
		<category><![CDATA[optimization]]></category>
		<category><![CDATA[ranking]]></category>
		<category><![CDATA[search]]></category>
		<category><![CDATA[search engine optimization]]></category>
		<category><![CDATA[seo]]></category>
		<category><![CDATA[Settings]]></category>
		<category><![CDATA[WordPress]]></category>
		<category><![CDATA[yahoo]]></category>

		<guid isPermaLink="false">http://bavotasan.com/?p=33</guid>
		<description><![CDATA[WordPress is a great tool whether you want to install a basic blog or use it as a content management system. Programmers can very easily go in and manipulate the code to get it to do anything they please. Plus there are tons of great plugins available to add every single feature you can imagine. [...]]]></description>
			<content:encoded><![CDATA[<p>WordPress is a great tool whether you want to install a basic blog or use it as a content management system. Programmers can very easily go in and manipulate the code to get it to do anything they please. Plus there are tons of great plugins available to add every single feature you can imagine.</p>
<p>Whenever I work with WordPress, there are a few things I do immediately after a new install. They help with search engine optimization and making things work a little better.<br />
<span id="more-33"></span><br />
<strong>1. Activate pretty-permalinks</strong></p>
<p>When you first install WordPress, the permalinks default to something that looks like this,<br />
<code>http://bavotasan.com/?p=123</code><br />
But we want it to look like this<br />
<code>http://bavotasan.com/tutorials/things-you-should-do-after-installing-wordpress</code><br />
Why? Because that is the first step to optimization your new WordPress install for search engine ranking.</p>
<p>How do you do it?</p>
<div class="sections">
1. After logging in to you wp-admin, click &#8220;Permalinks&#8221; under the &#8220;Settings&#8221; menu on the left<br />
2. Select &#8220;Custom Structure&#8221;<br />
3. Type &#8220;/%category%/%postname%/<br />
4. Click &#8220;Save Changes&#8221;</p>
<p><a class="highslide" href="http://bavotasan.com/wp-content/uploads/2008/10/permalinks.jpg"><img class="alignnone size-thumbnail wp-image-35" title="permalinks" src="http://bavotasan.com/wp-content/uploads/2008/10/permalinks-200x162.jpg" alt="" /></a></div>
<p><strong>2. Make sure thumbnails do not crop to exact dimensions.</strong></p>
<p>When you upload an image to WordPress, the default setting crops the thumbnail to be exactly 150px by 150px. Not too good if the images you are uploading are not perfectly square. (If by chance you do want your images to be cropped to these exact dimensions then you can ignore this one.)</p>
<p>How do you do it?</p>
<div class="sections">
<p>1. After logging in to you wp-admin, click &#8220;Media&#8221; under the &#8220;Settings&#8221; menu on the left<br />
2. Click the checkbox under &#8220;Thumbnail size&#8221; that says &#8220;Crop thumbnail to exact dimensions (normally thumbnails are proportional)&#8221; to remove the check.<br />
3. Click &#8220;Save changes&#8221;</p>
<p><a class="highslide" href="http://bavotasan.com/wp-content/uploads/2008/10/thumbnails.jpg"><img class="alignnone size-thumbnail wp-image-36" title="thumbnails" src="http://bavotasan.com/wp-content/uploads/2008/10/thumbnails-200x162.jpg" alt="" /></a></div>
<p>Even though these are two little things, I find that they are both very important to start things off on the right foot with a new WordPress install.</p>
]]></content:encoded>
			<wfw:commentRss>http://bavotasan.com/2008/things-you-should-do-after-installing-wordpress/feed/</wfw:commentRss>
		<slash:comments>14</slash:comments>
		</item>
	</channel>
</rss>

