<?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>Prolific Notion &#187; Wordpress</title>
	<atom:link href="http://www.prolificnotion.co.uk/category/development/wordpress/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.prolificnotion.co.uk</link>
	<description>Welcome to the miscellaneous mutterings of Simon Dingley, Freelance Web Developer</description>
	<lastBuildDate>Sat, 24 Jul 2010 14:23:26 +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>New Custom WordPress Theme for DontBuyThisManAPint.com</title>
		<link>http://www.prolificnotion.co.uk/custom-wordpress-theme-for-dontbuythismanapint-com/</link>
		<comments>http://www.prolificnotion.co.uk/custom-wordpress-theme-for-dontbuythismanapint-com/#comments</comments>
		<pubDate>Fri, 15 Jan 2010 14:59:22 +0000</pubDate>
		<dc:creator>Simon Dingley</dc:creator>
				<category><![CDATA[Business]]></category>
		<category><![CDATA[Wordpress]]></category>

		<guid isPermaLink="false">http://www.prolificnotion.co.uk/?p=329</guid>
		<description><![CDATA[I was contacted over the christmas and new year by Actually Digital to help out one of their clients who had been let down by another developer. The brief was clear and simple, to develop a custom WordPress theme from a design they had provided and to turn it around within 24 hours. I took up [...]


Related posts:<ol><li><a href='http://www.prolificnotion.co.uk/adding-jquery-to-a-custom-wordpress-theme/' rel='bookmark' title='Permanent Link: Adding jQuery to a custom WordPress theme'>Adding jQuery to a custom WordPress theme</a> <small>I have been doing a little bit of WordPress work...</small></li>
</ol>]]></description>
			<content:encoded><![CDATA[<div class="tweetmeme_button" style="float: right; margin-left: 10px;">
			<a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fwww.prolificnotion.co.uk%2Fcustom-wordpress-theme-for-dontbuythismanapint-com%2F"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fwww.prolificnotion.co.uk%2Fcustom-wordpress-theme-for-dontbuythismanapint-com%2F&amp;style=normal&amp;service=bit.ly&amp;service_api=R_e35365ff035ed93fc3e67e6f868b7be3" height="61" width="50" /><br />
			</a>
		</div>
<p>I was contacted over the christmas and new year by <a href="http://www.actuallydigital.co.uk">Actually Digital</a> to help out one of their clients who had been let down by another developer. The brief was clear and simple, to develop a custom WordPress theme from a design they had provided and to turn it around within 24 hours. I took up the challenge for two reasons:</p>
<ol>
<li>I have been doing more and more work with WordPress recently so I was keen to take on any work that could keep my momentum going in this area.</li>
<li>I respect what the site owner is doing and the causes he is supporting over the coming months</li>
</ol>
<p>If you would like to know more about Mark Bowness and his mission to give up alcohol for twelve months in order to develop his spirit, mind and body you can watch his introductory YouTube video below and checkout <a href="http://www.dontbuythismanapint.com">www.dontbuythismanapint.com</a>. Mark is making maximum use of social media to support this challenge so you can also follow him via <a title="Follow Mark on Twitter" href="http://twitter.com/nopints">Twitter</a>, <a title="Beceome a fan through Facebook" href="http://www.facebook.com/pages/Dont-Buy-This-Man-A-Pint-Mark-Bowness-pushing-body-mind-spirit/272246155294">Facebook</a>, <a title="Subscribe to the RSS Feed" href="http://www.dontbuythismanapint.com/feed">RSS</a> and <a title="Subscribe to the YouTube channel" href="http://www.youtube.com/user/dontbuythismanapint">YouTube</a>.</p>
<p><a href="http://www.prolificnotion.co.uk/custom-wordpress-theme-for-dontbuythismanapint-com/"><em>Click here to view the embedded video.</em></a></p>


<p>Related posts:<ol><li><a href='http://www.prolificnotion.co.uk/adding-jquery-to-a-custom-wordpress-theme/' rel='bookmark' title='Permanent Link: Adding jQuery to a custom WordPress theme'>Adding jQuery to a custom WordPress theme</a> <small>I have been doing a little bit of WordPress work...</small></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://www.prolificnotion.co.uk/custom-wordpress-theme-for-dontbuythismanapint-com/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Adding jQuery to a custom WordPress theme</title>
		<link>http://www.prolificnotion.co.uk/adding-jquery-to-a-custom-wordpress-theme/</link>
		<comments>http://www.prolificnotion.co.uk/adding-jquery-to-a-custom-wordpress-theme/#comments</comments>
		<pubDate>Wed, 16 Dec 2009 15:42:11 +0000</pubDate>
		<dc:creator>Simon Dingley</dc:creator>
				<category><![CDATA[Wordpress]]></category>

		<guid isPermaLink="false">http://www.prolificnotion.co.uk/?p=308</guid>
		<description><![CDATA[I have been doing a little bit of WordPress work recently and as a result I have been working on custom themes for WordPress. In one particular theme I required that jQuery be loaded into the template and stumbled across the following wp_enqueue_script function built into wordpress. The function essentially adds a safe method of [...]


Related posts:<ol><li><a href='http://www.prolificnotion.co.uk/custom-wordpress-theme-for-dontbuythismanapint-com/' rel='bookmark' title='Permanent Link: New Custom WordPress Theme for DontBuyThisManAPint.com'>New Custom WordPress Theme for DontBuyThisManAPint.com</a> <small>I was contacted over the christmas and new year by...</small></li>
</ol>]]></description>
			<content:encoded><![CDATA[<div class="tweetmeme_button" style="float: right; margin-left: 10px;">
			<a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fwww.prolificnotion.co.uk%2Fadding-jquery-to-a-custom-wordpress-theme%2F"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fwww.prolificnotion.co.uk%2Fadding-jquery-to-a-custom-wordpress-theme%2F&amp;style=normal&amp;service=bit.ly&amp;service_api=R_e35365ff035ed93fc3e67e6f868b7be3" height="61" width="50" /><br />
			</a>
		</div>
<p>I have been doing a little bit of WordPress work recently and as a result I have been working on custom themes for WordPress. In one particular theme I required that jQuery be loaded into the template and stumbled across the following <strong><a title="A safe way of adding javascripts to a WordPress generated page" href="http://codex.wordpress.org/Function_Reference/wp_enqueue_script">wp_enqueue_script</a></strong> function built into wordpress. The function essentially adds a safe method of including scripts in WordPress generated pages.</p>
<p><strong>Usage:</strong></p>
<p>I first needed to locate the following line in my head.php file:</p>
<pre class="brush: php;">&lt;?php wp_head(); ?&gt;</pre>
<p>Then before the call to this function I can add my call to the <a title="A safe way of adding javascripts to a WordPress generated page" href="http://codex.wordpress.org/Function_Reference/wp_enqueue_script"><strong>wp_enqueue_script</strong></a><strong> </strong>function so that we end up with the following:</p>
<pre class="brush: php;">&lt;?php wp_enqueue_script(&quot;jquery&quot;); ?&gt;
&lt;?php wp_head(); ?&gt;</pre>
<p>What this does is includes the WordPress instance of jQuery however it is arguable about the efficiency of this method over loading it direct from Google servers since if everyone used this method users would not need to take the hit downloading the file as there would be a greater chance of the file aready being in their cache. It is beyond the scope of this post to go into more detail on this however if you are interested in reading more you may want to swing by Encosia and read <a title="Permanent Link: 3 reasons why you should let Google host jQuery for you" rel="bookmark" href="http://encosia.com/2008/12/10/3-reasons-why-you-should-let-google-host-jquery-for-you/">3 reasons why you should let Google host jQuery for you</a>. If you want to opt for this method you can simply amend the above example as follows:</p>
<pre class="brush: php;">&lt;?php
 wp_deregister_script('jquery');
 wp_register_script('jquery', 'http://ajax.googleapis.com/ajax/libs/jquery/1.3.2/jquery.min.js', false, '1.3.2');
 wp_enqueue_script('jquery');
?&gt;
&lt;?php wp_head(); ?&gt;</pre>


<p>Related posts:<ol><li><a href='http://www.prolificnotion.co.uk/custom-wordpress-theme-for-dontbuythismanapint-com/' rel='bookmark' title='Permanent Link: New Custom WordPress Theme for DontBuyThisManAPint.com'>New Custom WordPress Theme for DontBuyThisManAPint.com</a> <small>I was contacted over the christmas and new year by...</small></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://www.prolificnotion.co.uk/adding-jquery-to-a-custom-wordpress-theme/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
