<?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>The Leprechaun Works, LLC &#187; wordpress</title>
	<atom:link href="http://www.leprechaunworks.com/content/tag/wordpress/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.leprechaunworks.com/content</link>
	<description>Useable technology</description>
	<lastBuildDate>Mon, 31 Jan 2011 13:00:12 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.4</generator>
		<item>
		<title>FS Chocolatiers, A Chocolate Lover&#8217;s Dream</title>
		<link>http://www.leprechaunworks.com/content/2010/10/06/fs-chocolatiers-a-chocolate-lovers-dream/</link>
		<comments>http://www.leprechaunworks.com/content/2010/10/06/fs-chocolatiers-a-chocolate-lovers-dream/#comments</comments>
		<pubDate>Wed, 06 Oct 2010 13:23:57 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[News]]></category>
		<category><![CDATA[client]]></category>
		<category><![CDATA[web site]]></category>
		<category><![CDATA[wordpress]]></category>

		<guid isPermaLink="false">http://www.leprechaunworks.com/content/?p=283</guid>
		<description><![CDATA[We have had the pleasure of working with a new client to modify their existing web site to accomplish several goals. Make the site more SEO friendly Allow easy access for their staff to change pricing and page content Clean up old or broken content As is usual for many of our clients, WordPress served [...]]]></description>
			<content:encoded><![CDATA[<p><div class="rounded">
<a href="http://www.leprechaunworks.com/content/wp-content/gallery/website/logo.gif" title="" class="shutterset_singlepic73" >
    <img class="ngg-singlepic ngg-right" src="http://www.leprechaunworks.com/content/wp-content/gallery/cache/73__x_logo.gif" alt="logo" title="logo" />
</a>
<div class="flickrCaption"></div>
</div>
We have had the pleasure of working with a new client to modify their existing web site to accomplish several goals.</p>
<ol>
<li>Make the site more SEO friendly</li>
<li>Allow easy access for their staff to change pricing and page content</li>
<li>Clean up old or broken content</li>
</ol>
<p>As is usual for many of our clients, WordPress served as a great CMS. It easily fills all of their needs and establishes a stable background for future expansion. Currently, they are using the Gourmet Food Mall for their online purchases. Simple links from their product pages to GFM provide a simple e-commerce solution.</p>
<p>We have installed Defensio for the first time for this site for managing comment spam. Defensio seems to be the most stable alternative to Askimet which is now a subscription product.</p>
<p>If looking for wonderful chocolate treats, look no further than the <a href="http://www.fschocolatiers.com">FS Chocolatiers</a>. Do not miss their chocolate pizzas. Yum!</p>
<p><a href="http://www.fschocolatiers.com">http://www.fschocolatiers.com</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.leprechaunworks.com/content/2010/10/06/fs-chocolatiers-a-chocolate-lovers-dream/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Better Image Selection with NextGen Gallery and WordPress</title>
		<link>http://www.leprechaunworks.com/content/2010/02/15/better-image-selection-with-nextgen-gallery-and-wordpress/</link>
		<comments>http://www.leprechaunworks.com/content/2010/02/15/better-image-selection-with-nextgen-gallery-and-wordpress/#comments</comments>
		<pubDate>Mon, 15 Feb 2010 15:02:44 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[nextgen]]></category>
		<category><![CDATA[tutorial]]></category>
		<category><![CDATA[wordpress]]></category>

		<guid isPermaLink="false">http://www.leprechaunworks.com/content/?p=260</guid>
		<description><![CDATA[By default the NextGen gallery plugin for WordPress displays images by their gallery id and filename. We find it hard to find our desired image in galleries with numerous images based on filename. Most of the time our filenames have no meaning. However, a simple change to a source file will display the description in [...]]]></description>
			<content:encoded><![CDATA[<p>By default the NextGen gallery plugin for WordPress displays images by their gallery id and filename. We find it hard to find our desired image in galleries with numerous images based on filename. Most of the time our filenames have no meaning. However, a simple change to a source file will display the description in the selection dropdown menu making searching much easier.</p>
<p>Note: This method depends on having descriptions for your images. Obviously, if you do not fill in descriptions then your dropdown menu is going to display blank listings. Manage galleries allows you to edit numerous details of your images including the description.</p>
<div class="ngg-border">
<a href="http://www.leprechaunworks.com/content/wp-content/gallery/nextgen-wordpress/directory.gif" title="directory" class="shutterset_singlepic70" >
    <img class="ngg-singlepic ngg-left" src="http://www.leprechaunworks.com/content/wp-content/gallery/cache/70__320x240_directory.gif" alt="directory" title="directory" />
</a>
</div>
We are looking for a file named window.php which is inside the tinymce directory under the admin root.</p>
<div style="clear:both;"></div>
<p>Open the file in your text editor of choice and navigate to the section that starts with
<div class="dean_ch" style="white-space: nowrap;">&lt;!&#8211; single pic panel &#8211;&gt;</div>
<p>. There will be a second
<div class="dean_ch" style="white-space: nowrap;">&lt;!&#8211; single pic panel &#8211;&gt;</div>
<p> at the end of the section.</p>
<p>All we need to do is to change the id and filename to description. Alternatively, you could use the alttext property instead of description ($picture->alttext).</p>
<p>Here is the original code.</p>
<div class="dean_ch" style="white-space: nowrap;"><span class="kw1">foreach</span><span class="br0">&#40;</span><span class="re0">$picturelist</span> <span class="kw1">as</span> <span class="re0">$picture</span><span class="br0">&#41;</span> <span class="br0">&#123;</span><br />
&nbsp; &nbsp; <a href="http://www.php.net/echo"><span class="kw3">echo</span></a> <span class="st0">&#8221;</span>. <span class="re0">$picture</span>-&gt;<span class="me1">pid</span> . <span class="st0">&#8216; &#8211; &#8216;</span> . <span class="re0">$picture</span>-&gt;<span class="me1">filename</span>.<span class="st0">&#8221;</span>.<span class="st0">&quot;<span class="es0">\n</span>&quot;</span>;<br />
<span class="br0">&#125;</span><br />
&nbsp;</div>
<p>Here is the modified code.</p>
<div class="dean_ch" style="white-space: nowrap;"><span class="kw1">foreach</span><span class="br0">&#40;</span><span class="re0">$picturelist</span> <span class="kw1">as</span> <span class="re0">$picture</span><span class="br0">&#41;</span> <span class="br0">&#123;</span><br />
&nbsp; &nbsp; <a href="http://www.php.net/echo"><span class="kw3">echo</span></a> <span class="st0">&#8216; &#8216;</span>. <span class="re0">$picture</span>-&gt;<span class="me1">description</span> .<span class="st0">&#8221;</span>.<span class="st0">&quot;<span class="es0">\n</span>&quot;</span>;<br />
<span class="br0">&#125;</span><br />
&nbsp;</div>
<p>Keep in mind that you are editing a plugin directly. This means that you will need to repeat this step whenever you update your NextGen gallery plugin.</p>
<p><div class="ngg-border">
<a href="http://www.leprechaunworks.com/content/wp-content/gallery/nextgen-wordpress/unmodified.gif" title="unmodified" class="shutterset_singlepic72" >
    <img class="ngg-singlepic ngg-left" src="http://www.leprechaunworks.com/content/wp-content/gallery/cache/72__320x240_unmodified.gif" alt="unmodified" title="unmodified" />
</a>
</div>
 <div class="ngg-border">
<a href="http://www.leprechaunworks.com/content/wp-content/gallery/nextgen-wordpress/modified.gif" title="modified" class="shutterset_singlepic71" >
    <img class="ngg-singlepic ngg-left" src="http://www.leprechaunworks.com/content/wp-content/gallery/cache/71__320x240_modified.gif" alt="modified" title="modified" />
</a>
</div>

<div style="clear:both;"></div>
]]></content:encoded>
			<wfw:commentRss>http://www.leprechaunworks.com/content/2010/02/15/better-image-selection-with-nextgen-gallery-and-wordpress/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Using a thumbdrive as a journal</title>
		<link>http://www.leprechaunworks.com/content/2009/10/20/using-a-thumbdrive-as-a-journal/</link>
		<comments>http://www.leprechaunworks.com/content/2009/10/20/using-a-thumbdrive-as-a-journal/#comments</comments>
		<pubDate>Tue, 20 Oct 2009 11:00:00 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[tutorial]]></category>
		<category><![CDATA[wordpress]]></category>
		<category><![CDATA[xampp]]></category>

		<guid isPermaLink="false">http://www.leprechaunworks.com/content/?p=95</guid>
		<description><![CDATA[We often get pulled back and forth between projects. Sometimes we find it hard to remember what we were doing last. Our thumbdrive journal gives us an instant &#8220;tickler&#8221; file that can be searched. Tagging our individual posts makes this even easier to find our last task. Of course, you could use this method to [...]]]></description>
			<content:encoded><![CDATA[<p>We often get pulled back and forth between projects. Sometimes we find it hard to remember what we were doing last. Our thumbdrive journal gives us an instant &#8220;tickler&#8221; file that can be searched. Tagging our individual posts makes this even easier to find our last task. Of course, you could use this method to keep a diary or just simple organized notes. We do all of our work on Windows based computers, but you can follow the same steps to create a thumbdrive journal on Linux or Apple computers.</p>
<p>To get started you will need to following resources.</p>
<ol>
<li><a href="http://wordpress.org/download/">WordPress </a>- this is the blogging software that you will install on your thumbdrive</li>
<li>Thumbdrive &#8211; you don&#8217;t need a huge drive for this purpose. 1 gig is plenty but more will not hurt</li>
<li><a href="http://www.apachefriends.org/en/xampp-windows.html#646">XAMPP </a>- your web server. Alternatively you can use UniformServer, but for this tutorial we will cover XAMPP</li>
</ol>
<p>That&#8217;s it!</p>
<p><strong>Downloading software:</strong></p>
<div class="step"><div class="rounded">
<a href="http://www.leprechaunworks.com/content/wp-content/gallery/wordpress/wordpress-download.png" title="WordPress download" class="shutterset_singlepic33" >
    <img class="ngg-singlepic ngg-right" src="http://www.leprechaunworks.com/content/wp-content/gallery/cache/33__320x240_wordpress-download.png" alt="wordpress-download" title="wordpress-download" />
</a>
</div>
 <div class="rounded">
<a href="http://www.leprechaunworks.com/content/wp-content/gallery/wordpress/xampp-download.png" title="XAMPP Download" class="shutterset_singlepic37" >
    <img class="ngg-singlepic ngg-right" src="http://www.leprechaunworks.com/content/wp-content/gallery/cache/37__320x240_xampp-download.png" alt="xampp-download" title="xampp-download" />
</a>
</div>
Simply download the latest release of WordPress from their web site using the link provided above. The default zip file is just fine. When downloading XAMPP, you will want to choose the &#8216;lite&#8217; version. This requires a manual install but this does not make installing the software more difficult.
<div class="stepClear"></div>
</div>
<p><strong>Installing the software:</strong></p>
<ol>
<li>Copy XAMPP to your thumbdrive</li>
<li>Copy WordPress to your thumbdrive</li>
</ol>
<p>WordPress depends on the web server so we need to install this first. The only difference between the exe and zip file for the lite version is the exe version will run the setup batch file after it finishes copying files. In our case, you DO NOT want to run the setup. So all we need to do for XAMPP, is to unzip the files onto the root of our thumbdrive.</p>
<p>By root, I mean that you should have xampp directory directly after your drive letter. DO NOT create a directory.</p>
<p>For example: (replace i with your thumbdrive drive letter)<br />
i:\xampplite (correct)<br />
i:\journal\xampplite (incorrect)</p>
<p>Depending on your file, the folder inside of the zip may be called xampp or xampplite. This does not matter, either is fine.</p>
<div class="step"><div class="rounded">
<a href="http://www.leprechaunworks.com/content/wp-content/gallery/wordpress/xampp-htdocs.png" title="XAMPP HTML docs" class="shutterset_singlepic38" >
    <img class="ngg-singlepic ngg-right" src="http://www.leprechaunworks.com/content/wp-content/gallery/cache/38__320x240_xampp-htdocs.png" alt="xampp-htdocs" title="xampp-htdocs" />
</a>
</div>
 <div class="rounded">
<a href="http://www.leprechaunworks.com/content/wp-content/gallery/wordpress/wordpress.png" title="WordPress files" class="shutterset_singlepic34" >
    <img class="ngg-singlepic ngg-right" src="http://www.leprechaunworks.com/content/wp-content/gallery/cache/34__320x240_wordpress.png" alt="wordpress" title="wordpress" />
</a>
</div>
To install WordPress, we follow the same steps. We simply unzip the file into the htdocs directory. In our case we also made a subfolder called journal. This isn&#8217;t necessary but allows us to have more web sites or applications using our web server in the future. When you are done, it should look like this.
<div class="stepClear"></div>
</div>
<p><strong>Configuration:</strong></p>
<ol>
<li>Start Apache (the web server)</li>
<li>Start MySQL</li>
<li>Create a database for WordPress</li>
<li>Create a new database user</li>
<li>Give new database user full rights to the database for WordPress</li>
<li>Edit WordPress Config file</li>
<li>Run install file for WordPress via web browser</li>
</ol>
<div class="step"><div class="rounded">
<a href="http://www.leprechaunworks.com/content/wp-content/gallery/wordpress/xampp-batch.png" title="XAMPP Batch start" class="shutterset_singlepic35" >
    <img class="ngg-singlepic ngg-right" src="http://www.leprechaunworks.com/content/wp-content/gallery/cache/35__320x240_xampp-batch.png" alt="xampp-batch" title="xampp-batch" />
</a>
</div>
 <div class="rounded">
<a href="http://www.leprechaunworks.com/content/wp-content/gallery/wordpress/xampp-control.png" title="XAMPP Control" class="shutterset_singlepic36" >
    <img class="ngg-singlepic ngg-right" src="http://www.leprechaunworks.com/content/wp-content/gallery/cache/36__320x240_xampp-control.png" alt="xampp-control" title="xampp-control" />
</a>
</div>
Now to start using the products, we will need to start the web server and database server. We do this by double clicking on apache_start.bat and mysql_start.bat. Alternatively, you can launch the xampp_control.exe which will open a console window that will allow you to start the two servers.
<div class="stepClear"></div>
</div>
<div class="step"><div class="rounded">
<a href="http://www.leprechaunworks.com/content/wp-content/gallery/wordpress/xampp.png" title="XAMPP localhost start page" class="shutterset_singlepic39" >
    <img class="ngg-singlepic ngg-right" src="http://www.leprechaunworks.com/content/wp-content/gallery/cache/39__320x240_xampp.png" alt="xampp" title="xampp" />
</a>
</div>
Next open your web browser and go to <a href="http://localhost">http://localhost</a>. This should redirect to the following page.
<div class="stepClear"></div>
</div>
<div class="step"><div class="rounded">
<a href="http://www.leprechaunworks.com/content/wp-content/gallery/wordpress/newdatabase.png" title="MySQL new database" class="shutterset_singlepic30" >
    <img class="ngg-singlepic ngg-right" src="http://www.leprechaunworks.com/content/wp-content/gallery/cache/30__320x240_newdatabase.png" alt="newdatabase" title="newdatabase" />
</a>
</div>
We need to create a database for WordPress. To do this, click on phpMyAdmin in the bottom left of the page. When prompted for a login, you will login with the user &#8216;root&#8217; and a blank password. If this doesn&#8217;t work, check the readme file in the root folder of the xampp install. This should have your login information. Next create a database. We chose journal as the name of our database. The name is not important as long as you remember what you named it.
<div class="stepClear"></div>
</div>
<div class="step"><div class="rounded">
<a href="http://www.leprechaunworks.com/content/wp-content/gallery/wordpress/newuser.png" title="MySQL new user" class="shutterset_singlepic32" >
    <img class="ngg-singlepic ngg-right" src="http://www.leprechaunworks.com/content/wp-content/gallery/cache/32__320x240_newuser.png" alt="newuser" title="newuser" />
</a>
</div>
While still in phpMyAdmin, create a user for your new database. Go back to the main page and click on the Privileges tab at the top. You can get back to the main page by clicking on the text link that shows localhost at the top of the page. About half way down the page you will see a link for adding a new user. Here is the information we used. You can change the user and password to whatever you would like as long as you remember it.</p>
<p>User: wpadmin<br />
Host: Localhost<br />
Password: journal2009
<div class="stepClear"></div>
</div>
<div class="step"><div class="rounded">
<a href="http://www.leprechaunworks.com/content/wp-content/gallery/wordpress/databasepriv.png" title="MySQL database privileges" class="shutterset_singlepic29" >
    <img class="ngg-singlepic ngg-right" src="http://www.leprechaunworks.com/content/wp-content/gallery/cache/29__320x240_databasepriv.png" alt="databasepriv" title="databasepriv" />
</a>
</div>
Click the Go button at the bottom of the screen. When the screen refreshes, click the privileges tab again to see all of the users. To the far right of the wpadmin user, click the pencil icon. About half way down the page, there is a section for database specific privileges. From the database drop down, select the journal database. Click Check All when the screen refreshes. This will give your user full access to this database. Don&#8217;t forget to click go at the bottom right of that section.
<div class="stepClear"></div>
</div>
<p>We still need to edit the config file so WordPress will know how to connect to the database. In our example, the WordPress config file is located at I:\xampplite\htdocs\journal\wp-config-sample.php. Just open this file in notepad and edit the top section. Change the following text</p>
<div class="dean_ch" style="white-space: nowrap;"><span class="co1">// ** MySQL settings &#8211; You can get this info from your web host ** //</span><br />
<span class="coMULTI">/** The name of the database for WordPress */</span><br />
<a href="http://www.php.net/define"><span class="kw3">define</span></a><span class="br0">&#40;</span><span class="st0">&#8216;DB_NAME&#8217;</span>, <span class="st0">&#8216;journal&#8217;</span><span class="br0">&#41;</span>;</p>
<p><span class="coMULTI">/** MySQL database username */</span><br />
<a href="http://www.php.net/define"><span class="kw3">define</span></a><span class="br0">&#40;</span><span class="st0">&#8216;DB_USER&#8217;</span>, <span class="st0">&#8216;wpadmin&#8217;</span><span class="br0">&#41;</span>;</p>
<p><span class="coMULTI">/** MySQL database password */</span><br />
<a href="http://www.php.net/define"><span class="kw3">define</span></a><span class="br0">&#40;</span><span class="st0">&#8216;DB_PASSWORD&#8217;</span>, <span class="st0">&#8216;journal2009&#8242;</span><span class="br0">&#41;</span>;</p>
<p><span class="coMULTI">/** MySQL hostname */</span><br />
<a href="http://www.php.net/define"><span class="kw3">define</span></a><span class="br0">&#40;</span><span class="st0">&#8216;DB_HOST&#8217;</span>, <span class="st0">&#8216;localhost&#8217;</span><span class="br0">&#41;</span>;</div>
<p>Save the file as wp-config.php. Start the WordPress install by opening <a href="http://localhost/journal/wp-admin/install.php">http://localhost/journal/wp-admin/install.php</a> in your web browser. Once the install completes, make sure to write down or record the admin&#8217;s password. The admin is the main user inside of WordPress and there is no way to recover the password if lost.</p>
<p><strong>Using the journal</strong></p>
<ol>
<li>How to add a post</li>
<li>Optionally change theme</li>
</ol>
<div class="step"><div class="rounded">
<a href="http://www.leprechaunworks.com/content/wp-content/gallery/wordpress/dashboard.png" title="WordPress dashboard" class="shutterset_singlepic28" >
    <img class="ngg-singlepic ngg-right" src="http://www.leprechaunworks.com/content/wp-content/gallery/cache/28__320x240_dashboard.png" alt="dashboard" title="dashboard" />
</a>
</div>
To add a new post, you will need to log into WordPress. Most default themes give some link to the login script. If one is not available, just navigate to wp-login.php in your site. If following along with our example, you would go to <a href="http://localhost/journal/wp-login.php">http://localhost/journal/wp-login.php</a> After logging in, you should see the following screen.
<div class="stepClear"></div>
</div>
<div class="step"><div class="rounded">
<a href="http://www.leprechaunworks.com/content/wp-content/gallery/wordpress/newpost.png" title="WordPress new post" class="shutterset_singlepic31" >
    <img class="ngg-singlepic ngg-right" src="http://www.leprechaunworks.com/content/wp-content/gallery/cache/31__320x240_newpost.png" alt="newpost" title="newpost" />
</a>
</div>
If you wish to record something quickly, you can use the quick post. You can enter the main post editing dialog by clicking the new post button at the top right. For a journal, it is unlikely that you will care about anything other than the title and body. I usually title my journal posts with the date, something like 2009-07-04. I do use tags when I enter my notes for the day. This makes it easier to find my notes at a later time.
<div class="stepClear"></div>
</div>
<p>WordPress has the ability to change the look of the content by using themes. <a href="http://wordpress.org/extend/themes/">WordPress.org</a> has a list of themes as do many other web sites. <a href="http://WordPressThemesbase.com">WordPressThemesbase.com</a> is another one. Look around and find something you like. I chose a very plain Jane type of theme for my journal because I didn&#8217;t have needs for ads, widgets, other users etc..</p>
<p>Have fun. Leave any questions in the comments.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.leprechaunworks.com/content/2009/10/20/using-a-thumbdrive-as-a-journal/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
	</channel>
</rss>

