<?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>Elliot Condon Freelance Web Design</title>
	<atom:link href="http://www.elliotcondon.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.elliotcondon.com</link>
	<description>Elliot&#039;s website</description>
	<lastBuildDate>Mon, 16 Aug 2010 12:23:08 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
		<item>
		<title>Wonder &#8211; a creative journey</title>
		<link>http://www.elliotcondon.com/design/wonder-a-creative-journey/</link>
		<comments>http://www.elliotcondon.com/design/wonder-a-creative-journey/#comments</comments>
		<pubDate>Thu, 29 Jul 2010 07:57:30 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Design]]></category>
		<category><![CDATA[after effects]]></category>
		<category><![CDATA[animation]]></category>
		<category><![CDATA[artist]]></category>
		<category><![CDATA[creative]]></category>
		<category><![CDATA[rmit]]></category>
		<category><![CDATA[wonder]]></category>

		<guid isPermaLink="false">http://www.elliotcondon.com/?p=1488</guid>
		<description><![CDATA[Wonder was a short animation exercise to showcase After Effects knowledge with typography, compositing and creativity. Reflecting on &#8220;Wonder&#8221;, I could clearly see my design style which was quite confronting. Normally I am quite a calculated person, but when I design it seams I turn into a spur of the moment artist dancing from one [...]]]></description>
			<content:encoded><![CDATA[<p><object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" width="667" height="375" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0"><param name="allowfullscreen" value="true" /><param name="allowscriptaccess" value="always" /><param name="src" value="http://vimeo.com/moogaloop.swf?clip_id=13726383&amp;server=vimeo.com&amp;show_title=0&amp;show_byline=0&amp;show_portrait=0&amp;color=00adef&amp;fullscreen=1" /><embed type="application/x-shockwave-flash" width="667" height="375" src="http://vimeo.com/moogaloop.swf?clip_id=13726383&amp;server=vimeo.com&amp;show_title=0&amp;show_byline=0&amp;show_portrait=0&amp;color=00adef&amp;fullscreen=1" allowscriptaccess="always" allowfullscreen="true"></embed></object></p>
<p>Wonder was a short animation exercise to showcase After Effects knowledge with typography, compositing and creativity.</p>
<p>Reflecting on &#8220;Wonder&#8221;, I could clearly see my design style which was quite confronting. Normally I am quite a calculated person, but when I design it seams I turn into a spur of the moment artist dancing from one idea to the next never looking back to change or develop an idea.</p>
<p>Wonder used 3 short videos of paint and ink, 1 word and a song I recorded from a skate video off youtube (totally illegal but I couldn&#8217;t care less). I knew there was a vague idea behind it but the further I progressed through the animation, the less idea I had of what I was doing until it was all done.</p>
<p>So how did I know it was done? Well, my crappy recording skills resulted in the song cutting out just before a very crucial beat. I didn&#8217;t want to go back and re record it. That would be preposterous! Recording 45 seconds of audio? Again? No way.</p>
<p>The end of the recording was the end of my animation but this exposed my style completely. I used my crappy recording and gained a very ambiguous finale. You expect the song to continue and maybe even something monumental to  happen but no, you just get the credits. I&#8217;ll leave it up to the viewer to decide if its artistic or just s$%t.</p>
<p>Hope you enjoyed it. I sure did.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.elliotcondon.com/design/wonder-a-creative-journey/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>WordPress 3 Invoice Plugin</title>
		<link>http://www.elliotcondon.com/wordpress/wordpress-3-invoice-plugin/</link>
		<comments>http://www.elliotcondon.com/wordpress/wordpress-3-invoice-plugin/#comments</comments>
		<pubDate>Sat, 03 Jul 2010 05:31:58 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[WordPress]]></category>
		<category><![CDATA[customize]]></category>
		<category><![CDATA[Design]]></category>
		<category><![CDATA[invoice]]></category>
		<category><![CDATA[plugin]]></category>
		<category><![CDATA[statistics]]></category>
		<category><![CDATA[tempalte]]></category>
		<category><![CDATA[wordpress3]]></category>

		<guid isPermaLink="false">http://www.elliotcondon.com/?p=1460</guid>
		<description><![CDATA[Wp3i is a WordPress plugin to manage invoices for freelance web designers / developers. This plugin uses the new custom post type to reduce code, run smoothly and look cleaner. Use the simple and efficient WordPress admin interface to create your invoice or quote, then view it on a custom template which you can edit with ease.]]></description>
			<content:encoded><![CDATA[<h2>WordPress 3 Invoice has a website!</h2>
<p>visit <a href="http://www.wordpress3invoice.com/">http://www.wordpress3invoice.com/</a> for all your wp3i needs.</p>
<p>Comments are now closed. Please comment on the appropriate page at the wp3i website.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.elliotcondon.com/wordpress/wordpress-3-invoice-plugin/feed/</wfw:commentRss>
		<slash:comments>51</slash:comments>
		</item>
		<item>
		<title>Remove dashboard menu items for a specific user in WordPress</title>
		<link>http://www.elliotcondon.com/wordpress/remove-dashboard-menu-items-for-a-specific-user-in-wordpress/</link>
		<comments>http://www.elliotcondon.com/wordpress/remove-dashboard-menu-items-for-a-specific-user-in-wordpress/#comments</comments>
		<pubDate>Wed, 19 May 2010 08:36:31 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[WordPress]]></category>
		<category><![CDATA[dashboard]]></category>
		<category><![CDATA[function]]></category>
		<category><![CDATA[item]]></category>
		<category><![CDATA[menu]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[remove]]></category>
		<category><![CDATA[remove dashboard menu]]></category>
		<category><![CDATA[specific user]]></category>
		<category><![CDATA[user]]></category>

		<guid isPermaLink="false">http://www.elliotcondon.com/?p=1274</guid>
		<description><![CDATA[When creating a WordPress website for a client you should always create at least 2 users: one for you (Admin) and one for the client (clientname). This way, you will always have direct access to fixing their mistakes and you have controll over what they can see. Here is some code to remove WordPress dashboard menu items for a specific user.]]></description>
			<content:encoded><![CDATA[<p>Enter this code into your functions.php file and change &#8216;username&#8217; on line 10 to the username you have made for your client. Then just delete from the array the menu items that you do want to keep. It&#8217;s almost too easy!</p>
<pre>/*-------------------------------------------------------------------------------
 Remove Dashboard Menu Items
-------------------------------------------------------------------------------*/
function remove_menus()
{
    global $menu;
    global $current_user;
    get_currentuserinfo();

    if($current_user-&gt;user_login == 'username')
    {
        $restricted = array(__('Posts'),
                            __('Media'),
                            __('Links'),
                            __('Pages'),
                            __('Comments'),
                            __('Appearance'),
                            __('Plugins'),
                            __('Users'),
                            __('Tools'),
                            __('Settings')
        );
        end ($menu);
        while (prev($menu)){
            $value = explode(' ',$menu[key($menu)][0]);
            if(in_array($value[0] != NULL?$value[0]:"" , $restricted)){unset($menu[key($menu)]);}
        }// end while

    }// end if
}
add_action('admin_menu', 'remove_menus');</pre>
<h3>Remove Sub Menu Items</h3>
<p>Removing Sub menu items is a bit more tricky. The sub menu is organized in multidimensional arrays and after reading through a few blog posts, I&#8217;m still confused. Basically you need to call the unset method and then enter the file and a number where that menu item is located.</p>
<p>Read more about it here: <a href="http://www.packtpub.com/article/developing-post-types-plugin-with-wordpress">http://www.packtpub.com/article/developing-post-types-plugin-with-wordpress</a></p>
<pre>/*-------------------------------------------------------------------------------
 Remove Sub Menu Items
-------------------------------------------------------------------------------*/
function remove_submenus()
{
    global $menu;
    global $current_user;
    get_currentuserinfo();

    if($current_user-&gt;user_login == 'username')
    {
        global $submenu;
        unset($submenu['themes.php'][10]); // remove the theme editor
    }// end if
}
add_action('admin_menu', 'remove_menus');</pre>
]]></content:encoded>
			<wfw:commentRss>http://www.elliotcondon.com/wordpress/remove-dashboard-menu-items-for-a-specific-user-in-wordpress/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
		<item>
		<title>WordPress Guide to Create a Successfull CMS Theme</title>
		<link>http://www.elliotcondon.com/wordpress/wordpress-guide-to-create-a-successfull-cms-theme/</link>
		<comments>http://www.elliotcondon.com/wordpress/wordpress-guide-to-create-a-successfull-cms-theme/#comments</comments>
		<pubDate>Wed, 12 May 2010 11:09:15 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[WordPress]]></category>
		<category><![CDATA[cms]]></category>
		<category><![CDATA[guide]]></category>
		<category><![CDATA[jQuery]]></category>
		<category><![CDATA[login]]></category>
		<category><![CDATA[logo]]></category>
		<category><![CDATA[redirect]]></category>
		<category><![CDATA[success]]></category>
		<category><![CDATA[tempalte]]></category>
		<category><![CDATA[theme]]></category>
		<category><![CDATA[thumbnail]]></category>

		<guid isPermaLink="false">http://www.elliotcondon.com/?p=1238</guid>
		<description><![CDATA[WordPress provides the perfect core functionality for a successful CMS but it can only be as powerful as the theme it is running. This post will share my own findings from working with WordPress on a day to day basis. I have found many useful plugins and code snippets which will hopefully help you in your next project. Lest Begin]]></description>
			<content:encoded><![CDATA[<h3>Custom Login and Dashboard Logos</h3>
<p>This a great little touch when making WordPress CMS websites for clients.</p>
<pre class="brush:php">/*--------------------------------------------------------------
    Login Logo
--------------------------------------------------------------*/
function my_custom_login_logo() {
    echo '&lt;style type="text/css"&gt;
        h1 a { background-image:url('.get_bloginfo('template_url').'/images/custom-login-logo.gif) !important; }
    &lt;/style&gt;';
}
add_action('login_head', 'my_custom_login_logo');

/*--------------------------------------------------------------
    Dashboard Logo
--------------------------------------------------------------*/
function my_custom_logo() {
echo '
&lt;style type="text/css"&gt;
#header-logo { background-image: url('.get_bloginfo('template_directory').'/images/custom-logo.gif) !important; }
&lt;/style&gt;
';
}
add_action('admin_head', 'my_custom_logo');</pre>
<h3>Include jQuery the right way</h3>
<p>Including your own jQuery code can result in conflicting libaries and slow down the initial load time of your site. Here is the script to use to request jQuery from WordPress. Place it in your head tag before you call wp_head();</p>
<pre class="brush:html">&lt;?php wp_enqueue_script("jquery"); ?&gt;
&lt;?php wp_head(); ?&gt;
</pre>
<p>Then when you want to use jQuery, make sure you call noConflict or else WordPress will crumble!</p>
<pre class="brush:javascript">var $ = jQuery.noConflict();
$(document).ready(function()
{
    //do stuff
});
</pre>
<h3>Make use of WordPress&#8217;s thumbnail function.</h3>
<p>There are some great thumbnail plugins out there but as of version 2.9, WordPress does a pretty good job of providing it&#8217;s own thumbnails. Here is some code to activate thumbnails, assign the default size and create a custom size for your theme.</p>
<pre class="brush:php">/*--------------------------------------------------------------
    Functions.php - Activate and setup thumbnails
--------------------------------------------------------------*/
add_theme_support('post-thumbnails');
set_post_thumbnail_size( 50, 50, true ); // 50 pixels wide by 50 pixels tall, hard crop mode
<code>add_image_size( </code><code>'single-post-thumbnail'</code><code>, 400, 9999 ); </code><code>//  Custom thumbnail size</code>, 400px wide, up to 9999px tall

/*--------------------------------------------------------------
    page.php - Call the thumbnail with this
--------------------------------------------------------------*/
<code>&lt;?php the_post_thumbnail( </code><code>'single-post-thumbnail'</code> <code>); ?&gt;
</code></pre>
<h3>Custom Template Safety</h3>
<p>When creating a CMS WordPress theme you will need to create many custom templates. The only problem with using custom templates is that the end user (your client) may accidentally change or remove the assigned template from a  page. The best way around this potential problem is to use some code to manage the redirection.</p>
<p>I use a simple method to check if a file (template-pagetitle.php) exists. If it does exist it will use it as a custom template. For example, if I need my artist page to run a custom template, I will just make a file called template-artists.php, nothing else needed!</p>
<pre>/*---------------------------------------------------------------------
    function.php - if the file exists use it as a template.
---------------------------------------------------------------------*/
function my_template_redirect()
{
    global $post;
    if(file_exists(TEMPLATEPATH . '/template-'.$post-&gt;post_name.'.php'))
    {
        include(TEMPLATEPATH . '/template-'.$post-&gt;post_name.'.php');
        die();
    }
}
add_action('template_redirect', 'my_template_redirect');</pre>
]]></content:encoded>
			<wfw:commentRss>http://www.elliotcondon.com/wordpress/wordpress-guide-to-create-a-successfull-cms-theme/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>WordPress 3 New Features: Custom Post Type</title>
		<link>http://www.elliotcondon.com/wordpress/wordpress-3-new-features-custom-post-type/</link>
		<comments>http://www.elliotcondon.com/wordpress/wordpress-3-new-features-custom-post-type/#comments</comments>
		<pubDate>Wed, 28 Apr 2010 10:42:48 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[WordPress]]></category>
		<category><![CDATA[beta]]></category>
		<category><![CDATA[custom post type]]></category>
		<category><![CDATA[functions]]></category>
		<category><![CDATA[new feature]]></category>
		<category><![CDATA[portfolio]]></category>
		<category><![CDATA[wordpress 3]]></category>

		<guid isPermaLink="false">http://www.elliotcondon.com/?p=1225</guid>
		<description><![CDATA[The New WordPress 3 has some great new features. In this Post we will cover Custom Post Types and Taxonomies.]]></description>
			<content:encoded><![CDATA[<h2>What is a custom post type?</h2>
<p>Pages and Posts are post types. Up until WordPress 3 we have only had Pages and Posts to create our WordPress websites and this has restricted developers to using many sub pages and custom options pages to create easy to update CMS themes.</p>
<p>With WordPress 3 we can create a new post type for anything. We will see many uses for this like: Gallery, Home Slider, Portfolio, etc post types.</p>
<pre>*Update! Scroll to the bottom to read about WP Easy Post Type Plugin</pre>
<h3>Great, so what code do I need?</h3>
<p>Adding a custom post type is very easy. The code bellow will create a simple post type of Portfolio that has menu order. This code should go in your functions.php file.</p>
<pre class="brush:php">register_post_type('portfolio', array(
    'label' =&gt; __('Portfolio'),
    'public' =&gt; true,
    '_builtin' =&gt; false,
    'show_ui' =&gt; true,
    'capability_type' =&gt; 'page',
    'hierarchical' =&gt; true,
    'supports' =&gt; array('title', 'editor', 'revisions', 'page-attributes'),
    'rewrite' =&gt; array("slug" =&gt; "portfolio"), // Permalinks format
));
</pre>
<h3>Show me its mighty power</h3>
<ul>
<li><strong>label</strong> &#8211; A descriptive name for the post type marked  for translation. Defaults to $post_type</li>
<li><strong>public</strong> &#8211; Whether posts of this type should be shown  in the admin UI. Defaults to false</li>
<li><strong>exclude_from_search</strong> &#8211; Whether to exclude posts with  this post type from search results. Defaults to true if the type is not  public, false if the type is public</li>
<li><strong>publicly_queryable</strong> &#8211; Whether post_type queries can  be performed from the front page.  Defaults to whatever public is set as</li>
<li><strong>show_ui</strong> &#8211; Whether to generate a default UI for  managing this post type. Defaults to true if the type is public, false  if the type is not public</li>
<li><strong>inherit_type</strong> &#8211; The post type from which to inherit  the edit link and capability type. Defaults to none</li>
<li><strong>capability_type</strong> &#8211; The post type to use for checking  read, edit, and delete capabilities. Defaults to &#8220;post&#8221;</li>
<li><strong>edit_cap</strong> &#8211; The capability that controls editing a  particular object of this post type. Defaults to &#8220;edit_$capability_type&#8221;  (edit_post)</li>
<li><strong>edit_type_cap</strong> &#8211; The capability that controls  editing objects of this post type as a class. Defaults to &#8220;edit_ .  $capability_type . s&#8221; (edit_posts)</li>
<li><strong>edit_others_cap</strong> &#8211; The capability that controls  editing objects of this post type that are owned by other users.  Defaults to &#8220;edit_others_ . $capability_type . s&#8221; (edit_others_posts)</li>
<li><strong>edit_others_cap</strong> &#8211; The capability that controls  publishing objects of this post type. Defaults to &#8220;publish_ .  $capability_type . s&#8221; (publish_posts)</li>
<li><strong>read_cap</strong> &#8211; The capability that controls reading a  particular object of this post type. Defaults to &#8220;read_$capability_type&#8221;  (read_post)</li>
<li><strong>delete_cap</strong> &#8211; The capability that controls deleting a  particular object of this post type. Defaults to  &#8220;delete_$capability_type&#8221; (delete_post)</li>
<li><strong>hierarchical</strong> &#8211; Whether the post type is  hierarchical. Defaults to false</li>
<li><strong>supports</strong> &#8211; An alias for calling  add_post_type_support() directly. See add_post_type_support() for  Documentation. Defaults to none</li>
<li><strong>register_meta_box_cb</strong> &#8211; Provide a callback function  that will be called when setting up the meta boxes for the edit form.   Do remove_meta_box() and add_meta_box() calls in the callback</li>
<li><strong>taxonomies</strong> &#8211; An array of taxonomy identifiers that  will be registered for the post type.  Default is no taxonomies.  Taxonomies can be registered later with register_taxonomy() or  register_taxonomy_for_object_type()</li>
</ul>
<h3>Taxonomies?</h3>
<p>Taxonomies are extra data you can use with your custom posts. For example, a category or tag is a taxonomy. With the above example of portfolio, you include a taxonomy of  &#8216;skills&#8217; or &#8216;Software&#8217;. To add a new taxonomy, just include this line of code.</p>
<pre class="brush:php">register_taxonomy( 'skills', 'portfolio', array( 'hierarchical' =&gt; true, 'label' =&gt; __('Skills') ) );</pre>
<h3>How to Query and Show these custom post pypes</h3>
<p>Querying this new data is just as easy as querying posts or pages. Here&#8217;s some example code.</p>
<pre class="brush:php">&lt;?php
global $post;
$myposts = get_posts(array('post_type' =&gt; 'portfolio', 'numberposts' =&gt; '999', 'orderby' =&gt; 'menu_order','order' =&gt; 'ASC' ));
foreach($myposts as $post): ?&gt;
&lt;?php setup_postdata($post); ?&gt;
    &lt;h2&gt;&lt;?php the_title(); ?&gt;&lt;/h2&gt;
    &lt;?php the_content(); ?&gt;
&lt;?php endforeach; wp_reset_query(); ?&gt;
</pre>
<h2>WP Easy Post Types</h2>
<p>The boffins over at New Signature Labs have created a really nice plugin to handle all the above code in a simple interface. It&#8217;s called <a href="http://www.wpeasyposttypes.com/">WP Easy Post Types</a> and you can find it <a href="http://www.wpeasyposttypes.com/">here</a>. As a developer I am always skeptical about admin plugins to create admin elements, but after watching the <a href="http://www.wpeasyposttypes.com/demo">demo videos</a> on their website, I&#8217;m convinced this plugin is perfect.</p>
<p>It provides a clean admin interface where you can make a new custom post type in under 10 secconds, then create metabox admin panels for custom fields in under 20 secconds and finally, drag and drop admin layout features like collumns with the flick of your mouse. I&#8217;m definitely using this in my next project.</p>
<p>Thanks for Reading, If you liked this article please click the heart button to let me know. Cheers, have a good one.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.elliotcondon.com/wordpress/wordpress-3-new-features-custom-post-type/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>Fixed Gear Weekly Mash Up Issue 1</title>
		<link>http://www.elliotcondon.com/fixed-gear/fixed-gear-weekly-mash-up-issue-1/</link>
		<comments>http://www.elliotcondon.com/fixed-gear/fixed-gear-weekly-mash-up-issue-1/#comments</comments>
		<pubDate>Mon, 26 Apr 2010 11:40:16 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Fixed Gear]]></category>
		<category><![CDATA[bike]]></category>
		<category><![CDATA[mash up]]></category>
		<category><![CDATA[melbourne]]></category>
		<category><![CDATA[video]]></category>
		<category><![CDATA[weekly]]></category>

		<guid isPermaLink="false">http://www.elliotcondon.com/?p=1214</guid>
		<description><![CDATA[Fixed Gear Media from around the globe. Issue 1 Features some great videos from 420, the Spring Geometrick kids, a beautiful AEPDX short film and more. Have fun, then go ride.]]></description>
			<content:encoded><![CDATA[<h3>420 &#8211; Must Watch!</h3>
<p>A 724-media short film of Ed Wonka Laforte and Mike Schmitt from The  Grime riding freestyle fixed gear bikes in New York City on 04-20-2010.</p>
<p><object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" width="667" height="375" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0"><param name="allowfullscreen" value="true" /><param name="allowscriptaccess" value="always" /><param name="src" value="http://vimeo.com/moogaloop.swf?clip_id=11191059&amp;server=vimeo.com&amp;show_title=1&amp;show_byline=1&amp;show_portrait=0&amp;color=76a327&amp;fullscreen=1" /><embed type="application/x-shockwave-flash" width="667" height="375" src="http://vimeo.com/moogaloop.swf?clip_id=11191059&amp;server=vimeo.com&amp;show_title=1&amp;show_byline=1&amp;show_portrait=0&amp;color=76a327&amp;fullscreen=1" allowscriptaccess="always" allowfullscreen="true"></embed></object></p>
<h3>AEPDX.</h3>
<p>This short film gave me shivers it was so good! Beautiful film and editing alongside a stunning soundtrack. Fixed Gear love?</p>
<p><object width="667" height="375"><param name="allowfullscreen" value="true" /><param name="allowscriptaccess" value="always" /><param name="movie" value="http://vimeo.com/moogaloop.swf?clip_id=10945377&amp;server=vimeo.com&amp;show_title=1&amp;show_byline=1&amp;show_portrait=0&amp;color=ddffcf&amp;fullscreen=1" /><embed src="http://vimeo.com/moogaloop.swf?clip_id=10945377&amp;server=vimeo.com&amp;show_title=1&amp;show_byline=1&amp;show_portrait=0&amp;color=ddffcf&amp;fullscreen=1" type="application/x-shockwave-flash" allowfullscreen="true" allowscriptaccess="always" width="667" height="375"></embed></object></p>
<h2>Spring  Geometrick.</h2>
<p>Nice spring edit from the Geometrick kids.</p>
<p><object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" width="667" height="375" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0"><param name="allowfullscreen" value="true" /><param name="allowscriptaccess" value="always" /><param name="src" value="http://vimeo.com/moogaloop.swf?clip_id=11190658&amp;server=vimeo.com&amp;show_title=1&amp;show_byline=1&amp;show_portrait=0&amp;color=00adef&amp;fullscreen=1" /><embed type="application/x-shockwave-flash" width="667" height="375" src="http://vimeo.com/moogaloop.swf?clip_id=11190658&amp;server=vimeo.com&amp;show_title=1&amp;show_byline=1&amp;show_portrait=0&amp;color=00adef&amp;fullscreen=1" allowscriptaccess="always" allowfullscreen="true"></embed></object></p>
<h3>Bootleg  Sessions 4!</h3>
<p>The new Trailer is here! If its anything like the previous 3, we have a great film coming out way. Trailer looks amazing.<br />
<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" width="667" height="375" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0"><param name="allowfullscreen" value="true" /><param name="allowscriptaccess" value="always" /><param name="src" value="http://vimeo.com/moogaloop.swf?clip_id=10337050&amp;server=vimeo.com&amp;show_title=1&amp;show_byline=1&amp;show_portrait=0&amp;color=ff0179&amp;fullscreen=1" /><embed type="application/x-shockwave-flash" width="667" height="375" src="http://vimeo.com/moogaloop.swf?clip_id=10337050&amp;server=vimeo.com&amp;show_title=1&amp;show_byline=1&amp;show_portrait=0&amp;color=ff0179&amp;fullscreen=1" allowscriptaccess="always" allowfullscreen="true"></embed></object></p>
<h2>I  Love My Bike Book Tees</h2>
<p>Some sweet new tee&#8217;s courtesy of <a href="http://printbrigade.bigcartel.com/product/i-love-my-bike-shirt" target="_blank">Pink Brigade</a>. Its on the now; yellow, black and circles are definitely  in fashion at the moment.</p>
<p><a href="http://www.lockedcog.com/uploads/2010/04/love3.jpg"><img class="alignnone size-full wp-image-8363" title="love3" src="http://www.lockedcog.com/uploads/2010/04/love3.jpg" alt="I Love My Bike Book Tees." width="650" height="650" /></a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.elliotcondon.com/fixed-gear/fixed-gear-weekly-mash-up-issue-1/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Make WordPress Always Redirect to Child Page</title>
		<link>http://www.elliotcondon.com/wordpress/make-wordpress-always-redirect-to-child-page/</link>
		<comments>http://www.elliotcondon.com/wordpress/make-wordpress-always-redirect-to-child-page/#comments</comments>
		<pubDate>Tue, 20 Apr 2010 11:23:00 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[WordPress]]></category>
		<category><![CDATA[child]]></category>
		<category><![CDATA[page]]></category>
		<category><![CDATA[parent]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[post]]></category>
		<category><![CDATA[redirect]]></category>
		<category><![CDATA[template]]></category>

		<guid isPermaLink="false">http://69.175.51.34/~elliotc1/?p=1170</guid>
		<description><![CDATA[When creating a CMS based WordPress page, you may not want the 'parent' page to exist for design purposes. This can easily be achieved by adding hte following code at the top of your header.php file.]]></description>
			<content:encoded><![CDATA[<p>Place this Code at the very top of your header.php file. Note: Php  redirection will not work if you have already created any HTML code.  This PHP code needs to appear before any html code! Copy and paste and  have a great day!</p>
<h3>The Code</h3>
<pre class="brush:php">&lt;?php
if (have_posts()) {
  while (have_posts()) {
    the_post();
    $pagekids = get_pages("child_of=".$post-&gt;ID."&amp;sort_column=menu_order");
    $firstchild = $pagekids[0];
    wp_redirect(get_permalink($firstchild-&gt;ID));
  }
}
?&gt;
</pre>
]]></content:encoded>
			<wfw:commentRss>http://www.elliotcondon.com/wordpress/make-wordpress-always-redirect-to-child-page/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Get Attached Images from a WordPress Post or Page</title>
		<link>http://www.elliotcondon.com/wordpress/get-attached-images-from-a-wordpress-post-or-page/</link>
		<comments>http://www.elliotcondon.com/wordpress/get-attached-images-from-a-wordpress-post-or-page/#comments</comments>
		<pubDate>Tue, 13 Apr 2010 09:16:29 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[WordPress]]></category>
		<category><![CDATA[attached]]></category>
		<category><![CDATA[get attached image]]></category>
		<category><![CDATA[images]]></category>
		<category><![CDATA[post]]></category>

		<guid isPermaLink="false">http://www.elliotcondon.com/?p=1092</guid>
		<description><![CDATA[Here's a Simple Tutorial for WordPress Developers and Junkies to retrieve attached images from pages and posts. This is a great bit of code to use when you need to display a few images from each post or create a custom gallery that runs from attached images.]]></description>
			<content:encoded><![CDATA[<h2>When would I need to use this code?</h2>
<p>You might need to get an image from a specific post? You might just need to get all the images from a page. This is the code you need and can be used in a whole bunch of different ways in many situations!</p>
<h3>The Code.</h3>
<pre class="brush:php">&lt;?php // 1. Normal WordPress Loop ?&gt;
&lt;?php if (have_posts()) : ?&gt;
    &lt;?php while (have_posts()) : the_post(); ?&gt;

        &lt;?php // 2. Show Post / Page Title ?&gt;
        &lt;h2&gt;&lt;?php the_title(); ?&gt;&lt;/h2&gt;

        &lt;?php // 3. find images attached to this post / page.
        global $post;
        $args = array(
            'post_type' =&gt; 'attachment',
            'post_mime_type' =&gt; 'image',
            'numberposts' =&gt; -1,
            'orderby' =&gt; 'menu_order',
            'order' =&gt; 'ASC',
            'post_parent' =&gt; $post-&gt;ID
        );
        $images = get_posts($args);
        ?&gt;

        &lt;?php // 4. Loop through the images and show them
        if($images)
        {
            foreach($images as $image)
            {
                echo wp_get_attachment_image($image-&gt;ID, $size='attached-image');
            }
        }
        else
        {
            echo 'your images array is empty!';
        }

    &lt;?php endwhile; ?&gt;
&lt;?php endif; ?&gt;
</pre>
<h2>Too Easy!</h2>
<p>You can customise this code to yoru liking but this will surely get you on your way. Good luck!</p>
<p>P.S. If you have found this code useful, please leave a comment so I know to continue posting. Thanks.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.elliotcondon.com/wordpress/get-attached-images-from-a-wordpress-post-or-page/feed/</wfw:commentRss>
		<slash:comments>6</slash:comments>
		</item>
		<item>
		<title>Dynamically load a HTML page using jQuery</title>
		<link>http://www.elliotcondon.com/jquery/dynamically-load-a-html-page-using-jquery/</link>
		<comments>http://www.elliotcondon.com/jquery/dynamically-load-a-html-page-using-jquery/#comments</comments>
		<pubDate>Tue, 23 Mar 2010 02:25:39 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[jQuery]]></category>
		<category><![CDATA[ajax]]></category>
		<category><![CDATA[css]]></category>
		<category><![CDATA[dynamic]]></category>
		<category><![CDATA[easy]]></category>
		<category><![CDATA[html]]></category>
		<category><![CDATA[load]]></category>
		<category><![CDATA[simple]]></category>

		<guid isPermaLink="false">http://www.elliotcondon.com/?p=1075</guid>
		<description><![CDATA[Here's a short tutorial on how to get a div from one HTML page to load into another HTML page using jQuery. Simple, easy, no fuss!]]></description>
			<content:encoded><![CDATA[<h2>Overview</h2>
<p>Basicaly, all we need is 2 HTML or PHP pages. The first page will have a div where we want the content to end up, and the other page has a div where the content is. I will use index.html as my main page and load in a div from single.html. Heres a diagram of how it all works.</p>
<p><a href="http://www.elliotcondon.com/www.elliotcondon.com/wp-content/uploads/2010/03/dynamically-load-a-HTML-page-using-jquery.jpg"><img class="alignnone size-full wp-image-1077" title="dynamically-load-a-HTML-page-using-jquery" src="http://www.elliotcondon.com/www.elliotcondon.com/wp-content/uploads/2010/03/dynamically-load-a-HTML-page-using-jquery.jpg" alt="" width="600" height="400" /></a></p>
<h3>Single.html</h3>
<p>All we want this page to do is display HTML content as usual inside a div.</p>
<pre class="brush:php">&lt;html&gt;
&lt;head&gt;&lt;/head&gt;
&lt;body&gt;
    &lt;div class="content"&gt;
        &lt;h1&gt;This is a Heading&lt;/h1&gt;
        &lt;p&gt;Here is a paragraph of text, etc...&lt;/p&gt;
    &lt;/div&gt;
&lt;/body&gt;
&lt;/html&gt;
</pre>
<h3>Index.html</h3>
<p>Your index page just needs a div to hold the loaded content, a loading gif animation and a button that will link to the page you want to load. Here are the neccessary elements.</p>
<pre class="brush:php">&lt;div class="loading"&gt;&lt;/div&gt;
&lt;div class="page"&gt;
    &lt;div class="loader"&gt;
        &lt;!--Page content gets loaded in here--&gt;
    &lt;/div&gt;
&lt;/div&gt;
&lt;a href="http://www.yourwebsite.com/single.html"&gt;
</pre>
<h3>Style.css</h3>
<pre class="brush:css">.loading
{
    width:20px;
    height:20px;
    background:url(enter your gif here);
    position: absolute;
    top:50%;
    left:50%;
    margin-top:-10px;
    margin-left:-10px;
    display:none;
}

.page .loader
{
    width:400px;
    margin:0 auto;
    display:none;
}
</pre>
<h3>jQuery</h3>
<pre class="brush:javascript">$(document).ready(function(){
    /*-------------------------------------
    Page Load
    -------------------------------------*/
    $('a').click(function(){
        // get the page URL
        var url = $(this).attr('href');

        // Show Loading div
        $('.loading').fadeTo(200, 1);

        // load in div from page
        $('.page .loader').load(url + ' .content', function(){
            // Once content has loaded, hide loading div
            $('.loading').fadeTo(500, 0);

            // Show loader div (loaded content)
            $('.page .loader').fadeTo(500, 1);
        });
    // return false so the link doesnt redirect the browser
    return false;
    });
});
</pre>
<h3>Thats it!</h3>
<p>Not too hard is it! I hope this tutorial has helped you out. Please feel free to leave a commen about this post. Thanks for reading.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.elliotcondon.com/jquery/dynamically-load-a-html-page-using-jquery/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Dynamically load a WordPress page using jQuery</title>
		<link>http://www.elliotcondon.com/jquery/dynamically-load-a-wordpress-page-using-jquery/</link>
		<comments>http://www.elliotcondon.com/jquery/dynamically-load-a-wordpress-page-using-jquery/#comments</comments>
		<pubDate>Mon, 22 Mar 2010 02:52:05 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[jQuery]]></category>
		<category><![CDATA[content]]></category>
		<category><![CDATA[div]]></category>
		<category><![CDATA[dynamic]]></category>
		<category><![CDATA[load]]></category>
		<category><![CDATA[page]]></category>
		<category><![CDATA[wordpres]]></category>

		<guid isPermaLink="false">http://www.elliotcondon.com/?p=1059</guid>
		<description><![CDATA[Heres a short tutorial on how to get a div from a WordPress page to load into another WordPress page using jQuery.]]></description>
			<content:encoded><![CDATA[<h2>Overview</h2>
<p>Basicaly, all we need is 2 pages. The first page will have a div where we want the content to end up, and the other page has a div where the content is. I will use index.php as my main page and page.php to get the content. You could just as easily use custom templates. Heres a diagram of how it all works.</p>
<p><img class="alignnone size-full wp-image-1060" title="dynamically-load-a-wordpress-page-using-jquery" src="http://www.elliotcondon.com/www.elliotcondon.com/wp-content/uploads/2010/03/dynamically-load-a-wordpress-page-using-jquery.jpg" alt="" width="600" height="400" /></p>
<h3>Page.php</h3>
<p>All we want this page to do is load the title and content as usual.</p>
<pre class="brush:php">&lt;?php get_header(); ?&gt;
&lt;?php if (have_posts()) : ?&gt;
    &lt;?php while (have_posts()) : the_post(); ?&gt;
        &lt;div class="content"&gt;
            &lt;h1&gt;&lt;?php the_title(); ?&gt;&lt;/h1&gt;
            &lt;?php the_content(); ?&gt;
        &lt;/div&gt;
    &lt;?php endwhile; ?&gt;
&lt;?php endif; ?&gt;
&lt;?php get_footer(); ?&gt;
</pre>
<h3>Index.php</h3>
<p>Your index page just needs a div to hold the loaded content, a loading gif animation and a button that will link to the page you want to load. Here are the neccessary elements.</p>
<pre class="brush:php">&lt;div class="loading"&gt;&lt;/div&gt;
&lt;div class="page"&gt;
    &lt;div class="loader"&gt;
        &lt;!--Page content gets loaded in here--&gt;
    &lt;/div&gt;
&lt;/div&gt;
&lt;a href="http://www.yourwebsite.com/pagename"&gt;
</pre>
<h3>Style.css</h3>
<pre class="brush:css">.loading
{
    width:20px;
    height:20px;
    background:url(enter your gif here);
    position: absolute;
    top:50%;
    left:50%;
    margin-top:-10px;
    margin-left:-10px;
    display:none;
}

.page .loader
{
    width:400px;
    margin:0 auto;
    display:none;
}
</pre>
<h3>jQuery</h3>
<pre class="brush:javascript">$(document).ready(function(){
    /*-------------------------------------
    Page Load
    -------------------------------------*/
    $('a').click(function(){
        // get the page URL
        var url = $(this).attr('href');

        // Show Loading div
        $('.loading').fadeTo(200, 1);

        // load in div from page
        $('.page .loader').load(url + ' .content', function(){
            // Once content has loaded, hide loading div
            $('.loading').fadeTo(500, 0);

            // Show loader div (loaded content)
            $('.page .loader').fadeTo(500, 1);
        });
    // return false so the link doesnt redirect the browser
    return false;
    });
});
</pre>
<h3>Thats it!</h3>
<p>Not too hard is it! I hope this tutorial has helped you out. Please feel free to leave a commen about this post. Thanks for reading.</p>
<pre></pre>
]]></content:encoded>
			<wfw:commentRss>http://www.elliotcondon.com/jquery/dynamically-load-a-wordpress-page-using-jquery/feed/</wfw:commentRss>
		<slash:comments>6</slash:comments>
		</item>
	</channel>
</rss>
