<?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>Tristar Web Design &#187; WordPress</title>
	<atom:link href="http://www.webdesignlondon-tristar.co.uk/category/wordpress/feed" rel="self" type="application/rss+xml" />
	<link>http://www.webdesignlondon-tristar.co.uk</link>
	<description>Website Designed from £199</description>
	<lastBuildDate>Tue, 31 Jan 2012 09:29:03 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.1.3</generator>
		<item>
		<title>Using WordPress&#8217; Menu Area</title>
		<link>http://www.webdesignlondon-tristar.co.uk/general/using-wordpress-menu-area</link>
		<comments>http://www.webdesignlondon-tristar.co.uk/general/using-wordpress-menu-area#comments</comments>
		<pubDate>Fri, 13 Jan 2012 09:51:30 +0000</pubDate>
		<dc:creator>Anneka</dc:creator>
				<category><![CDATA[General]]></category>
		<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[Website Design London]]></category>
		<category><![CDATA[WordPress]]></category>

		<guid isPermaLink="false">http://www.webdesignlondon-tristar.co.uk/?p=3113</guid>
		<description><![CDATA[A little while ago I had a client who wanted multiple dynamic navigation areas on their site. One of these included a large footer sitemap, which was grouped with the parent name as a non-linked title. I looked around for &#8230; <a class="readmore" href="http://www.webdesignlondon-tristar.co.uk/general/using-wordpress-menu-area">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>A little while ago I had a client who wanted multiple dynamic navigation areas on their site. One of these included a large footer sitemap, which was grouped with the parent name as a non-linked title. I looked around for a while and couldn’t find any plug-in that would do this for me… </p>
<p>This is where the Menu area came in to play; although it didn’t pull in the links automatically it was a quick solution to my problem. </p>
<p>Firstly I styled up my links as normal and hard coded in the header titles for each group.</p>
<p>Then in <a href="/blog/category/wordpress/" title="wordpress">WordPress</a> I went to the Menu area and added several menus for each different category. All you need to do then is select the pages from the sidebar and it’s a simple as that, you can drag each menu item around so they are in the position you need them in.</p>
<p>The last bit is to add the code to pull in your menu items, in replacement of the links you had previously added.</p>
<pre class="brush: xml; title: ;">
&lt;p class=&quot;footer-header&quot; &gt;Category Name&lt;/p&gt;
&lt;?php wp_nav_menu(array('menu' =&gt; 'menuname1')); ?&gt;
</pre>
]]></content:encoded>
			<wfw:commentRss>http://www.webdesignlondon-tristar.co.uk/general/using-wordpress-menu-area/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Setting a placeholder image in WordPress</title>
		<link>http://www.webdesignlondon-tristar.co.uk/general/setting-a-placeholder-image-in-wordpress</link>
		<comments>http://www.webdesignlondon-tristar.co.uk/general/setting-a-placeholder-image-in-wordpress#comments</comments>
		<pubDate>Thu, 05 Jan 2012 16:10:05 +0000</pubDate>
		<dc:creator>Anneka</dc:creator>
				<category><![CDATA[General]]></category>
		<category><![CDATA[Website Design London]]></category>
		<category><![CDATA[WordPress]]></category>

		<guid isPermaLink="false">http://www.webdesignlondon-tristar.co.uk/?p=3081</guid>
		<description><![CDATA[Today I just wanted to quickly look at how you can add a placeholder image in WordPress for featured images or any images you are pulling in from WordPress. To be able to use featured images you will need to &#8230; <a class="readmore" href="http://www.webdesignlondon-tristar.co.uk/general/setting-a-placeholder-image-in-wordpress">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>Today I just wanted to quickly look at how you can add a placeholder image in <a href="/blog/category/wordpress/" title="wordpress">WordPress</a> for featured images or any images you are pulling in from WordPress. </p>
<p>To be able to use featured images you will need to activate it in the functions.php, to do this you can follow this <a href="http://www.webdesignlondon-tristar.co.uk/wordpress/multiple-featured-images-for-1-wordpress-post”" title="”Feature">blog</a>, and just add the first snippet of code provided.</p>
<p>Featured images can be used when you add a post or page and can be fed through as a thumbnail next to the excerpt of your post. On occasions you may not want to use an image, and in this instance we would want to put a placeholder image rather than having a blank space.</p>
<p>So first we need to include the php snippet which pulls in the image.</p>
<pre class="brush: xml; title: ;">
&lt;img src=&quot;&lt;?php the_field('small_image_2'); ?&gt;&quot; alt=&quot;&lt;?php the_title(); ?&gt;&quot; /&gt;
</pre>
<p>To add a placeholder image we just need to add a if statement.</p>
<pre class="brush: xml; title: ;">   &lt;?php if (get_field('small_image_2')) : ?&gt;
          &lt;img src=&quot;&lt;?php the_field('small_image_2'); ?&gt;&quot; alt=&quot;&quot; /&gt;
          &lt;?php else : ?&gt;
          &lt;img src=&quot;images/placeholder-small.jpg&quot; width=&quot;110&quot; height=&quot;110&quot; alt=&quot;&lt;?php the_title(); ?&gt;&quot; /&gt;
          &lt;?php endif; ?&gt;
</pre>
<p>This php statement is first checking to see if there is an image attached to the post and the else statement then calls in the placeholder image if there hasn&#8217;t been an image attached.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.webdesignlondon-tristar.co.uk/general/setting-a-placeholder-image-in-wordpress/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Valid WordPress Search Widget</title>
		<link>http://www.webdesignlondon-tristar.co.uk/wordpress/valid-wordpress-search-widget</link>
		<comments>http://www.webdesignlondon-tristar.co.uk/wordpress/valid-wordpress-search-widget#comments</comments>
		<pubDate>Fri, 07 Oct 2011 07:43:13 +0000</pubDate>
		<dc:creator>robert</dc:creator>
				<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[WordPress]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[wordpress]]></category>

		<guid isPermaLink="false">http://www.tristarwebdesign.co.uk/?p=2838</guid>
		<description><![CDATA[The Wordpress search widget doesn't validate due to the role attribute. Today, I will show you how to remove this by using the add_filter hook <a class="readmore" href="http://www.webdesignlondon-tristar.co.uk/wordpress/valid-wordpress-search-widget">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>You may have noticed with <a href="/blog/category/wordpress/" title="wordpress">WordPress</a>, that the search widget doesn&#8217;t validate due to the role attribute.  For example:</p>
<pre class="brush: xml; title: ;">
&lt;form role=&quot;search&quot; method=&quot;get&quot; id=&quot;searchform&quot; action=&quot;&quot;&gt;
// Form Code
&lt;/form&gt;
</pre>
<p>If you require a valid XHTML document you will need to remove this attribute by editing the get_search_form() function in the general-template.php core file. However, if you update your WordPress installation this file may get overridden.  A safer method is to add the following code to your themes functions.php file.</p>
<pre class="brush: php; title: ;">
function valid_search_form ($form) {
    return str_replace('role=&quot;search&quot; ', '', $form);
}
add_filter('get_search_form', 'valid_search_form');
</pre>
<p>What we have done here is created a new function called valid_search_form() which accepts one value.  The function does a simple string replace that removes role=&#8221;search&#8221; from the $form variable and replaces it with an empty string. </p>
<p>In order for this to work the function needs to be triggered. To do this we have used the &#8216;add_filter&#8217; hook which will force the search widget to be passed through the function valid_search_form ($form) before being displayed the users.</p>
<p>Save and upload functions.php – Now when you reload your website design and view the source code – the widget should look something like:</p>
<pre class="brush: xml; title: ;">
&lt;form method=&quot;get&quot; id=&quot;searchform&quot; action=&quot;&quot;&gt;
// Form Code
&lt;/form&gt;
</pre>
<p>Resubmit your WordPress  page to the validator and hopefully you should see a nice green bar saying &#8216;Passed&#8217;.  I hope you find this wordpress tip useful.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.webdesignlondon-tristar.co.uk/wordpress/valid-wordpress-search-widget/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Improve Searching in WordPress</title>
		<link>http://www.webdesignlondon-tristar.co.uk/wordpress/improve-searching-in-wordpress</link>
		<comments>http://www.webdesignlondon-tristar.co.uk/wordpress/improve-searching-in-wordpress#comments</comments>
		<pubDate>Thu, 21 Jul 2011 15:14:24 +0000</pubDate>
		<dc:creator>Jack</dc:creator>
				<category><![CDATA[Plugins]]></category>
		<category><![CDATA[WordPress]]></category>
		<category><![CDATA[plugins]]></category>
		<category><![CDATA[search]]></category>
		<category><![CDATA[search results]]></category>
		<category><![CDATA[wordpress]]></category>

		<guid isPermaLink="false">http://www.tristarwebdesign.co.uk/?p=2604</guid>
		<description><![CDATA[Just a quick &#8216;plug&#8217; today for a handy plugin I&#8217;ve stumbled across recently. Users like to search, so when creating a WordPress managed website, one of the first things I consider is the placement, design, and functionality of the search. &#8230; <a class="readmore" href="http://www.webdesignlondon-tristar.co.uk/wordpress/improve-searching-in-wordpress">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>Just a quick &#8216;plug&#8217; today for a handy <a href="/blog/category/wordpress/plugins/" title="plugin">plugin</a> I&#8217;ve stumbled across recently.</p>
<p>Users like to search, so when creating a <a href="/blog/category/wordpress/" title="wordpress">WordPress</a> managed website, one of the first things I consider is the placement, design, and functionality of the search.</p>
<p>By default, WordPress includes a handy <a href="/website-templates/" title="template">template</a> tag that will produce a simple but useful looking search input.</p>
<p>However, there&#8217;s one problem&#8230; WordPress searching isn&#8217;t very good. In fact, it&#8217;s actually really bad.</p>
<p>The default system in place doesn&#8217;t find the most relevant posts or pages first. Instead, it displays/orders them by the date they were uploaded (most recent first). For example, you may have a full page dedicated to the topic of the Xbox 360. However, a search query for &#8220;Xbox 360&#8243; could print back multiple results of PS3 article posts first, as long they were uploaded more recently, and have at least 1 mention of the Xbox 360 hidden somewhere in the post. Not user friendly in the slightest.</p>
<p>So, how do you go about fixing this?</p>
<p>After looking into the matter, I found a real gem of a plugin. Introducing&#8230;<a href="http://www.relevanssi.com" title="Relevanssi" target="_blank" rel="nofollow"><br />
<h2>Relevanssi</h2>
<p></a></p>
<p><img src="http://www.tristarwebdesign.co.uk/wp-content/uploads/2011/07/relevanssi.jpg" alt="Relevanssi" title="Relevanssi" width="543" height="180" class="alignnone size-full wp-image-2606" /></p>
<p>This can very easily be installed to a new WordPress build, or an existing site that&#8217;s already packed with posts and pages. Basically, I&#8217;m recommending everyone and anyone to use it.</p>
<p>Features include&#8230;</p>
<ul>
<li>Search results are ordered by relevance, not just date.</li>
<li>Search terms can be highlighted in the results, letting the user know if the page/post is exactly what they&#8217;re after.</li>
<li>Custom post types, comments, taxonomies, etc, are now all searchable.</li>
<li>&#8220;Did you mean&#8221; suggestions can be added.</li>
<li>Search results can be cached for better peformance.</li>
</ul>
<p>&#8230;the list goes on and on. Check out the plugin&#8217;s <a href="http://www.relevanssi.com/features/" title="Features and Benefits" target="_blank" rel="nofollow">features and benefits</a> page.</p>
<p>There is also a premium version for those who need extension more functionality.</p>
<p>Hopefully this fantastic plugin can help some of you out. If you have any queries feel free to ask.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.webdesignlondon-tristar.co.uk/wordpress/improve-searching-in-wordpress/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Cleaning up wp_list_pages()</title>
		<link>http://www.webdesignlondon-tristar.co.uk/wordpress/cleaning-up-wp_list_pages</link>
		<comments>http://www.webdesignlondon-tristar.co.uk/wordpress/cleaning-up-wp_list_pages#comments</comments>
		<pubDate>Fri, 10 Jun 2011 08:00:45 +0000</pubDate>
		<dc:creator>robert</dc:creator>
				<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[WordPress]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[wordpress]]></category>

		<guid isPermaLink="false">http://www.tristarwebdesign.co.uk/?p=2497</guid>
		<description><![CDATA[Today I am going to show you how to clean up the wordpress wp_list_pages() function. Lets say I wrote the following code in my web design page: &#60;ul&#62; &#60;?php wp_list_pages('title_li=); ?&#62; &#60;/ul&#62; This will print something like: &#60;ul&#62; &#60;li class=&#34;page_item &#8230; <a class="readmore" href="http://www.webdesignlondon-tristar.co.uk/wordpress/cleaning-up-wp_list_pages">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>Today I am going to show you how to clean up the <a href="/blog/category/wordpress/" title="wordpress">wordpress</a> wp_list_pages() function. Lets say I wrote the following code in my <a href="/" title="web design">web design</a> page:</p>
<pre class="brush: php; title: ;">
&lt;ul&gt;
        &lt;?php wp_list_pages('title_li=); ?&gt;
&lt;/ul&gt;
</pre>
<p>This will print something like:</p>
<pre class="brush: xml; title: ;">
&lt;ul&gt;
         &lt;li class=&quot;page_item page-item-1&quot;&gt;&lt;a href=&quot;http://www.mydomain.co.uk/&quot; title=&quot;Home&quot;&gt;Home&lt;/a&gt;&lt;/li&gt;
         &lt;li class=&quot;page_item page-item-2&quot;&gt;&lt;a href=&quot;http://www.mydomain.co.uk/about&quot; title=&quot;About&quot;&gt;About&lt;/a&gt;&lt;/li&gt;
         … and so on..
&lt;/ul&gt;
</pre>
<p>As you can see the href attribute contains the full url. This is not <a href="/blog/category/search-engine-optimisation/" title="seo">seo</a> friendly and would be better if it were /pagename.  The solution to this is to use the php string replace function. Copy and paste the following php code replacing the example domain with your full domain name. </p>
<pre class="brush: php; title: ;">
&lt;ul&gt;
	&lt;?php
	$clean_page_list = wp_list_pages('echo=0&amp;title_li=');
	$clean_page_list = str_replace('http://www.mydomain.co.uk','',$clean_page_list);
	echo $clean_page_list;
	?&gt;
&lt;/ul&gt;
</pre>
<p>As you can see from the code above, I passed in the argument &#8216;echo=0&#8242;. This is important in order to assign the wp_list_pages() function to a variable. This is because wp_list_pages() echoes the result by default, therefore, putting &#8216;echo=0&#8242; means it will return the result as a string, rather than echoing it.</p>
<p>Now navigate to your page and view the source code. You should notice that the html looks something like the below:</p>
<pre class="brush: xml; title: ;">
&lt;ul&gt;
         &lt;li class=&quot;page_item page-item-1&quot;&gt;&lt;a href=&quot;/&quot; title=&quot;Home&quot;&gt;Home&lt;/a&gt;&lt;/li&gt;
         &lt;li class=&quot;page_item page-item-2&quot;&gt;&lt;a href=&quot;/about&quot; title=&quot;About&quot;&gt;About&lt;/a&gt;&lt;/li&gt;
         … and so on..
&lt;/ul&gt;
</pre>
<p>This is a lot tidier and more SEO friendly. You could go one step further and replace the li classes but I will leave that to you guys. </p>
]]></content:encoded>
			<wfw:commentRss>http://www.webdesignlondon-tristar.co.uk/wordpress/cleaning-up-wp_list_pages/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>The Perfect WordPress Navigation</title>
		<link>http://www.webdesignlondon-tristar.co.uk/wordpress/the-perfect-wordpress-navigation</link>
		<comments>http://www.webdesignlondon-tristar.co.uk/wordpress/the-perfect-wordpress-navigation#comments</comments>
		<pubDate>Fri, 27 May 2011 09:27:01 +0000</pubDate>
		<dc:creator>Jack</dc:creator>
				<category><![CDATA[Plugins]]></category>
		<category><![CDATA[WordPress]]></category>

		<guid isPermaLink="false">http://www.tristarwebdesign.co.uk/?p=2442</guid>
		<description><![CDATA[Morning all, Naturally, when building a website CMS around WordPress, you want to make everything as dynamic as possible, meaning the website can be easily managed by the admin. If they are looking to work with the website page structure, &#8230; <a class="readmore" href="http://www.webdesignlondon-tristar.co.uk/wordpress/the-perfect-wordpress-navigation">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>Morning all,</p>
<p>Naturally, when building a website CMS around <a href="/blog/category/wordpress/" title="wordpress">WordPress</a>, you want to make everything as dynamic as possible, meaning the website can be easily managed by the admin. If they are looking to work with the website page structure, add new pages, or remove some, then it&#8217;s vital that your navigation layout is fully dynamic, virtually unbreakable, and easy to use. Here&#8217;s a handy guide to help you achieve this&#8230;</p>
<h2>Dynamically list pages</h2>
<p>Instead of hard coding in direct links to your pages, it is better practise to let WordPress do it for you. The following <a href="/website-templates/" title="template">template</a> tag and HTML&#8230;</p>
<pre class="brush: plain; title: ;">
&lt;ul id=&quot;navigation&quot;&gt;
&lt;?php wp_list_pages('title_li='); ?&gt;
&lt;/ul&gt;
</pre>
<p>&#8230;will list all the pages on your site, with an ID for easily styling. The navigation title that WordPress adds by default is also removed.</p>
<h2>Page Management</h2>
<p>Next I&#8217;ll show you an example of a Page management backend. Often people forget to utilise the power of sub pages.</p>
<p><img src="http://www.tristarwebdesign.co.uk/wp-content/uploads/2011/05/PageLayout.jpg" alt="" title="PageLayout" width="543" height="486" class="alignnone size-full wp-image-2445" /></p>
<p>To improve page management &#8211; I recommend the following two <a href="/blog/category/wordpress/plugins/" title="plugins">plugins</a>&#8230;</p>
<p><a href="http://www.get10up.com/plugins/simple-page-ordering-wordpress/" title="Simple Page Ordering" target="_blank" rel="nofollow">Simple Page Ordering</a> &#8211; The default WordPress numbered ordering system is pretty&#8230; bad. After installing this <a href="/blog/category/wordpress/plugins/" title="plugin">plugin</a>, you&#8217;ll be able to reorder your pages using a drag and drop interface. Nice and handy.</p>
<p><a href="http://wordpress.org/extend/plugins/exclude-pages/" title="Exclude Pages" target="_blank" rel="nofollow">Exclude Pages</a> &#8211; This plugin will allow you to choose which pages are displayed via WordPress template tags which list pages. The page will still be accessible, but won&#8217;t be included in the navigation.</p>
<h2>Styling the Navigation</h2>
<p>So, your navigation should now be being brought out on your WordPress website &#8211; naturally though it&#8217;s gonna need some styling up. Some drop down functionality also needs to be added for the subpages.</p>
<p>With thanks to <a href="http://www.narga.net/make-your-own-wordpress-drop-down-menu-with-css-and-jquery/" title="Narga_ target="_blank" rel="nofollow">Narga</a> for providing an excellent jQuery base, here&#8217;s the <a href="/blog/category/tutorials/" title="javascript">Javascript</a> I recommend you add to your header.</p>
<pre class="brush: plain; title: ;">
&lt;script type=&quot;text/javascript&quot;&gt;
jQuery(document).ready(function() {
//Dropdown Menu
    jQuery(&quot;ul#navigation &gt; li &gt; ul&quot;).css({display: &quot;none&quot;}); // Opera Fix
	jQuery(&quot;ul#navigation li a&quot;).hover(function() { //When trigger is clicked...

        // Dropdown Effect
        jQuery(this).parent().find(&quot;ul.children&quot;).show(0); // Drop down the subnav on hover
		jQuery(this).parent().find(&quot;ul#navigation li&quot;).addClass(&quot;hover&quot;); //Drop down the subnav on hover
        jQuery(this).parent().hover(function() {
        }, function(){
            jQuery(this).parent().find(&quot;ul.children&quot;).hide(0); //When the mouse hovers out of the subnav, move it back up
        });
    });
})
&lt;/script&gt;
</pre>
<p>Note, this Javascript won&#8217;t support 3rd level pages, but could easily be modified to do so.</p>
<p>And here&#8217;s the CSS to get the drop downs working. Obviously you&#8217;ll need to add some more of your own styling to make it look pretty.</p>
<pre class="brush: plain; title: ;">
#navigation li ul.children 						{ z-index: 9999; list-style: none outside none; position: absolute; left: 0; top: 47px; margin: 0; padding: 0; display: none; float: left; }
#navigation li ul.children li 					{ margin: 0; padding: 0; clear: both; }
#navigation li ul.children li a 					{ float: left; }
#navigation li ul.children li a:hover				{  }
</pre>
<p>With some of my own styling, I produced a menu that looks something like this&#8230;</p>
<p><img src="http://www.tristarwebdesign.co.uk/wp-content/uploads/2011/05/DropDownMenu.jpg" alt="" title="DropDownMenu" width="543" height="204" class="alignnone size-full wp-image-2448" /></p>
<p>Hopefully this post proves to be fairly useful&#8230; if you have any questions feel free to add a comment below!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.webdesignlondon-tristar.co.uk/wordpress/the-perfect-wordpress-navigation/feed</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Make Your Own WordPress Lightbox Gallery</title>
		<link>http://www.webdesignlondon-tristar.co.uk/wordpress/wordpress-lightbox-gallery</link>
		<comments>http://www.webdesignlondon-tristar.co.uk/wordpress/wordpress-lightbox-gallery#comments</comments>
		<pubDate>Thu, 26 May 2011 09:35:43 +0000</pubDate>
		<dc:creator>James</dc:creator>
				<category><![CDATA[WordPress]]></category>
		<category><![CDATA[gallery]]></category>
		<category><![CDATA[lightbox]]></category>
		<category><![CDATA[plugins]]></category>
		<category><![CDATA[wordpress]]></category>

		<guid isPermaLink="false">http://www.tristarwebdesign.co.uk/?p=2391</guid>
		<description><![CDATA[I&#8217;ve said it before, and I&#8217;ll say it again &#8211; Attachments is a great WordPress plugin. In this post I am going to put it to good use and go through how you can use it to create a gallery &#8230; <a class="readmore" href="http://www.webdesignlondon-tristar.co.uk/wordpress/wordpress-lightbox-gallery">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve said it before, and I&#8217;ll say it again &#8211; <a href="http://wordpress.org/extend/plugins/attachments/">Attachments</a> is a great <a href="/blog/category/wordpress/" title="wordpress">WordPress</a> <a href="/blog/category/wordpress/plugins/" title="plugin">plugin</a>. In this post I am going to put it to good use and go through how you can use it to create a gallery page that utilises lightbox functionality and thumbnails in your latest <a href="/" title="web design">web design</a>. Image examples of this page can be seen below.</p>
<p><img src="http://www.tristarwebdesign.co.uk/wp-content/uploads/2011/05/thumbnails.jpg" alt="" title="thumbnails" width="543" height="351" class="aligncenter size-full wp-image-2419" /></p>
<p><img src="http://www.tristarwebdesign.co.uk/wp-content/uploads/2011/05/lightbox.jpg" alt="" title="lightbox" width="543" height="363" class="aligncenter size-full wp-image-2420" /></p>
<p>So, let&#8217;s begin:</p>
<h2>Step One &#8211; Install plugins</h2>
<p>First of all you will need to install the attachments plugin, as well as a lightbox plugin.</p>
<ol>
<li>Navigate to http://www.you-site.com/wp-admin</li>
<li>Log in and click the <strong><a href="/blog/category/wordpress/plugins/" title="plugins">Plugins</a></strong> tab</li>
<li>Click add new and search for &#8220;<strong>Attachments</strong>&#8220;</li>
<li>It should be the first result, but if not, it was created by <em>Jonathan Christopher</em></li>
<li>Click <strong>Install now</strong>, and then <strong>Activate Plugin</strong></li>
</ol>
<p>The attachments plugin is now installed. I will explain how to use it and where to find it shortly.</p>
<p>The next step is to install a lightbox plugin, alternatively, you can manually set up a lightbox script. For ease of explanation, I will install the <strong>Lightbox 2</strong> plugin.</p>
<p>Follow the instructions above but install <strong>Lightbox 2</strong> by <em>Lokesh Dhakar</em>. This plugin has its own settings, but for now we will just use the default settings.</p>
<p>Go forth, to step 2!</p>
<h2>Step Two &#8211; Create Your Gallery Page</h2>
<p>Now we need a page. In order to do this you will need to follow these steps:</p>
<ol>
<li>Navigate to http://www.you-site.com/wp-admin</li>
<li>Click <strong>Pages</strong>, and then <strong>Add New</strong></li>
<li>All you need to do is give your page a title and publish it. We will call this page <em>Gallery</em></li>
</ol>
<p>By calling our page Gallery, a slug of &#8220;<em>gallery</em>&#8221; is created. This means we can create a custom <a href="/website-templates/" title="template">template</a> in our theme folder (I&#8217;m using TwentyTen), called <em>page-gallery.php</em>. Our gallery page will default to use this page template, over the standard page.php in our theme folder.</p>
<p>To create the page-gallery.php page, do the following:</p>
<ol>
<li>Open your theme folder via FTP.</li>
<li>Duplicate <em>page.php</em> and rename it <em>page-gallery.php</em></li>
<li>Done!</li>
</ol>
<p>So, we&#8217;ve installed our plugins, created a WordPress page and given said page its own custom template. We&#8217;re doing very well, very well indeed!</p>
<h2>Step Three &#8211; Add our Image Sizes</h2>
<p>You will now need to add two image sizes. To do this, follow these steps:</p>
<ol>
<li>Open <em>functions.php</em> from your theme folder</li>
<li>Scroll to the bottom, and before the closing php tag (?&gt;) (or just at the end of the document if there isn&#8217;t one) add the following lines:
<pre class="brush: php; title: ;">add_image_size('gallery-thumb', 100, 100, true);
add_image_size('gallery-full', 800, 9999);</pre>
</li>
<li>This will add two new thumbnail sizes. The first is a cropped 100px x 100px square. The second is 800px wide and 9999px tall; this means it will just have a max-width of 800px, but no real height value.</li>
<li>Save your functions.php file and upload it.</li>
</ol>
<h2>Step Four &#8211; Add some Images to Our Gallery Page</h2>
<p>Now, the fun part (one of the fun parts, anyway). Navigate to your Gallery Page in the WordPress admin area. Once you have it open, you will notice there is a new &#8220;postbox&#8221;, called <em>Attachments</em>.</p>
<p><img src="http://www.tristarwebdesign.co.uk/wp-content/uploads/2011/05/attachments.jpg" alt="" title="Attachments" width="543" height="82" class="aligncenter size-full wp-image-2396" /></p>
<p>There is only button available, click it! You will be greeted with a familiar sight &#8211; but don&#8217;t be fooled, it is slightly different.</p>
<p><img src="http://www.tristarwebdesign.co.uk/wp-content/uploads/2011/05/attach-popup.jpg" alt="" title="attach-popup" width="543" height="273" class="aligncenter size-full wp-image-2399" /></p>
<p>Click <strong>Select Files</strong> and choose the images you want to upload. You can select more than one at a time. Click <strong>Open</strong> and wait for the images to upload and &#8220;crunch&#8221;.</p>
<p>Once the images are uploaded, you will be able to click <strong>Show</strong> or <strong>Hide</strong>. After clicking <strong>Show</strong>, you will see the following options:</p>
<p><img src="http://www.tristarwebdesign.co.uk/wp-content/uploads/2011/05/attach-show.jpg" alt="" title="attach-show" width="543" height="593" class="aligncenter size-full wp-image-2401" /></p>
<p>As you can see, there are two fields &#8211; <strong>Title</strong> and <strong>Caption</strong>. Both of these can be used an brought out in our gallery, but for this particular <a href="/blog/category/tutorials/" title="tutorial">tutorial</a> I will only be using the title field. Enter a title for your image; this will be shown in the lightbox once you click on the thumbnail in the gallery.</p>
<p>Once you have entered a title, click <strong>Attach</strong>. There aren&#8217;t any confirmations that it has attached, but it will have happened in the background. Once you have attached all the images you want, you can just click the &#8220;x&#8221;, top right.</p>
<p>Your Attachments postbox should now be filled with the images you have just uploaded and attached.</p>
<p><img src="http://www.tristarwebdesign.co.uk/wp-content/uploads/2011/05/attached1.jpg" alt="" title="attached" width="543" height="230" class="aligncenter size-full wp-image-2407" /></p>
<p>I am assuming you have more than one image in your gallery. You will notice that next to each attachment (on the left), there are three grey lines &#8211; using these you can click, hold and drag, to re-order your gallery items.</p>
<h2>Step Five &#8211; Create the loop</h2>
<p>Now that we have our images in place, we will need to loop through them and spit them out in our <em>page-gallery.php</em> template.</p>
<p>Open <em>page-gallery.php</em>. As it is a custom template I find it better to have the loop in the template, rather than using get_template_part. So if needed, replace:</p>
<pre class="brush: php; title: ;">&lt;?php
/* Run the loop to output the page.
 * If you want to overload this in a child theme then include a file
 * called loop-page.php and that will be used instead.
 */
get_template_part( 'loop', 'page' );
?&gt;</pre>
<p>With:</p>
<pre class="brush: php; title: ;">&lt;?php if ( have_posts() ) while ( have_posts() ) : the_post(); ?&gt;

	&lt;div id=&quot;post-&lt;?php the_ID(); ?&gt;&quot; &lt;?php post_class(); ?&gt;&gt;
		&lt;?php if ( is_front_page() ) { ?&gt;
			&lt;h2 class=&quot;entry-title&quot;&gt;&lt;?php the_title(); ?&gt;&lt;/h2&gt;
		&lt;?php } else { ?&gt;
			&lt;h1 class=&quot;entry-title&quot;&gt;&lt;?php the_title(); ?&gt;&lt;/h1&gt;
		&lt;?php } ?&gt;

		&lt;div class=&quot;entry-content&quot;&gt;
			&lt;?php the_content(); ?&gt;
			&lt;?php wp_link_pages( array( 'before' =&gt; '&lt;div class=&quot;page-link&quot;&gt;' . __( 'Pages:', 'twentyten' ), 'after' =&gt; '&lt;/div&gt;' ) ); ?&gt;
			&lt;?php edit_post_link( __( 'Edit', 'twentyten' ), '&lt;span class=&quot;edit-link&quot;&gt;', '&lt;/span&gt;' ); ?&gt;
		&lt;/div&gt;&lt;!-- .entry-content --&gt;
	&lt;/div&gt;&lt;!-- #post-## --&gt;

	&lt;?php comments_template( '', true ); ?&gt;

&lt;?php endwhile; // end of the loop. ?&gt;</pre>
<p>Now we will need to add our attachments loop. Just above:
<pre class="brush: php; title: ;">&lt;?php comments_template( '', true ); ?&gt;</pre>
<p> add the following code:</p>
<pre class="brush: php; title: ;">&lt;ul id=&quot;gallery&quot;&gt;
    &lt;?php
      $attachments = attachments_get_attachments();
      $total_attachments = count($attachments);
      if( $total_attachments &gt; 0 )
      {
        for ($i=0; $i &lt; $total_attachments; $i++)
        {
          $url =  wp_get_attachment_image( $attachments[$i]['id'], 'gallery-thumb');
          $lrgurl = wp_get_attachment_image_src( $attachments[$i]['id'], 'gallery-full' );
          echo '&lt;li&gt;&lt;a href=&quot;'.$lrgurl[0].'&quot; rel=&quot;lightbox[our-gallery]&quot; title=&quot;'.$attachments[$i]['title'].'&quot;&gt;' . $url . '&lt;/a&gt;&lt;/li&gt;';
        }
      }
    ?&gt;
&lt;/ul&gt;</pre>
<p>So now your <em>page-gallery.php</em> loop area will look like this:</p>
<pre class="brush: php; title: ;">&lt;?php if ( have_posts() ) while ( have_posts() ) : the_post(); ?&gt;

	&lt;div id=&quot;post-&lt;?php the_ID(); ?&gt;&quot; &lt;?php post_class(); ?&gt;&gt;
		&lt;?php if ( is_front_page() ) { ?&gt;
			&lt;h2 class=&quot;entry-title&quot;&gt;&lt;?php the_title(); ?&gt;&lt;/h2&gt;
		&lt;?php } else { ?&gt;
			&lt;h1 class=&quot;entry-title&quot;&gt;&lt;?php the_title(); ?&gt;&lt;/h1&gt;
		&lt;?php } ?&gt;

		&lt;div class=&quot;entry-content&quot;&gt;
			&lt;?php the_content(); ?&gt;
			&lt;?php wp_link_pages( array( 'before' =&gt; '&lt;div class=&quot;page-link&quot;&gt;' . __( 'Pages:', 'twentyten' ), 'after' =&gt; '&lt;/div&gt;' ) ); ?&gt;
			&lt;?php edit_post_link( __( 'Edit', 'twentyten' ), '&lt;span class=&quot;edit-link&quot;&gt;', '&lt;/span&gt;' ); ?&gt;
		&lt;/div&gt;&lt;!-- .entry-content --&gt;
	&lt;/div&gt;&lt;!-- #post-## --&gt;

	&lt;ul id=&quot;gallery&quot;&gt;
		&lt;?php
		  $attachments = attachments_get_attachments();
		  $total_attachments = count($attachments);
		  if( $total_attachments &gt; 0 )
		  {
			for ($i=0; $i &lt; $total_attachments; $i++)
			{
			  $url =  wp_get_attachment_image( $attachments[$i]['id'], 'gallery-thumb');
			  $lrgurl = wp_get_attachment_image_src( $attachments[$i]['id'], 'gallery-full' );
			  echo '&lt;li&gt;&lt;a href=&quot;'.$lrgurl[0].'&quot; rel=&quot;lightbox[our-gallery]&quot; title=&quot;'.$attachments[$i]['title'].'&quot;&gt;' . $url . '&lt;/a&gt;&lt;/li&gt;';
			}
		  }
		?&gt;
	&lt;/ul&gt;

	&lt;?php comments_template( '', true ); ?&gt;

&lt;?php endwhile; ?&gt;</pre>
<p>The above code will loop through all the attachments on your Gallery page, and spit all the thumbnails out in list items. Each thumbnail is clickable and has a rel attribut of <em>lightbox[our-gallery]</em>. This rel attribute defines a set of images. Upload the file and use your web browser to navigate to http://www.your-domain.com/gallery, you should see a list of the image thumbnails that you added earlier. To quickly style it up, add the following CSS to your <em>style.css</em> file in your theme folder:</p>
<pre class="brush: css; title: ;">#gallery {
    margin:0 -10px;
    padding:0;
    overflow:hidden;
    width:360px;
}

#gallery li {
    width:100px;
    float:left;
    display:inline;
    height:100px;
    margin:8px;
    padding:0;
    -moz-box-shadow: 0 0 5px #888888; /* Firefox */
    -webkit-box-shadow: 0 0 5px #888888; /* Safari, Chrome */
    box-shadow: 0 0 5px #888888; /* CSS3 */
    border: 2px solid #FFFFFF;
}</pre>
<p>That&#8217;s it! When you click one of the thumbnails now, it should open in a lightbox which you can then use to navigate through the rest of your images. You can also go into the lightbox settings and change the theme of the lightbox.</p>
<h2>Conclusion</h2>
<p>So, you&#8217;ve created your own gallery! The great thing about this is that you can completely customise this gallery, specific to your website. The attachments plugin comes with a variety of data that you can bring back, take a look at the available tags in this loop:</p>
<pre class="brush: php; title: ;">&lt;?php
  if( function_exists( 'attachments_get_attachments' ) )
  {
    $attachments = attachments_get_attachments();
    $total_attachments = count( $attachments );
    if( $total_attachments ) : ?&gt;
      &lt;ul&gt;
      &lt;?php for( $i=0; $i&lt;$total_attachments; $i++ ) : ?&gt;
        &lt;li&gt;&lt;?php echo $attachments[$i]['title']; ?&gt;&lt;/li&gt;
        &lt;li&gt;&lt;?php echo $attachments[$i]['caption']; ?&gt;&lt;/li&gt;
        &lt;li&gt;&lt;?php echo $attachments[$i]['id']; ?&gt;&lt;/li&gt;
        &lt;li&gt;&lt;?php echo $attachments[$i]['location']; ?&gt;&lt;/li&gt;
        &lt;li&gt;&lt;?php echo $attachments[$i]['mime']; ?&gt;&lt;/li&gt;
      &lt;?php endfor; ?&gt;
      &lt;/ul&gt;
    &lt;?php endif; ?&gt;
&lt;?php } ?&gt;</pre>
<p>As you can see, you can bring out the title, caption, image ID, image location, and the mime type. There is a lot you can do with all that data!</p>
<p>Anyway, I hope you enjoyed it &#8211; let me know how you get on, and link me to some galleries that you&#8217;ve made using this tutorial.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.webdesignlondon-tristar.co.uk/wordpress/wordpress-lightbox-gallery/feed</wfw:commentRss>
		<slash:comments>7</slash:comments>
		</item>
		<item>
		<title>WordPress query_posts Parameters</title>
		<link>http://www.webdesignlondon-tristar.co.uk/wordpress/wordpress-query_posts-parameters</link>
		<comments>http://www.webdesignlondon-tristar.co.uk/wordpress/wordpress-query_posts-parameters#comments</comments>
		<pubDate>Thu, 05 May 2011 13:07:31 +0000</pubDate>
		<dc:creator>James</dc:creator>
				<category><![CDATA[WordPress]]></category>
		<category><![CDATA[parameters]]></category>
		<category><![CDATA[query_posts]]></category>
		<category><![CDATA[wordpress]]></category>

		<guid isPermaLink="false">http://www.tristarwebdesign.co.uk/?p=2216</guid>
		<description><![CDATA[Gary (in the comments) has linked to the WP_Query function, where all the parameters for query_posts can be found &#8211; WP_Query. I have removed the list from here. Someone seems to have edited the codex page for WordPress&#8217; query_posts function. &#8230; <a class="readmore" href="http://www.webdesignlondon-tristar.co.uk/wordpress/wordpress-query_posts-parameters">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p><strong>Gary (in the comments) has linked to the WP_Query function, where all the parameters for query_posts can be found &#8211; <a href="http://codex.wordpress.org/Function_Reference/WP_Query#Parameters">WP_Query</a>. I have removed the list from here.</strong></p>
<p>Someone seems to have edited the codex page for <a href="http://codex.wordpress.org/Function_Reference/query_posts">WordPress&#8217; query_posts function</a>. I don&#8217;t know about you guys, but that was one of the most common pages I looked at on the <a href="/blog/category/wordpress/" title="wordpress">WordPress</a> Codex, and the new page seems to have stripped out all the useful parameters. As such, I have recompiled the majority of them here by visiting the <a href="http://web.archive.org/">Wayback Machine</a>. If anyone has any issues with this, do let me know.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.webdesignlondon-tristar.co.uk/wordpress/wordpress-query_posts-parameters/feed</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>HTML5 WordPress Themes &amp; Frameworks&#8230;</title>
		<link>http://www.webdesignlondon-tristar.co.uk/wordpress/html5-wordpress-themes-frameworks</link>
		<comments>http://www.webdesignlondon-tristar.co.uk/wordpress/html5-wordpress-themes-frameworks#comments</comments>
		<pubDate>Thu, 05 May 2011 10:48:38 +0000</pubDate>
		<dc:creator>Jack</dc:creator>
				<category><![CDATA[WordPress]]></category>
		<category><![CDATA[html5]]></category>
		<category><![CDATA[themes]]></category>
		<category><![CDATA[wordpress]]></category>
		<category><![CDATA[wordpress frameworks]]></category>
		<category><![CDATA[wordpress themes]]></category>

		<guid isPermaLink="false">http://www.tristarwebdesign.co.uk/?p=2189</guid>
		<description><![CDATA[Developing WordPress themes is a lot easier these days. With the variety of theme development frameworks available to work from, we can now spend less time producing the default/standard code that WordPress needs to function, and more time designing and &#8230; <a class="readmore" href="http://www.webdesignlondon-tristar.co.uk/wordpress/html5-wordpress-themes-frameworks">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>Developing <a href="/blog/category/wordpress/" title="wordpress">WordPress</a> themes is a lot easier these days. With the variety of theme development frameworks available to work from, we can now spend less time producing the default/standard code that WordPress needs to function, and more time designing and developing the actual website we want to create. No longer do we need to type endless lines of repetitive code, or browsing the WordPress codex for hours on end, looking for functions we require.</p>
<p>While it is always worth having the knowledge of building a theme from the ground up (yes, it is worth trying this, it&#8217;s the best way of learning what each WordPress function/<a href="/website-templates/" title="template">template</a> tag does), it&#8217;s generally accepted that using a theme framework is the best way of starting your new WordPress project.</p>
<p>There are a wide variety of different frameworks out there &#8211; notable frameworks include the default WordPress theme <a href="http://2010dev.wordpress.com/" target="_blank" rel="nofollow" title="TwentyTen">TwentyTen</a>, the awesome blank canvas from Elliot Jay Stocks known as <a href="http://starkerstheme.com/" target="_blank" rel="nofollow" title="Starkers">Starkers</a>, and the powerful <a href="http://themehybrid.com/hybrid-core" target="_blank" rel="nofollow" title="Hybrid Core">Hybrid Core</a>.</p>
<p>Some developers prefer to work with a blank framework (like Starkers), or use frameworks with built in &#8220;bespoke&#8221; functionality (like Hybrid) that may suit a particular project. For the majority of my websites, I&#8217;ll begin with a blank canvas framework, with my theme of choice being Starkers.</p>
<p>However, with the web now ready to accept HTML5 a whole lot more, I&#8217;ve recently been on the hunt for HTML5 frameworks. Here&#8217;s a round up of the best (in no particular order)&#8230;<a href="http://www.twentytenfive.com/" target="_blank" rel="nofollow" title="Twenty Ten Five"><br />
<h2>1. Twenty Ten Five</h2>
<p></a></p>
<p><a href="http://www.twentytenfive.com/" target="_blank" rel="nofollow" title="Twenty Ten Five"><img src="http://www.tristarwebdesign.co.uk/wp-content/uploads/2011/05/1TwentyTenFive.jpg" alt="Twenty Ten Five" title="Twenty Ten Five" width="543" height="180" class="alignnone size-full wp-image-2193" /></a></p>
<p>Despite including a HTML5 doctype, Twenty Ten doesn&#8217;t offer much HTML5 markup. Richard Shephard has made the effort to change that. Check out Twenty Ten Five for a fully HTML5 developed version of the Twenty Ten theme we know and love.<a href="http://html5reset.org/#wordpress" target="_blank" rel="nofollow" title="HTML5 Reset"><br />
<h2>2. HTML5 Reset (WordPress)</h2>
<p></a></p>
<p><a href="http://html5reset.org/#wordpress" target="_blank" rel="nofollow" title="HTML5 Reset"><img src="http://www.tristarwebdesign.co.uk/wp-content/uploads/2011/05/2HTML5Reset.jpg" alt="HTML5 Reset" title="HTML5 Reset" width="543" height="180" class="alignnone size-full wp-image-2194" /></a></p>
<p>HTML5 Reset is a clever collection of files, perfect for starting new HTML5 projects. A WordPress theme/framework is also available. It makes of awesome HTML5 markup (as you&#8217;d expect), browser specific css (e.g. &#8220;.ie body&#8221;), and both Modernizr and Analytics are built in. Sound good?<a href="http://www.rootstheme.com/" target="_blank" rel="nofollow" title="Roots"><br />
<h2>3. Roots</h2>
<p></a></p>
<p><a href="http://www.rootstheme.com/" target="_blank" rel="nofollow" title="Roots"><img src="http://www.tristarwebdesign.co.uk/wp-content/uploads/2011/05/3Roots.jpg" alt="Roots WordPress" title="Roots WordPress" width="543" height="180" class="alignnone size-full wp-image-2195" /></a></p>
<p>The &#8220;Roots&#8221; theme offers some lovely clean HTML5 microformat markup, a Boilerprint base, and also some cool customisation with the 960 grid system. <a href="http://nathanstaines.com/archive/starkers-html5" target="_blank" rel="nofollow" title="Starkers HTML5"><br />
<h2>4. Starkers (HTML5 Version)</h2>
<p></a></p>
<p><a href="http://nathanstaines.com/archive/starkers-html5" target="_blank" rel="nofollow" title="Starkers HTML5"><img src="http://www.tristarwebdesign.co.uk/wp-content/uploads/2011/05/4Starkers.jpg" alt="Starkers HTML5" title="Starkers HTML5" width="543" height="180" class="alignnone size-full wp-image-2196" /></a></p>
<p>Like Twenty Ten, Starkers includes a HTML5 doctype, but no real HTML5 markup. Nathan Staines has taken the best blank canvas around, and introduced plenty of HTML5 goodness. <a href="http://whiteboardframework.com/" target="_blank" rel="nofollow" title="Whiteboard"><br />
<h2>5. Whiteboard</h2>
<p></a></p>
<p><a href="http://whiteboardframework.com/" target="_blank" rel="nofollow" title="Whiteboard"><img src="http://www.tristarwebdesign.co.uk/wp-content/uploads/2011/05/5Whiteboard.jpg" alt="Whiteboard Theme" title="Whiteboard Theme" width="543" height="180" class="alignnone size-full wp-image-2197" /></a></p>
<p>Probably my personal favourite at the moment&#8230; The Whiteboard framework&#8217;s biggest feature is it&#8217;s fully responsive layout (perfect for mobile and tablet viewing). However, it&#8217;s HTML5 markup isn&#8217;t the best, and you may find yourself redoing a fair bit of code. Your choice!<a href="http://themble.com/bones/" target="_blank" rel="nofollow" title="Bones"><br />
<h2 style="margin-bottom: 3px;">6. Bones</h2>
<p></a><em>*Reader Recommendation</em></p>
<p><a href="http://themble.com/bones/" target="_blank" rel="nofollow" title="Bones"><img src="http://www.tristarwebdesign.co.uk/wp-content/uploads/2011/05/6Bones.jpg" alt="Bones" title="Bones" width="543" height="180" class="alignnone size-full wp-image-2211" /></a></p>
<p>Recommended by JSEL in the comments below, this is a development theme that has somehow escaped me! Upon inspection, it looks pretty amazing. It&#8217;s been built with HTML5 boilerplate, has 960 grid compatibility, built in functions and post types have been included, and the HTML5 markup looks very tidy. I&#8217;ll be trying it out&#8230;</p>
<h2>Conclusion</h2>
<p>As you all know, I&#8217;m a big believer in HTML5, so in terms of WordPress development, these frameworks and themes are what I&#8217;m switching my attention to. If you haven&#8217;t had much experience with HTML5, I recommend you check out my previous <a href="http://www.tristarwebdesign.co.uk/blog/general/developing-html5-and-css3-layouts/" title="HTML5 Tutorial">HTML5 Template Building</a> <a href="/blog/" title="blog">blog</a>, before working with the markup in WordPress!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.webdesignlondon-tristar.co.uk/wordpress/html5-wordpress-themes-frameworks/feed</wfw:commentRss>
		<slash:comments>11</slash:comments>
		</item>
		<item>
		<title>Top 10 Best WordPress Plugins</title>
		<link>http://www.webdesignlondon-tristar.co.uk/wordpress/top-10-best-wordpress-plugins</link>
		<comments>http://www.webdesignlondon-tristar.co.uk/wordpress/top-10-best-wordpress-plugins#comments</comments>
		<pubDate>Thu, 28 Apr 2011 16:07:42 +0000</pubDate>
		<dc:creator>James</dc:creator>
				<category><![CDATA[Plugins]]></category>
		<category><![CDATA[WordPress]]></category>
		<category><![CDATA[best wordpress plugins]]></category>
		<category><![CDATA[plugins]]></category>
		<category><![CDATA[wordpress]]></category>

		<guid isPermaLink="false">http://www.tristarwebdesign.co.uk/?p=2164</guid>
		<description><![CDATA[There are so many plugins available these days that it&#8217;s hard to decide which ones are the best. The following is a list of my top 10 best WordPress plugins &#8211; definitely not in order! 1. CMS Press CMS Press &#8230; <a class="readmore" href="http://www.webdesignlondon-tristar.co.uk/wordpress/top-10-best-wordpress-plugins">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>There are so many <a href="/blog/category/wordpress/plugins/" title="plugins">plugins</a> available these days that it&#8217;s hard to decide which ones are the best. The following is a list of my top 10 best <a href="/blog/category/wordpress/" title="wordpress">WordPress</a> plugins &#8211; definitely not in order!</p>
<h2>1. CMS Press</h2>
<p>CMS Press is a really good <a href="/blog/category/wordpress/plugins/" title="plugin">plugin</a> that allows you to create custom post types with ease. In under 5 minutes you could have set up a variety of custom post types with a lot of options!</p>
<p>The great thing about this plugin is it allows you to choose the permalink paths for each custom post &#8211; just make sure you tell your custom post type to be <em>publicly queryable</em>.</p>
<p><a href="http://wordpress.org/extend/plugins/cms-press/" class="green_btn"><span>Get CMS Press »</span></a></p>
<h2>2. Verve Meta Boxes</h2>
<p>Verve Meta Boxes goes hand in hand with CMS Press on almost all WordPress sites I build. As long as your custom post type has <em>custom options</em> enabled, then you can add an array of meta boxes to each custom post type. This allows you to create your own input fields, drop down options, check boxes, file uploads and more &#8211; and the final result is truly user friendly!</p>
<p><a href="http://wordpress.org/extend/plugins/verve-meta-boxes/" class="green_btn"><span>Get Verve Meta Boxes »</span></a></p>
<h2>3. All in One SEO Pack</h2>
<p>This plugin is great for optimising your WordPress website. It has a huge amount of options, but offers a lot of great <a href="/blog/category/search-engine-optimisation/" title="seo">SEO</a> techniques by just using the default settings.</p>
<p><a href="http://wordpress.org/extend/plugins/all-in-one-seo-pack/" class="green_btn"><span>Get All in One SEO Pack »</span></a></p>
<h2>4. Admin Menu Editor</h2>
<p>This little plugin allows you to completely modify the sidebar menu in your WordPress admin panel. You can add new items, dividers, edit existing items, change icons, change permissions and much more! Just get it.</p>
<p><a href="http://wordpress.org/extend/plugins/admin-menu-editor/" class="green_btn"><span>Get Admin Menu Editor »</span></a></p>
<h2>5. Shareaholic</h2>
<p>I&#8217;m sure everyone has seen this before, but what you probably don&#8217;t know is the amount of information it offers you in the back-end. You can view stats to see how many people have used the social links &#8211; it is a great tool for discovering your most interesting content.</p>
<p><a href="http://wordpress.org/extend/plugins/sexybookmarks/" class="green_btn"><span>Get Shareaholic »</span></a></p>
<h2>6. Contact Form 7</h2>
<p>Contact form 7 is an awesome contact form plugin for WordPress. It is really simple to install and use and offers some pretty nice jQuery validation (once you style it up properly!)</p>
<p><a href="http://wordpress.org/extend/plugins/contact-form-7/" class="green_btn"><span>Get Contact Form 7 »</span></a></p>
<h2>7. Really Simple Captcha</h2>
<p>If you are using contact form 7, then you will most definitely need to try out the Really Simple Captcha plugin. This adds a 4 letter captcha image to your contact form, that you can style in a variety of ways; including, background colour, foreground colour and size.</p>
<p><a href="http://wordpress.org/extend/plugins/really-simple-captcha/" class="green_btn"><span>Get Really Simple Captcha »</span></a></p>
<h2>8. Attachments</h2>
<p>The attachments plugin is truly great. It allows you to add attachments to any post type, whether you are looking to attach an image, PDF, or video &#8211; this plugin seems to do it all!</p>
<p>I have found it is a great way of creating a simple, per-page, image gallery system.</p>
<p><a href="http://wordpress.org/extend/plugins/attachments/" class="green_btn"><span>Get Attachments »</span></a></p>
<h2>9. Google XML Sitemap</h2>
<p>As I am sure you have gathered, this plugin creates an XML sitemap of your site, which is then submitted to the major search engines, including <a href="http://www.google.co.uk/" rel='nofollow'  title="google">Google</a>. It makes managing your sitemap really simple &#8211; so it is a must have.</p>
<p><a href="http://wordpress.org/extend/plugins/google-sitemap-generator/" class="green_btn"><span>Get Google XML Sitemap »</span></a></p>
<h2>10. Regenerate Thumbnails</h2>
<p>I&#8217;ve come across this problem many times before; you add a new thumbnail size to your WordPress site, only to find your existing thumbnails don&#8217;t seem to pick up the new size. This is where the Regenerate Thumbnails plugin comes in use! With the click of a button it will regenerate all your thumbnail images, and create them in all the different sizes you have activated in your functions.php file.</p>
<p><a href="http://wordpress.org/extend/plugins/regenerate-thumbnails/" class="green_btn"><span>Get Regenerate Thumbnails »</span></a></p>
<h2>Bonus Plugin! My FTP</h2>
<p>One more &#8211; My FTP. This plugin acts as an FTP client, to be used through WordPress&#8217; back-end. It takes on the owner permissions of the server, rather than a normal FTP user, and can often allow you to delete or edit files that can&#8217;t be accessed as a normal FTP user.</p>
<p><a href="http://wordpress.org/extend/plugins/myftp/" class="green_btn"><span>Get My FTP »</span></a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.webdesignlondon-tristar.co.uk/wordpress/top-10-best-wordpress-plugins/feed</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
	</channel>
</rss>

