<?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>Ingredients » Nick's Notepad &#187; Wordpress</title>
	<atom:link href="http://www.ingredients.com.au/nick/category/wordpress/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.ingredients.com.au/nick</link>
	<description>Nick's Notepad</description>
	<lastBuildDate>Fri, 18 Dec 2009 06:05:44 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
		<item>
		<title>A WordPress Intro</title>
		<link>http://www.ingredients.com.au/nick/2006/10/26/a-wordpress-intro/</link>
		<comments>http://www.ingredients.com.au/nick/2006/10/26/a-wordpress-intro/#comments</comments>
		<pubDate>Thu, 26 Oct 2006 00:27:16 +0000</pubDate>
		<dc:creator>Nick</dc:creator>
				<category><![CDATA[Wordpress]]></category>

		<guid isPermaLink="false">http://www.ingredients.com.au/nick/2006/10/26/a-wordpress-intro/</guid>
		<description><![CDATA[Of course it had to happen! Just a couple of days after I write up on adding posts and adding pages in WordPress I find a 3 minute intro to WordPress movie. It&#8217;s just a quick run through of an earlier version of WordPress but is still useful to watch. Being a Flash movie you&#8217;ll [...]]]></description>
			<content:encoded><![CDATA[<p>Of course it had to happen! Just a couple of days after I write up on <a href="/nick/2006/10/24/add-a-post-in-wordpress/" title="Add a Post in WordPress">adding posts</a> and <a href="/nick/2006/10/24/add-a-page-in-wordpress/" title="Add a Page in WordPress">adding pages</a> in WordPress I find a <a href="http://www.archive.org/download/WP_1.1_intro/wpintro1.1.swf" title="Intro to WordPress (Flash format)">3 minute intro to WordPress</a> movie.</p>

<p>It&#8217;s just a quick run through of an earlier version of WordPress but is still useful to watch. Being a Flash movie you&#8217;ll need the <a href="http://www.adobe.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash" title="Adobe Flash Player Download Center">free plugin</a> to watch it but it&#8217;s more than likely you already have it installed.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.ingredients.com.au/nick/2006/10/26/a-wordpress-intro/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Add a Page in WordPress</title>
		<link>http://www.ingredients.com.au/nick/2006/10/24/add-a-page-in-wordpress/</link>
		<comments>http://www.ingredients.com.au/nick/2006/10/24/add-a-page-in-wordpress/#comments</comments>
		<pubDate>Tue, 24 Oct 2006 05:48:28 +0000</pubDate>
		<dc:creator>Nick</dc:creator>
				<category><![CDATA[Wordpress]]></category>

		<guid isPermaLink="false">http://www.ingredients.com.au/nick/2006/10/24/add-a-page-in-wordpress/</guid>
		<description><![CDATA[Having given a basic run through on how to add posts in wordpress the next step is &#8220;Pages&#8221;. A WordPress &#8220;Page&#8221; is basically a fixed post in that it has a link in the page navigation and it&#8217;s own link such as http://www.mysite.com/my-new-page/. You can edit it in much the same way you can a [...]]]></description>
			<content:encoded><![CDATA[<p>Having given a basic run through on how to <a href="/nick/2006/10/24/add-a-post-in-wordpress/" title="Add a Post in WordPress">add posts in wordpress</a> the next step is &#8220;Pages&#8221;. A WordPress &#8220;Page&#8221; is basically a fixed post in that it has a link in the page navigation and it&#8217;s own link such as http://www.mysite.com/my-new-page/. You can edit it in much the same way you can a post with a few specific differences which I&#8217;ll go through.</p>

<h3>Create Page</h3>

<p><img id="image45" src="http://www.ingredients.com.au/nick/content/6_create_page.gif" alt="Create a page in WordPress" /></p>

<p>Like a post a page has a Title and Body of text. The main additional settings for a page include:</p>

<dl>
<dt>Page Parent</dt>
<dd>This is the parent of the page in the site navigation and is only relevant if you have a page needing sub-pages</dd>

<dt>Page Template</dt>
<dd>This will change the look of that particular page. Only relevant if you have different page templates.</dd>

<dt>Post Slug</dt>
<dd>This is the &#8220;my-new-page&#8221; bit of the page link; http://www.mysite.com/my-new-page/ and is produced automatically when you &#8220;Create Page&#8221; but you can change it if needed.</dd>

<dt>Page Order</dt>
<dd>This determines the order the page appears in the navigation. If you do decide to set the order of the page you need to make sure you alter all pages influenced by the page order as well as the current one.</dd>
</dl>

<h3>Manage Pages</h3>

<p><img id="image46" src="http://www.ingredients.com.au/nick/content/7_manage_pages.gif" alt="Manage Pages in WordPress" /></p>

<p>This is not much different from the &#8220;Manage Posts&#8221; page except for the fact that you access it via Manage > Pages instead of Manage > Posts. Clicking &#8220;Edit&#8221; brings you back to the page where you can &#8230;ahem&#8230; edit it.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.ingredients.com.au/nick/2006/10/24/add-a-page-in-wordpress/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Add a Post in WordPress</title>
		<link>http://www.ingredients.com.au/nick/2006/10/24/add-a-post-in-wordpress/</link>
		<comments>http://www.ingredients.com.au/nick/2006/10/24/add-a-post-in-wordpress/#comments</comments>
		<pubDate>Tue, 24 Oct 2006 04:02:31 +0000</pubDate>
		<dc:creator>Nick</dc:creator>
				<category><![CDATA[Wordpress]]></category>

		<guid isPermaLink="false">http://www.ingredients.com.au/nick/2006/10/24/add-a-post-in-wordpress/</guid>
		<description><![CDATA[Because I couldn&#8217;t find a simple how-to for this process I decided to throw my own together. It&#8217;s intended to cut to the chase as quickly as possible so is not overly detailed and relies on the images a fair amount. Find the login link First find the login link on any page on your [...]]]></description>
			<content:encoded><![CDATA[<p>Because I couldn&#8217;t find a simple how-to for this process I decided to throw my own together. It&#8217;s intended to cut to the chase as quickly as possible so is not overly detailed and relies on the images a fair amount.</p>

<h3>Find the login link</h3>

<p><img id="image40" src="http://www.ingredients.com.au/nick/content/1_main_page.gif" alt="Main page of default WordPress Installation" /></p>

<p>First find the login link on any page on your WordPress site. This could vary wildly depending on your site layout but I often put it in the footer.</p>

<p>Sidenote: If you&#8217;re already logged you may also look for a link that says &#8220;Edit this entry&#8221; which will take you straight to the &#8220;Edit Post&#8221; page in admin for that piece of content.</p>

<h3>The login page</h3>

<p><img id="image41" src="http://www.ingredients.com.au/nick/content/2_login_page.gif" alt="WordPress admin login page" /></p>

<p>Once you&#8217;ve found and clicked the login link you&#8217;ll end up, unsurprisingly, at the login page. Fill in your details and click &#8220;Login&#8221;.</p>

<h3>The &#8220;Dashboard&#8221;</h3>

<p><img id="image42" src="http://www.ingredients.com.au/nick/content/3_dashboard.gif" alt="The write post links in WordPress dashboard" /></p>

<p>After logging in you are brought to the &#8220;Dashboard&#8221; from which you have access to a whole load of stuff. In this case we&#8217;re only interested in the link to &#8220;Write a Post&#8221; or Click &#8220;Write&#8221; on the top navigation and then when a subnavigation appears click &#8220;Post&#8221;.</p>

<h3>The &#8220;Create Post&#8221; page</h3>

<p><img id="image43" src="http://www.ingredients.com.au/nick/content/4_create_post_body.gif" alt="Creating a WordPress post" /></p>

<p>On the &#8220;Write Post&#8221; page add the Title, Body and choose a relevant category for the post. You can &#8220;Save and Continue Editing&#8221; as you do this and it will keep you on the same page. If you want to leave it until later click &#8220;Save&#8221;. If you&#8217;re happy with it click &#8220;Publish&#8221; and it will be live on your site.</p>

<p>Once you have saved a preview will appear lower down on the page which is useful for checking edits as you go.</p>

<h3>The &#8220;Manage Posts&#8221; page</h3>

<p><img id="image44" src="http://www.ingredients.com.au/nick/content/5_manage_posts.gif" alt="The WordPress Manage Posts page" /></p>

<p>Having saved or published your post you can access it via the Manage > Posts page. Click &#8220;Edit&#8221; on that page to get back to the Edit page.</p>

<h3>Footnote</h3>

<p>A fresh unaltered install of WordPress version 2.0.4 was used in this how-to.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.ingredients.com.au/nick/2006/10/24/add-a-post-in-wordpress/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Planula</title>
		<link>http://www.ingredients.com.au/nick/2006/10/22/planula/</link>
		<comments>http://www.ingredients.com.au/nick/2006/10/22/planula/#comments</comments>
		<pubDate>Sun, 22 Oct 2006 00:27:09 +0000</pubDate>
		<dc:creator>Nick</dc:creator>
				<category><![CDATA[Code]]></category>
		<category><![CDATA[Design]]></category>
		<category><![CDATA[Wordpress]]></category>

		<guid isPermaLink="false">http://www.ingredients.com.au/nick/2006/10/22/planula/</guid>
		<description><![CDATA[We&#8217;ve been working with Tim and Wandy, the owners of Planula Bed and Breakfast/Divers Retreat, for over three years now on their site underwater.com.au and for almost the same amount of time have been saying that we need to update the Planula site. Well of course we&#8217;re happy to say it&#8217;s now done and was [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.planula.com.au" title="Planula Bed &#038; Breakfast Retreat"><img id="image37" src="http://www.ingredients.com.au/nick/content/planula_bb_retreat.jpg" alt="Planula Bed and Breakfast Retreat" class="alignleft" style="padding:0" /></a></p>

<p>We&#8217;ve been working with <a href="http://www.planula.com.au/accommodation/about/" title="About Tim and Wandy Hochgrebe">Tim and Wandy</a>, the owners of <a href="http://www.planula.com.au" title="Planula Bed &#038; Breakfast Retreat">Planula Bed and Breakfast/Divers Retreat</a>, for over three years now on their site <a href="http://www.underwater.com.au" title="underwater.com.au">underwater.com.au</a> and for almost the same amount of time have been saying that we need to update the Planula site.</p>

<p>Well of course we&#8217;re happy to say it&#8217;s now done and was released a few days ago.</p>

<p>Having successfully maintained their own website for years, Tim and Wandy were, and still are, understandably hesitant about moving from a static HTML site they knew, to a new database-driven solution. I&#8217;d like to run through a few of the reasons we encouraged (bullied?) them into using WordPress.</p>

<p>I&#8217;ve mentioned some general reasons to use a solution like WordPress in a <a href="/nick/2006/09/27/diving-into-wordpress/" title="Diving into WordPress article">previous post</a>.  Here are a few more specific ones which, while referring to Planula, are equally relevant to many sites.</p>

<h4>Speed and relative simplicity of publishing.</h4>

<p>They were already doing a lot of copying and pasting to add new content which works fine for consistent content but is a more work if, for example, new pages need to be added.</p>

<h4>Consistency.</h4>

<p>It&#8217;s very easy on a static html site for small inconsistencies to build up over time and become harder to change, e.g. with navigational elements. Altering the left navigation in the new site is now as simple as adding new pages and/or shuffling current ones in admin.</p>

<h4>Syndicated content</h4>

<p>Their latest content can now be consumed by anyone who subscribes to it via the automatically generated newsfeeds. This is an effortless form of marketing and can be used in a variety of ways such as their &#8220;Latest News&#8221; on the Planula <a href="http://www.underwater.com.au/listing.php/id/1/" title="Planula listing page on underwater">listing page</a> on underwater.com.au.</p>

<h4>More freedom to change their minds</h4>

<p>There are always sections in websites that aren&#8217;t immediately clear and need time and use to get a better idea on how they should be approached. This is much easier if things can be moved around quickly to respond to changing needs or circumstances.</p>

<h3>But what if&#8230;</h3>

<p>It would be naive to pretend that this solution is the be-all, end-all and I&#8217;ve already mentioned Tim and Wandy having some hesitation. Their primary concern was how much they would be tied to this solution and what if they needed to change to another or back to a static HTML site?</p>

<p>Thankfully this is also a common concern for developers and therefore there are several solutions or &#8220;exit strategies&#8221;:</p>

<h4>Changing to another system</h4>

<p>Methods exist to import WordPress data into other solutions, such as <a href="http://textpattern.com/faq/114/can-textpattern-import-entries" title="Can Textpattern import entries from..">Textpattern</a> and <a href="http://drupal.org/node/69706" title="WordPress to Drupal migration module">Drupal</a>. As a sidenote; It&#8217;s quite notable just how many more there seem to be for [importing into WordPress](http://codex.wordpress.org/Importing_Content &#8220;Importing content into WordPress).</p>

<h4>Converting back to static HTML</h4>

<p>It would be possible to do this via WordPress itself but there already exist other solutions like <a href="http://www.limit-point.com/BlueCrab/BlueCrab.html">Blue Crab</a> which &#8220;is a program that you use to copy the contents of a website to your computer, in whole or in part&#8221;. This is a Mac desktop application but of course <a href="http://www.versiontracker.com/php/search.php?mode=basic&amp;action=search&amp;str=download+web+site&amp;plt%5B%5D=windows&amp;x=12&amp;y=9" title="Windows applications on Versiontracker">Windows equivalents exist</a></p>

<h3>Some other things</h3>

<p>Another point worth mentioning; the site has now moved from a tables-based layout to one based on CSS stylesheets which on the whole (apart from the markup introduced by a few plugins) means somewhat smaller pages sizes and more content dense HTML. The separation of the page styling also means future changes to the look of the site can be introduced across the whole site much more quickly.</p>

<h3>Final words</h3>

<p>We&#8217;re waiting to see how these changes affect the visits and search engine behaviour of what is already a popular website. Of course we&#8217;re hoping they improve even more.</p>

<p>So go <a href="http://www.planula.com.au" title="Planula Bed &#038; Breakfast Retreat">visit the site</a> and even better visit Byron Bay and stay at Planula!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.ingredients.com.au/nick/2006/10/22/planula/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Diving into WordPress</title>
		<link>http://www.ingredients.com.au/nick/2006/09/27/diving-into-wordpress/</link>
		<comments>http://www.ingredients.com.au/nick/2006/09/27/diving-into-wordpress/#comments</comments>
		<pubDate>Wed, 27 Sep 2006 06:42:13 +0000</pubDate>
		<dc:creator>Nick</dc:creator>
				<category><![CDATA[Code]]></category>
		<category><![CDATA[Wordpress]]></category>

		<guid isPermaLink="false">http://www.ingredients.com.au/nick/2006/09/27/diving-into-wordpress/</guid>
		<description><![CDATA[Yes, I know the title is a little cheesy, but it does introduce some of the recent projects we have been working on. One of the things that is often requested is a means for businesses to update their own content and this generally requires some kind of content management system. For previous larger projects [...]]]></description>
			<content:encoded><![CDATA[<p>Yes, I know the title is a little cheesy, but it does introduce some of the recent projects we have been working on.</p>

<p>One of the things that is often requested is a means for businesses to update their own content and this generally requires some kind of content management system. For previous larger projects like <a href="http://www.underwater.com.au" title="underwater.com.au website">underwater.com.au</a>, the requirements have been specific enough to require a custom system to be developed. For smaller projects, however, a custom solution is often overkill. In this article I&#8217;m going to run through some of the thoughts that went into developing a couple of sites using <a href="http://wordpress.org/" title="WordPress personal publishing platform">WordPress</a>.</p>

<h3>Yongala Dive</h3>

<p><a href="http://www.yongaladive.com.au" title="Yongala Dive"><img style="padding:0" class="alignright" id="image34" src="http://www.ingredients.com.au/nick/wp-content/uploads/2006/09/yongala_dive_screenshot.jpg" alt="Yongala Dive website screenshot" /></a><a href="http://www.yongaladive.com.au" title="Yongala Dive">Yongala Dive</a> is a small dive resort based in the Great Barrier Reef Marine Park which primarily runs trips to the famous S.S. Yongala Wreck.</p>

<p>Their previous static site was difficult to update and maintain and was also in need of search engine optimisation. We started by looking at their statistics to get an indication of how the site was being used and from that came up with the following overview:</p>

<ol>
<li>First users looked for information about the S.S. Yongala wreck.</li>
<li>Then they wanted to know about the people providing the service.</li>
<li>Then about the service they provide.</li>
<li>Then they looked at images in the gallery.</li>
<li>At this point they seemed ready to contact them.</li>
</ol>

<p>These were some of the findings that were used in the development of the site and influenced decisions, such as, what order pages appeared in the site navigation.</p>

<p>I initially started looking at using a pared down version of our own content management system but decided that in this case it would have been the wrong choice. Instead, the advantages of using a solution like WordPress include:</p>

<ul>
<li>You can spend more time solving business problems than on the inevitable tweaking of your in-house engine.</li>
<li>It is free, used all over the place, many hosts actually have it as a package.</li>
<li>It is well documented.</li>
<li>Finding someone in the future to develop for it will be many times easier than finding someone to develop for an in-house custom solution.</li>
<li>You will be able to take advantage of the many available plugins like gallery, calendar, weather, etc. Plus, of course, you can also build plugins.</li>
</ul>

<p>Bear in mind that many of the above benefits apply not only to your involvement in the project, but also in the  case of you no longer working on the site. If, for example, your client employs an in-house developer it will be to your benefit to have allowed for that.</p>

<h4>WordPress Plugins Used</h4>

<ul>
<li><a href="http://plugins.atterberry.net/lazy-k-gallery" title="Lazy-K Gallery">Lazy-K Gallery</a> (although it is a little too simple and we&#8217;ll move to <a href="http://www.wildbits.de/mygallery/" title="myGallery">myGallery</a> soon)</li>
</ul>

<h3>Australian Divemaster Academy</h3>

<p><a href="http://www.divemasteracademy.com.au" title="Australian Divemaster Academy"><img style="padding:0" class="alignleft" id="image33" src="http://www.ingredients.com.au/nick/wp-content/uploads/2006/09/ada_screenshot.jpg" alt="Australian Divemaster Academy website screenshot" /></a><a href="http://www.divemasteracademy.com.au" title="The Australian Divemaster Academy">The Australian Divemaster Academy</a> is an initiative of <a href="http://www.byronbaydivecentre.com.au/" title="Byron Bay Dive Centre">Byron Bay Dive Centre</a>, taking students from beginner to Divemaster in 10 weeks of training.</p>

<p>The main requirement for this site, aside from introducing the course, was to provide a means for the non-technical staff to update news and the program calendar. The relative simplicity of WordPress&#8217; &#8220;Write Post&#8221; process was really the key reason to use it.</p>

<p>We also added the WP-iCal plugin to publish the calendar posts to an .ics format so that calendar applications like iCal, Sunbird and the upcoming Outlook 2007, can subscribe and be kept up to date with program availability.</p>

<h4>WordPress Plugins Used</h4>

<ul>
<li><a href="http://garrickvanburen.com/" title="WP-iCal">WP-iCal plugin</a> (<a href="http://gestadieu.free.fr/blog/?page_id=37" title="iCal for WordPress">iCal for WordPress</a> also looks interesting)</li>
</ul>

<h3>Conclusion</h3>

<p>WordPress is not a panacea and I have to admit that moving from developing object-oriented, MVC-architected, design-pattern-influenced, ok-I-sound-like-a-wanker, code to WordPress and many of its plugins feels like a step back in time. Articles recommending what not to do when developing modern PHP applications could find examples in WordPress and its plugins.</p>

<p>Just to mention a few: Functions are often huge and on occasion perform everything from querying the database to outputting the HTML. The API seems geared mainly towards retrieving HTML output when often you&#8217;d like to set or retrieve more basic data like an array or an integer. Many plugins would benefit greatly from updating the indexing of the database columns but make no such recommendation.</p>

<p>One example is a plugin that had database queries nested in two levels of loops. Having first retrieved some data, it used it to loop through another query and in turn, used that to loop through a further query. In a small test it had already run over 100 queries and would have increased in line with the number of posts. A reworking of the code reduced the total queries down to 2. <em>(Note: I did do what you&#8217;re supposed to do with open-source code you see needing some work; fix it and send its developer the reworked solution. I&#8217;ve intentionally not named the plugin as a mark of gratitude to anyone who gives their time to helping others out.)</em></p>

<p>However, before I go on and on, getting all precious and code nazi, I have to admit that it is fun to hack away at WordPress. If your client makes a request the first thing you can do is Google for a plugin. Often there are a selection that almost meet the mark which can then be used as a prototype to show the client. If not immediately appropriate, most can be adapted to the needs of the business.</p>

<p>In short while you still need to be vigilant there is a real sense of liberation in being able to focus on finding solutions to your clients needs rather than getting overly (and the danger being unnecessarily) precious about the code itself.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.ingredients.com.au/nick/2006/09/27/diving-into-wordpress/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
