<?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>Curtis Blackwell &#187; wordpress</title>
	<atom:link href="http://curtisblackwell.com/tag/wordpress/feed/" rel="self" type="application/rss+xml" />
	<link>http://curtisblackwell.com</link>
	<description>Curtis Blackwell&#039;s portfolio of web &#38; graphic design, accompanied by a design blog..</description>
	<lastBuildDate>Mon, 22 Mar 2010 21:43:18 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.1</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>How to Clear Your Old Database Tables</title>
		<link>http://curtisblackwell.com/how-to-clear-your-old-database-tables/</link>
		<comments>http://curtisblackwell.com/how-to-clear-your-old-database-tables/#comments</comments>
		<pubDate>Thu, 11 Feb 2010 06:37:06 +0000</pubDate>
		<dc:creator>Curtis</dc:creator>
				<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[Web Design]]></category>
		<category><![CDATA[database]]></category>
		<category><![CDATA[troubleshooting]]></category>
		<category><![CDATA[wordpress]]></category>

		<guid isPermaLink="false">http://curtisblackwell.com/?p=444</guid>
		<description><![CDATA[Oh noz!

To someone who hasn&#8217;t dealt with this problem before, this issue probably seems pretty intimidating (at least I think it did to me when I first got it). However, this is most likely a simple fix.

Arriving at the Problem
First, let&#8217;s talk about how I came about this problem today so you can avoid it [...]]]></description>
			<content:encoded><![CDATA[<h3>Oh noz!</h3>
<p><img src="http://curtisblackwell.com/ajhngvbng/wp-content/uploads/2010/02/already-installed.png" alt="" title="already-installed" width="653" height="199" class="aligncenter size-full wp-image-445" /></p>
<p>To someone who hasn&#8217;t dealt with this problem before, this issue probably seems pretty intimidating (at least I think it did to me when I first got it). However, this is most likely a simple fix.</p>
<p><span id="more-444"></span></p>
<h3>Arriving at the Problem</h3>
<p>First, let&#8217;s talk about how I came about this problem today so you can avoid it in the future.</p>
<p>To speed things up, I like to keep a copy of the most recent version of WordPress on my computer with a few modifications. One thing I modify is the wp-config.php file; here are some of the changes:</p>
<pre class="php">
<code>
<span class="comment">/** MY CHANGES **/

// creates fewer database queries, thus improving performance</span>
<span class="php-function">define</span>(<span class="php-string">'WP_HOME'</span>, <span class="php-string">'http://URL.com'</span>);
<span class="php-function">define</span>(<span class="php-string">'WP_SITEURL'</span>, <span class="php-string">'http://URL.com'</span>);
</code>
</pre>
<p>This will screw things up if I don&#8217;t replace <code><span class="php-string">'http://URL.com'</span></code> with the correct URL. More specifically, I get the &#8220;clear your old database tables first&#8221; message from WordPress. This is what happened today when I transferred a theme from my server to a client&#8217;s.</p>
<h3>The Solution</h3>
<p><span class="html-comment">&lt;!&#45;&#45; EDIT &#45;&#45;&gt;</span><br />
<a href="#comment-135">Quickest and easiest way</a> in the comments. I haven&#8217;t tested it yet, but I know and trust the source.</p>
<ol>
<li>
<p>Log in to phpMyAdmin (or other database management tool).</p>
<p><small>You should be able to find phpMyAdmin in the control panel of your hosting account.</p>
<p>With <a href="http://www.lunarpages.com/id/curtisblackwellcom" target="_blank" onclick="pageTracker._trackPageview('/outgoing/www.lunarpages.com/id/curtisblackwellcom?referer=');">lunarpages</a>, you need to click on MySQL Databases and scroll to the very bottom and click the phpMyAdmin link.</p>
<p>With AT&#038;T, you get to the control panel by adding /ControlPanel/ to the end of your URL.</p>
<ol>
<li>Once you log in, click on databases in the left column.</li>
<li>If you haven&#8217;t already enabled MySQL, click MySQL under databases,</li>
<li>create a password,</li>
<li>and click the enable button on the right.</li>
<li>Right beneath MySQL, click phpMyAdmin</li>
<li>and enable it by clicking the button on the right.</li>
<li>Then click the link that reads &#8220;Administer MySQL with phpMyAdmin.&#8221; Log in and you&#8217;ll be in phpMyAdmin.</li>
</ol>
<p></small><br />
<img src="http://curtisblackwell.com/ajhngvbng/wp-content/uploads/2010/02/att-MySQL.png" alt="" title="at&amp;t-MySQL" width="653" height="129" class="size-full wp-image-464" /><br />
<img src="http://curtisblackwell.com/ajhngvbng/wp-content/uploads/2010/02/att-phpMyAdmin.png" alt="" title="at&amp;t-phpMyAdmin" width="653" height="129" class="size-full wp-image-465" /></p>
<p><small>I haven&#8217;t had to do this with any other hosts so if you need help, contact your host, leave a comment, or send me an email and I&#8217;ll do my best to help you figure it out.</small></p>
</li>
<li>After logging in, you should be on a page that has a sidebar on the left with a list of all your databases. Click on the name of the database from which you need to clear tables.</li>
<p><img src="http://curtisblackwell.com/ajhngvbng/wp-content/uploads/2010/02/sidebar.png" alt="" title="sidebar" width="100" height="187" class="aligncenter wp-image-473" /></p>
<p><span class="html-comment">&lt;!&#45;&#45; I&#8217;m pretty sure this next step is irreversible, so make sure you&#8217;re on the right database &#45;&#45;&gt;</span></p>
<li>Now you just need to select all the tables that begin with the &#8220;wp_&#8221; prefix and choose &#8220;Drop&#8221; from the drop-down menu.</li>
<li>Make sure your wp-config.php file has all the correct information in it, and go to http://example.com/wp-admin/install.php/.</li>
</ol>
<p>You should be good to go now. If you&#8217;re still having trouble, leave a comment and I&#8217;ll see what I can do. Also, if you have anything to add, feel free to do so in the comments.</p>
]]></content:encoded>
			<wfw:commentRss>http://curtisblackwell.com/how-to-clear-your-old-database-tables/feed/</wfw:commentRss>
		<slash:comments>7</slash:comments>
		</item>
		<item>
		<title>New Site Design</title>
		<link>http://curtisblackwell.com/new-site-design/</link>
		<comments>http://curtisblackwell.com/new-site-design/#comments</comments>
		<pubDate>Sat, 03 Oct 2009 14:40:21 +0000</pubDate>
		<dc:creator>Curtis</dc:creator>
				<category><![CDATA[Web Design]]></category>
		<category><![CDATA[portfolio]]></category>
		<category><![CDATA[web development]]></category>
		<category><![CDATA[wordpress]]></category>
		<category><![CDATA[wordpress theme development]]></category>

		<guid isPermaLink="false">http://curtisblackwell.com/?p=382</guid>
		<description><![CDATA[I just finished putting my new site design up. The motivation to finally finish it came from a much needed break from work and the need to stay up as late as possible so I can work the graveyard shift tomorrow night.
This is much cleaner and hopefully much more appealing to the masses than my [...]]]></description>
			<content:encoded><![CDATA[<p>I just finished putting my new site design up. The motivation to finally finish it came from a much needed break from work and the need to stay up as late as possible so I can work the graveyard shift tomorrow night.</p>
<p>This is much cleaner and hopefully much more appealing to the masses than my old one, while still retaining some of my own interest.</p>
<p><span id="more-382"></span></p>
<p>I &#8220;wrote my own code&#8221; for the <a href="#contact">contact form</a>. I really just followed a basic tutorial and made some slight modifications… I don&#8217;t even remember what the mods were, it was a while back (my convenience store job saps the life out of me). I&#8217;m fairly certain I&#8217;ll want to redo it in the near future since it doesn&#8217;t provide much help to the user who doesn&#8217;t fare well with technology.</p>
<p>The <a href="http://ma.tt/scripts/randomimage/" target="_blank" onclick="pageTracker._trackPageview('/outgoing/ma.tt/scripts/randomimage/?referer=');">random image script</a> used on the portfolio page came from some code by Matt Mullenweg.</p>
<p>I&#8217;ll be surprised, albeit pleasantly, if there are no bugs. That being said let me know if you find any, or if you have any other suggestions. What do you think of the forms? Are the inputs too confusing? It&#8217;s kind of a pain to get the focus on the inputs in the contact form in IE… I almost want to not do anything about it to punish anyone using IE, but I need some work and you just never know from whom it may come.</p>
<p>Also, what do you think of the presentation of my work? The <a href="http://curtisblackwell.com/portfolio/web-design/">web design</a> page could use some mods, but I need to get some stuff up and running before I can do much with it. Some of the sites are no longer available so I need to make some WordPress themes out of &#8216;em and put &#8216;em on here for download.</p>
<p>In short, this is the new look of the site, I&#8217;d love to hear what you think, and I hope you&#8217;ll check back for the new stuff I&#8217;m planning on doing in the (hopefully) near future.</p>
<p><span class="html-comment">&lt;!&#45;&#45; EDIT &#45;&#45;&gt;</span><br />
I just found a bug! Be on the lookout.</p>
]]></content:encoded>
			<wfw:commentRss>http://curtisblackwell.com/new-site-design/feed/</wfw:commentRss>
		<slash:comments>9</slash:comments>
		</item>
		<item>
		<title>New WordPress Theme: ascetic</title>
		<link>http://curtisblackwell.com/new-wordpress-theme-ascetic/</link>
		<comments>http://curtisblackwell.com/new-wordpress-theme-ascetic/#comments</comments>
		<pubDate>Wed, 30 Sep 2009 23:51:01 +0000</pubDate>
		<dc:creator>Curtis</dc:creator>
				<category><![CDATA[Downloads]]></category>
		<category><![CDATA[Free Downloads]]></category>
		<category><![CDATA[Web Design]]></category>
		<category><![CDATA[WordPress Themes]]></category>
		<category><![CDATA[free]]></category>
		<category><![CDATA[web development]]></category>
		<category><![CDATA[wordpress]]></category>
		<category><![CDATA[wordpress theme development]]></category>

		<guid isPermaLink="false">http://curtisblackwell.com/?p=346</guid>
		<description><![CDATA[
ascetic is a template theme I designed a little while back to speed up my design process. I&#8217;ve only used it half a time since creating it, so it&#8217;s listed as beta and i&#8217;ll update it as I use it more.
Features:

Widget ready
IE .png fix
Separate IE stylesheet (blank since the theme is intended for development use [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://ascetic.curtisblackwell.com/" onclick="pageTracker._trackPageview('/outgoing/ascetic.curtisblackwell.com/?referer=');"><img src="http://curtisblackwell.com/ajhngvbng/wp-content/uploads/2009/09/ascetic.jpg" alt="ascetic" title="ascetic" width="390" height="322" class="aligncenter size-full wp-image-347" /></a></p>
<p><a href="http://ascetic.curtisblackwell.com/" onclick="pageTracker._trackPageview('/outgoing/ascetic.curtisblackwell.com/?referer=');">ascetic</a> is a template theme I designed a little while back to speed up my design process. I&#8217;ve only used it half a time since creating it, so it&#8217;s listed as beta and i&#8217;ll update it as I use it more.</p>
<h3>Features:</h3>
<ul>
<li>Widget ready</li>
<li>IE .png fix</li>
<li>Separate IE stylesheet (blank since the theme is intended for development use and would have to be completely redone anyway)</li>
<li>Google code to make lesser versions of IE behave more like IE 8</li>
<li>Update message for any version IE version less than 8</li>
</ul>
<p>I appreciate any feedback/advice you may have.</p>
<p><a href="http://curtisblackwell.com/download/themes/wordpress/ascetic.zip">Download ascetic</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://curtisblackwell.com/new-wordpress-theme-ascetic/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Finding the Page ID Numbers in WordPress</title>
		<link>http://curtisblackwell.com/finding-the-page-id-numbers-in-wordpress/</link>
		<comments>http://curtisblackwell.com/finding-the-page-id-numbers-in-wordpress/#comments</comments>
		<pubDate>Sun, 19 Jul 2009 23:21:02 +0000</pubDate>
		<dc:creator>Curtis</dc:creator>
				<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[exclude pages]]></category>
		<category><![CDATA[page id]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[wordpress]]></category>
		<category><![CDATA[wordpress theme development]]></category>
		<category><![CDATA[wp list pages]]></category>
		<category><![CDATA[wp_list_pages]]></category>

		<guid isPermaLink="false">http://curtisblackwell.com/?p=269</guid>
		<description><![CDATA[When developing a WordPress theme, it&#8217;s helpful to know a specific page&#8217;s ID number at times.
For instance, I&#8217;m working on a site now where I want to display some pages in the sidebar, but not all, so I use the template tag &#8220;wp list pages&#8221; and the parameter &#8220;exclude.&#8221; 
Here&#8217;s how the code looks:
&#60;?php wp_list_pages(&#8216;title_li=&#038;exclude=PAGE_ID&#8217;); [...]]]></description>
			<content:encoded><![CDATA[<p>When developing a WordPress theme, it&#8217;s helpful to know a specific page&#8217;s ID number at times.</p>
<p>For instance, I&#8217;m working on a site now where I want to display some pages in the sidebar, but not all, so I use the template tag &#8220;wp list pages&#8221; and the parameter &#8220;exclude.&#8221; </p>
<p>Here&#8217;s how the code looks:<br />
<code><span class="php-delimiter">&lt;?php</span> <span class="php-function-call">wp_list_pages</span>(<span class="php-string">&lsquo;title_li=&#038;exclude=PAGE_ID&rsquo;</span>);<span class="php-delimiter"> ?&gt;</span></code></p>
<p>Problem is, I don&#8217;t know the page IDs and it&#8217;s not listed anywhere in Pages > Edit. However if you choose a specific page to edit, the URL in the navigation bar will end in &#8220;post=PAGE_ID&#8221;.</p>
<p>If you need multiple page IDs, go to Pages > Edit. The URL that titles point to ends in the page ID. In Firefox you can just hover over the link and look in the status bar at the bottom of the screen.</p>
<p>My code ended up looking like this:<br />
<code><span class="php-delimiter">&lt;?php</span> <span class="php-function-call">wp_list_pages</span>(<span class="php-string">&lsquo;title_li=&#038;exclude=2, 308, 310, 312&rsquo;</span>);<span class="php-delimiter"> ?&gt;</span></code></p>
]]></content:encoded>
			<wfw:commentRss>http://curtisblackwell.com/finding-the-page-id-numbers-in-wordpress/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Creating a Local Copy of Your WordPress Site Using MAMP</title>
		<link>http://curtisblackwell.com/creating-a-local-copy-of-your-wordpress-site-using-mamp/</link>
		<comments>http://curtisblackwell.com/creating-a-local-copy-of-your-wordpress-site-using-mamp/#comments</comments>
		<pubDate>Wed, 20 May 2009 18:38:50 +0000</pubDate>
		<dc:creator>Curtis</dc:creator>
				<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[mamp]]></category>
		<category><![CDATA[portfolio]]></category>
		<category><![CDATA[tutorial]]></category>
		<category><![CDATA[wordpress]]></category>

		<guid isPermaLink="false">http://curtisblackwell.com/?p=147</guid>
		<description><![CDATA[I presented my portfolio on May 11th using a local copy in case there were any problems connecting to the internet and because our campus network is slooooooooow.
I found a few tutorials on how to create a local copy of an existing WordPress installation, but they were all very slightly off for someone using MAMP. [...]]]></description>
			<content:encoded><![CDATA[<p>I presented my portfolio on May 11<sup>th</sup> using a local copy in case there were any problems connecting to the internet and because our campus network is slooooooooow.</p>
<p>I found a few tutorials on how to create a local copy of an existing WordPress installation, but they were all <em>very slightly</em> off for someone using <acronym title="Macintosh, Apache, Mysql and PHP">MAMP</acronym>. I first got MAMP when I was learning how to install WordPress locally and since it works great, I didn&#8217;t want to install another local server environment.</p>
<p><span id="more-147"></span></p>
<p>Anyway, on to the instructions:</p>
<h3 class="alt">Exporting Your WordPress Database</h3>
<ol>
<li>Log in to phpMyAdmin through your host (usually in the cPanel). I use <a href="http://www.lunarpages.com/id/curtisblackwellcom" target="_blank" onclick="pageTracker._trackPageview('/outgoing/www.lunarpages.com/id/curtisblackwellcom?referer=');">lunarpages</a> so I&#8217;ll tell you how to get there on their site:<br />
<span class="html-comment">&lt;!&ndash;&ndash; <a href="http://iamdavidhubler.com/" target="_blank" onclick="pageTracker._trackPageview('/outgoing/iamdavidhubler.com/?referer=');">Dave Hubler</a> kindly left a <a href="#comment-113">comment</a> on a slight difference for those using limedomains as their host. Thanks, broseph. &ndash;&ndash;&gt;</span></p>
<ol>
<li>Log in by clicking the link in the header.</li>
<li>Make sure you have the right hosting account selected in the drop-down menu and click Control Panel. If you have more than one hosting account, you&#8217;ll have to click the &#8220;Go to cPanel&#8221; button.</li>
<li>Click on MySQL Databases among all the icons and scroll all the way to the bottom and click on the &#8220;phpMyAdmin&#8221; link.</li>
</ol>
</li>
<li>Select the WordPress database from the sidebar on the left. Remember this database name for a future step.</li>
<p><img src="http://curtisblackwell.com/ajhngvbng/wp-content/uploads/2009/05/sidebar.png" alt="sidebar" title="sidebar" width="382" height="212" class="alignleft size-full wp-image-228" /></p>
<div class="clear"></div>
<li>Click the Export tab at the top, make sure everything is selected in the box on the left, the SQL radio button is selected, and the Data checkbox to the right is checked. Select the Save as file checkbox and click Go.</li>
<p><img src="http://curtisblackwell.com/ajhngvbng/wp-content/uploads/2009/05/export.png" alt="export" title="export" width="382" height="38" class="alignleft size-full wp-image-216" />
</ol>
<div class="clear"></div>
<h3 class="alt">Importing Your WP Database into Your Local Copy</h3>
<ol>
<li>Download, install, and open <a href="http://www.mamp.info/en/mamp/index.html" target="_blank" onclick="pageTracker._trackPageview('/outgoing/www.mamp.info/en/mamp/index.html?referer=');">MAMP</a> if you haven&#8217;t already.</li>
<li>Using your <acronym title="File Transfer Protocol">FTP</acronym> client, copy your site&#8217;s root folder to /Applications/MAMP/htdocs/</li>
<li>Go to the MAMP Start Page and click on phpMyAdmin.<br />
<span class="html-comment">&lt;!&#45;&#45; NOTE &#45;&#45;&gt;</span><br />
<em>If for some reason MAMP didn&#8217;t start the servers and open the start page upon launch, do so now by clicking the buttons in the <acronym title="User Interface">UI</acronym>.</em>
	</li>
<li>On the phpMyAdmin homepage there is an option to create a new database. Enter the database name from step 2 in <span class="blue">Exporting Your WordPress Database</span> and click Create.</li>
<li>Click on the new database in the sidebar on the left then choose the Import tab at the top.</li>
<p><img src="http://curtisblackwell.com/ajhngvbng/wp-content/uploads/2009/05/import.png" alt="import" title="import" width="382" height="38" class="alignleft size-full wp-image-220" /></p>
<div class="clear"></div>
<li>Click Browse and select the database file you downloaded earlier. Click Go in the bottom left.</li>
</ol>
<h3 class="alt">Setting Up Your Username and Password for Your Local Database</h3>
<ol>
<li>Go to the homepage of your local phpMyAdmin and choose Privileges from the MySQL column on the left.</li>
<li>Click Add a new User under the list of existing users.</li>
<li>Enter your username and password from the remote database.<br />
<span class="html-comment">&lt;!&#45;&#45; NOTE &#45;&#45;&gt;</span><br />
<em>If you don&#8217;t remember your username and password, open your wp-config file and get the info there.</em></li>
<li>For Host, choose Local if the host in your wp-config file is localhost. Otherwise, choose Any.</li>
<li>Click Check All under Global privileges and click Go.</li>
</ol>
<h3 class="alt">Setting the Proper URL</h3>
<ol>
<li>Go to the homepage of your local phpMyAdmin and choose your database from the column on the left.</li>
<li>Select Browse next to the table wp_options.</li>
<p><img src="http://curtisblackwell.com/ajhngvbng/wp-content/uploads/2009/05/wp_options.png" alt="wp_options" title="wp_options" width="382" height="23" class="alignleft size-full wp-image-218" /></p>
<div class="clear"></div>
<li>Find the option_name siteurl and click the corresponding edit link. Change the option_value to http://localhost:8888/root_folder_name and click Go.<br />
<span class="html-comment">&lt;!&#45;&#45; NOTE &#45;&#45;&gt;</span><br />
<em>If using something other than MAMP, you&#8217;ll probably have to type http://localhost/root_folder_name</em></li>
<p><img src="http://curtisblackwell.com/ajhngvbng/wp-content/uploads/2009/05/edit.png" alt="edit" title="edit" width="382" height="39" class="alignleft size-full wp-image-222" /></p>
<div class="clear"></div>
<li>Find the option_name home and set the option_value to the same as you did for siteurl.</li>
</ol>
<p>That should be it!</p>
<p>Make sure MAMP is running and check http://localhost:8888/root_folder_name (or http://localhost/root_folder_name) to see your local site.</p>
]]></content:encoded>
			<wfw:commentRss>http://curtisblackwell.com/creating-a-local-copy-of-your-wordpress-site-using-mamp/feed/</wfw:commentRss>
		<slash:comments>9</slash:comments>
		</item>
	</channel>
</rss>
