<?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; hack</title>
	<atom:link href="http://www.webdesignlondon-tristar.co.uk/tag/hack/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>Custom Header Tag for WordPress</title>
		<link>http://www.webdesignlondon-tristar.co.uk/general/custom-header-tag-for-wordpress</link>
		<comments>http://www.webdesignlondon-tristar.co.uk/general/custom-header-tag-for-wordpress#comments</comments>
		<pubDate>Tue, 03 Nov 2009 20:49:03 +0000</pubDate>
		<dc:creator>James</dc:creator>
				<category><![CDATA[General]]></category>
		<category><![CDATA[Website Design London]]></category>
		<category><![CDATA[WordPress]]></category>
		<category><![CDATA[custom]]></category>
		<category><![CDATA[hack]]></category>
		<category><![CDATA[wordpress]]></category>

		<guid isPermaLink="false">http://www.kemped.com/?p=1</guid>
		<description><![CDATA[As brilliant as I think WordPress is I do feel that there are a few features that do need to be addressed. One of the big areas of SEO that I feel WordPress lacks is the simple ability to use &#8230; <a class="readmore" href="http://www.webdesignlondon-tristar.co.uk/general/custom-header-tag-for-wordpress">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p><a title="Custom Header Tag for WordPress" href="/2009/11/custom-header-tag-for-wordpress/"><img class="alignright size-thumbnail wp-image-157" title="custom wordpress header tag" src="/wp-content/uploads/2009/11/wordpress-logo-150x150.png" alt="" width="150" height="150" /></a>As brilliant as I think <a href="/blog/category/wordpress/" title="wordpress">WordPress</a> is I do feel that there are a few  features that do need to be addressed. One of the big areas of <a href="/blog/category/search-engine-optimisation/" title="seo">SEO</a> that I  feel WordPress lacks is the simple ability to use custom H tags (H1, H2  etc&#8230;), I&#8217;m hoping that this might be addressed in the new 3.0 version of WordPress soon to be released.</p>
<p>The H1 tag is arguably a very big part of SEO when it comes to  inserting keywords into a web page so surely it makes sense to be able  to choose what the tag itself says.</p>
<p>With the help of the custom fields however there is an easy way:</p>
<p>Find: (in your page.php for example)</p>
<pre class="brush: php; title: ;">&lt;h1&gt;&lt;?php the_title(); ?&gt;&lt;/h1&gt;</pre>
<p>And replace with:<strong></strong></p>
<pre class="brush: php; title: ;">&lt;h1&gt;&lt;?php $thisPost = $post -&gt; ID; if  (get_post_meta($thisPost, changeH1, true) !=null)
{ echo (get_post_meta($thisPost, changeH1, true)); }
else { the_title(); }
?&gt;&lt;/h1&gt;</pre>
<p>Next open up the page where you would like the custom header and in  the &#8216;Custom Fields&#8217; section enter the following details:</p>
<p><strong>Name</strong>: changeH1<br />
<strong>Value</strong>: Whatever you want!</p>
<p>Et voilà, you can now have any H1 that you need. This is very useful  for SEO reasons &#8230; Trust me!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.webdesignlondon-tristar.co.uk/general/custom-header-tag-for-wordpress/feed</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
	</channel>
</rss>

