<?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>Phil&#039;s Solutions Log</title>
	<atom:link href="http://solutions.philbarbato.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://solutions.philbarbato.com</link>
	<description>Solutions. I has them.</description>
	<lastBuildDate>Wed, 08 Feb 2012 15:33:49 +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>How to Edit Pages in WordPress</title>
		<link>http://solutions.philbarbato.com/how-to-edit-pages-in-wordpress/</link>
		<comments>http://solutions.philbarbato.com/how-to-edit-pages-in-wordpress/#comments</comments>
		<pubDate>Mon, 28 Nov 2011 17:56:35 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[WordPress]]></category>

		<guid isPermaLink="false">http://solutions.philbarbato.com/?p=28</guid>
		<description><![CDATA[This is a basic guide to editing existing pages on a WordPress site. Log in Log in at [YOUR SITE URL]/wp-admin/ with your admin username and password. WordPress Usernames and passwords are case-sensitive, so be careful. After your initial login, you can edit the details of your user account (such as email or password) by [...]]]></description>
			<content:encoded><![CDATA[<p>This is a basic guide to editing existing pages on a WordPress site.</p>
<h2>Log in</h2>
<p><a href="http://solutions.philbarbato.com/wp-content/uploads/2011/11/Phil_s-Solutions-Log-%E2%80%BA-Log-In.jpg"><img class="size-medium wp-image-30 alignnone" title="Phil_s Solutions Log › Log In" src="http://solutions.philbarbato.com/wp-content/uploads/2011/11/Phil_s-Solutions-Log-%E2%80%BA-Log-In-300x225.jpg" alt="" width="300" height="225" /></a></p>
<p>Log in at [YOUR SITE URL]/wp-admin/ with your admin username and password. WordPress Usernames and passwords are case-sensitive, so be careful.</p>
<p><em>After your initial login, you can edit the details of your user account (such as email or password) by clicking on the “Profile” link in the main navigation on the left.</em></p>
<h2>Go to the List of Pages</h2>
<p><a href="http://solutions.philbarbato.com/wp-content/uploads/2011/11/Dashboard-%E2%80%B9-Phil_s-Solutions-Log-%E2%80%94-WordPress-1.jpg"><img class="alignnone size-medium wp-image-31" title="Dashboard ‹ Phil_s Solutions Log — WordPress-1" src="http://solutions.philbarbato.com/wp-content/uploads/2011/11/Dashboard-%E2%80%B9-Phil_s-Solutions-Log-%E2%80%94-WordPress-1-300x225.jpg" alt="" width="300" height="225" /></a></p>
<p>From the dashboard, click on the “Pages” Link in the main navigation bar on the left.</p>
<h2>Pick a Page</h2>
<p><a href="http://solutions.philbarbato.com/wp-content/uploads/2011/11/Pages-%E2%80%B9-Phil_s-Solutions-Log-%E2%80%94-WordPress.jpg"><img class="alignnone size-medium wp-image-34" title="Pages ‹ Phil_s Solutions Log — WordPress" src="http://solutions.philbarbato.com/wp-content/uploads/2011/11/Pages-%E2%80%B9-Phil_s-Solutions-Log-%E2%80%94-WordPress-300x225.jpg" alt="" width="300" height="225" /></a></p>
<p>Choose which page you would like to edit and click on its title.</p>
<h2>Basic Page Edits</h2>
<p><a href="http://solutions.philbarbato.com/wp-content/uploads/2011/11/Edit-Page-%E2%80%B9-Phil_s-Solutions-Log-%E2%80%94-WordPress1.jpg"><img class="alignnone size-medium wp-image-42" title="Copy Area" src="http://solutions.philbarbato.com/wp-content/uploads/2011/11/Edit-Page-%E2%80%B9-Phil_s-Solutions-Log-%E2%80%94-WordPress1-300x225.jpg" alt="Copy Area" width="300" height="225" /></a></p>
<p>Make necessary changes to the page copy in the copy area (looks like a small word processor window).</p>
<h2>Adding Images</h2>
<p><a href="http://solutions.philbarbato.com/wp-content/uploads/2011/11/Edit-Page-%E2%80%B9-Phil_s-Solutions-Log-%E2%80%94-WordPress-1.jpg"><img class="alignnone size-full wp-image-43" title="Upload Insert" src="http://solutions.philbarbato.com/wp-content/uploads/2011/11/Edit-Page-%E2%80%B9-Phil_s-Solutions-Log-%E2%80%94-WordPress-1.jpg" alt="Upload Insert" width="217" height="50" /></a></p>
<p>To add an image to a page, place your cursor where you would like the image within the copy and click on one of the icons above the copy area next to the label “Upload/Insert”.</p>
<p><a href="http://solutions.philbarbato.com/wp-content/uploads/2011/11/Edit-Page-%E2%80%B9-Phil_s-Solutions-Log-%E2%80%94-WordPress-2.jpg"><img class="alignnone size-medium wp-image-44" title="Select Files" src="http://solutions.philbarbato.com/wp-content/uploads/2011/11/Edit-Page-%E2%80%B9-Phil_s-Solutions-Log-%E2%80%94-WordPress-2-293x300.jpg" alt="Select Files" width="293" height="300" /></a></p>
<p>A pop-up dialog will appear titled “Add media files from your computer”. Click on the “Select Files” button and locate the image on your computer. Alternately, you can click on the “From URL” tab at the top of the window and paste the URL of an image from the web, if you have it.</p>
<p><a href="http://solutions.philbarbato.com/wp-content/uploads/2011/11/Edit-Page-%E2%80%B9-Phil_s-Solutions-Log-%E2%80%94-WordPress-4.jpg"><img class="alignnone size-medium wp-image-45" title="Add an Image" src="http://solutions.philbarbato.com/wp-content/uploads/2011/11/Edit-Page-%E2%80%B9-Phil_s-Solutions-Log-%E2%80%94-WordPress-4-292x300.jpg" alt="Add an Image" width="292" height="300" /></a></p>
<p>Once the image has finished uploading, you will be presented with a number of fields to enter relevant data for the image. All may be left blank, but it’s a good idea to at least fill out “Title” and “Alternate Text”. Here is a rundown of the purpose of each field:</p>
<ul>
<li><strong>Title:</strong> A short description of the contents of the image. Most browsers will display this text as a tool-tip when the pointer is hovering over the image.</li>
<li><strong>Alternate Text:</strong> Should be the same as “Title”.</li>
<li><strong>Caption:</strong> An optional caption for the image.</li>
<li><strong>Description:</strong> Contents of this field will not be displayed on the site. This can be used to make notes about the image for later reference.</li>
<li><strong>Link URL:</strong> If you want the image itself to be a link to anything, paste the URL here. By default, the system will insert a link to the original uploaded image.</li>
<li><strong>Alignment:</strong> Choose how you want the image to align within the Page. “Right” and “Left” will float the image to the right or left, respectively, and allow text to wrap around it.</li>
<li><strong>Size:</strong> Choose from 3 sizes created automatically during upload or the original image size. Note: WordPress will only create image sizes smaller than the original.</li>
</ul>
<p>When you have added all your image info, click on the “Insert into Page” button to insert the image into the Page where you last left the cursor.</p>
<p><em>If you have images that were previously uploaded to the site, you may find them under the &#8220;Media Library&#8221; tab in this pop-up window. Clicking on the &#8220;Show&#8221; link next to an image in the Media Library tab gives you the same fields you would see if you had just uploaded the image.</em></p>
<h2>Adding Documents</h2>
<p><a href="http://solutions.philbarbato.com/wp-content/uploads/2011/11/Edit-Page-%E2%80%B9-Phil_s-Solutions-Log-%E2%80%94-WordPress-1.jpg"><img title="Upload Insert" src="http://solutions.philbarbato.com/wp-content/uploads/2011/11/Edit-Page-%E2%80%B9-Phil_s-Solutions-Log-%E2%80%94-WordPress-1.jpg" alt="Upload Insert" width="217" height="50" /></a></p>
<p>Uploading and adding a link to a document is very similar to adding an image. Start by placing the cursor in the copy where you want the link and clicking on one of the icons above the copy area next to the label “Upload/Insert”.</p>
<p><a href="http://solutions.philbarbato.com/wp-content/uploads/2011/11/Edit-Page-%E2%80%B9-Phil_s-Solutions-Log-%E2%80%94-WordPress-2.jpg"><img title="Select Files" src="http://solutions.philbarbato.com/wp-content/uploads/2011/11/Edit-Page-%E2%80%B9-Phil_s-Solutions-Log-%E2%80%94-WordPress-2-293x300.jpg" alt="Select Files" width="293" height="300" /></a></p>
<p>Next, choose a file by clicking on the “Select Files” button and locating the document on your computer. Alternately, you can click on the “From URL” tab at the top of the window and paste the URL of a document from the web, if you have it.</p>
<p><a href="http://solutions.philbarbato.com/wp-content/uploads/2011/11/Edit-Page-%E2%80%B9-Phil_s-Solutions-Log-%E2%80%94-WordPress-3.jpg"><img class="alignnone size-medium wp-image-47" title="Add Document" src="http://solutions.philbarbato.com/wp-content/uploads/2011/11/Edit-Page-%E2%80%B9-Phil_s-Solutions-Log-%E2%80%94-WordPress-3-293x300.jpg" alt="Add Document" width="293" height="300" /></a></p>
<p>Once the document has finished uploading, you will be presented with a number of fields similar to the ones we saw in the image uploading process. Here is a rundown of the purpose of each field:</p>
<ul>
<li><strong>Title:</strong> This will be the text of the link inserted into the copy. It defaults to the file name, but you may change it to be whatever you like.</li>
<li><strong>Caption </strong>and<strong> Description:</strong><strong></strong> These are not used on the front-end of the site. They can be used for internal reference or left blank.</li>
<li><strong>Link URL:</strong> This will automatically be filled with a link to the file that was just uploaded. If you accidentally change the contents of this field, click the &#8220;File URL&#8221; button to repopulate the correct link.</li>
</ul>
<p>When you have added all your document info, click on the “Insert into Page” button to insert the link to the document into the Page where you last left the cursor.</p>
<p><em>If you have documents that were previously uploaded to the site, you may find them under the &#8220;Media Library&#8221; tab in this pop-up window. Clicking on the &#8220;Show&#8221; link next to a document in the Media Library tab gives you the same fields you would see if you had just uploaded the document.</em></p>
<h2>Adding a Link</h2>
<p><a href="http://solutions.philbarbato.com/wp-content/uploads/2011/11/link_highlight-1.jpg"><img class="alignnone size-medium wp-image-48" title="insert Edit Link Button" src="http://solutions.philbarbato.com/wp-content/uploads/2011/11/link_highlight-1-300x225.jpg" alt="insert Edit Link Button" width="300" height="225" /></a></p>
<p>To add a link to a Page, first select the copy you would like to be the link. Then click on the “Insert/Edit Link” button in the toolbar. It looks like a short length of chain.</p>
<p><a href="http://solutions.philbarbato.com/wp-content/uploads/2011/11/link_popup-1.jpg"><img class="alignnone size-medium wp-image-49" title="Link Popup" src="http://solutions.philbarbato.com/wp-content/uploads/2011/11/link_popup-1-300x290.jpg" alt="Link Popup" width="300" height="290" /></a></p>
<p>In the pop-up dialog, enter the full link in the URL field. You may optionally add a title to the link and have the link open in a new tab or window.</p>
<p>Additionally, you can choose to link to other pages in the site by clicking &#8220;Or link to existing content&#8221; to expand the list of existing pages and choose one of them.</p>
<p>When finished, click the “Add Link” button and the link will be added to your Page.</p>
<p><em>To edit a link, place the cursor anywhere in the link in the copy area and click the “Insert/Edit Link” button again. You will see the same options you saw when creating the link.</em></p>
<p><em>To remove a link, place the cursor anywhere in the link in the copy area and click the “Unlink” button, directly next to the “Insert/Edit Link” button (looks like a broken length of chain).</em></p>
<h2>Update</h2>
<p>In the “Publish” panel on the right-hand side, there are additional options you may wish to use:</p>
<ul>
<li><strong>“Status&#8221;</strong> &#8211; The default status of is &#8220;Published&#8221;, but &#8220;Pending Review&#8221; and &#8220;Draft&#8221; statuses may be used for internal review purposes. <em>Note: pages with the latter two statuses are not visible on the front-end of the website.</em></li>
<li><strong>“Visibility”</strong> &#8211; Default is &#8220;Public&#8221; but can also be &#8220;Password Protected&#8221; (requires a password to view the page. Admin sets the password separately for each page with this level of visibility) or &#8220;private&#8221; (only viewable to logged-in WordPress users of the site).</li>
<li>Publish time: Shows the date the page was originally published. If this is changed to a date later then the current one, the page will not appear on the site until that date.</li>
</ul>
<p><a href="http://solutions.philbarbato.com/wp-content/uploads/2011/11/UPDATE.jpg"><img class="alignnone size-medium wp-image-50" title="UPDATE" src="http://solutions.philbarbato.com/wp-content/uploads/2011/11/UPDATE-300x225.jpg" alt="UPDATE" width="300" height="225" /></a></p>
<p>Once you are satisfied with the content of your page, you may click the “Update” button. That&#8217;s it, you&#8217;re done!</p>
]]></content:encoded>
			<wfw:commentRss>http://solutions.philbarbato.com/how-to-edit-pages-in-wordpress/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>ExpressionEngine caching and performance</title>
		<link>http://solutions.philbarbato.com/expressionengine-caching-and-performance/</link>
		<comments>http://solutions.philbarbato.com/expressionengine-caching-and-performance/#comments</comments>
		<pubDate>Thu, 03 Nov 2011 13:20:45 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[ExpressionEngine]]></category>
		<category><![CDATA[Web Development]]></category>

		<guid isPermaLink="false">http://solutions.philbarbato.com/?p=25</guid>
		<description><![CDATA[Free options: http://expressionengine.com/user_guide/general/caching.html $70 module: http://www.solspace.com/software/detail/static_page_caching/ Notes: Don&#8217;t turn on template caching for an embed template that will be called several times in a loop with dynamic parameters. you will just repeat the first result. Tag Caching works pretty well. The only limitation is that it&#8217;s time-based.]]></description>
			<content:encoded><![CDATA[<p>Free options: <a href="http://expressionengine.com/user_guide/general/caching.html">http://expressionengine.com/user_guide/general/caching.html</a></p>
<p>$70 module: <a href="http://www.solspace.com/software/detail/static_page_caching/">http://www.solspace.com/software/detail/static_page_caching/</a></p>
<h2>Notes:</h2>
<ul>
<li>Don&#8217;t turn on template caching for an embed template that will be called several times in a loop with dynamic parameters. you will just repeat the first result.</li>
<li><a href="http://expressionengine.com/user_guide/general/caching.html#id3">Tag Caching</a> works pretty well. The only limitation is that it&#8217;s time-based.</li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://solutions.philbarbato.com/expressionengine-caching-and-performance/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>WP e-Commerce</title>
		<link>http://solutions.philbarbato.com/wp-e-commerce/</link>
		<comments>http://solutions.philbarbato.com/wp-e-commerce/#comments</comments>
		<pubDate>Tue, 30 Aug 2011 19:46:37 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Web Development]]></category>
		<category><![CDATA[WordPress]]></category>

		<guid isPermaLink="false">http://solutions.philbarbato.com/?p=22</guid>
		<description><![CDATA[This thing is a beast, but hopefully the best. I&#8217;ll try to collect my solutions and resources here. Template Tag Reference The best list of template tags I&#8217;ve found is on a third-party site: http://www.visser.com.au/wp-ecommerce/documentation/customisation/themes-and-templates/ Image uploader showing &#8220;HTTP Error&#8221; Most likely PHP running out of memory during the &#8220;Crunching&#8221; phase. But this might help: [...]]]></description>
			<content:encoded><![CDATA[<p>This thing is a beast, but hopefully the best. I&#8217;ll try to collect my solutions and resources here.</p>
<h2>Template Tag Reference</h2>
<p>The best list of template tags I&#8217;ve found is on a third-party site:</p>
<p>http://www.visser.com.au/wp-ecommerce/documentation/customisation/themes-and-templates/</p>
<h2>Image uploader showing &#8220;HTTP Error&#8221;</h2>
<p>Most likely PHP running out of memory during the &#8220;Crunching&#8221; phase. But this might help:</p>
<p><a href="http://blog.nerdstargamer.com/2009/wordpress-upload-http-error-fix/">http://blog.nerdstargamer.com/2009/wordpress-upload-http-error-fix/</a></p>
<h2>Tutorials</h2>
<p><a href="http://www.1stwebdesigner.com/wordpress/custom-wp-e-commerce-theme-2/">http://www.1stwebdesigner.com/wordpress/custom-wp-e-commerce-theme-2/</a></p>
<h3>Custom Post Type Info</h3>
<p>WPEC uses WordPress&#8217;s built-in custom post type system, which is awesome. Finding the name of the custom post type and the category taxonomy was not awesome.</p>
<p>WPEC&#8217;s custom post type: <code>wpsc-product</code></p>
<p>WPEC&#8217;s product category custom taxonomy: <code>wpsc_product_category</code></p>
<p>Notice the mixed use of underscore and hyphen separators. This is rampant throughout WPEC.</p>
<h3>Remove &#8220;from: &#8221; from prices on products with variations</h3>
<p>Add the following to your theme&#8217;s functions.php:</p>
<p><code>function wpsc_remove_from_for_variations($from) {<br />
return '';<br />
}<br />
add_filter('wpsc_product_variation_text','wpsc_remove_from_for_variations');</code></p>
<p>Via: <a href="http://getshopped.org/forums/topic/no-price-change-required-with-variations/">http://getshopped.org/forums/topic/no-price-change-required-with-variations/</a></p>
<h2>get thickbox to work if you&#8217;ve styled the body tag</h2>
<p>in wpsc-core/js/thickbox.js, replace all instances of <code>jQuery("body")</code> with <code>jQuery("html")</code>.</p>
<p>&nbsp;</p>
]]></content:encoded>
			<wfw:commentRss>http://solutions.philbarbato.com/wp-e-commerce/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Checklist for a secure site (WIP)</title>
		<link>http://solutions.philbarbato.com/checklist-for-a-secure-site-wip/</link>
		<comments>http://solutions.philbarbato.com/checklist-for-a-secure-site-wip/#comments</comments>
		<pubDate>Tue, 19 Jul 2011 22:05:08 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Security]]></category>
		<category><![CDATA[Web Development]]></category>
		<category><![CDATA[credit card]]></category>
		<category><![CDATA[security]]></category>
		<category><![CDATA[ssl]]></category>

		<guid isPermaLink="false">http://solutions.philbarbato.com/?p=21</guid>
		<description><![CDATA[SSL that covers transmitting credit card data Hosting allows secure transfer of credit card data Rewrite URLs to match that on SSL exactly (including &#8220;www&#8221; subdomain, if it&#8217;s on the certificate) No links to non-secure content or content on a different domain (the latter may depend on type of SSL, not sure) If using WordPress, [...]]]></description>
			<content:encoded><![CDATA[<p>SSL that covers transmitting credit card data</p>
<p>Hosting allows secure transfer of credit card data</p>
<p>Rewrite URLs to match that on SSL exactly (including &#8220;www&#8221; subdomain, if it&#8217;s on the certificate)</p>
<p>No links to non-secure content or content on a different domain (the latter may depend on type of SSL, not sure)</p>
<p>If using WordPress, the default admin toolbar on the site will cause security errors</p>
]]></content:encoded>
			<wfw:commentRss>http://solutions.philbarbato.com/checklist-for-a-secure-site-wip/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Open External Links in a new Window via jQuery</title>
		<link>http://solutions.philbarbato.com/open-external-links-in-a-new-window-via-jquery/</link>
		<comments>http://solutions.philbarbato.com/open-external-links-in-a-new-window-via-jquery/#comments</comments>
		<pubDate>Fri, 17 Sep 2010 14:21:14 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://solutions.philbarbato.com/?p=20</guid>
		<description><![CDATA[$(document).ready(function(){ $('#content a[href^="http:"], #content a[href^="https:"]').click( function() { window.open( $(this).attr('href') ); return false; }); });]]></description>
			<content:encoded><![CDATA[<pre id="line63">
$(document).ready(function(){
	$('#content a[href^="http:"], #content a[href^="https:"]').click( function() {
		window.open( $(this).attr('href') );
		return false;
	});
});</pre>
]]></content:encoded>
			<wfw:commentRss>http://solutions.philbarbato.com/open-external-links-in-a-new-window-via-jquery/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Link directly to Google Maps driving directions</title>
		<link>http://solutions.philbarbato.com/link-directly-to-google-maps-driving-directions/</link>
		<comments>http://solutions.philbarbato.com/link-directly-to-google-maps-driving-directions/#comments</comments>
		<pubDate>Mon, 13 Sep 2010 15:14:55 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Web Development]]></category>
		<category><![CDATA[driving directions]]></category>
		<category><![CDATA[google maps]]></category>
		<category><![CDATA[URL]]></category>

		<guid isPermaLink="false">http://solutions.philbarbato.com/?p=18</guid>
		<description><![CDATA[use this URL: http://maps.google.com/maps?daddr= Add the destination address as the value of the &#8220;daddr&#8221; variable with + in place of all spaces. You can also add an &#8220;saddr&#8221; variable for a start address (say someone entered their address in a form on your site).]]></description>
			<content:encoded><![CDATA[<p>use this URL:</p>
<p>http://maps.google.com/maps?daddr=</p>
<p>Add the destination address as the value of the &#8220;daddr&#8221; variable with + in place of all spaces. You can also add an &#8220;saddr&#8221; variable for a start address (say someone entered their address in a form on your site).</p>
]]></content:encoded>
			<wfw:commentRss>http://solutions.philbarbato.com/link-directly-to-google-maps-driving-directions/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Good god, can you make WordPress stop adding or removing p and br tags?</title>
		<link>http://solutions.philbarbato.com/good-god-can-you-make-wordpress-stop-adding-p-tags-where-i-dont-want-them/</link>
		<comments>http://solutions.philbarbato.com/good-god-can-you-make-wordpress-stop-adding-p-tags-where-i-dont-want-them/#comments</comments>
		<pubDate>Mon, 26 Jul 2010 00:15:34 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Web Development]]></category>
		<category><![CDATA[WordPress]]></category>

		<guid isPermaLink="false">http://solutions.philbarbato.com/?p=15</guid>
		<description><![CDATA[Shotgun approach Add this to your theme&#8217;s functions.php: remove_filter (&#8216;the_content&#8217;,  &#8216;wpautop&#8217;); Scalpel http://www.adammershon.com/stop-wordpress-from-removing-br-and-p-tags/]]></description>
			<content:encoded><![CDATA[<h2>Shotgun approach</h2>
<p>Add this to your theme&#8217;s functions.php:</p>
<p>remove_filter (&#8216;the_content&#8217;,  &#8216;wpautop&#8217;);</p>
<h2>Scalpel</h2>
<p><a href="http://www.adammershon.com/stop-wordpress-from-removing-br-and-p-tags/">http://www.adammershon.com/stop-wordpress-from-removing-br-and-p-tags/</a></p>
]]></content:encoded>
			<wfw:commentRss>http://solutions.philbarbato.com/good-god-can-you-make-wordpress-stop-adding-p-tags-where-i-dont-want-them/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Tim Thumb Image Resizing</title>
		<link>http://solutions.philbarbato.com/tim-thumb-image-resizing/</link>
		<comments>http://solutions.philbarbato.com/tim-thumb-image-resizing/#comments</comments>
		<pubDate>Wed, 30 Jun 2010 18:55:57 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Web Development]]></category>
		<category><![CDATA[WordPress]]></category>
		<category><![CDATA[gdLibrary]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[script]]></category>
		<category><![CDATA[timthumb]]></category>

		<guid isPermaLink="false">http://solutions.philbarbato.com/?p=14</guid>
		<description><![CDATA[A handy little tool for resizing images automatically. Caches images to limit processor speed. Very nice for when your users might be uploading their own images. Requires the gdLibrary be installed on your server. Here&#8217;s a handy script to check if it is. Basic implementation looks like this: &#60;img src="/scripts/timthumb.php?src=/images/whatever.jpg&#38;h=150&#38;w=150&#38;zc=1" alt=""&#62; Here&#8217;s a nice article on implementing [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.darrenhoyt.com/2008/04/02/timthumb-php-script-released/">A handy little tool</a> for resizing images automatically. Caches images to limit processor speed. Very nice for when your users might be uploading their own images.</p>
<p>Requires the gdLibrary be installed on your server. <a href="http://www.dagondesign.com/articles/checking-for-gd-support-on-your-server/">Here&#8217;s a handy script</a> to check if it is.</p>
<p>Basic implementation looks like this:</p>
<pre>&lt;img src="/scripts/timthumb.php?src=/images/whatever.jpg&amp;h=150&amp;w=150&amp;zc=1" alt=""&gt;
</pre>
<p><a href="http://c.hadcoleman.com/2008/06/adding-timthumb-to-your-wordpress-theme/">Here&#8217;s a nice article</a> on implementing it with a WordPress theme.</p>
]]></content:encoded>
			<wfw:commentRss>http://solutions.philbarbato.com/tim-thumb-image-resizing/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>WordPress as a CMS</title>
		<link>http://solutions.philbarbato.com/wordpress-as-a-cms/</link>
		<comments>http://solutions.philbarbato.com/wordpress-as-a-cms/#comments</comments>
		<pubDate>Wed, 02 Jun 2010 14:10:55 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[WordPress]]></category>
		<category><![CDATA[cms]]></category>
		<category><![CDATA[plugins]]></category>
		<category><![CDATA[themes]]></category>

		<guid isPermaLink="false">http://solutions.philbarbato.com/?p=11</guid>
		<description><![CDATA[Making your own theme Easy breezy. The minimum you need are index.php and style.css files. As long as you have the right code in your stylesheet, your theme should show up in the picker in the admin area. This doc has all the basics: http://codex.wordpress.org/Theme_Development. Don&#8217;t forget to add &#60;?php wp_head(); ?&#62; right before the &#60;/head&#62; [...]]]></description>
			<content:encoded><![CDATA[<h2>Making your own theme</h2>
<p>Easy breezy. The minimum you need are index.php and style.css files. As long as you have the right code in your stylesheet, your theme should show up in the picker in the admin area. This doc has all the basics: <a href="http://codex.wordpress.org/Theme_Development">http://codex.wordpress.org/Theme_Development</a>.</p>
<p>Don&#8217;t forget to add <code>&lt;?php wp_head(); ?&gt;</code> right before the &lt;/head&gt; tag in your header.php file and <code>&lt;?php wp_footer(); ?&gt;</code> right before the &lt;/body&gt; tag in your footer.php. Without these some plugins won&#8217;t work.</p>
<h2>Screenshot.png</h2>
<p>To get the fancy screenshot in the theme menu, add a file called &#8220;screenshot.png&#8221; to the root folder. It should be 300 x 225 pixels.</p>
<h2>Handy Functions</h2>
<p><code>&lt;?php get_header(); ?&gt;</code> and <code>&lt;?php get_footer(); ?&gt;</code> &#8211; I always forget those. They automatically get the header.php and footer.php files in your theme.</p>
<p><code>&lt;?php bloginfo('stylesheet_url'); ?&gt;</code> &#8211; for your stylesheet call.</p>
<p><code>&lt;?php bloginfo('template_directory'); ?&gt;</code> &#8211; to get to other stuff in your theme folder: images, scripts, etc. Does NOT include trailing slash like most EE template tags, so don&#8217;t forget to include that.</p>
<p><code>&lt;?php bloginfo('url'); ?&gt;</code> &#8211; for your site&#8217;s url, as set in Admin &gt; Settings &gt; General. Especially handy when developing on a different domain than where your site will live when done. Saves work later.</p>
<p><code>is_page()</code> &#8211; returns true if the current post is a page. Handy for adding a sub-page specific class or id.</p>
<p><code>wp_list_pages()</code> &#8211; the best way to create a page menu. Dumps out a nested, unordered list (without the top-level ul tags) of your pages. My typical use looks like this:</p>
<p><code>&lt;?php wp_list_pages('title_li=&amp;depth=2&amp;exclude=44,50'); ?&gt;</code></p>
<p><a href="http://codex.wordpress.org/Function_Reference/wp_list_pages">This page in the codex</a> has all the deets.</p>
<h2>How to get content from a specific post</h2>
<p><a href="http://www.tipsandtricks-hq.com/query-or-show-a-specific-post-in-wordpress-php-code-example-44">http://www.tipsandtricks-hq.com/query-or-show-a-specific-post-in-wordpress-php-code-example-44</a></p>
<h2>Permalinks</h2>
<p>Under Admin &gt; Settings &gt; Permalinks, add <code>/%postname%/</code> under Custom Structure, to get pretty URLs that just have the page name. Should show page heirarchy when pages are nested as well.</p>
<h2>Adding custom styles to the text editor styles dropdown</h2>
<p><a href="http://blog.estherswhite.net/2009/11/customizing-tinymce/">This post</a> has all the necessary info. I&#8217;ve tweaked it a bit so that it references the main stylesheet, so I don&#8217;t have to maintain two stylesheets.</p>
<h2>Change the &#8220;more&#8221; link on post excerpts to whatever you want</h2>
<p>Add this to your theme&#8217;s functions.php file (create one if you don&#8217;t have one):</p>
<p><code> function new_excerpt_more($post) {<br />
return ' &lt;a href="'. get_permalink($post-&gt;ID) . '"&gt;' . 'Read&amp;nbsp;More...' . '&lt;/a&gt;';<br />
}<br />
add_filter('excerpt_more', 'new_excerpt_more');</code></p>
<h2>Remove admin Menu items</h2>
<p><a href="http://www.wprecipes.com/how-to-remove-menus-in-wordpress-dashboard">http://www.wprecipes.com/how-to-remove-menus-in-wordpress-dashboard</a></p>
<h2>Plugins</h2>
<p>(Many plugins referenced from here: <a href="http://sltaylor.co.uk/blog/best-wordpress-plugins/">http://sltaylor.co.uk/blog/best-wordpress-plugins/</a>)</p>
<h3>SEO</h3>
<p><a title="FV Simpler SEO plugin" href="http://wordpress.org/extend/plugins/fv-all-in-one-seo-pack/">FV Simpler SEO</a> &#8211; great for adding meta tags for each page/post. It does a ton of other stuff, but I haven&#8217;t explored that yet.</p>
<p><a href="http://wordpress.org/extend/plugins/google-sitemap-generator/">Google XML Sitemaps</a> &#8211; makes Google-friendly sitemaps automagically. Set it and forget it.</p>
<p><a href="http://wordpress.org/extend/plugins/wp-google-analytics/">WP Google Analytics</a> &#8211; adds your GA code to the right spot on every page. Also has options for turning off GA in admin area and for logged in users by role. Make sure you have your <code>&lt;?php wp_footer(); ?&gt;</code> in place for this to work properly.</p>
<h3>UI improvements</h3>
<p><a href="http://wordpress.org/extend/plugins/my-page-order/">My Page Order</a> &#8211; drag and drop interface for re-ordering pages. Hopefully WP will have this natively some day.</p>
<p><a href="http://wordpress.org/extend/plugins/quick-pagepost-redirect-plugin/">Quick Page/Post Redirect</a> &#8211; handy for when you have a page with children but no content itself. You can use this to redirect from the empty page to the first child or whatever you want. Relative links are ok.</p>
<p><a href="http://wordpress.org/extend/plugins/allow-html-in-category-descriptions/">Allow HTML in Category Descriptions</a> &#8211; does just what it says, allows HTML code in the category description field. I&#8217;ve used this as a ghetto-charged way to add extra stuff to category pages. Custom entry types in 3.0 might handle this concept better.</p>
<h3>Security/Performance</h3>
<p><a href="http://wpengineer.com/849/wordpress-antispambot/">Email Obfuscator Shortcode</a> &#8211; uses the native antispambot function. Super simple.</p>
<p><a href="http://wordpress.org/extend/plugins/quick-cache/">Quick Cache</a> &#8211; great caching plugin.</p>
<p><a href="http://austinmatzko.com/wordpress-plugins/wp-db-backup/">WP DB Backup</a> &#8211; easy backups. can do automated, scheduled backups.</p>
<h3>Extra CMS-like stuff</h3>
<p><a href="http://podscms.org/">Pods CMS</a> &#8211; changes WordPress into a viable CMS for really reals.</p>
<p><a href="http://www.avenueverve.com/verve-meta-boxes/">Verve Meta Boxes</a> &#8211; a fancy wrapper for custom fields that groups them and makes them easier for the end user to use.<br />
<a href="http://wordpress.org/extend/plugins/allow-html-in-category-descriptions/"><br />
</a></p>
]]></content:encoded>
			<wfw:commentRss>http://solutions.philbarbato.com/wordpress-as-a-cms/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Bumpy Brush Problem</title>
		<link>http://solutions.philbarbato.com/bumpy-brush-problem/</link>
		<comments>http://solutions.philbarbato.com/bumpy-brush-problem/#comments</comments>
		<pubDate>Thu, 18 Mar 2010 01:30:54 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Photoshop]]></category>
		<category><![CDATA[brush]]></category>
		<category><![CDATA[bumpy]]></category>
		<category><![CDATA[pallette]]></category>
		<category><![CDATA[settings]]></category>
		<category><![CDATA[spacing]]></category>
		<category><![CDATA[tool]]></category>

		<guid isPermaLink="false">http://solutions.philbarbato.com/?p=3</guid>
		<description><![CDATA[Brush strokes are sometimes bumpy like this: This can be fixed by dropping the spacing percentage in the brushes palette: Voila: Warning: lower spacing percentages are resource suckers. Your lines will be smoother, but your brush strokes will lag behind your actual cursor movement.]]></description>
			<content:encoded><![CDATA[<p>Brush strokes are sometimes bumpy like this:</p>
<p><a href="http://solutions.philbarbato.com/wp-content/uploads/2010/03/Untitled-2.jpg"><img class="alignnone size-full wp-image-10" title="Untitled-2" src="http://solutions.philbarbato.com/wp-content/uploads/2010/03/Untitled-2.jpg" alt="" width="370" height="293" /></a></p>
<p>This can be fixed by dropping the spacing percentage in the brushes palette:</p>
<p><a href="http://solutions.philbarbato.com/wp-content/uploads/2010/03/Photoshop.jpg"><img class="alignnone size-full wp-image-4" title="Photoshop" src="http://solutions.philbarbato.com/wp-content/uploads/2010/03/Photoshop.jpg" alt="" width="373" height="464" /></a></p>
<p>Voila:</p>
<p><a href="http://solutions.philbarbato.com/wp-content/uploads/2010/03/Untitled-1.jpg"><img class="alignnone size-full wp-image-9" title="Untitled-1" src="http://solutions.philbarbato.com/wp-content/uploads/2010/03/Untitled-1.jpg" alt="" width="370" height="293" /></a></p>
<p><strong>Warning:</strong> lower spacing percentages are resource suckers. Your lines will be smoother, but your brush strokes will lag behind your actual cursor movement.</p>
]]></content:encoded>
			<wfw:commentRss>http://solutions.philbarbato.com/bumpy-brush-problem/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

