<?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>Web Designer - Defining the internet through beautiful design &#187; WordPress</title>
	<atom:link href="http://www.webdesignermag.co.uk/category/tutorials/wordpress-tutorials/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.webdesignermag.co.uk</link>
	<description>Web Design for real people</description>
	<lastBuildDate>Thu, 09 Feb 2012 01:00:29 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>Optimise WordPress &amp; enhance site performance</title>
		<link>http://www.webdesignermag.co.uk/tutorials/optimise-wordpress-enhance-site-performance/</link>
		<comments>http://www.webdesignermag.co.uk/tutorials/optimise-wordpress-enhance-site-performance/#comments</comments>
		<pubDate>Tue, 17 Jan 2012 15:50:05 +0000</pubDate>
		<dc:creator>Steve Jenkins</dc:creator>
				<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[WordPress]]></category>
		<category><![CDATA[cache]]></category>
		<category><![CDATA[Optimize]]></category>
		<category><![CDATA[Plugin]]></category>
		<category><![CDATA[Server]]></category>
		<category><![CDATA[WP Super Cache]]></category>

		<guid isPermaLink="false">http://www.webdesignermag.co.uk/?p=8243</guid>
		<description><![CDATA[Maximise performance of your WordPress installation by using a few 
plug-ins and useful techniques]]></description>
			<content:encoded><![CDATA[<!--final--><!--step_01--><!--step_02--><!--step_03--><!--step_05--><!--step_06--><!--step_07--><!--step_08--><!--step_09--><!--step_10--><!--step_11--><!--step_12--><!--step_13--><!--step_14--><p><img class="alignnone size-full wp-image-8247" title="Optimise WordPress & enhance site performance" src="http://www.webdesignermag.co.uk/wp-content/uploads/2012/01/final.jpg" alt="Optimise WordPress & enhance site performance" width="610" height="444" />As the web evolves, it is of even more importance for your new-look WordPress site to respond quickly and efficiently, giving your users and visitors exactly what they’ve searched for without them waiting around for an eternity for it to load.<br />
Site optimisation is more important now than ever, as users access your content on a variety of devices across varying levels of connection speeds.<br />
In this tutorial, we will have a look at some of the plug-ins available to download and implement within your WordPress installation to help reduce server load, optimise code and templates, and go some way to improving the speed and performance of your site.<br />
We’ll primarily focus on adding a caching plug-in to generate and serve static HTML versions of your dynamic content, as well as look at other areas where performance can be enhanced.</p>
<h3>tools | tech | trends: WordPress, PHP<br />
expert: Matt Gifford<br />
tutorial files: <a href="http://www.webdesignermag.co.uk/tutorial-files/issue-187-tutorial-files/" target="_self">download here</a></h3>
<p><strong>01. Start caching</strong><br />
<img class="alignnone size-full wp-image-8248" title="Optimise WordPress & enhance site performance" src="http://www.webdesignermag.co.uk/wp-content/uploads/2012/01/step_01.jpg" alt="Optimise WordPress & enhance site performance" width="610" height="381" /><br />
There are a few plug-ins out there to assist in setting up caching, but we’re going to be looking at WP Super Cache. Go to the Plugins&gt;Add New menu option in your WordPress administrator and search for the plug-in by name in the available form field.</p>
<p><strong>02. Install plug-in</strong><br />
<img class="alignnone size-full wp-image-8249" title="Optimise WordPress & enhance site performance" src="http://www.webdesignermag.co.uk/wp-content/uploads/2012/01/step_02.jpg" alt="Optimise WordPress & enhance site performance" width="610" height="384" /><br />
The results from the search displayed in the admin interface should list WP Super Cache as the first option. Select the ‘Install Now’ link to automatically download the plug-in. Alternatively, you can download the plug-in separately and use an FTP client to upload to the plug-ins directory in your WordPress installation. Finally, activate the plug-in.</p>
<p><strong>03. Set permissions</strong><br />
<img class="alignnone size-full wp-image-8250" title="Optimise WordPress & enhance site performance" src="http://www.webdesignermag.co.uk/wp-content/uploads/2012/01/step_03.jpg" alt="Optimise WordPress & enhance site performance" width="610" height="384" /><br />
Depending on the current access configuration of your WordPress installation, you may see an error message regarding the ‘advanced-cache.php’ file. To resolve this issue you simply need to temporarily alter the permissions of the wp-content directory to 777 to allow write privileges, which you can do via your FTP client. Revert to 755 when finished.</p>
<p><strong>04. Caching enabled</strong><br />
Having successfully generated the required files for the plug-in, the WordPress installation should have also made an amendment to the ‘wp-config.php’ file to enable caching. If you see any errors relating to the config file, try adjusting the permission levels and activating the plug-in once more to generate the required changes.<br />
<em><br />
001 /** The name of the         database for WordPress */<br />
002 define(‘WP_CACHE’, true);     //Added by WP-Cache Manager</em></p>
<p><strong>05. Simple caching</strong><br />
<img class="alignnone size-full wp-image-8251" title="Optimise WordPress & enhance site performance" src="http://www.webdesignermag.co.uk/wp-content/uploads/2012/01/step_05.jpg" alt="Optimise WordPress & enhance site performance" width="610" height="384" /><br />
The plug-in should now present you with a number of tabbed menu options within the administration panel. Within the Easy tab, set Caching On to enable the abilities and static file generation. For the majority of simple blogs this may be enough, but we’ll progress and see what advanced options are available to us.</p>
<p><strong>06. Advanced settings</strong><br />
<img class="alignnone size-full wp-image-8252" title="Optimise WordPress & enhance site performance" src="http://www.webdesignermag.co.uk/wp-content/uploads/2012/01/step_06.jpg" alt="Optimise WordPress & enhance site performance" width="610" height="384" /><br />
There are a number of options available to implement here. The success and availability of some will depend on your hosting plan and server setup, so try them out. Start by checking all recommended settings, specifically the mod_rewrite setting to serve cached files. You can also restrict caching for frequent visitors.</p>
<p><strong>07. Mod rewrite</strong><br />
<img class="alignnone size-full wp-image-8253" title="Optimise WordPress & enhance site performance" src="http://www.webdesignermag.co.uk/wp-content/uploads/2012/01/step_07.jpg" alt="Optimise WordPress & enhance site performance" width="610" height="384" /><br />
The mod rewrite rules required to serve up<br />
the static html-generated files are quite extensive, but the plug-in will warn you that your ‘.htaccess’ file needs to be updated and provides you with the ability to update on your behalf or the content to manually update/create the file yourself.</p>
<p><strong>08. Test caching</strong><br />
<img class="alignnone size-full wp-image-8254" title="Optimise WordPress & enhance site performance" src="http://www.webdesignermag.co.uk/wp-content/uploads/2012/01/step_08.jpg" alt="Optimise WordPress & enhance site performance" width="610" height="339" /><br />
Return to the Easy tab option and run a test on the cache, which retrieves two static-generated files for timestamp comparison. Any issues found here can be a good indication as to what settings on the server you may need to change. You can also delete the cache and start again if you need to.</p>
<p><strong>09. View source</strong><br />
<img class="alignnone size-full wp-image-8255" title="Optimise WordPress & enhance site performance" src="http://www.webdesignermag.co.uk/wp-content/uploads/2012/01/step_09.jpg" alt="Optimise WordPress & enhance site performance" width="610" height="156" /><br />
Check your site and view the source in a number of different browsers to test the caching procedure. The WP Super Cache plug-in will automatically insert cache information at the bottom of every page, with information on caching times and compression to let you know it’s working and hopefully quicker than before.</p>

					<div class="adInPost">
						<script type="text/javascript">
							GA_googleFillSlot("WD_MidPage_MPU1");
						</script>
					</div><p><strong>10. Consider CDN</strong><br />
<img class="alignnone size-full wp-image-8256" title="Optimise WordPress & enhance site performance" src="http://www.webdesignermag.co.uk/wp-content/uploads/2012/01/step_10.jpg" alt="Optimise WordPress & enhance site performance" width="610" height="444" /><br />
If your site relies heavily on static components such as images, CSS or JS files, consider the use of a content distribution network (CDN) to serve these up and share the load. Services such as Amazon S3 or Rackspace Cloud Files can be of help here, and the cache plug-in can be configured to work with these services.</p>
<p><strong>11. Optimise plug-ins</strong><br />
<img class="alignnone size-full wp-image-8257" title="Optimise WordPress & enhance site performance" src="http://www.webdesignermag.co.uk/wp-content/uploads/2012/01/step_11.jpg" alt="Optimise WordPress & enhance site performance" width="610" height="444" /><br />
Deactivate any plug-ins you no longer need or use. These could be having a large impact on loading times and response. Consider the possibility of streamlining any active plug-ins. If you see any code that could be written more efficiently, do so. The smallest tweak to a function could improve loading times and functionality.</p>
<p><strong>12. Combine CSS and JS</strong><br />
<img class="alignnone size-full wp-image-8258" title="Optimise WordPress & enhance site performance" src="http://www.webdesignermag.co.uk/wp-content/uploads/2012/01/step_12.jpg" alt="Optimise WordPress & enhance site performance" width="610" height="444" /><br />
One clear way to improve the performance of any website is to reduce the number of http requests made to obtain resources and assets. Where possible, combine multiple CSS and JS files into one. The WP Minify plug-in assists in collating and minimising the contents of these files. You can get it here: http://bit.ly/wpminify.</p>
<p><strong>13. Load JS in footer</strong><br />
<img class="alignnone size-full wp-image-8259" title="Optimise WordPress & enhance site performance" src="http://www.webdesignermag.co.uk/wp-content/uploads/2012/01/step_13.jpg" alt="Optimise WordPress & enhance site performance" width="610" height="444" /><br />
When creating or amending your WordPress theme, try to place any JS files into the footer of the template. This helps to ensure that all DOM elements have been created on the page before any manipulation or JavaScript functions are performed. WP Minify can help you with this option automatically or manually.</p>
<p><strong>14. Reduce image sizes</strong><br />
<img class="alignnone size-full wp-image-8260" title="Optimise WordPress & enhance site performance" src="http://www.webdesignermag.co.uk/wp-content/uploads/2012/01/step_14.jpg" alt="Optimise WordPress & enhance site performance" width="610" height="384" /><br />
Images can create unnecessary overhead, due to file size and compression. When uploading images, consider reducing the file size where possible to optimise for the web. Alternatively, download and install the WP Smush.it plug-in (http://bit.ly/wp_smush), which will run any image in your media library through Yahoo’s smush.it service and compress the image without losing quality.</p>
<p><strong>15. Browser caching</strong><br />
Using the browser cache doesn’t necessarily increase the loading time of your WordPress installation, but it can help to reduce strain on the server by caching objects that are loaded often. Add the code for this step to your<br />
‘.htaccess’ file, to help reduce the load when requesting static files and images.</p>
<p><em>001 FileETag MTime Size<br />
002 &lt;ifmodule mod_expires.c&gt;<br />
003 &lt;filesmatch                 “\.(jpg|gif|png|    css|js)$”&gt;<br />
004 ExpiresActive on<br />
005 ExpiresDefault “access plus     1 year”<br />
006 &lt;/filesmatch&gt;<br />
007 &lt;/ifmodule&gt;</em></p>
<h3>Query performance</h3>
<p>WordPress makes it incredibly simple to create custom queries to obtain data not easily provided by the default functions available, but these database interactions need to be as optimal as possible to avoid any latency or lag. Any possible bottlenecks and issues need to be discovered and resolved as quickly as possible, but they’re typically quite hard to track down.<br />
To assist you in finding any query issues, download and install the Debug Queries plug-in (http://bit.ly/oLnht3). This will display all queries running on a page at the bottom of the screen, complete with total time taken to return results, also showing you the full SQL query being run so you can copy it and revise if necessary. It will only show the results for logged-in administrators to the site, so your users never see the output.</p>
<p><em><br />
</em></p>
]]></content:encoded>
			<wfw:commentRss>http://www.webdesignermag.co.uk/tutorials/optimise-wordpress-enhance-site-performance/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>WordPress: Add powerful and stylish forms with cformsII</title>
		<link>http://www.webdesignermag.co.uk/tutorials/wordpress-add-powerful-and-stylish-forms-with-cformsii/</link>
		<comments>http://www.webdesignermag.co.uk/tutorials/wordpress-add-powerful-and-stylish-forms-with-cformsii/#comments</comments>
		<pubDate>Tue, 06 Sep 2011 16:55:38 +0000</pubDate>
		<dc:creator>Steve Jenkins</dc:creator>
				<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[WordPress]]></category>
		<category><![CDATA[cforms II]]></category>
		<category><![CDATA[forms]]></category>
		<category><![CDATA[Plug-in]]></category>
		<category><![CDATA[Wordpress]]></category>

		<guid isPermaLink="false">http://www.webdesignermag.co.uk/?p=7147</guid>
		<description><![CDATA[Explore cformsII, a superb WordPress plug-in that makes effective forms a breeze]]></description>
			<content:encoded><![CDATA[<!--cforms01--><!--cforms02--><!--cforms03--><!--cforms04--><!--cforms05--><!--cforms06--><!--cforms07--><!--cforms08--><!--cforms09--><!--cforms10--><!--cforms11--><!--cforms12--><!--cforms13--><!--cforms14--><!--cforms15--><p>Forms are an integral component of the website communication process. In their most basic form, they are the next step up from an email address. Yet they also have the power to become a great tool for data gathering and beyond. cformsII is a WordPress plug-in that takes the hard work out of creating custom forms, while retaining plenty of power. The plug-in starts with a default form that contains all the fields found in a typical form. This gives the user a platform to work with and build on if desired. Adding new fields, naming fields, rearranging fields and changing field type are all basic actions and extremely easy to implement. All the standard field types are at a user’s fingertips and the option to add custom messages, style and enable database tracking are just a few of the extras that cformsII has to offer.</p>
<p><em><span style="color: #333333;"><strong>tools | tech | trends:</strong> WordPress, cformsII plug-in<br />
<strong>expert</strong>: Steven Jenkins<br />
<strong>download:</strong> <a href="http://www.deliciousdays.com/cforms-plugin/" target="_self">cformsII plugin</a><br />
Originally appeared in Web Designer Issue 177</span></em></p>
<p><strong><span style="color: #888888;"><span style="color: #000000;">01</span><em> </em></span>Download and install</strong><br />
<img class="alignnone size-full wp-image-7149" title="WordPress: Add powerful and stylish forms with cformsII" src="http://www.webdesignermag.co.uk/wp-content/uploads/2011/09/cforms01.jpg" alt="WordPress: Add powerful and stylish forms with cformsII" width="500" height="304" /><br />
The first step is to download and install the cformsII WordPress plug-in. Head to www.deliciousdays.com/cforms-plugin and click the big, impossible-to-miss Download button and save to the desktop or preferred location. Now log in to WordPress and head to Plugins&gt;Add New, select Upload, click Browse and locate the plug-in. Now click Install Now and Activate plug-in.</p>
<p><strong>02 Your default form<br />
<img class="alignnone size-full wp-image-7150" title="WordPress: Add powerful and stylish forms with cformsII" src="http://www.webdesignermag.co.uk/wp-content/uploads/2011/09/cforms02.jpg" alt="WordPress: Add powerful and stylish forms with cformsII" width="500" height="382" /></strong><br />
Once installed and activated, the cformsII menu appears in a bespoke menu to the left. Click to open. This will present a default form, under the Form Name section. By default, this is given the name Your default form and a selection of pre-defined fields. To change the name of the default form, simply type in a new name and click Update Settings under Admin Actions.</p>
<p><strong>03 Rename and remove</strong><br />
<img class="alignnone size-full wp-image-7151" title="WordPress: Add powerful and stylish forms with cformsII" src="http://www.webdesignermag.co.uk/wp-content/uploads/2011/09/cforms03.jpg" alt="WordPress: Add powerful and stylish forms with cformsII" width="500" height="371" /><br />
By default, a fieldset is included. This encompasses the fields and has the option of including a name. To rename the fieldset simply type in a new field name, ie Contact Form, and press Update Settings. Alternatively, to remove the fieldset altogether, click the related red button. The same principle applies to the remaining fields.</p>
<p><strong>04 Set default values</strong><br />
<img class="alignnone size-full wp-image-7152" title="WordPress: Add powerful and stylish forms with cformsII" src="http://www.webdesignermag.co.uk/wp-content/uploads/2011/09/cforms04.jpg" alt="WordPress: Add powerful and stylish forms with cformsII" width="500" height="369" /><br />
By default, when associated with the Single/multiple line of text type, the filed name includes the label and default value to appear in the field box. For example, ‘Name|Your name’ sets Name as the label and Your name and the default value. To modify simply edit the Field Name, ie ‘Name|Please’ and add your full name.</p>
<p><strong>05 Add and rearrange</strong><strong><br />
<img class="alignnone size-full wp-image-7153" title="WordPress: Add powerful and stylish forms with cformsII" src="http://www.webdesignermag.co.uk/wp-content/uploads/2011/09/cforms05.jpg" alt="WordPress: Add powerful and stylish forms with cformsII" width="500" height="245" /><br />
</strong>To add a new field to the current form, simply click Add. This will add one new field in position 1 (top of the form). To add multiple fields, simply change the 1 (next to Add) to the appropriate number. Change the position to suit the position to the new field or fields that will be inserted, ie, 2, and Update Settings.</p>
<p><strong>06 Change type</strong><br />
<img class="alignnone size-full wp-image-7154" title="WordPress: Add powerful and stylish forms with cformsII" src="http://www.webdesignermag.co.uk/wp-content/uploads/2011/09/cforms06.jpg" alt="WordPress: Add powerful and stylish forms with cformsII" width="500" height="359" /><br />
When adding a new field, the type is set to Single line of text. To change to multiple lines of text, use the associated drop-down list and select. To convert a field from a standard text field to a drop-down list, first select Select Box from the appropriate drop list.</p>
<p><strong>07 Set status</strong><br />
<img class="alignnone size-full wp-image-7155" title="WordPress: Add powerful and stylish forms with cformsII" src="http://www.webdesignermag.co.uk/wp-content/uploads/2011/09/cforms07.jpg" alt="WordPress: Add powerful and stylish forms with cformsII" width="500" height="284" /><br />
Once all the fields have been added, the final step to complete the form is to set their status. If a field needs to be completed, the required check box next to the field needs to be ticked. If the email address is compulsory, click the email check box. Auto-clear automatically clears the default value when the field is clicked.</p>

					<div class="adInPost">
						<script type="text/javascript">
							GA_googleFillSlot("WD_MidPage_MPU1");
						</script>
					</div><p><strong>08 Messages<br />
</strong><img class="alignnone size-full wp-image-7156" title="WordPress: Add powerful and stylish forms with cformsII" src="http://www.webdesignermag.co.uk/wp-content/uploads/2011/09/cforms08.jpg" alt="WordPress: Add powerful and stylish forms with cformsII" width="500" height="335" /><br />
By default, cforms has a selection of messages, labels and text already in place. To modify to suit first expand the Messages, Text and Button Label section. Change the text in the appropriate boxes to the custom text and remove/modify any of the suggested options, ie, Show messages, then hit Update Settings when you’re finished.</p>
<p><strong>09 New form</strong><br />
<img class="alignnone size-full wp-image-7163" title="WordPress: Add powerful and stylish forms with cformsII" src="http://www.webdesignermag.co.uk/wp-content/uploads/2011/09/cforms09.jpg" alt="WordPress: Add powerful and stylish forms with cformsII" width="500" height="316" /><br />
First open the Admin Actions menu and click Add new form. This will add a new form with a default set of fields as demonstrated in step 2. Rename and customise as shown in previous steps, and click Update Settings to save. The Navigate to drop-down list will now include the new form and a new button, named 2, will appear.</p>
<p><strong>10 Start styling</strong><br />
<img class="alignnone size-full wp-image-7157" title="WordPress: Add powerful and stylish forms with cformsII" src="http://www.webdesignermag.co.uk/wp-content/uploads/2011/09/cforms10.jpg" alt="WordPress: Add powerful and stylish forms with cformsII" width="500" height="365" /><br />
Head to the cforms menu and select Styling. By default the ‘cforms.css’ is selected, including a preview. To view an alternative style, select an option from the drop-down list and press Select Style. This will offer a simple preview using the default fields. This will also apply the style to all the forms currently available.</p>
<p><strong>11 Basic CSS editor</strong><br />
<img class="alignnone size-full wp-image-7158" title="WordPress: Add powerful and stylish forms with cformsII" src="http://www.webdesignermag.co.uk/wp-content/uploads/2011/09/cforms11.jpg" alt="WordPress: Add powerful and stylish forms with cformsII" width="500" height="336" /><br />
For greater control over the style of the selected form, a CSS editor is included. Expand Basic CSS editor to view the current CSS. A decent knowledge of CSS is essential and any changes can only be viewed via a page with an active form. To modify the form, adjust the CSS and press Update Settings.</p>
<p><strong>12 Keep track</strong><br />
<img class="alignnone size-full wp-image-7159" title="WordPress: Add powerful and stylish forms with cformsII" src="http://www.webdesignermag.co.uk/wp-content/uploads/2011/09/cforms12.jpg" alt="WordPress: Add powerful and stylish forms with cformsII" width="500" height="304" /><br />
One of the core reasons for adding a form is to receive information from the sender. To keep a track of form submissions, database tracking needs to be enabled. Click Global Settings and expand Database Input Tracking. Click the Enable Database Tracking check box and click Update Settings to save.</p>
<p><strong>13 Track users</strong><br />
<img class="alignnone size-full wp-image-7160" title="WordPress: Add powerful and stylish forms with cformsII" src="http://www.webdesignermag.co.uk/wp-content/uploads/2011/09/cforms13.jpg" alt="WordPress: Add powerful and stylish forms with cformsII" width="500" height="413" /><br />
A new menu item will appear under the cformsII heading, named ‘Tracking’. Click the link which, by default, will display all form submissions after the database tracking was activated. To view more details of a record, select a record or use Ctrl+click to select multiple records and click View records. The individual records will appear under form submissions.</p>
<p><strong>14 Form details</strong><br />
<img class="alignnone size-full wp-image-7161" title="WordPress: Add powerful and stylish forms with cformsII" src="http://www.webdesignermag.co.uk/wp-content/uploads/2011/09/cforms14.jpg" alt="WordPress: Add powerful and stylish forms with cformsII" width="500" height="320" /><br />
Each record of a form submission contains a host of information. There is the form name, the form ID, time and date submitted, from which page the form was submitted, an IP address and the complete fields. Click the IP address to view the sender’s approximate location. To close or delete, click the appropriate icon top-right.</p>
<p><strong>15 In action</strong><br />
<img class="alignnone size-full wp-image-7162" title="WordPress: Add powerful and stylish forms with cformsII" src="http://www.webdesignermag.co.uk/wp-content/uploads/2011/09/cforms15.jpg" alt="WordPress: Add powerful and stylish forms with cformsII" width="500" height="373" /><br />
With a form complete, the next stage is to add to a page or post. Open an existing page/post or create a new one specifically for a form. A cforms button will now exist in the standard toolbar. Simply click the button, select the appropriate from and press Insert to add. Alternatively use the shortcode, ie, &lt;!&#8211;cforms&#8211;&gt;, to add the latest form, or add a name for a specific form, ie, &lt;!&#8211;cforms name=”Standard contact “&#8211;&gt;.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.webdesignermag.co.uk/tutorials/wordpress-add-powerful-and-stylish-forms-with-cformsii/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>WordPress: Design a professional theme</title>
		<link>http://www.webdesignermag.co.uk/tutorials/wordpress-design-a-professional-theme/</link>
		<comments>http://www.webdesignermag.co.uk/tutorials/wordpress-design-a-professional-theme/#comments</comments>
		<pubDate>Fri, 22 Apr 2011 07:30:55 +0000</pubDate>
		<dc:creator>Steve Jenkins</dc:creator>
				<category><![CDATA[Photoshop]]></category>
		<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[WordPress]]></category>
		<category><![CDATA[Nick La]]></category>
		<category><![CDATA[Theme design]]></category>
		<category><![CDATA[Wordpress]]></category>

		<guid isPermaLink="false">http://www.webdesignermag.co.uk/?p=6488</guid>
		<description><![CDATA[Learn how to design a Photoshop blog template with themify.me expert Nick La]]></description>
			<content:encoded><![CDATA[<!--final2--><!--step01--><!--step02--><!--step03--><!--step04--><!--step05--><!--step06--><!--step07--><!--step08--><!--step09--><!--step102--><!--step112--><!--step122--><!--step132--><!--step142--><!--step152--><!--step161--><!--step171--><!--step181--><!--step191--><!--step201--><!--step212--><p><a href="http://www.webdesignermag.co.uk/wp-content/uploads/2011/04/final2.jpg"><img class="alignnone size-full wp-image-6520" title="final" src="http://www.webdesignermag.co.uk/wp-content/uploads/2011/04/final2.jpg" alt="WordPress: Design a professional theme" width="500" height="681" /></a></p>
<p>In this tutorial, you will learn how to design a clean and professional-looking WordPress theme in Photoshop. The design used in this tutorial is an actual theme from Themify.me called Bizco. The theme is targeted at business and product-based websites. The homepage features a slider where you can display call of action content. Under the slider, there is a list of icons with text where you can display highlighted content. Then there are several widget columns where users can display latest blog posts, Twitter feeds, recent comments, and text content. This tutorial will provide detailed instructions on how to design a professional Photoshop mockup based on a wireframe sketch. You will also learn several useful design and Photoshop techniques such as creating grids and guides, deining background patterns, organising layers, and using layer styles.</p>
<p><a href="http://www.webdesignermag.co.uk/tutorial-files/issue-177-tutorial-files/" target="_self"><span style="color: #888888;"><em><strong>Download tutorial files here</strong></em></span></a></p>
<p><strong>01. Wireframe sketch</strong><br />
<a href="http://www.webdesignermag.co.uk/wp-content/uploads/2011/04/step01.jpg"><img class="alignnone size-full wp-image-6521" title="WordPress: Design a professional theme" src="http://www.webdesignermag.co.uk/wp-content/uploads/2011/04/step01.jpg" alt="WordPress: Design a professional theme" width="500" height="480" /></a><br />
Before you jump into Photoshop, it is always best to do a wireframe first. The wireframe doesn’t have to be detailed, it can just be a rough sketch on paper. A wireframe provides a general guideline of the design and it helps to speed up the design process.</p>
<p><strong>02. Custom grid generator</strong><br />
<a href="http://www.webdesignermag.co.uk/wp-content/uploads/2011/04/step02.jpg"><img class="alignnone size-full wp-image-6522" title="WordPress: Design a professional theme" src="http://www.webdesignermag.co.uk/wp-content/uploads/2011/04/step02.jpg" alt="WordPress: Design a professional theme" width="500" height="365" /></a><br />
The grid we use in this tutorial is a custom grid created from a generator. Go to <a href="http://bit.ly/grid_gen" target="_self">http://bit.ly/grid_gen</a>, enter column width 54px, 12 columns, and 30px gutter width. It will give you a total 978px content width, which<br />
is optimised for 1024px displays.</p>
<p><strong>03. Photoshop guides</strong><br />
<a href="http://www.webdesignermag.co.uk/wp-content/uploads/2011/04/step03.jpg"><img class="alignnone size-full wp-image-6523" title="WordPress: Design a professional theme" src="http://www.webdesignermag.co.uk/wp-content/uploads/2011/04/step03.jpg" alt="WordPress: Design a professional theme" width="500" height="423" /></a><br />
Run Photoshop and create a new document: 1300px x 1770px. Create a screen capture of the grid and paste it in the middle. Turn on the document Rulers (View&gt;Rulers). Based on the grid image, drag from the vertical ruler to create a three-column and four-column grid.</p>
<p><strong>04. Build the foundation</strong><br />
<a href="http://www.webdesignermag.co.uk/wp-content/uploads/2011/04/step04.jpg"><img class="alignnone size-full wp-image-6524" title="WordPress: Design a professional theme" src="http://www.webdesignermag.co.uk/wp-content/uploads/2011/04/step04.jpg" alt="WordPress: Design a professional theme" width="500" height="422" /></a><br />
Fill the first layer with a brown colour (#4a3f31). Add a new layer, make a selection across the document at 395px height, and fill it with a tan colour (#bd915f). Add a new layer, create another full-width selection and fill it with #f8f2e8. Add another layer and fill the bottom portion with a darker brown colour (#423628).</p>
<p><strong>05. Noise background</strong><br />
<a href="http://www.webdesignermag.co.uk/wp-content/uploads/2011/04/step05.jpg"><img class="alignnone size-full wp-image-6525" title="WordPress: Design a professional theme" src="http://www.webdesignermag.co.uk/wp-content/uploads/2011/04/step05.jpg" alt="WordPress: Design a professional theme" width="500" height="380" /></a><br />
Follow the technique column for detailed steps on how to create a noise pattern. Double-click on the base<br />
background layer to activate the Layer Style, apply Pattern Overlay with the noise pattern that you’ve created, set the Blend Mode to Multiply and Opacity to 10%. This will create a subtle background.</p>
<p><strong>06. Site logo</strong><br />
<a href="http://www.webdesignermag.co.uk/wp-content/uploads/2011/04/step06.jpg"><img class="alignnone size-full wp-image-6526" title="WordPress: Design a professional theme" src="http://www.webdesignermag.co.uk/wp-content/uploads/2011/04/step06.jpg" alt="WordPress: Design a professional theme" width="500" height="364" /></a><br />
Use the Type tool to create a text layer for the site logo and description in white. Our logo text is 30pt bold Arial and the description text is 14pt Italic Times. Apply a light drop shadow to the logo text. Set the description text layer Opacity to 70% so it appears lighter than the logo.</p>
<p><strong>07. Main navigation</strong><br />
<a href="http://www.webdesignermag.co.uk/wp-content/uploads/2011/04/step07.jpg"><img class="alignnone size-full wp-image-6527" title="WordPress: Design a professional theme" src="http://www.webdesignermag.co.uk/wp-content/uploads/2011/04/step07.jpg" alt="WordPress: Design a professional theme" width="500" height="361" /></a><br />
Use the Type tool to create the sample navigation text buttons. In our design, we used a rounded box behind the text button to highlight the active state. To create the rounded shape, use the Rounded Rectangle tool with 7px radius. Then apply a light drop shadow and inner shadow to add depth to it.</p>
<p><strong>08. RSS and social buttons</strong><br />
<a href="http://www.webdesignermag.co.uk/wp-content/uploads/2011/04/step08.jpg"><img class="alignnone size-full wp-image-6528" title="WordPress: Design a professional theme" src="http://www.webdesignermag.co.uk/wp-content/uploads/2011/04/step08.jpg" alt="WordPress: Design a professional theme" width="500" height="344" /></a><br />
Now we need to add some social media buttons above the main navigation. Use the Type tool to create the text buttons: Twitter, Facebook, Flickr, and RSS. In our design, we only include the RSS icon graphic. If you want to add an icon for the other social media links, go to http://bit.ly/social_btns to download the icons.</p>
<p><strong>09. Slider background</strong><br />
<a href="http://www.webdesignermag.co.uk/wp-content/uploads/2011/04/step09.jpg"><img class="alignnone size-full wp-image-6529" title="WordPress: Design a professional theme" src="http://www.webdesignermag.co.uk/wp-content/uploads/2011/04/step09.jpg" alt="WordPress: Design a professional theme" width="500" height="357" /></a><br />
Open the cork_bg.psd file from the CD. Define a new pattern with the cork image. Go back to the Bizco PSD, apply a Pattern Overlay layer style to the slider background layer. Create a new layer, colour #dec3a8, with the Gradient tool select Foreground to Transparent, and drag from the bottom to top. Set the Blending Mode to Multiply.</p>
<p><strong>10. Feature image</strong><br />
<a href="http://www.webdesignermag.co.uk/wp-content/uploads/2011/04/step102.jpg"><img class="alignnone size-full wp-image-6530" title="step10" src="http://www.webdesignermag.co.uk/wp-content/uploads/2011/04/step102.jpg" alt="WordPress: Design a professional theme" width="500" height="376" /></a><br />
Since our theme is about WordPress design, we have chosen two screenshots of our themes as the feature<br />
image. You may use any image you want (including samples of your own work). To create cast shadows behind the image, first create a flat oval shape and then apply Gaussian Blur (Filter&gt;Blur&gt;Gaussian Blur).</p>

					<div class="adInPost">
						<script type="text/javascript">
							GA_googleFillSlot("WD_MidPage_MPU1");
						</script>
					</div><p><strong>11. Text and button</strong><br />
<a href="http://www.webdesignermag.co.uk/wp-content/uploads/2011/04/step112.jpg"><img class="alignnone size-full wp-image-6531" title="step11" src="http://www.webdesignermag.co.uk/wp-content/uploads/2011/04/step112.jpg" alt="WordPress: Design a professional theme" width="500" height="382" /></a><br />
Create a sample heading and text block with the Type tool. In our design, the heading font is 32pt bold Arial and the text block is 15pt Arial. Draw a rounded button shape with the Rounded Rectangle tool (8px radius). Add Gradient Overlay and Drop Shadow layer style to the button. Then use the Type tool to add the button text.</p>
<p><strong>12. Slide indicator</strong><br />
<a href="http://www.webdesignermag.co.uk/wp-content/uploads/2011/04/step122.jpg"><img class="alignnone size-full wp-image-6532" title="step12" src="http://www.webdesignermag.co.uk/wp-content/uploads/2011/04/step122.jpg" alt="WordPress: Design a professional theme" width="500" height="390" /></a><br />
Now we are going to create some buttons to indicate the active slide. Use the Ellipse tool and draw three small circle shapes below the feature image. Fill the shape with a grey colour and 2px stroke layer style. We need to create three different states: the darker colour is for active state, the middle tone for the hover state, and the lighter colour is the normal state.</p>
<p><strong>13. Navigation arrows</strong><br />
<a href="http://www.webdesignermag.co.uk/wp-content/uploads/2011/04/step132.jpg"><img class="alignnone size-full wp-image-6533" title="step13" src="http://www.webdesignermag.co.uk/wp-content/uploads/2011/04/step132.jpg" alt="WordPress: Design a professional theme" width="500" height="366" /></a><br />
For the slide arrows, it is easier to create the shape in Adobe Illustrator (or you may use Photoshop Pen tool). In Illustrator, create the arrow stroke, select Round Cap and Round Join in the Stroke palette. Expand the shape (Object&gt;Expand) and paste the arrow shape in Photoshop as a layer shape and apply a Gradient Overlay and 20% black 3px stroke.</p>
<p><strong>14. Content area background</strong><br />
<a href="http://www.webdesignermag.co.uk/wp-content/uploads/2011/04/step142.jpg"><img class="alignnone size-full wp-image-6534" title="step14" src="http://www.webdesignermag.co.uk/wp-content/uploads/2011/04/step142.jpg" alt="WordPress: Design a professional theme" width="500" height="387" /></a><br />
Now it is time to work on the content area. Double-click on the content area background layer to activate the Layer Style and apply drop shadow with the following settings: 50% Opacity, 90-degree Angle, 1px Distance, and 6px Size. Add a new layer, use the Gradient tool to create a white gradient to highlight the top portion.</p>
<p><strong>15. Welcome message</strong><br />
<a href="http://www.webdesignermag.co.uk/wp-content/uploads/2011/04/step152.jpg"><img class="alignnone size-full wp-image-6535" title="step15" src="http://www.webdesignermag.co.uk/wp-content/uploads/2011/04/step152.jpg" alt="WordPress: Design a professional theme" width="500" height="351" /></a><br />
With the Type tool selected, create a 870px text box in the middle. You may type in a welcome message or use<br />
Lorem Ipsum as a sample text if you wish. Set the font style to 24pt Italic Times with a central alignment. Then create a 1px stroke below the welcome message in order to slightly divide the content.</p>
<p><strong>16. Highlight items</strong><br />
<a href="http://www.webdesignermag.co.uk/wp-content/uploads/2011/04/step161.jpg"><img class="alignnone size-full wp-image-6536" title="step16" src="http://www.webdesignermag.co.uk/wp-content/uploads/2011/04/step161.jpg" alt="WordPress: Design a professional theme" width="500" height="327" /></a><br />
Turn on the guides, these will help you structure your page. Follow the three-column grid, put an icon along with the text box in each highlight item. You may use your own icons or the sample icons that have been supplied on the cover disc. Repeat this step to create six highlight items. Then create a 1px stroke below the<br />
highlight items as a divider.</p>
<p><strong>17. Latest blog widget</strong><br />
<a href="http://www.webdesignermag.co.uk/wp-content/uploads/2011/04/step171.jpg"><img class="alignnone size-full wp-image-6537" title="step17" src="http://www.webdesignermag.co.uk/wp-content/uploads/2011/04/step171.jpg" alt="WordPress: Design a professional theme" width="500" height="316" /></a><br />
Now you need to design a widget mockup for the latest blog posts. Turn on the guides. Follow the four-column grid, have the latest blog widget spanning two columns. Use the Type tool to create the headings and text boxes. Create a 1px stroke to separate each item.</p>
<p><strong>18. Twitter widget</strong><br />
<a href="http://www.webdesignermag.co.uk/wp-content/uploads/2011/04/step181.jpg"><img class="alignnone size-full wp-image-6538" title="step18" src="http://www.webdesignermag.co.uk/wp-content/uploads/2011/04/step181.jpg" alt="WordPress: Design a professional theme" width="500" height="393" /></a><br />
Next to the latest blog widget, you are going to create a one-column grid to display the Twitter feeds. Follow<br />
the guides, use the Type tool to create the sample tweets. You may use Lorem Ipsum as you want. Again, separate each item with a 1px stroke.</p>
<p><strong>19. Text widgets</strong><br />
<a href="http://www.webdesignermag.co.uk/wp-content/uploads/2011/04/step191.jpg"><img class="alignnone size-full wp-image-6539" title="step19" src="http://www.webdesignermag.co.uk/wp-content/uploads/2011/04/step191.jpg" alt="WordPress: Design a professional theme" width="500" height="389" /></a><br />
On the last column, you want to use it to display some short text content. Create two text blocks as shown in the screenshot above. After you have done that, you should have: two-column span latest blog widget, one-column Twitter widget, and one-column of text widgets.</p>
<p><strong>20. Footer background</strong><br />
<a href="http://www.webdesignermag.co.uk/wp-content/uploads/2011/04/step201.jpg"><img class="alignnone size-full wp-image-6540" title="step20" src="http://www.webdesignermag.co.uk/wp-content/uploads/2011/04/step201.jpg" alt="WordPress: Design a professional theme" width="500" height="360" /></a><br />
Select the footer background layer and apply the same noise pattern as you did earlier in the base background. A simple shortcut would be: right-click on the base background layer and select Copy Layer Style, then right-click on the footer background layer and Paste Layer Style.</p>
<p><strong>21. Wrapping up</strong><br />
<a href="http://www.webdesignermag.co.uk/wp-content/uploads/2011/04/step212.jpg"><img class="alignnone size-full wp-image-6519" title="step21" src="http://www.webdesignermag.co.uk/wp-content/uploads/2011/04/step212.jpg" alt="WordPress: Design a professional theme" width="500" height="324" /></a><br />
Since the steps are very repetitive, we are not going to go through the details on designing the footer widgets. In the footer, you should have three columns of widgets: Recent Posts, Recent Comments, and About Us text widget. Feel free of course to go your own way and be inspired to produce more unique variations.</p>
<p><span style="color: #888888;"><em><strong>Author: Nick La</strong></em></span></p>
]]></content:encoded>
			<wfw:commentRss>http://www.webdesignermag.co.uk/tutorials/wordpress-design-a-professional-theme/feed/</wfw:commentRss>
		<slash:comments>17</slash:comments>
		</item>
		<item>
		<title>5 Top WordPress techniques</title>
		<link>http://www.webdesignermag.co.uk/tutorials/wordpress-tutorials/5-top-wordpress-techniques/</link>
		<comments>http://www.webdesignermag.co.uk/tutorials/wordpress-tutorials/5-top-wordpress-techniques/#comments</comments>
		<pubDate>Mon, 08 Nov 2010 13:05:30 +0000</pubDate>
		<dc:creator>Steve Jenkins</dc:creator>
				<category><![CDATA[Tip]]></category>
		<category><![CDATA[WordPress]]></category>
		<category><![CDATA[techniques]]></category>
		<category><![CDATA[Tips]]></category>
		<category><![CDATA[Wordpress]]></category>

		<guid isPermaLink="false">http://www.webdesignermag.co.uk/?p=5430</guid>
		<description><![CDATA[Uncover an essential selection of blog techniques in Part 1 of Web Designer's look at the major web publishing platforms.]]></description>
			<content:encoded><![CDATA[<!--header011--><!--permalink01--><!--newtheme--><!--plugin--><!--remote02--><h3>01. Add a new header image</h3>
<h3><a href="http://www.webdesignermag.co.uk/wp-content/uploads/2010/11/header011.jpg"><img class="alignnone size-full wp-image-5435" title="header01" src="http://www.webdesignermag.co.uk/wp-content/uploads/2010/11/header011.jpg" alt="5 Top WordPress techniques" width="500" height="289" /></a></h3>
<p>Whatever theme is used for a WordPress blog it will come with a default header image. To personalise and customise a blog the header image needs to be changed. The first step is to discover the dimensions of the current header. Right-click on the header image and select Properties to reveal its dimensions. It is easier to replace the image with one of the same size. Also make a note of the image name. Head to Appearance&gt;Editor, select style.css, if not selected, to reveal the CSS code. Locate the header image name, found in the header div tag. Change the header image name to coincide with the new header name. For example, the default Kubrick theme found in a WordPress installation is called kubrickheader.jpg. Change the name to the name of the image, ie newheader01.jpg. Before the new image appears in the blog it will need to be uploaded to the correct location. This will be similar to the following: www/blog/wp-content/themes/default/images.</p>
<h3>02. Pretty permalinks<br />
<a href="http://www.webdesignermag.co.uk/wp-content/uploads/2010/11/permalink01.jpg"><img class="alignnone size-full wp-image-5438" title="5 Top WordPress techniques" src="http://www.webdesignermag.co.uk/wp-content/uploads/2010/11/permalink01.jpg" alt="5 Top WordPress techniques" width="501" height="287" /></a></h3>
<p>Permalinks are the permanent URL to an individual post and by default WordPress uses a combination of question marks and alphanumerics. The default option is known as Ugly and looks like the following: http://www.mysite.co.uk/blog/?p=463. Permalinks can be customised to become more relevant and offer better SEO. To modify the permalink structure first head to Settings&gt;Permalinks. There are a number of common settings to choose from, simply select and press Save Changes. To create a custom structure, select the Custom Structure radio button. There are a number of tags that can be used including %post_id%, %postname%, %category%, %year%, %monthnum% and %day%.<br />
Changing the structure to just %post-name% gives a permalink a more search-engine friendly URL. However, this is not the most efficient structure as WordPress first checks the URL to see if it’s a page before looking at the post. A more efficient option is to use %post_id%/%postname% as this recognises the URL as a page.</p>
<h3>03. Add a new theme<br />
<a href="http://www.webdesignermag.co.uk/wp-content/uploads/2010/11/newtheme.jpg"><img class="alignnone size-full wp-image-5439" title="5 Top WordPress techniques" src="http://www.webdesignermag.co.uk/wp-content/uploads/2010/11/newtheme.jpg" alt="5 Top WordPress techniques" width="500" height="288" /></a></h3>
<p>Adding a new theme gives users the option to change the look and feel of a website/blog with just a couple of clicks. WordPress 2.7 users will have to install a theme manually via FTP. The theme folder will need to be uploaded into the wp-content/themes directory to become visible via Appearance&gt;Themes. For users of WordPress 2.8 and above life is a little bit easier; simply start by heading to Appearance&gt;Add New Themes. Use Search to find a theme via the WordPress theme directory. To install a previously downloaded theme select Upload, press Browse, locate the file, select and press Open to add. Now press Install Now; the theme will install, and press Preview to take a look and Activate to change.</p>
<h3>04. Extend WordPress with plug-ins<br />
<a href="http://www.webdesignermag.co.uk/wp-content/uploads/2010/11/plugin.jpg"><img class="alignnone size-full wp-image-5441" title="5 Top WordPress techniques" src="http://www.webdesignermag.co.uk/wp-content/uploads/2010/11/plugin.jpg" alt="5 Top WordPress techniques" width="500" height="258" /></a></h3>

					<div class="adInPost">
						<script type="text/javascript">
							GA_googleFillSlot("WD_MidPage_MPU1");
						</script>
					</div><p>Plug-ins take the standard installation of WordPress to new heights. There are thousands scattered around the web, some very good and some not so good. WordPress has it very own Plugin Directory found at http://wordpress.org/extend/plugins. By default, the directory searches via Relevance, switch the search to Highest Rated or Most Popular to get the better plug-ins. Select a plug-in, press Download and save the file. To add and activate go to Plugins&gt;Add New and select Upload. Hit Browse, locate the downloaded zip file and press Install Now. To finish click Activate Plugin, then press Installed to view.</p>
<h3>05. Remote publishing with desktop publishing clients<br />
<a href="http://www.webdesignermag.co.uk/wp-content/uploads/2010/11/remote02.jpg"><img class="alignnone size-full wp-image-5442" title="5 Top WordPress techniques" src="http://www.webdesignermag.co.uk/wp-content/uploads/2010/11/remote02.jpg" alt="5 Top WordPress techniques" width="500" height="372" /></a></h3>
<p>Desktop blogging clients allow users to publish to their WordPress blog without having to log in to their account. They integrate into a browser making posting just that little bit easier. Before a client can be used an admin user has to enable the remote publishing service in the WordPress installation. Head to Settings&gt;Writing and locate Remote Publishing. Now click the XML-RPC check box and press Save Changes. A good example of a desktop blogging client for Firefox is ScribeFire. This can be downloaded from the website at www.scribefire.com. After installing ScribeFire an icon appears in the bottom right corner of the browser, click this to open the client. ScribeFire will need to be set up before it can interact with WordPress, click Launch Account Wizard to start. Enter the blog URL, select WordPress.com, press Next, select WordPress from the drop-down list, change the API URL to the blog address, ie http://www.mysite.co.uk/blog/xmlrpc.php and press Next. Now add Username and Password, press Next, confirm the blog name and address is correct by pressing Next and Finish. To add a post select the blog under Blogs, add content and press ‘Publish to…’.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.webdesignermag.co.uk/tutorials/wordpress-tutorials/5-top-wordpress-techniques/feed/</wfw:commentRss>
		<slash:comments>11</slash:comments>
		</item>
		<item>
		<title>Custom Konductor templates</title>
		<link>http://www.webdesignermag.co.uk/tutorials/custom-konductor-templates/</link>
		<comments>http://www.webdesignermag.co.uk/tutorials/custom-konductor-templates/#comments</comments>
		<pubDate>Tue, 29 Jun 2010 08:30:12 +0000</pubDate>
		<dc:creator>Mark Billen</dc:creator>
				<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[WordPress]]></category>
		<category><![CDATA[CMS]]></category>
		<category><![CDATA[Konductor]]></category>

		<guid isPermaLink="false">http://www.webdesignermag.co.uk/?p=4520</guid>
		<description><![CDATA[Create a custom template to use with the Konductor content management platform]]></description>
			<content:encoded><![CDATA[<!--final--><!--step1--><!--step2--><!--step3--><p><a href="http://www.webdesignermag.co.uk/wp-content/uploads/2010/06/final.jpg"><img class="alignnone size-full wp-image-4541" title="Custom Konductor templates" src="http://www.webdesignermag.co.uk/wp-content/uploads/2010/06/final.jpg" alt="Custom Konductor templates" width="500" height="422" /></a></p>
<p>Create a custom template to use with the Konductor content management platform</p>
<p>Konductor is a new content management platform that interacts with Dreamweaver templates to seamlessly provide multi-location online editing</p>
<p>Konductor is a new content management platform that interacts with Dreamweaver to allow for webpage editing via the web. It is billed as ‘The smarter CMS platform focused on providing a seamless workflow from design to content creation’. Users can join in the action by heading to www.konductor.net to sign up for a free Konductor account. Here users are provided with a unique URL and download links to the Dreamweaver extension and the Konductor AIR app. It is the installed Dreamwever extension that provides the link between the software and the Konductor AIR app. Designers create a template with any number of editable regions under the banner of New Konductor Site, which provides the necessary connection details. Templates are then synchronised with Konductor ready for use.<br />
The Konductor AIR app needs Abode AIR installed (http://get.adobe.com/air/) and uses any uploaded Dreamweaver templates as the basis of a page. The templates leave the desired design intact while allowing multiple users to edit the predetermined regions. The perfect platform for designers to create and non-designers to edit.</p>
<p>Project files for this tutorial can be <a href="http://www.webdesignermag.co.uk/wp-content/uploads/2009/11/Konductor.zip" target="_blank">downloaded here</a>.<br />
This article was originally authored by Steve Jenkins, and featured within Web Designer issue 164</p>
<p><strong>01 Register</strong></p>
<p><a href="http://www.webdesignermag.co.uk/wp-content/uploads/2010/06/step1.jpg"><img class="alignnone size-full wp-image-4524" title="Custom Konductor templates" src="http://www.webdesignermag.co.uk/wp-content/uploads/2010/06/step1.jpg" alt="Custom Konductor templates" width="500" height="353" /></a></p>

					<div class="adInPost">
						<script type="text/javascript">
							GA_googleFillSlot("WD_MidPage_MPU1");
						</script>
					</div><p>The very first step is to head on over to http://www.konductor.net/register and register for a Konductor account. Fill out the registration form, pay attention to Your first site ID as this is the name that will be used to reach a conductor site. To finish up click the ‘I accept. Create my account’ button.<br />
<strong><br />
02 Download</strong></p>
<p><a href="http://www.webdesignermag.co.uk/wp-content/uploads/2010/06/step2.jpg"><img class="alignnone size-full wp-image-4532" title="Custom Konductor templates" src="http://www.webdesignermag.co.uk/wp-content/uploads/2010/06/step2.jpg" alt="Custom Konductor templates" width="500" height="396" /></a></p>
<p>Konductor offers two ways to download its Dreamweaver extension and AIR application. These can be downloaded immediately after creating an account. Alternatively, following Konductor email instructions log in and click on the Downloads tab and download both. Double-click the .mxp file to install the Dreamweaver extension.</p>
<p><strong>03 Konductor site definition</strong></p>
<p><a href="http://www.webdesignermag.co.uk/wp-content/uploads/2010/06/step3.jpg"><img class="alignnone size-full wp-image-4538" title="Custom Konductor templates" src="http://www.webdesignermag.co.uk/wp-content/uploads/2010/06/step3.jpg" alt="Custom Konductor templates" width="500" height="406" /></a></p>
<p>Once the extension has been installed a new Konductor addition appears in the Site menu. Select Site&gt;New Konductor Site to open the Site Definition dialog window. Now enter the name of the site created in the registration process, the URL, ie http://webdesignermag.konductor.net and the username and password created previously.<br />
<strong></p>
]]></content:encoded>
			<wfw:commentRss>http://www.webdesignermag.co.uk/tutorials/custom-konductor-templates/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Create a customised WordPress theme</title>
		<link>http://www.webdesignermag.co.uk/tutorials/create-a-personalised-wordpress-theme/</link>
		<comments>http://www.webdesignermag.co.uk/tutorials/create-a-personalised-wordpress-theme/#comments</comments>
		<pubDate>Thu, 24 Dec 2009 08:30:08 +0000</pubDate>
		<dc:creator>Steve Jenkins</dc:creator>
				<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[WordPress]]></category>
		<category><![CDATA[themes]]></category>
		<category><![CDATA[Wordpress]]></category>
		<category><![CDATA[WP Coder]]></category>

		<guid isPermaLink="false">http://www.webdesignermag.co.uk/?p=3598</guid>
		<description><![CDATA[WORDPRESS IS ARGUABLY THE MOST POPULAR AND FASTEST GROWING CMS]]></description>
			<content:encoded><![CDATA[<!--final1--><!--step110--><!--step2_cropped.tiff--><!--step41--><!--step51--><!--step62--><!--step71--><!--step81--><!--step91--><!--step101-1024x710--><!--step111--><!--step121--><!--step131--><!--step141--><!--step151--><!--step17-18-19-20--><!--step21--><!--step23--><!--step26--><p><strong><a href="http://www.webdesignermag.co.uk/wp-content/uploads/2009/12/final1.jpg"><img class="alignnone size-full wp-image-3622" title="final" src="http://www.webdesignermag.co.uk/wp-content/uploads/2009/12/final1.jpg" alt="final" width="500" height="282" /></a><br />
WORDPRESS IS ARGUABLY THE MOST POPULAR AND FASTEST GROWING CMS. WITH MORE WEBSITES “GOING WORDPRESS” EVERY DAY, IT’S NEVER BEEN A BETTER TIME TO LEARN HOW TO CREATE A WORDPRESS THEME</strong></p>
<p>AS A FREE and open-source content management system, WordPress is becoming more popular every single day and is showing no signs of slowing down. Many individuals and companies are deciding to include WordPress integration when re-designing their websites and being able to create WordPress themes is definitely a valuable skill to have in this day and age. Fortunately, WordPress has a very gentle learning curve and it’s quite easy to pick up. With just a few simple PHP tags you can quickly create a dynamic website. Once you know the basics, it’s easy to continue learning with the help of tutorials and the massive community that surrounds the CMS. In this tutorial, Dan Philibin and Michael Castilla of WPCoder will show you how easy it is to turn a single HTML template into a fully functional WordPress theme. In the example they will be using the Coda web editor for Mac, which you are free to download from www.panic.com/coda/ however any editing tool such as Dreamweaver should be sufficient.</p>
<p><em>Author: WP Coder (www.wpcoder.com) | Originally appeared in Issue 157</em></p>
<p><strong>01 Install WordPress</strong><br />
<a href="http://www.webdesignermag.co.uk/wp-content/uploads/2009/12/step110.jpg"><img class="alignnone size-full wp-image-3628" title="step1" src="http://www.webdesignermag.co.uk/wp-content/uploads/2009/12/step110.jpg" alt="step1" width="500" height="370" /></a><br />
To get started, first install WordPress. Many hosts offer automated installs and the Codex has a few tutorials<br />
(http://codex.wordpress.org/Getting_Started_with_WordPress). For help setting up shop locally, check out<br />
http://tinyurl.com/d9zzu6 (Windows) or http://tinyurl. com/df8dev (Mac).</p>
<p><strong>02 Create a new theme<br />
</strong><a href="http://www.webdesignermag.co.uk/wp-content/uploads/2009/12/step2_cropped.tiff.jpg"><img class="alignnone size-full wp-image-3631" title="Create a customised WordPress theme" src="http://www.webdesignermag.co.uk/wp-content/uploads/2009/12/step2_cropped.tiff.jpg" alt="Create a customised WordPress theme" width="212" height="150" /></a><br />
In your file browser, navigate to wp-content/themes. This is where every theme for your site is going to be<br />
stored. Create a brand new folder for your theme and give it a name – we used ‘thecolortheft’ – and create<br />
four blank files inside – index.php, header.php, sidebar. php and footer.php.</p>
<p><strong>03 Images and style sheet</strong><br />
Copy the images folder and style.css into your theme folder, then open the style sheet in your code editor and add the information shown below to the top of the style sheet, filling in your own information as you type. These details will tell WordPress what theme it is and who its creator is.<br />
<em>/*<br />
Theme Name: The Color Theft<br />
Theme URI: http://yourwebsite.com<br />
Description: A cool theme for Web Designer<br />
Magazine<br />
Version: 1.0<br />
Author: Your Name<br />
Author URI: http://yourwebsite.com<br />
*/</em></p>
<p><strong>04 Create the header</strong><br />
<a href="http://www.webdesignermag.co.uk/wp-content/uploads/2009/12/step41.jpg"><img class="alignnone size-full wp-image-3632" title="step4" src="http://www.webdesignermag.co.uk/wp-content/uploads/2009/12/step41.jpg" alt="step4" width="500" height="347" /></a><br />
Looking at index.html in your code editor, copy the code from the top of the document down to the end of the #header &lt;div&gt; and then paste it into header. php. This will now be the header of your site. In the following steps you will learn how to make much of this content dynamic.</p>
<p><strong>05 Page title</strong><br />
<a href="http://www.webdesignermag.co.uk/wp-content/uploads/2009/12/step51.jpg"><img class="alignnone size-full wp-image-3644" title="step5" src="http://www.webdesignermag.co.uk/wp-content/uploads/2009/12/step51.jpg" alt="step5" width="439" height="226" /></a><br />
The first dynamic tag you’ll use is to generate the page title. Find the two title tags near the top of header. php and type the code shown below inside of those tags. This is used to display something along the lines of “My Blog » Page Title” in your browser.<br />
<em>&lt;title&gt;&lt;?php bloginfo(‘name’); ?&gt; &lt;?php wp_title();<br />
?&gt;&lt;/title&gt;</em></p>
<p><strong>06 Style sheet URL</strong><br />
<a href="http://www.webdesignermag.co.uk/wp-content/uploads/2009/12/step62.jpg"><img class="alignnone size-full wp-image-3645" title="step6" src="http://www.webdesignermag.co.uk/wp-content/uploads/2009/12/step62.jpg" alt="step6" width="500" height="244" /></a><br />
The URL to the site’s style sheet in the header must be a full URL and not just simply a file name, otherwise it will not work. A few lines down from the title, you’ll need to replace style.css with &lt;?php bloginfo(‘stylesheet_url’); ?&gt;. This tag will generate the full URL to the theme’s style sheet.</p>
<p><strong>07 RSS URL</strong><br />
<a href="http://www.webdesignermag.co.uk/wp-content/uploads/2009/12/step71.jpg"><img class="alignnone size-full wp-image-3646" title="step7" src="http://www.webdesignermag.co.uk/wp-content/uploads/2009/12/step71.jpg" alt="step7" width="500" height="244" /></a><br />
By default, an RSS news feed is generated for your blog. To make that feed public, you will need to add the code listed below somewhere within your HTML header. In the image above you can see from the highlighted line 10 for the whereabouts of where we added it:<br />
<em>&lt;link rel=”alternate” type=”application/rss+xml” title<br />
=”RSS 2.0” href=”&lt;?php bloginfo(‘rss2_url’); ?&gt;” /&gt;</em></p>
<p><strong>08 Site title and URL<br />
<a href="http://www.webdesignermag.co.uk/wp-content/uploads/2009/12/step81.jpg"><img class="alignnone size-full wp-image-3647" title="step8" src="http://www.webdesignermag.co.uk/wp-content/uploads/2009/12/step81.jpg" alt="step8" width="337" height="178" /></a><br />
</strong>Inside &lt;h1 id=”logo”&gt;, replace the ‘#’ with &lt;?php bloginfo(‘url’); ?&gt; and ‘The Color Theft’ with &lt;?php bloginfo(‘name’); ?&gt;. The first tag will generate the URL to the site, and the second tag will generate the name of the site provided in the General WordPress settings. Remember that URL tag – you’re going to be using it quite often!<br />
<em>&lt;h1 id=”logo”&gt;&lt;a href=”&lt;?php bloginfo(‘url’); ?&gt;”&gt;&lt;?<br />
php bloginfo(‘name’); ?&gt;&lt;/a&gt;&lt;/h1&gt;</em></p>
<p><strong>09 Navigation links</strong><br />
<a href="http://www.webdesignermag.co.uk/wp-content/uploads/2009/12/step91.jpg"><img class="alignnone size-full wp-image-3648" title="step9" src="http://www.webdesignermag.co.uk/wp-content/uploads/2009/12/step91.jpg" alt="step9" width="315" height="171" /></a><br />
Moving on to the unordered list, add the blog URL tag to the link for Home, just like in the last step. To dynamically generate a list of your site’s pages after that, replace the rest of the links with &lt;?php wp_list_ pages(‘depth=1&amp;title_li=’); ?&gt;. Remember this tag! You will use it whenever you want to display a list of pages on your site.<br />
<em>&lt;ul id=”nav”&gt;<br />
&lt;li&gt;&lt;a href=”&lt;?php bloginfo(‘url’); ?&gt;”&gt;Home&lt;/a&gt;&lt;<br />
/li&gt;<br />
&lt;?php wp_list_pages(‘depth=1&amp;title_li=’); ?&gt;<br />
&lt;/ul&gt;</em></p>
<p><strong>10 Create the sidebar</strong><br />
<a href="http://www.webdesignermag.co.uk/wp-content/uploads/2009/12/step101.jpg"><img class="alignnone size-large wp-image-3649" title="step10" src="http://www.webdesignermag.co.uk/wp-content/uploads/2009/12/step101-1024x710.jpg" alt="step10" width="500" height="346" /></a><br />
Now it is time for you to move on to the sidebar. In the HTML source file, locate the sidebar div (&lt;div id=”sidebar”&gt;) and then copy that whole div and its contents (down to the closing tag) into sidebar.php.</p>
<p><strong>11 Activate the search</strong><br />
<a href="http://www.webdesignermag.co.uk/wp-content/uploads/2009/12/step111.jpg"><img class="alignnone size-full wp-image-3650" title="step11" src="http://www.webdesignermag.co.uk/wp-content/uploads/2009/12/step111.jpg" alt="step11" width="303" height="167" /></a><br />
One of the great things about WordPress is that it has a built-in search feature to make life that little bit easier. It’s very simple to activate it, all you have to do is insert the blog URL tag into the form’s “action” value. This is the same tag that was used twice in the header.<br />
<em>&lt;form method=”get” id=”searchform” action=”&lt;?php<br />
bloginfo(‘url’); ?&gt;/”&gt;</em></p>
<p><strong>12 Ad placeholder images</strong><br />
<a href="http://www.webdesignermag.co.uk/wp-content/uploads/2009/12/step121.jpg"><img class="alignnone size-full wp-image-3651" title="step12" src="http://www.webdesignermag.co.uk/wp-content/uploads/2009/12/step121.jpg" alt="step12" width="361" height="300" /></a><br />
In the next area, the advertisement area, you need to link to the four placeholder images. However, you can’t just link right into the images folder – just like the style sheet, you need the full URL. Before ‘images’, insert this tag: &lt;?php bloginfo(‘template_directory’); ?&gt;. This echoes the full URL to your theme folder. This is another tag you’ll use pretty often if you’re ever linking to an image or file within your theme folder.</p>
<p><strong>13 Dynamic categories</strong><br />
<a href="http://www.webdesignermag.co.uk/wp-content/uploads/2009/12/step131.jpg"><img class="alignnone size-full wp-image-3652" title="step13" src="http://www.webdesignermag.co.uk/wp-content/uploads/2009/12/step131.jpg" alt="step13" width="295" height="148" /></a><br />
Moving on to the next area, there’s a list of post categories that need to be made dynamic. This tag – also a common one – will do the trick: &lt;?php wp_ list_categories(‘title_li=’); ?&gt;. Insert this tag inside the unordered list in place of all of the existing list items.<br />
<em>&lt;h3&gt;Categories&lt;/h3&gt;<br />
&lt;ul&gt;<br />
&lt;?php wp_list_cats(‘sort_column=menu_order&amp;de<br />
pth=1&amp;title_li=&amp;show_count=1’); ?&gt;<br />
&lt;/ul&gt;</em></p>
<p><strong>14 Tag cloud</strong><br />
<a href="http://www.webdesignermag.co.uk/wp-content/uploads/2009/12/step141.jpg"><img class="alignnone size-full wp-image-3653" title="step14" src="http://www.webdesignermag.co.uk/wp-content/uploads/2009/12/step141.jpg" alt="step14" width="513" height="310" /></a><br />
A popular sidebar item on many blogs is a tag cloud. A tag cloud is a stylised list of the tags used on your posts. The more times a tag is used, the bigger the font is. Under the heading, insert &lt;?php wp_tag_cloud(); ?&gt; to generate one.<br />
<em>&lt;div id=”tags”&gt;<br />
&lt;h3&gt;Tag Cloud&lt;/h3&gt;<br />
&lt;p&gt;&lt;?php wp_tag_cloud(); ?&gt;&lt;/p&gt;<br />
&lt;/div&gt;</em></p>

					<div class="adInPost">
						<script type="text/javascript">
							GA_googleFillSlot("WD_MidPage_MPU1");
						</script>
					</div><p><strong>15 Blogroll</strong><br />
<a href="http://www.webdesignermag.co.uk/wp-content/uploads/2009/12/step151.jpg"><img class="alignnone size-full wp-image-3654" title="step15" src="http://www.webdesignermag.co.uk/wp-content/uploads/2009/12/step151.jpg" alt="step15" width="347" height="270" /></a><br />
Finally, insert a list of your favourite links. These links can be managed in the WordPress admin under ‘Links’. To display the list in your sidebar, use &lt;?php wp_list_ bookmarks(‘title_li=&amp;categorize=0’); ?&gt;, which will display an alphabetical list of your links.<br />
<em>&lt;h3&gt;Blogroll&lt;/h3&gt;<br />
&lt;ul&gt;<br />
&lt;?php wp_list_bookmarks(‘title_li=&amp;categorize=0’);<br />
?&gt;<br />
&lt;/ul&gt;</em></p>
<p><strong>16 Create the homepage</strong><br />
Now that we have the markup split up into separate PHP files accordingly, we can move on to the main template file of the theme, index.php. Copy the entire #wrapper &lt;div&gt; and paste it into index.php. You now want to attach the header.php, sidebar.php, and footer. php to your index.php file. This is really easy! In place of where the markup for the header, sidebar, and footer was, add the following tags accordingly: &lt;?php get_header(); ?&gt;, &lt;?php get_sidebar(); ?&gt;, and &lt;?php get_footer(); ?&gt;.</p>
<p><em>First line of index.php:<br />
&lt;?php get_header(); ?&gt;<br />
Last line of index.php:<br />
&lt;?php get_sidebar(); ?&gt;<br />
&lt;?php get_footer(); ?&gt;</em></p>
<p><strong>17 The loop</strong><br />
<a href="http://www.webdesignermag.co.uk/wp-content/uploads/2009/12/step17-18-19-20.jpg"><img class="alignnone size-full wp-image-3655" title="Create a customised WordPress theme" src="http://www.webdesignermag.co.uk/wp-content/uploads/2009/12/step17-18-19-20.jpg" alt="Create a customised WordPress theme" width="500" height="213" /></a><br />
Now we move on to the most important part of a WordPress theme, the loop! Everything inside of the loop will echo for each post. Place &lt;?php while(have_ posts()) : the_post(); ?&gt; above &lt;div class=”post”&gt; and &lt;?php endwhile; ?&gt; after &lt;div class=”divider”&gt;&lt;/ div&gt;. For an in-depth explanation of the loop, Justin Tadlock has written a fantastic article which you can check out at http://tinyurl.com/boc5wg.</p>
<p><em>&lt;?php while(have_posts()) : the_post(); ?&gt;<br />
&lt;div class=”post”&gt;<br />
&#8230;<br />
&lt;/div&gt;<br />
&lt;div class=”divider”&gt;&lt;/div&gt;<br />
&lt;?php endwhile; ?&gt;<br />
</em><br />
<strong>18 Loop content (part 1)</strong><br />
Inside the h2 heading, replace the ‘#’ with &lt;?php the_permalink(); ?&gt;, which will generate the URL for that specific post. Replace ‘This is a test post’ with &lt;?php the_title(); ?&gt;, which will generate the post title for that specific post.<br />
<em><br />
&lt;h2&gt;&lt;a href=”&lt;?php the_permalink(); ?&gt;”&gt;&lt;?php the_ti<br />
tle(); ?&gt;&lt;/a&gt;&lt;/h2&gt;</em></p>
<p><strong>19 Loop content (part 2)</strong><br />
Taking a look inside the loop, we need to add a few tags. For the post metadata, replace the date with &lt;?php the_time(‘F dS, Y’) ?&gt;, the categories with &lt;?php the_category(‘, ‘); ?&gt;, and the author name with &lt;?php the_author(); ?&gt;.</p>
<p><em>&lt;div class=”info”&gt;<br />
&lt;ul&gt;<br />
&lt;li&gt;&lt;?php the_time(‘F dS, Y’) ?&gt;&lt;/li&gt;<br />
&lt;li&gt;&lt;?php the_category(‘, ‘); ?&gt;&lt;/li&gt;<br />
&lt;li&gt;&lt;em&gt;&lt;?php the_author(); ?&gt;&lt;/em&gt;&lt;/li&gt;<br />
&lt;/ul&gt;<br />
&lt;/div&gt;</em></p>
<p><strong>20 Loop content (part 3)</strong><br />
Replace the dummy text with &lt;?php the_content(); ?&gt;. This tag will get the corresponding content for each post. Replace the ‘#’ for the Continue Reading link with the same tag used below for the post URL in part 1.</p>
<p><strong>21 Archives, search and single</strong><br />
<a href="http://www.webdesignermag.co.uk/wp-content/uploads/2009/12/step21.jpg"><img class="alignnone size-full wp-image-3656" title="Create a customised WordPress theme" src="http://www.webdesignermag.co.uk/wp-content/uploads/2009/12/step21.jpg" alt="Create a customised WordPress theme" width="350" height="298" /></a><br />
Create three new files called archive.php, search.php and single.php. Copy and paste all the code from index.php into each of those files.</p>
<p><strong>22 Regular pages</strong><br />
Create a new file called page.php and copy and paste the code from index.php into that file. Some styling is different on the regular pages, so we’re going to add a page class to &lt;div class=”post”&gt;, so it should now read &lt;div class=”post page”&gt;. Also, since we don’t want the post metadata showing on these pages, we’re going to delete &lt;div class=”info”&gt; and its contents.</p>
<p><em>&lt;?php while(have_posts()) : the_post(); ?&gt;<br />
&lt;div class=”post”&gt;<br />
&lt;div class=”title”&gt;<br />
&lt;h2&gt;&lt;a href=”&lt;?php the_permalink(); ?&gt;”&gt;&lt;?php th<br />
e_title(); ?&gt;&lt;/a&gt;&lt;/h2&gt;<br />
&lt;/div&gt;<br />
&lt;div class=”text page”&gt;&lt;?php the_content(); ?&gt;&lt;/div&gt;<br />
&lt;/div&gt;<br />
&lt;?php endwhile; ?&gt;</em></p>
<p><strong>23 404 page</strong><br />
<a href="http://www.webdesignermag.co.uk/wp-content/uploads/2009/12/step23.jpg"><img class="alignnone size-full wp-image-3657" title="Create a customised WordPress theme" src="http://www.webdesignermag.co.uk/wp-content/uploads/2009/12/step23.jpg" alt="Create a customised WordPress theme" width="500" height="341" /></a><br />
This is the page your users will get when they go to a page URL on your site that hasn’t been created or is broken. Create a new file called 404.php, copy and paste the contents of page.php into that file. Take out the PHP for the loop (the_permalink, the_content, the_title and so on) and change around the page heading and text as you wish!</p>
<p><strong>24 The footer</strong><br />
Creating the footer for this theme is really simple. From the HTML source file, copy and paste the closing HTML and body tags, and the full footer &lt;div&gt; into footer. php and you’re set.</p>
<p><strong>25 Triggers<br />
</strong>There are two “hooks” you need to have in your theme so that other plug-ins can interact with it. One tag will go inside the &lt;head&gt; tags in header.php and the other will go just before the body closes in footer.php, as shown in the code below:</p>
<p><em>In header.php:<br />
&#8230;<br />
&lt;?php wp_head(); ?&gt;<br />
&lt;/head&gt;<br />
&lt;body&gt;<br />
In footer.php:<br />
&#8230;<br />
&lt;?php wp_footer(); ?&gt;<br />
&lt;/body&gt;<br />
&lt;/html&gt;</em></p>
<p><strong>26 Activate the theme<br />
<a href="http://www.webdesignermag.co.uk/wp-content/uploads/2009/12/step26.jpg"><img class="alignnone size-full wp-image-3643" title="Create a customised WordPress theme" src="http://www.webdesignermag.co.uk/wp-content/uploads/2009/12/step26.jpg" alt="Create a customised WordPress theme" width="500" height="345" /></a><br />
</strong>Now that we have finished the integration, it’s time to put the theme to the test! Log into the admin at http://yoursite.com/wp-admin with the username and password you received after installation. Head to the Appearance panel, find your theme in the list, and activate it!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.webdesignermag.co.uk/tutorials/create-a-personalised-wordpress-theme/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Integrate Twitter into WordPress</title>
		<link>http://www.webdesignermag.co.uk/tutorials/integrate-twitter-into-wordpress/</link>
		<comments>http://www.webdesignermag.co.uk/tutorials/integrate-twitter-into-wordpress/#comments</comments>
		<pubDate>Mon, 04 May 2009 06:38:53 +0000</pubDate>
		<dc:creator>Steve Jenkins</dc:creator>
				<category><![CDATA[Dreamweaver]]></category>
		<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[WordPress]]></category>
		<category><![CDATA[jQuery]]></category>
		<category><![CDATA[JSON]]></category>
		<category><![CDATA[Twitter]]></category>
		<category><![CDATA[Wordpress]]></category>

		<guid isPermaLink="false">http://www.webdesignermag.co.uk/?p=2027</guid>
		<description><![CDATA[EVER THOUGHT IT WOULD BE COOL TO STREAM YOUR TWEETS INTO YOUR WORDPRESS TEMPLATE]]></description>
			<content:encoded><![CDATA[<!--main--><!--step02--><!--step06--><!--step07--><!--step08--><!--step11--><!--step15--><p><a href="http://www.webdesignermag.co.uk/wp-content/uploads/2009/05/main.jpg"><img class="alignnone size-full wp-image-2036" title="Integrate Twitter into WordPress" src="http://www.webdesignermag.co.uk/wp-content/uploads/2009/05/main.jpg" alt="Integrate Twitter into WordPress" width="500" height="385" /></a><br />
EVER THOUGHT IT WOULD BE COOL TO STREAM YOUR TWEETS INTO YOUR WORDPRESS TEMPLATE? WE SHOW HOW IT CAN BE ACHIEVED</p>
<p>TWITTER IS A microblogging platform that allows you to post messages up to 160 characters long, updating ‘followers’ with your news, current activity or status. Many web users have embraced the idea of Tweeting as a complementary platform to the normal blog, allowing them to reach out to other Twitter users and fill the gap between something worthy of a full blog post and something incidental. The platform is rapidly growing in popularity; Stephen Fry has just reached 20,000 followers within a month or so of joining Twitter, and even Web Designer has its own Twitter account – our username is WebDesignerMag. Sign up for Twitter at http://twitter.com.<br />
So, microblogging is a useful and fun way of sharing news, but what about your existing blog readers? They may not be aware that you’re using Twitter and may not use Twitter themselves. This is no reason to exclude them from your Twitter updates, however, and in this tutorial we’re going to take advantage of the Twitter JSON search API by using jQuery to insert a live view of your latest Tweets directly into your blog pages.</p>
<p><strong>01 Keep it simple to begin with</strong><br />
We’ll be inserting our final code into a WordPress blog sidebar, but to start with we’ll test with an otherwise empty HTML file to ensure everything works as it should do. Copy the start.html’ and ‘jquery-1.2.6.pack.js’ files from the disc onto your computer. Open the HTML file up in your favourite browser and your HTML editor of choice &#8211; in this instance Dreamweaver CS3 or CS4.</p>
<p><strong>02 API documentation<br />
</strong><a href="http://www.webdesignermag.co.uk/wp-content/uploads/2009/05/step02.jpg"><img class="alignnone size-full wp-image-2038" title="Integrate Twitter into WordPress" src="http://www.webdesignermag.co.uk/wp-content/uploads/2009/05/step02.jpg" alt="Integrate Twitter into WordPress" width="500" height="124" /></a><br />
We’re using JSON because it allows us to load content cross-domain – that is, we can grab content from another server without coming up against the problems associated with trying<br />
to load XML from an external server using JavaScript. Twitter offers a JSON feed as part of the search API. You can read the specifications at http://apiwiki.twitter.com/Search+API+Documentation. Try entering http://search.twitter.com/search.json?q=from%3Awebdesignermag&amp;rpp=5&amp;callback=? into your browser and save the file that the browser offers you as a download. Open the file up in a text editor, such as Notepad or TextEdit, and familiarise yourself with the contents. This loads the five latest Web Designer Twitter posts.</p>
<p><strong>03 Set up the jQuery</strong><br />
Now we understand what’s going on with the feed, we can get started with our JavaScript. At the top of your blank HTML document, enter the code below within the &lt;head&gt; section. This loads the jQuery script into the page and sets up a script to be run when the document has finished loading into the browser (note that this is different to the regular JavaScript onLoad event as it doesn’t require all the images to have loaded before running – a bonus for script performance).<br />
<em>&lt;script type=”text/javascript” src=”scripts/jquery-1.2.6.pack.js”&gt;&lt;/script&gt;<br />
&lt;script type=”text/javascript”&gt;<br />
$(document).ready(function(){</em><br />
(Our scripting will go in here.)<br />
<em>});<br />
&lt;/script&gt;</em><br />
For the purposes of testing our design layout for the Twitter panel, add the following immediately beneath the script code:<br />
<em>&lt;style&gt;<br />
body {<br />
font-family: arial, helv, sans-serif;<br />
font-size: 66%;</em></p>
<p><strong>04 Grab the JSON feed</strong><br />
We’re going to use jQuery’s built-in getJSON function to grab the feed dynamically. This function loads the feed from the address we parse in, and automatically instantiates the<br />
objects contained within it. The JavaScript equivalent would be to use the eval() function on the text that’s loaded, but jQuery deals with this for us so we don’t need to worry about<br />
it. Add the code below inside the $(document).ready function:<br />
<em>var url = “http://search.twitter.com/search.json?q=from%3Awebdesignermag&amp;rpp<br />
=5&amp;callback=?”;<br />
$.getJSON(url, function(data){<br />
// When the data is loaded, this script will run<br />
});</em></p>
<p><em></em><strong>05 Set up a loop</strong><br />
The code we’ve added so far doesn’t display any sign that it’s done anything, but all the data has, in fact, been loaded into your page. Now we need to get the data to print out into our page. It’s important to understand that we’ve created an object by loading the JSON feed. This object is called ‘results’ in this particular case, and it contains an array of items. Each item inside the results object has several properties supplied by the Twitter API. These properties range from the text of the Tweet itself through to the time it was posted, who posted it, who (if anyone) the Tweet was directed at and so on. With this in mind, we need to set up a loop to iterate through the results object, picking up each item in turn and extracting some of these properties, printing them out to screen. In JavaScript, we would achieve this with a for loop, but jQuery gives us the .each function, which makes the code a lot easier to read and understand. Add the followingcode inside the $.getJSON callback function:<br />
<em>$.each(data.results, function(i,item){<br />
alert(item.text);<br />
});</em></p>
<p><strong>06 Test in your editor or browser</strong><br />
<a href="http://www.webdesignermag.co.uk/wp-content/uploads/2009/05/step06.jpg"><img class="alignnone size-full wp-image-2039" title="Integrate Twitter into WordPress" src="http://www.webdesignermag.co.uk/wp-content/uploads/2009/05/step06.jpg" alt="Integrate Twitter into WordPress" width="500" height="211" /></a><br />
We’ve got far enough now to test our page so far. Save your document and open it in a browser, or if you’re using an editor such as Dreamweaver CS4, which has a live preview of<br />
your code, you can test within your editor. Either way, you should now see a series of five alert boxes when you open your page. Each alert box will contain a Tweet from the feed.<br />
The results are limited to five in number because of the URL parameters we parsed in to Twitter’s API. See the &amp;rpp=5 in the URL we used? Try changing the five to ten and testing<br />
the page again. When you’re done, remove the alert statement, as we’re going to put in our final code in a moment.<em></em></p>
<p><strong>07 Consider the design approach</strong><br />
<a href="http://www.webdesignermag.co.uk/wp-content/uploads/2009/05/step07.jpg"><img class="alignnone size-full wp-image-2040" title="Integrate Twitter into WordPress" src="http://www.webdesignermag.co.uk/wp-content/uploads/2009/05/step07.jpg" alt="Integrate Twitter into WordPress" width="500" height="252" /></a><br />
How you choose to display each Tweet will vary according to the rest of your blog design. Here, we’re using the standard theme that ships with WordPress, so there’s quite a lot of scope for how we style the content. If your theme doesn’t suit the style we’re going to be using, adapt the design approach to match your own blog. We’re going to use a small number of fields in our design: the text of the Tweet, the name of the user who posted the message, the date it was posted and finally, the user’s avatar image. We’ll float our image left and align the text elements to the right of the avatar for a simple, straightforward look.<em></em></p>
<p><strong>08 Append your content</strong><br />
<a href="http://www.webdesignermag.co.uk/wp-content/uploads/2009/05/step08.jpg"><img class="alignnone size-full wp-image-2041" title="Integrate Twitter into WordPress" src="http://www.webdesignermag.co.uk/wp-content/uploads/2009/05/step08.jpg" alt="Integrate Twitter into WordPress" width="500" height="154" /></a><br />
We’re going to want to specify where our content is inserted, so start off by adding a div tag with an ID of ‘tweetscontainer’ into your page body section.<br />
<em>&lt;div id=”tweetscontainer”&gt;&lt;/div&gt;</em><br />
Now we have our container, we’ll append our output inside this. First, we need to grab it inside our script. Insert the code below underneath the line that reads var url=”http://<br />
search.twitter…..”:<br />
<em>var tweets = $(‘&lt;ul id=”tweets”&gt;’).appendTo(“#tweetscontainer”);</em><br />
This code creates an unordered list, creates a reference to it of ‘tweets’ and appends it inside the tweetscontainer div we just made. Next, we’ll add a list item for each result item<br />
and append it to the &lt;ul&gt;. Add the code below where we previously had the alert() code:<br />
<em>tweets.append(‘&lt;li&gt;’+item.created_at+’: ‘+item.text+’&lt;/li&gt;’);</em><br />
Save and test your page again. You should now see an unordered list with each item<br />
containing a date/time and Tweet text.</p>
<p><strong>09 Add the missing bits</strong><br />
We’ll add the remaining text element we wanted to include; the name of the user posting – in this case the username will always be ‘WebDesignerMag’, but you’ll see later that this<br />
same code will work for any Twitter search query. Change your tweets.append line to read as below:</p>
<p><em>tweets.append(‘&lt;li&gt;&lt;p&gt;&lt;a href=”http://twitter.com/’+item.from_user+’/statuses/<br />
’+item.id+’” title=”Click here to view this on twitter”&gt;’+item.from_user+’&lt;/a&gt; at<br />
‘+item.created_at+’: ‘+item.text+’&lt;/p&gt;&lt;/li&gt;’);</em></p>

					<div class="adInPost">
						<script type="text/javascript">
							GA_googleFillSlot("WD_MidPage_MPU1");
						</script>
					</div><p>You’ll notice that we’ve added a link to the specific Tweet page on Twitter as well as the name of the Tweeting user. You can construct any HTML you desire simply by adding it in<br />
the same way.</p>
<p><strong>10 Add some style</strong><br />
Now that we’ve got some Tweets appearing with all the text we need, let’s give it some styling. We’re going to use a fairly straightforward approach. Style the text in the same font as the rest of the page, at 1em, and the links in bold. Add the following style rules within your &lt;style&gt; section:</p>
<p><em>#tweets {<br />
width: 300px;<br />
margin: 0;<br />
padding: 0;<br />
font-size: 1em;<br />
}<br />
#tweets li {<br />
margin: 0;<br />
padding: 0;<br />
list-style: none;<br />
clear: left;<br />
}<br />
#tweets img {<br />
float: left;<br />
margin: 0px 10px 10px 0px;<br />
}<br />
#tweets li p {<br />
margin-left: 83px;<br />
}<br />
#tweets li a {<br />
font-weight: bold;<br />
text-decoration: none;<br />
}<br />
#tweets li a:hover {<br />
text-decoration: underline;<br />
}</em></p>
<p><strong>11 Save and test</strong><br />
<a href="http://www.webdesignermag.co.uk/wp-content/uploads/2009/05/step11.jpg"><img class="alignnone size-full wp-image-2042" title="Integrate Twitter into WordPress" src="http://www.webdesignermag.co.uk/wp-content/uploads/2009/05/step11.jpg" alt="Integrate Twitter into WordPress" width="369" height="359" /></a><br />
Save your page again and open it up in your browser to run another test. You’ll see that our content looks a lot closer to our aim now. We’re missing our avatar images, which we’ll<br />
insert next, but notice also that if there are any URLs in the Tweets, they aren’t hot – that is, they aren’t turned into links automatically. We’ll deal with this issue once we’ve got the<br />
avatar image in place.</p>
<p><strong>12 Add avatar images</strong><br />
The content looks good, but as we’ve just established, we’re missing the avatar images. These are hosted by Twitter, and you can access the image URL directly from the JSON feed using the property profile_image_url. Add the code below in-between the &lt;li&gt; and &lt;a&gt; within your tweets.append statement:<br />
<em>&lt;img src=”’ + item.profile_image_url +’” alt=”’ + item.from_user +‘” width=”73” height=”73” /&gt;</em><br />
Then add the CSS rules below to your style sheet area to float the image to the left of your Tweet content:<br />
<em>#tweets img {<br />
float: left;<br />
margin: 0px 10px 10px 0px;<br />
}</em></p>
<p><strong>13 Make URLs hot</strong><br />
The final thing we need to do is to make those URLs hot. We’ll use regular expressions to do this. There’s not enough<br />
space to explain the finer points of these here, but if you’re unfamiliar with regular expressions, search Wikipedia,<br />
Google or W3Schools for more info. Find the part of the tweets.append code that reads item.text+’&lt;/p&gt;&lt;/li&gt;’; and<br />
replace it the code below. Note that we search for all URLs in the Tweet text, and also instances of @. The latter<br />
is how Twitter users alert each other to their messages; the @ symbol precedes a Twitter username. We’ll make the<br />
@ instances point to the specified user’s Twitter page, and the URLs point to where they look like they point:</p>
<p><em>item.text.replace(/(\w+:\/\/[A-Za-z0-9-_]+\.[A-Za-z0-9-_:%&amp;\?\/.=]+)/gi, ‘&lt;a href=”$1”&gt;$1&lt;/a&gt;’).replace(/[\@]+([AZa-<br />
z0-9-_]+)/gi, ‘&lt;a href=”http://twitter.com/$1”&gt;@$1&lt;/a&gt;’)+’&lt;/p&gt;&lt;/li&gt;’);</em></p>
<p><strong>14 Test cross-browser</strong><br />
Your blog now features your most recent five Tweets in the sidebar. Congratulations! A word of caution, however; as with any JavaScript coding and CSS styling, you should ensure you’ve tested across all the major browsers for compatibility and bugs. Thankfully, jQuery deals with a lot of the cross-browser differences in scripting, but don’t forget to check your CSS in as many browsers as possible to ensure everything displays as expected.</p>
<p><strong>15 Put it into your blog</strong><br />
<a href="http://www.webdesignermag.co.uk/wp-content/uploads/2009/05/step15.jpg"><img class="alignnone size-full wp-image-2043" title="Integrate Twitter into WordPress" src="http://www.webdesignermag.co.uk/wp-content/uploads/2009/05/step15.jpg" alt="Integrate Twitter into WordPress" width="500" height="397" /></a><br />
We’ve got all the functionality tested and styled up, so let’s get it into our blog. This process will vary from platform to platform, but here we’re using the ever-popular WordPress v2.6. From the admin dashboard menu, choose Design&gt;Widgets and add a new text widget. Edit the text widget and paste your Tweet’s HTML div tag into the widget. Choose Theme Editor and paste your CSS into the main style sheet for the theme you’re using (we’ve got the default K2 theme installed here). Finally, choose the theme header.php file and paste in your JavaScript code within the &lt;head&gt; section of this file. Save all your changes and preview your blog.</p>
<p><strong>16 Other JSON feeds</strong><br />
Now you&#8217;ve mastered using JSON feeds, extracting and displaying the data, styling and dynamically creating links, have a look at some of the other social websites you may use. Flickr, for example, offers a JSON feed for photos tagged with particular keywords, users and groups. You can also use the Twitter API to search for keywords or messages directed at specific users rather than posted by specific users. Try changing your JSON URL to http://search.twitter.com/search.json?q=StephenFry&amp;rpp=5&amp;callback=? to see messages directed towards Stephen Fry. Use JSON feeds from your favourite social websites and display their content directly on your blog.</p>
<p>(This article was originally written by Sam Hampton-Smith, published in issue 153)</p>
]]></content:encoded>
			<wfw:commentRss>http://www.webdesignermag.co.uk/tutorials/integrate-twitter-into-wordpress/feed/</wfw:commentRss>
		<slash:comments>11</slash:comments>
		</item>
		<item>
		<title>Web 2.0 widgets for WordPress</title>
		<link>http://www.webdesignermag.co.uk/tutorials/web-20-widgets-for-wordpress/</link>
		<comments>http://www.webdesignermag.co.uk/tutorials/web-20-widgets-for-wordpress/#comments</comments>
		<pubDate>Fri, 17 Apr 2009 09:33:13 +0000</pubDate>
		<dc:creator>Steve Jenkins</dc:creator>
				<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[WordPress]]></category>
		<category><![CDATA[Plug-ins]]></category>
		<category><![CDATA[Widgets]]></category>

		<guid isPermaLink="false">http://www.webdesignermag.co.uk/?p=1608</guid>
		<description><![CDATA[Extend the power of the basic WordPress configuration with the help of widgets and plugins]]></description>
			<content:encoded><![CDATA[<!--mainimage--><!--widget1--><!--widget2--><!--widget3--><!--widget4--><!--widget5--><!--widget6--><!--widget7--><p><a href="http://www.webdesignermag.co.uk/wp-content/uploads/2009/04/mainimage.jpg"><img class="alignnone size-full wp-image-1611" title="Web 2.0 widgets for WordPress" src="http://www.webdesignermag.co.uk/wp-content/uploads/2009/04/mainimage.jpg" alt="Web 2.0 widgets for WordPress" width="500" height="373" /></a><br />
<strong>Extend the power of the basic WordPress configuration with the help of widgets and plugins. Customise existing elements to produce personalised posts and pages.</strong></p>
<p>WORDPRESS IS UNDOUBTEDLY the best known and almost inevitably the most popular content management system (CMS) available to users around the world today. Why is this? Well, mainly because it bypasses the need for an indepth knowledge of programming while still giving users a comprehensive publishing platform to work with. Additionally, it’s nice and easy to install and like the best things in life, it’s absolutely free! WordPress comes equipped with its very own themes: the default WordPress theme based on the famous Kubrick (http://binarybonsai.com/kubrick/) and the WordPress Classic theme. Both these and many other WordPress themes come with a default selection of widgets, including Categories, Tags, Search, Archives and Meta, which can be added and removed as desired. To take a theme beyond the basics, there is a vast library of widgets and plug-ins that allows users to customise WordPress and all that resides in the sidebar. In this tutorial, we’ll show you where to find these widgets and plug-ins, as well as run through how to install a typical WordPress widget. To finish up, we have taken a couple of our favourites and shown them in action.</p>
<p><strong>01 Pick the widget that works for you</strong><br />
<a href="http://www.webdesignermag.co.uk/wp-content/uploads/2009/04/widget1.jpg"><img class="alignnone size-full wp-image-1612" title="Web 2.0 widgets for WordPress" src="http://www.webdesignermag.co.uk/wp-content/uploads/2009/04/widget1.jpg" alt="Web 2.0 widgets for WordPress" width="500" height="385" /></a><br />
The first step to working with WordPress widgets and plug-ins is to locate an item to work with. A good starting point is the WordPress website itself. Head to http:// wordpress.org/extend/plugins/ to view the Plugin Directory. Browse the directory and click a title to view more details, including a description, installation notes, an FAQ, screenshots and a Download link. Hit the Download link and download the folder to the desktop. The vast majority of plug-ins come as a ZIP file, so the first step is to extract the files. Once all the files have been extracted, make sure that the accompanying readme.txt file is viewed before proceeding. This typically gives instructions on how to install the plug-in and other useful information. A typical instruction would include the following (this refers to the Tabbed Widget plug-in): Upload the `tabbed-widgets` directory to the /wp-content/plugins/ directory. The final directory tree should look like: /wp-content/plugins/tabbed-widgets/ tabbed-widgets.php. Almost without exception, the plug-in will be uploaded to the wp-content/plugins directory.</p>
<p><strong>02 Activate plug-in</strong><br />
<a href="http://www.webdesignermag.co.uk/wp-content/uploads/2009/04/widget2.jpg"><img class="alignnone size-full wp-image-1613" title="Web 2.0 widgets for WordPress" src="http://www.webdesignermag.co.uk/wp-content/uploads/2009/04/widget2.jpg" alt="Web 2.0 widgets for WordPress" width="500" height="289" /></a><br />
Now log in to WordPress to view the Dashboard and click Plugins to open the Plugin Management page. This will display the plug-ins installed by default, ie Akismet, and any plug-ins installed by the user under the Inactive Plugins banner. To activate and start using a plug-in, simply click the Activate link related to the plug-in. WordPress will place the plug-in on its own section under the banner Currently Active Plugins. To deactivate the plug-in at any point, simply click Deactivate. This will place the plug-in into a new section named Recently Active Plugins. This will display the plug-in for seven days before returning it to the Inactive Plugins list. Alternatively, click Clear List to instantly add the plug-in back to Inactive.</p>
<p><strong>03 Choosing the Category Cloud</strong><br />
<a href="http://www.webdesignermag.co.uk/wp-content/uploads/2009/04/widget3.jpg"><img class="alignnone size-full wp-image-1614" title="Web 2.0 widgets for WordPress" src="http://www.webdesignermag.co.uk/wp-content/uploads/2009/04/widget3.jpg" alt="Web 2.0 widgets for WordPress" width="500" height="360" /></a><br />
When a plug-in or widget has been activated, it is accessible via Design&gt;Widgets. To start using the widget, first click Add to place on the Current Widgets list. Press Save Changes and head back to the site to view the new widget in action. The first example we have used is a widget called Category Cloud, which can be found on the WordPress website. To change the default settings, click the related Edit link. By default, the widget doesn’t have a title and the font is set to a minimum of 50 per cent and a maximum of 150 per cent. Add a title and modify the font size by adding the appropriate numbers and choosing the desired font unit. For example, we have named the widget and set the minimum and maximum reasonably close together (minimum 80 per cent, maximum 120 per cent). This ensures that the Category Cloud doesn’t look too disproportionate. To complete the widget, choose alignment, the order of categories, how many are displayed, hide options and IDs to exclude. Category IDs can be found by placing the cursor over a category, which will be displayed in the status bar of the browser. When complete, press Change and Save Changes to apply. Now view via the website.</p>
<p><strong>04 Tabbed Widgets</strong><br />
<a href="http://www.webdesignermag.co.uk/wp-content/uploads/2009/04/widget4.jpg"><img class="alignnone size-full wp-image-1615" title="Web 2.0 widgets for WordPress" src="http://www.webdesignermag.co.uk/wp-content/uploads/2009/04/widget4.jpg" alt="Web 2.0 widgets for WordPress" width="500" height="370" /></a><br />
The Tabbed Widgets widget is again found via the WordPress website, and again is installed in the wp-content/plugins folder. After activating the widget, head to Design&gt;Tabbed Widgets. This widget has its own dedicated section. There is the option to create up to eight separate widgets; realistically, though, users are only likely to use one or two at a time. To demonstrate the capabilities of Tabbed Widgets, this tutorial is going to concentrate on creating a single instance. All the techniques learnt here can be applied to the remaining widgets if so desired. The first step is to add a title to the widget. This is displayed on the page if the Show Title checkbox is ticked. By default, the title is not displayed on the page, but whatever title is chosen, this is the name displayed under Widgets. Now select the desired page, widget, etc, from the drop-down list for each of the tabs that are to appear in the widget. Give each one a relevant title and press Update Options. There is the option to add curved corners for each of the tabs. Simply click the Enable rounded corners tab checkbox. By default, the widget will be displayed as tabs. To display with the accordion effect, check the related radio button. To apply, press Update Options.</p>
<p><strong>05 Widget in action</strong><br />
<a href="http://www.webdesignermag.co.uk/wp-content/uploads/2009/04/widget5.jpg"><img class="alignnone size-full wp-image-1616" title="Web 2.0 widgets for WordPress" src="http://www.webdesignermag.co.uk/wp-content/uploads/2009/04/widget5.jpg" alt="Web 2.0 widgets for WordPress" width="500" height="367" /></a><br />
Creating the widget is the first step to getting the widget onto the page. Now head back to Widgets (Design&gt;Widgets) and you will see that the new addition has appeared in the Available Widgets list. To add the widget to the sidebar simply click Add that resides next to the widget name. Now arrange the widgets accordingly and press Save Changes. Head to the top of the page and press Visit Site to view the widget in action. To remove the widget from the list simply head back to the Dashboard and Design. Press Edit next to the appropriate widget to place back in the Available Widgets list. </span></p>
<p><strong>06 XML site map generator for WordPress</strong><br />
<a href="http://www.webdesignermag.co.uk/wp-content/uploads/2009/04/widget6.jpg"><img class="alignnone size-full wp-image-1617" title="Web 2.0 widgets for WordPress" src="http://www.webdesignermag.co.uk/wp-content/uploads/2009/04/widget6.jpg" alt="Web 2.0 widgets for WordPress" width="500" height="407" /></a><br />
This plug-in (found via the WordPress Plugins Directory) helps create a Google Sitemapscompliant XML site map of a WordPress blog. The plug-in supports automatically generated pages, ie posts, and any custom pages the user creates themselves. The beauty of the plug-in is that it updates the site map every time the user edits or creates a new post. Plus, any search engine that supports the site map protocol, ie Google, MSN Search, Yahoo! and Ask, are notified about the update. The plug-in is installed in the wp-content/ plugins directory, and will be found via the Settings tab. The plug-in has an impressive array of options, which can be at the default setting if desired. Options worth noting include Limit the number of posts in the sitemap. This ensures that only the latest posts are displayed if activated. Additional Pages allows users to specify files or URLs that reside outside the WordPress folder location, eg, www.mysite. co.uk/blog. This would typically mean that the homepage needs to be added. Click Add New Page and fill out the details. Sitemap Content gives the option what to include in the site map, ie posts, categories, archives, tag pages, etc. Finally, Priorities allows users to dictate which pages should prioritise over others. There is a 0-1 number system for each page type, so select a number, eg, 0.3, 0.7, with 1 ensuring top priority.</p>

					<div class="adInPost">
						<script type="text/javascript">
							GA_googleFillSlot("WD_MidPage_MPU1");
						</script>
					</div><p><strong>07 Configurable Tag Cloud options</strong><br />
<a href="http://www.webdesignermag.co.uk/wp-content/uploads/2009/04/widget7.jpg"><img class="alignnone size-full wp-image-1610" title="Web 2.0 widgets for WordPress" src="http://www.webdesignermag.co.uk/wp-content/uploads/2009/04/widget7.jpg" alt="Web 2.0 widgets for WordPress" width="500" height="376" /></a><br />
The tag cloud widget commonly found with the basic WordPress installation is a simple, nonconfigurable affair. It does what it does, but installing the Configurable Tag Cloud widget (http://leekelleher.com/wordpress) ensures far more control over the output. The widget is installed in the wp-content/plugins folder and can be found via the Settings tab. Alternatively, after the widget has been added to the sidebar via Design&gt;Widgets, its options can be modified via its location. The widget is simple and intuitive to use, and the starting point is Title. Add an appropriate title before deciding on the number of tags to display. If the chosen number is less than the total number of tags, the widget decides which tags are to appear in the tag cloud. Choose the smallest and largest font size, trying to keep reasonably close to avoid unsightly gaps in the tag cloud. Next, there is the option to choose a colour range for the tags, so add the appropriate hexadecimal code. Cloud Format offers Flat for a standard tag cloud, while List presents the tags in a list, ascending or descending. There is the option to integrate categories in the cloud, including empty ones, and display the post count. The final options allow the tags to be sorted by name, count or random. Hit Change when finished and Save Changes to view on the page.</p>
<p><strong>FIVE ESSENTIAL WORDPRESS WIDGETS</strong></p>
<p>WordPress has a vast library of widgets available via the web. Here, we pick five of our favourites.</p>
<p><strong>WordPress Automatic upgrade</strong><br />
<em>http://wordpress.org/extend/plugins/ wordpress-automatic-upgrade/</em><br />
This widget allows a user to automatically upgrade a WordPress installation to the latest one.</p>
<p><strong>Video Widget</strong><br />
<em>www.nikohk.com/plugin-wordpress-video-widget</em><br />
Add one or more videos in the sidebar without the need for any HTML code. Support includes YouTube, Dailymotion, Google Video, Flash Video, Vimeo, Flickr and many more.</p>
<p><strong>Dashboard Editor</strong><br />
<em>http://anthologyoi.com</em><br />
Take control of the WordPress dashboard. Get rid of the entire dashboard or remove individual unwanted components.</p>
<p><strong>My Page Order</strong><br />
<em>http://wordpress.org/extend/plugins/my-page-order/ </em><br />
Avoid the awkward default setup and set the order of pages through a drag-and-drop interface.</p>
<p><strong>MobilePress</strong><br />
<em>http://mobilepress.co.za </em><br />
Take a WordPress blog and render it for mobile handsets, such as the iPhone and Windows Mobile.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.webdesignermag.co.uk/tutorials/web-20-widgets-for-wordpress/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Create your own WordPress theme</title>
		<link>http://www.webdesignermag.co.uk/tutorials/create-your-own-wordpress-theme/</link>
		<comments>http://www.webdesignermag.co.uk/tutorials/create-your-own-wordpress-theme/#comments</comments>
		<pubDate>Thu, 09 Apr 2009 00:01:52 +0000</pubDate>
		<dc:creator>Mark Billen</dc:creator>
				<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[WordPress]]></category>
		<category><![CDATA[themes]]></category>
		<category><![CDATA[Tutorial]]></category>
		<category><![CDATA[Wordpress]]></category>

		<guid isPermaLink="false">http://www.webdesignermag.co.uk/?p=1359</guid>
		<description><![CDATA[We uncover the secrets of a WordPress theme and show you how to add elements to create a personal design]]></description>
			<content:encoded><![CDATA[<!--149_070_final--><!--149_070_step1--><!--149_070_step2--><!--149_070_step3--><p><strong>We uncover the secrets of a WordPress theme and show you how to add elements to create a personal design</strong></p>
<p><img class="alignnone size-full wp-image-1366" title="Final" src="http://www.webdesignermag.co.uk/wp-content/uploads/2009/04/149_070_final.jpg" alt="Final" width="500" height="362" /></p>
<p>WordPress has become the web’s favourite publishing platform thanks to its simplicity, usability, aesthetics and undoubtedly, its gratis status. Its rise in popularity has seen the proliferation of hundreds of sites offering thousands of themes to give users the look and feel they want in an instant. There are undoubtedly some very good themes on the market, but while a predefined theme offers simplicity and instant impact, it doesn’t offer complete personalisation. There are plenty of free themes that are perfect as a base for a blog, but modification and personalisation will take it to the next level.<br />
WordPress themes are essentially a collection of PHP tags and a style sheet that can be modified to create a personal theme. We have taken the Coffee Desk theme found at <a title="WordPress themes" href="http://wordpress.org/extend/themes/" target="_blank">http://wordpress.org/extend/themes/</a> and used this as the base of the new personalised theme. This is a two-column theme with a right sidebar, matching the layout we have designed for.</p>
<p><strong>01 Download and set up</strong></p>
<p><strong><br />
</strong></p>
<p><img class="alignnone size-full wp-image-1370" title="Step1" src="http://www.webdesignermag.co.uk/wp-content/uploads/2009/04/149_070_step1.jpg" alt="Step1" width="500" height="274" /></p>
<p>Head to <a title="WordPress download" href="http://wordpress.org/download/" target="_blank">http://wordpress.org/download/</a> and click the Download WordPress link and save to the desktop. Now unzip all the files in the WordPress folder. The next step is to create a database for WordPress on your web server. This may differ from account to account, but the principle is the same. We are using cPanel and phpMyAdmin, as supplied with the web account, to create the necessary database. In cPanel, go to MySQL Databases and create a new database. Give it a relevant name, ie ‘blog’, and at the same time create a new username and password. Now add the user to the database and assign it All Privileges.<br />
Now head back to the unzipped WordPress folder and rename the ‘wp-config-sample.php’ file to ‘wp-config.php’. Open wp-config.php to view the following:</p>
<p><em>define(‘DB_NAME’, ‘putyourdbnamehere’); </em>// The name of the database<br />
d<em>efine(‘DB_USER’, ‘usernamehere’);</em> // Your MySQL username<br />
<em>define(‘DB_PASSWORD’, ‘yourpasswordhere’);</em> // &#8230;and password</p>

					<div class="adInPost">
						<script type="text/javascript">
							GA_googleFillSlot("WD_MidPage_MPU1");
						</script>
					</div><p>Enter the relevant details and save. Now upload the entire contents of the downloaded WordPress folder into a directory on the server, eg, www.mywebsite.co.uk/blog.</p>
<p><strong>02 Install WordPress</strong></p>
<p><img class="alignnone size-full wp-image-1371" title="Step2" src="http://www.webdesignermag.co.uk/wp-content/uploads/2009/04/149_070_step2.jpg" alt="Step2" width="500" height="386" /></p>
<p>With all the building blocks in place for WordPress, the next step is to start the “famous five-minute installation”. Open the browser of choice and run the WordPress installation script by accessing it via the URL, eg, www.mywebsite.co.uk/blog/ wp-admin/install.php. Remember to replace the web address and subdirectory with the ones you created. This will present the Welcome screen. Enter a Blog Title and Your E-mail and press Install WordPress to begin the process. This is all there is to it. Note down the username and password and press Log In to start. When using WordPress from now on, log in via www.mywebsite.co.uk/blog/wp-login.php.</p>
<p><strong>03 Install a theme</strong></p>
<p><img class="alignnone size-full wp-image-1365" title="Step3" src="http://www.webdesignermag.co.uk/wp-content/uploads/2009/04/149_070_step3.jpg" alt="Step3" width="500" height="397" /></p>
<p>After installing WordPress, the next step is to find a theme that best matches the style you wish to use. We have included a number of free templates on the disc, but for the purpose of this tutorial we have chosen to use the Coffee Desk theme found via www.wordpress.org. Download the theme before uploading the folder to the wp-content/themes folder found in the location used when installing WordPress, ie www.mywebsite.co.uk/blog/wp-content/themes. If you wish to keep the original theme in its original state within WordPress, simply copy and paste the same theme with a new name into the folder location mentioned above. Now to get started, head to Design&gt;Themes, select the desired theme and click the Activate link to apply the chosen theme. Now when you view via the installation location, WordPress will have the new theme. Before continuing, any images that are to be applied to the new theme will need to be uploaded to the appropriate folder. Using an FTP client, upload the desired images to the images folder located at www.mywebsite.co.uk/blog/wp-content/themes/nameoftheme/images. Replace ‘nameoftheme’ with the name of the chosen theme.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.webdesignermag.co.uk/tutorials/create-your-own-wordpress-theme/feed/</wfw:commentRss>
		<slash:comments>10</slash:comments>
		</item>
	</channel>
</rss>

