<?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>Josh Highland &#187; wordpress</title>
	<atom:link href="http://joshhighland.com/blog/tag/wordpress/feed/" rel="self" type="application/rss+xml" />
	<link>http://joshhighland.com/blog</link>
	<description>the living internet</description>
	<lastBuildDate>Fri, 20 Jan 2012 18:48:38 +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>Optimizing the performance of WordPress</title>
		<link>http://joshhighland.com/blog/2010/09/13/optimizing-the-performance-of-wordpress/</link>
		<comments>http://joshhighland.com/blog/2010/09/13/optimizing-the-performance-of-wordpress/#comments</comments>
		<pubDate>Tue, 14 Sep 2010 06:40:13 +0000</pubDate>
		<dc:creator>Josh Highland</dc:creator>
				<category><![CDATA[tutorials]]></category>
		<category><![CDATA[wordpress]]></category>
		<category><![CDATA[performance]]></category>
		<category><![CDATA[presentation]]></category>
		<category><![CDATA[wcla]]></category>
		<category><![CDATA[WordCampLA]]></category>

		<guid isPermaLink="false">http://joshhighland.com/blog/?p=9268</guid>
		<description><![CDATA[It&#8217;s no secret that I LOVE WordPress. I&#8217;ve been using the software for 6 years and have no plans to stop any time soon. Last year I attended WordCamp LA with @JasonKeller, it was awesome. I knew that I had to be involved with WordCamp 2010. When WordCamp 2010 was announced, I signed up as [...]]]></description>
			<content:encoded><![CDATA[<p></p><p><img class="alignleft size-full wp-image-9270" title="Optimizing the performance of WordPress" src="http://joshhighland.com.s3.amazonaws.com/blog/wp-content/uploads/2010/09/778341039.png" alt="778341039 Optimizing the performance of WordPress" width="180" height="120" />It&#8217;s no secret that <a href="http://joshhighland.com/blog/?s=wordpress">I LOVE WordPress</a>. I&#8217;ve been using the software for 6 years and have no plans to stop any time soon. Last year I attended WordCamp LA with <a href="http://twitter.com/jasonxkeller">@JasonKeller</a>, it was awesome. I knew that I had to be involved with WordCamp 2010.</p>
<p>When WordCamp 2010 was announced, I signed up as a speaker. My topic, &#8220;Improving the performance of WordPress&#8221;.</p>
<p>I had a great time preparing and delivering my presentation. A lot of people asked me to post the slides online. I decided to do one better, and post a recorded version of my presentation.</p>
<p><a href="http://joshhighland.com/blog/2010/09/13/optimizing-the-performance-of-wordpress/"><em>Click here to view the embedded video.</em></a></p>
<p style="text-align: center;"><a href="http://joshhighland.com.s3.amazonaws.com/blog/wp-content/uploads/2010/09/JoshHighland_WordpressPerformance.pdf">Download the slides in PDF format</a><a href="http://joshhighland.com.s3.amazonaws.com/blog/wp-content/uploads/2010/09/JoshHighland_WordpressPerformance.pdf"><br />
</a></p>
<p style="text-align: center;"><a href="http://wcla.learncamp.info/2010/09/optimizing-performance-with-josh-highland/" rel="nofollow"><img class="aligncenter size-full wp-image-12557" title="Optimizing the performance of WordPress" src="http://joshhighland.com.s3.amazonaws.com/blog/wp-content/uploads/2010/09/l_1024_768_392DA067-2A4A-46DC-9EAE-6D372C1767E9.jpeg" alt=" Optimizing the performance of WordPress" width="512" height="384" /></a></p>
<p style="text-align: center;"><img class="size-full wp-image-9280 aligncenter" title="Optimizing the performance of WordPress" src="http://joshhighland.com.s3.amazonaws.com/blog/wp-content/uploads/2010/09/JoshHighland_WordCamp2010_badge.jpg" alt="JoshHighland WordCamp2010 badge Optimizing the performance of WordPress" width="500" height="434" /></p>
<p style="text-align: center;"><img class="size-full wp-image-9277 aligncenter" title="Optimizing the performance of WordPress" src="http://joshhighland.com.s3.amazonaws.com/blog/wp-content/uploads/2010/09/JoshHighland_WordCamp2010.jpg" alt="JoshHighland WordCamp2010 Optimizing the performance of WordPress" width="500" height="563" /></p>
]]></content:encoded>
			<wfw:commentRss>http://joshhighland.com/blog/2010/09/13/optimizing-the-performance-of-wordpress/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
		<item>
		<title>WordPress asking for FTP username/password?</title>
		<link>http://joshhighland.com/blog/2010/06/07/wordpress-asking-for-ftp-usernamepassword/</link>
		<comments>http://joshhighland.com/blog/2010/06/07/wordpress-asking-for-ftp-usernamepassword/#comments</comments>
		<pubDate>Mon, 07 Jun 2010 08:11:05 +0000</pubDate>
		<dc:creator>Josh Highland</dc:creator>
				<category><![CDATA[tutorials]]></category>
		<category><![CDATA[wordpress]]></category>
		<category><![CDATA[ftp]]></category>
		<category><![CDATA[password]]></category>
		<category><![CDATA[plugin]]></category>
		<category><![CDATA[upgrade]]></category>

		<guid isPermaLink="false">http://joshhighland.com/blog/?p=1242</guid>
		<description><![CDATA[Are you annoyed with your wordpress install asking you for your FTP cradentials everytime you try to upgrade a plugin? I know I was.  Thankfully, there’s a simple solution which will save the FTP login (username/password/server) so WordPress stops asking you for them.  Here’s how you do it. Locate your WordPress root diectory and find [...]]]></description>
			<content:encoded><![CDATA[<p></p><p><a href="http://joshhighland.com.s3.amazonaws.com/blog/wp-content/uploads/2010/06/wordpressFTP.gif"><img class="alignnone size-full wp-image-1249" title="Wordpress asking for FTP username/password?" src="http://joshhighland.com.s3.amazonaws.com/blog/wp-content/uploads/2010/06/wordpressFTP.gif" alt="wordpressFTP Wordpress asking for FTP username/password?" width="573" height="305" /></a></p>
<p>Are you annoyed with your wordpress install asking you for your FTP cradentials everytime you try to upgrade a plugin? I know I was.  Thankfully, there’s a simple solution which will save the FTP login  (username/password/server) so WordPress stops asking you for them.   Here’s how you do it.</p>
<ol>
<li>Locate your WordPress root diectory and find the “wp-config.php” file.</li>
<li>Edit the file and insert this somewhere in the middle as it’s own block, we normally put it after the mysql username/password block.</li>
</ol>

<div class="wp_syntax"><div class="code"><pre class="text" style="font-family:monospace;">define(&quot;FTP_HOST&quot;, &quot;localhost&quot;);
define(&quot;FTP_USER&quot;, &quot;yourftpusername&quot;);
define(&quot;FTP_PASS&quot;, &quot;yourftppassword&quot;);</pre></div></div>

<p>Once you’ve made that edit, save the file and voila!  No more punching in your ftp username and password all the time.</p>
]]></content:encoded>
			<wfw:commentRss>http://joshhighland.com/blog/2010/06/07/wordpress-asking-for-ftp-usernamepassword/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>timthumb.php returns a 404 Error in WordPress</title>
		<link>http://joshhighland.com/blog/2010/05/20/timthumb-php-returns-a-404-error-in-wordpress/</link>
		<comments>http://joshhighland.com/blog/2010/05/20/timthumb-php-returns-a-404-error-in-wordpress/#comments</comments>
		<pubDate>Fri, 21 May 2010 06:00:56 +0000</pubDate>
		<dc:creator>Josh Highland</dc:creator>
				<category><![CDATA[linux]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[wordpress]]></category>
		<category><![CDATA[chmod]]></category>
		<category><![CDATA[linux. php]]></category>
		<category><![CDATA[permissions]]></category>
		<category><![CDATA[timthumb]]></category>

		<guid isPermaLink="false">http://joshhighland.com/blog/?p=1199</guid>
		<description><![CDATA[timthumb is a great little php script that helps create thumbnail images (http://code.google.com/p/timthumb). I&#8217;ve used it before, but recently I purchased a wordpress theme that used it, and it wasn&#8217;t working. I would get a 404 error when I tired to access the directly via a url like this: theDomain.com/wp-content/themes/theTheme/scripts/timthumb.php?src=/wp-content/uploads/2010/05/moose1.jpg&#38;h=207&#38;w=237&#38;zc=1&#38;q=80 After some digging around in [...]]]></description>
			<content:encoded><![CDATA[<p></p><p><a href="http://joshhighland.com.s3.amazonaws.com/blog/wp-content/uploads/2010/05/create-wordpress-thumbnails-300x300.jpg"><img class="alignleft size-thumbnail wp-image-1200" title="timthumb.php returns a 404 Error in Wordpress" src="http://joshhighland.com.s3.amazonaws.com/blog/wp-content/uploads/2010/05/create-wordpress-thumbnails-300x300-150x150.jpg" alt="create wordpress thumbnails 300x300 150x150 timthumb.php returns a 404 Error in Wordpress" width="150" height="150" /></a>timthumb is a great little php script that helps create thumbnail images (<a href="http://code.google.com/p/timthumb">http://code.google.com/p/timthumb</a>). I&#8217;ve used it before, but recently I purchased a wordpress theme that used it, and it wasn&#8217;t working.</p>
<p>I would get a 404 error when I tired to access the directly via a url like this:<br />
theDomain.com/wp-content/themes/theTheme/scripts/timthumb.php?src=/wp-content/uploads/2010/05/moose1.jpg&amp;h=207&amp;w=237&amp;zc=1&amp;q=80</p>
<p>After some digging around in log files on my server I realized the error</p>
<blockquote><p>SoftException in Application.cpp:610: Directory  “/home/usernamehere/public_html/wp-content” is writable by others</p></blockquote>
<p>My problem had to so with the directory permissions! &#8220;writable by others&#8221; means that the permission on the directory were set to &#8220;777&#8243;. I changed the permissions of the directory using chmod to 755, and everything started to work.</p>
<p>Lesson learned, if timthumb.php is not working at giving you 404 errors, check the permission of the directory that contains the php file.</p>
]]></content:encoded>
			<wfw:commentRss>http://joshhighland.com/blog/2010/05/20/timthumb-php-returns-a-404-error-in-wordpress/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
		<item>
		<title>Create WordPress Thumbnails Automatically</title>
		<link>http://joshhighland.com/blog/2009/09/29/create-wordpress-thumbnails-automatically/</link>
		<comments>http://joshhighland.com/blog/2009/09/29/create-wordpress-thumbnails-automatically/#comments</comments>
		<pubDate>Wed, 30 Sep 2009 00:19:29 +0000</pubDate>
		<dc:creator>Josh Highland</dc:creator>
				<category><![CDATA[php]]></category>
		<category><![CDATA[tutorials]]></category>
		<category><![CDATA[wordpress]]></category>
		<category><![CDATA[automatically]]></category>
		<category><![CDATA[custom fields]]></category>
		<category><![CDATA[premium theme]]></category>
		<category><![CDATA[thumbnail]]></category>
		<category><![CDATA[timthumb]]></category>

		<guid isPermaLink="false">http://joshhighland.com/blog/?p=887</guid>
		<description><![CDATA[WordPress has the ability to allow post authors to assign custom fields to a post. This arbitrary extra information is known as meta-data. This meta-data can be used by theme authors to do some pretty cool things. The theme I am currently using allows for a custom field named &#8220;thumb&#8221;. If you create the &#8220;thumb&#8221; [...]]]></description>
			<content:encoded><![CDATA[<p></p><p><img class="alignleft size-medium wp-image-890" title="Create Wordpress Thumbnails Automatically" src="http://joshhighland.com.s3.amazonaws.com/blog/wp-content/uploads/2009/09/create-wordpress-thumbnails-300x300.jpg" alt="create wordpress thumbnails 300x300 Create Wordpress Thumbnails Automatically" width="300" height="300" />WordPress has the ability to allow post authors to assign custom fields to a post. This arbitrary extra information is known as meta-data. This meta-data can be used by theme authors to do some pretty cool things.</p>
<p>The <a href="http://www.studiopress.com/themes/church">theme</a> I am currently using allows for a custom field named &#8220;thumb&#8221;. If you create the &#8220;thumb&#8221; custom field in a post and pass in the path to an image, for example &#8220;wp-content/uploads/2008/12/wordpress_logo.png&#8221;, a thumb nail version of the image will appear next the posts title on the home page of my blog. Awesome stuff.</p>
<p>When I discovered this theme and the &#8220;thumb&#8221; custom field, I already had 225 posts in my blog. I didn&#8217;t want to go back and manually create all the custom fields for the existing posts, so I wrote a PHP script to do it for me.</p>
<p>The PHP script cycles through your existing posts and looks for the first image in the post, and creates the thumb field based on it&#8217;s location. The script is configurable, your theme may want a different custom field name, like &#8220;thumbnail&#8221; or &#8220;image&#8221;.</p>
<p>This code is provided as is. If you aren&#8217;t a developer, you should be messing with stuff like this. Be sure to <a href="http://wordpress.org/extend/plugins/wp-db-backup/">back up your wordpress database</a> before running this.</p>
<p><strong>Instruction:<br />
</strong></p>
<ul>
<li>download this code</li>
<li>configure the database connection info and custom field name</li>
<li>upload this code onto your server</li>
<li>point your browser to the file</li>
<li>watch the script do it&#8217;s magic</li>
<li>remove the file from your server</li>
<li><a href="https://cms.paypal.com/us/cgi-bin/?cmd=_render-content&amp;content_ID=marketing_us/send_money" target="_blank">donate $2 to my paypal account</a> (joshhighland@gmail.com)</li>
</ul>
<p><strong>Note:</strong> This is a one time deal, when you create new posts you will need to add the &#8220;thumb&#8221; field and image path manually</p>

<div class="wp_syntax"><div class="code"><pre class="php" style="font-family:monospace;"><span style="color: #000000; font-weight: bold;">&lt;?</span>
&nbsp;
<span style="color: #666666; font-style: italic;">//your database configuration information</span>
<span style="color: #000088;">$username</span> <span style="color: #339933;">=</span> <span style="color: #0000ff;">&quot;YOUR_USER_NAME&quot;</span><span style="color: #339933;">;</span>
<span style="color: #000088;">$password</span> <span style="color: #339933;">=</span> <span style="color: #0000ff;">&quot;YOUR_PASSWORD&quot;</span><span style="color: #339933;">;</span>
<span style="color: #000088;">$database</span> <span style="color: #339933;">=</span> <span style="color: #0000ff;">&quot;DATABASE&quot;</span><span style="color: #339933;">;</span>
<span style="color: #000088;">$databaseLocation</span> <span style="color: #339933;">=</span> <span style="color: #0000ff;">&quot;localhost&quot;</span><span style="color: #339933;">;</span>
&nbsp;
<span style="color: #666666; font-style: italic;">//name of the Custom Field to use</span>
<span style="color: #000088;">$customFieldName</span> <span style="color: #339933;">=</span> <span style="color: #0000ff;">&quot;thumb&quot;</span><span style="color: #339933;">;</span>
&nbsp;
<span style="color: #666666; font-style: italic;">/******************* END CONFIGURATION *****************************/</span>
&nbsp;
<span style="color: #666666; font-style: italic;">//get the wordpress posts to work with</span>
<span style="color: #000088;">$query</span> <span style="color: #339933;">=</span> <span style="color: #0000ff;">&quot;SELECT * FROM wp_posts&quot;</span><span style="color: #339933;">;</span>
&nbsp;
<span style="color: #b1b100;">if</span> <span style="color: #009900;">&#40;</span><span style="color: #000088;">$result</span> <span style="color: #339933;">=</span> <span style="color: #000088;">$mysqli</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">query</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">&quot;<span style="color: #006699; font-weight: bold;">$query</span>&quot;</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span>
<span style="color: #009900;">&#123;</span>
	<span style="color: #666666; font-style: italic;">//loop over all the posts</span>
	<span style="color: #b1b100;">while</span> <span style="color: #009900;">&#40;</span><span style="color: #000088;">$row</span> <span style="color: #339933;">=</span> <span style="color: #000088;">$result</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">fetch_object</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span>
	<span style="color: #009900;">&#123;</span>
		<span style="color: #666666; font-style: italic;">//get all the info from the post that we need to work with</span>
		<span style="color: #000088;">$cur_post_id</span> <span style="color: #339933;">=</span> <span style="color: #000088;">$row</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">ID</span><span style="color: #339933;">;</span>
		<span style="color: #000088;">$cur_post_content</span> <span style="color: #339933;">=</span> <span style="color: #000088;">$row</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">post_content</span><span style="color: #339933;">;</span>
&nbsp;
		<span style="color: #666666; font-style: italic;">//the pattern to find the html image tag</span>
		<span style="color: #000088;">$pattern</span> <span style="color: #339933;">=</span> <span style="color: #0000ff;">'/]+src[\\s=\'&quot;]'</span><span style="color: #339933;">;</span>
		<span style="color: #000088;">$pattern</span> <span style="color: #339933;">.=</span> <span style="color: #0000ff;">'+([^&quot;\'&gt;\\s]+)/is'</span><span style="color: #339933;">;</span>
&nbsp;
		<span style="color: #666666; font-style: italic;">//try to match the pattern against the post content</span>
		<span style="color: #b1b100;">if</span><span style="color: #009900;">&#40;</span><span style="color: #990000;">preg_match</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$pattern</span><span style="color: #339933;">,</span><span style="color: #000088;">$cur_post_content</span><span style="color: #339933;">,</span><span style="color: #000088;">$match</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span>
		<span style="color: #009900;">&#123;</span>
			<span style="color: #666666; font-style: italic;">//break up the image path</span>
			<span style="color: #000088;">$pieces</span> <span style="color: #339933;">=</span> <span style="color: #990000;">explode</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">&quot;wp-content/&quot;</span><span style="color: #339933;">,</span> <span style="color: #000088;">$match</span><span style="color: #009900;">&#91;</span><span style="color: #cc66cc;">1</span><span style="color: #009900;">&#93;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
&nbsp;
			<span style="color: #666666; font-style: italic;">//make sure the file name isnt empty</span>
			<span style="color: #b1b100;">if</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$pieces</span><span style="color: #009900;">&#91;</span><span style="color: #cc66cc;">1</span><span style="color: #009900;">&#93;</span> <span style="color: #339933;">!=</span> <span style="color: #0000ff;">&quot;&quot;</span><span style="color: #009900;">&#41;</span>
			<span style="color: #009900;">&#123;</span>
				<span style="color: #666666; font-style: italic;">//build the file path</span>
				<span style="color: #000088;">$imagePath</span> <span style="color: #339933;">=</span> <span style="color: #0000ff;">&quot;wp-content/&quot;</span> <span style="color: #339933;">.</span> <span style="color: #0000ff;">&quot;<span style="color: #006699; font-weight: bold;">$pieces[1]</span>&quot;</span><span style="color: #339933;">;</span>
&nbsp;
				<span style="color: #666666; font-style: italic;">//insert the custom field for the post</span>
				<span style="color: #000088;">$insertQuery</span> <span style="color: #339933;">=</span> <span style="color: #0000ff;">&quot;INSERT INTO wp_postmeta (post_id, meta_key, meta_value) VALUES (<span style="color: #006699; font-weight: bold;">$cur_post_id</span>, '<span style="color: #006699; font-weight: bold;">$customFieldName</span>', '<span style="color: #006699; font-weight: bold;">$imagePath</span>')&quot;</span><span style="color: #339933;">;</span>
&nbsp;
				<span style="color: #000088;">$mysqli</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">query</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">&quot;<span style="color: #006699; font-weight: bold;">$insertQuery</span>&quot;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
&nbsp;
				<span style="color: #666666; font-style: italic;">//debugging stuff</span>
&nbsp;
				<span style="color: #b1b100;">if</span> <span style="color: #009900;">&#40;</span><span style="color: #000088;">$mysqli</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">errno</span><span style="color: #009900;">&#41;</span>
				<span style="color: #009900;">&#123;</span>
					<span style="color: #990000;">printf</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">&quot;failed: <span style="color: #009933; font-weight: bold;">%s</span> <span style="color: #000099; font-weight: bold;">\n</span>&quot;</span><span style="color: #339933;">,</span> <span style="color: #000088;">$mysqli</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">error</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
				<span style="color: #009900;">&#125;</span>
				<span style="color: #b1b100;">else</span>
				<span style="color: #009900;">&#123;</span>
					<span style="color: #b1b100;">echo</span> <span style="color: #0000ff;">&quot;..... inserting <span style="color: #006699; font-weight: bold;">$imagePath</span> <span style="color: #000099; font-weight: bold;">\n</span>&quot;</span><span style="color: #339933;">;</span>
				<span style="color: #009900;">&#125;</span>
				<span style="color: #990000;">flush</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
			<span style="color: #009900;">&#125;</span>
		<span style="color: #009900;">&#125;</span>
	<span style="color: #009900;">&#125;</span>
<span style="color: #009900;">&#125;</span>
&nbsp;
<span style="color: #b1b100;">echo</span> <span style="color: #0000ff;">&quot;---completed---&quot;</span><span style="color: #339933;">;</span>
&nbsp;
<span style="color: #000000; font-weight: bold;">?&gt;</span></pre></div></div>

]]></content:encoded>
			<wfw:commentRss>http://joshhighland.com/blog/2009/09/29/create-wordpress-thumbnails-automatically/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Modifying MimboPro to Add Paged Navigation To Category Pages</title>
		<link>http://joshhighland.com/blog/2008/12/08/modifying-mimbopro-to-add-paged-navigation-to-category-pages/</link>
		<comments>http://joshhighland.com/blog/2008/12/08/modifying-mimbopro-to-add-paged-navigation-to-category-pages/#comments</comments>
		<pubDate>Tue, 09 Dec 2008 02:39:55 +0000</pubDate>
		<dc:creator>Josh Highland</dc:creator>
				<category><![CDATA[hacks]]></category>
		<category><![CDATA[internet]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[tutorials]]></category>
		<category><![CDATA[web 2.0]]></category>
		<category><![CDATA[wordpress]]></category>
		<category><![CDATA[MimboPro]]></category>

		<guid isPermaLink="false">http://joshhighland.com/blog/?p=453</guid>
		<description><![CDATA[Recently I have been doing a lot of work with WordPress. I love WordPress. one of the things I like most about WordPress is the plugins and themes. I recently bought a copy of the MimboPro theme. Mimbo is clean and very professional. More of a CMS theme then a blogging theme, prefect for what [...]]]></description>
			<content:encoded><![CDATA[<p></p><p><img class="alignnone size-full wp-image-462" title="Modifying MimboPro to Add Paged Navigation To Category Pages" src="http://joshhighland.com.s3.amazonaws.com/blog/wp-content/uploads/2008/12/mimbologo.jpg" alt="mimbologo Modifying MimboPro to Add Paged Navigation To Category Pages" width="240" height="100" /></p>
<p>Recently I have been doing a lot of work with WordPress. I love WordPress. one of the things I like most about WordPress is the plugins and themes.</p>
<p>I recently bought a copy of the <a href="http://prothemedesign.com/themes/mimbo-pro/">MimboPro theme</a>. Mimbo is clean and very professional. More of a CMS theme then a blogging theme, prefect for what I want to use it for.</p>
<p>As I dug into MimboPro and WordPress, I realized something strange, the MimboPro theme doesn&#8217;t support paging in a category view. What this means is EVERY SINGLE post you make is shown on one page. If you have a very active site, like the one I&#8217;m working on, this quickly gets out of hand. Look at this image and you will see what I mean (click for full version).</p>
<p><a href="http://joshhighland.com.s3.amazonaws.com/blog/wp-content/uploads/2008/12/prehack.gif"><img class="alignnone size-medium wp-image-454" title="Modifying MimboPro to Add Paged Navigation To Category Pages" src="http://joshhighland.com.s3.amazonaws.com/blog/wp-content/uploads/2008/12/prehack-111x300.gif" alt="prehack 111x300 Modifying MimboPro to Add Paged Navigation To Category Pages" width="111" height="300" /></a></p>
<p>One of the reasons I like MimboPro was the support that the authors of the theme offer. I headed over to their message forums and found other people like me asking for the <a href="http://forum.prothemedesign.com/topic/adding-paged-navigation-to-category-page">Additon of Paged Navigation To Category Pages</a>. The original post was 8 months ago, and no one had resolved anything. I made a post to the MimboPro authors only to be told that there is going to be a new theme that will handle this and it will be available at a deep discount to MimboPro owner. This upset me a bit, so taking matters into my own hand, I fixed what Mimbo wont, and I am handing out my own patch to solve this issue. Below are the instructions to hack your own files, or you can just download my zip file with the pre-hacked files.</p>
<p><strong>Pre-Hacked Files:</strong><br />
Download with pre-hacked files: <a href="http://joshhighland.com.s3.amazonaws.com/blog/wp-content/uploads/2008/12/joshhighlands_mimbopro_categorypaginghack.zip">JoshHighlands_MimboPro_CategoryPagingHack.zip</a></p>
<p><strong>DIY INSTRUCTIONS</strong> (click images for full sizes):</p>
<ol>
<li>Save a copy of your current categories.php and styles.css files inside of the MimboPro theme directory to a safe location</li>
<li>Open up categories.php inside of the MimboPro theme directory, and find line 17<br />
<a href="http://joshhighland.com.s3.amazonaws.com/blog/wp-content/uploads/2008/12/mimbohack1.gif"><img class="alignnone size-full wp-image-455" title="Modifying MimboPro to Add Paged Navigation To Category Pages" src="http://joshhighland.com.s3.amazonaws.com/blog/wp-content/uploads/2008/12/mimbohack1.gif" alt="mimbohack1 Modifying MimboPro to Add Paged Navigation To Category Pages" width="500" height="133" /></a></li>
<li>Comment line 17 with a double back slash (//)<br />
<a href="http://joshhighland.com.s3.amazonaws.com/blog/wp-content/uploads/2008/12/mimbohack2.gif"><img class="alignnone size-full wp-image-456" title="Modifying MimboPro to Add Paged Navigation To Category Pages" src="http://joshhighland.com.s3.amazonaws.com/blog/wp-content/uploads/2008/12/mimbohack2.gif" alt="mimbohack2 Modifying MimboPro to Add Paged Navigation To Category Pages" width="500" height="183" /></a></li>
<li>Go to line 87 of category.php and add the following code<br />
<a href="http://joshhighland.com.s3.amazonaws.com/blog/wp-content/uploads/2008/12/mimbohack3.gif"><img class="alignnone size-medium wp-image-457" title="Modifying MimboPro to Add Paged Navigation To Category Pages" src="http://joshhighland.com.s3.amazonaws.com/blog/wp-content/uploads/2008/12/mimbohack3-300x68.gif" alt="mimbohack3 300x68 Modifying MimboPro to Add Paged Navigation To Category Pages" width="300" height="68" /></a></li>
<li>Save and close category.php</li>
<li>Open up style.css inside of the MimboPro theme directory</li>
<li>Add the following CSS code to the bottom of the file (should be close to line 852)<br />
<a href="http://joshhighland.com.s3.amazonaws.com/blog/wp-content/uploads/2008/12/minbohack4.gif"><img class="alignnone size-full wp-image-458" title="Modifying MimboPro to Add Paged Navigation To Category Pages" src="http://joshhighland.com.s3.amazonaws.com/blog/wp-content/uploads/2008/12/minbohack4.gif" alt="minbohack4 Modifying MimboPro to Add Paged Navigation To Category Pages" width="351" height="192" /></a></li>
<li>Save styles.css</li>
<li>Upload categories.php and styles.css to the MimboPro theme directory on your server</li>
<li>Everything should be working. Here is what my wordpress running MimboPro looks like<br />
<a href="http://joshhighland.com.s3.amazonaws.com/blog/wp-content/uploads/2008/12/posthack.gif"><img class="alignnone size-medium wp-image-459" title="Modifying MimboPro to Add Paged Navigation To Category Pages" src="http://joshhighland.com.s3.amazonaws.com/blog/wp-content/uploads/2008/12/posthack-220x300.gif" alt="posthack 220x300 Modifying MimboPro to Add Paged Navigation To Category Pages" width="220" height="300" /></a></li>
</ol>
<p>That&#8217;s it! MimboPro will now have paging in all of the categories. The next and previous links will only show up when you have enough posts. The WordPress default is 10 posts. You can edit the number of posts by going to change the number of posts to show on a category page, go into to the admin and under &#8220;setting&#8221; &gt; &#8220;reading&#8221; you will find the option, as highlighted here.<br />
<a href="http://joshhighland.com.s3.amazonaws.com/blog/wp-content/uploads/2008/12/admin.gif"><img class="alignnone size-medium wp-image-461" title="Modifying MimboPro to Add Paged Navigation To Category Pages" src="http://joshhighland.com.s3.amazonaws.com/blog/wp-content/uploads/2008/12/admin-252x300.gif" alt="admin 252x300 Modifying MimboPro to Add Paged Navigation To Category Pages" width="252" height="300" /></a></p>
<p>If you had any problem reading the code in the image files, download the zip files with the pre-hacked files in them.</p>
<p>Download with pre-hacked files: <a href="http://joshhighland.com.s3.amazonaws.com/blog/wp-content/uploads/2008/12/joshhighlands_mimbopro_categorypaginghack.zip">JoshHighlands_MimboPro_CategoryPagingHack.zip</a></p>
<p>If you have any further questions, please post them in the comment.<br />
<a href="http://joshhighland.com.s3.amazonaws.com/blog/wp-content/uploads/2008/12/joshhighlands_mimbopro_categorypaginghack.zip"></a></p>
]]></content:encoded>
			<wfw:commentRss>http://joshhighland.com/blog/2008/12/08/modifying-mimbopro-to-add-paged-navigation-to-category-pages/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
		<item>
		<title>WordPress 2.5 image upload problem : SOLVED</title>
		<link>http://joshhighland.com/blog/2008/03/30/wordpress-25-image-upload-problem-solved/</link>
		<comments>http://joshhighland.com/blog/2008/03/30/wordpress-25-image-upload-problem-solved/#comments</comments>
		<pubDate>Mon, 31 Mar 2008 06:53:29 +0000</pubDate>
		<dc:creator>Josh Highland</dc:creator>
				<category><![CDATA[hacks]]></category>
		<category><![CDATA[internet]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[software]]></category>
		<category><![CDATA[tutorials]]></category>
		<category><![CDATA[wordpress]]></category>

		<guid isPermaLink="false">http://joshhighland.com/blog/?p=274</guid>
		<description><![CDATA[This afternoon I upgraded my blog to the latest version of wordpress, 2.5. The install went great and it was simple to do. I didn&#8217;t realize that I had any problems until I went to make a blog post and upload an image. When I tried to upload, I was greeted with the following: Something [...]]]></description>
			<content:encoded><![CDATA[<p></p><p>This afternoon I upgraded my blog to the latest version of wordpress, 2.5. The install went great and it was simple to do. I didn&#8217;t realize that I had any problems until I went to make a blog post and upload an image. When I tried to upload, I was greeted with the following:</p>
<p><a href="http://joshhighland.com.s3.amazonaws.com/blog/wp-content/uploads/2008/03/wp_upload25.gif"><img class="alignnone size-full wp-image-273" title="WordPress 2.5 image upload problem : SOLVED" src="http://joshhighland.com.s3.amazonaws.com/blog/wp-content/uploads/2008/03/wp_upload25.gif" alt="wp upload25 WordPress 2.5 image upload problem : SOLVED" width="500" height="201" /></a></p>
<p>Something was for sure messed it. I tried it in several browsers, but had the same results. no luck. I started to go some searching online but since wordpress 2.5 is so new, there was little info to be found. After about an hour of stumbeling around I came across a post on a forum where someone said they got the image upload to work by adjusting their .htaccess file on thier site with the following code.</p>
<p><code>&lt;IfModule mod_security.c&gt;</code><br />
<code>&lt;Files async-upload.php&gt;</code><br />
<code>SecFilterEngine Off</code><br />
<code>SecFilterScanPOST Off</code><br />
<code>&lt;/Files&gt;</code><br />
<code>&lt;/IfModule&gt;</code></p>
<p>I made the change to my .htaccess file, and like magic the image upload feature started to work again!</p>
<p>I am making this post in the hopes that other people with similar problems will stumble across this post and be able to fix their problem with out having to wade through all the pages of people trying to diagnose what the problem is when the solution is super easy.</p>
]]></content:encoded>
			<wfw:commentRss>http://joshhighland.com/blog/2008/03/30/wordpress-25-image-upload-problem-solved/feed/</wfw:commentRss>
		<slash:comments>36</slash:comments>
		</item>
	</channel>
</rss>

<!-- Performance optimized by W3 Total Cache. Learn more: http://www.w3-edge.com/wordpress-plugins/

Minified using disk: basic (Feed is rejected)
Page Caching using disk: enhanced
Database Caching 9/39 queries in 0.006 seconds using disk: basic
Object Caching 987/1044 objects using disk: basic
Content Delivery Network via Amazon Web Services: S3: joshhighland.com.s3.amazonaws.com

Served from: joshhighland.com @ 2012-02-06 22:46:06 -->
