<?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>The Blog House &#187; Tutorials Archives  // The Blog House</title>
	<atom:link href="http://thebloghouse.com/blog/category/wordpress/tutorials/feed/" rel="self" type="application/rss+xml" />
	<link>http://thebloghouse.com</link>
	<description>we know WordPress</description>
	<lastBuildDate>Thu, 19 Jan 2012 13:46:26 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=</generator>
<xhtml:meta xmlns:xhtml="http://www.w3.org/1999/xhtml" name="robots" content="noindex" />
		<item>
		<title>WordPress + IIS 7.5 + .NET in root</title>
		<link>http://thebloghouse.com/blog/wordpress/tutorials/wordpress-iis-7-5-working-in-root-rewrite/</link>
		<comments>http://thebloghouse.com/blog/wordpress/tutorials/wordpress-iis-7-5-working-in-root-rewrite/#comments</comments>
		<pubDate>Sat, 07 Jan 2012 17:56:38 +0000</pubDate>
		<dc:creator>Andy</dc:creator>
				<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[iis 7.5]]></category>
		<category><![CDATA[iis wordpress]]></category>
		<category><![CDATA[rewrite]]></category>
		<category><![CDATA[URL Rewrite]]></category>
		<category><![CDATA[Windows Server 2008]]></category>

		<guid isPermaLink="false">http://thebloghouse.com/?p=1097</guid>
		<description><![CDATA[This is just a really quick post to hopefully help others looking to get WordPress working on a Windows based server with a specific need&#8230; you want to run WordPress in the root of an existing site that is already running a site or several virtual sites in there already. Or put another way &#8211; [...]]]></description>
			<content:encoded><![CDATA[<div class="tweetmeme_button" style="float: right; margin-left: 10px;">
			<a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fthebloghouse.com%2Fblog%2Fwordpress%2Ftutorials%2Fwordpress-iis-7-5-working-in-root-rewrite%2F"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fthebloghouse.com%2Fblog%2Fwordpress%2Ftutorials%2Fwordpress-iis-7-5-working-in-root-rewrite%2F&amp;source=TheBlogHouse&amp;style=normal&amp;service=bit.ly&amp;b=2" height="61" width="50" /><br />
			</a>
		</div>
<p>This is just a really quick post to hopefully help others looking to get WordPress working on a Windows based server with a specific need&#8230; you want to run WordPress in the root of an existing site that is already running a site or several virtual sites in there already. </p>
<p>Or put another way &#8211; you want WordPress to run alongside existing web site content and / or site(s) on Windows Server 2008 under one domain name. For example:</p>
<ol>
<li>www.mysite.com (.aspx) + Your-New-WordPress-Site(s) running as www.mysite.com/something</li>
<ol>
<li style="text-align: left;">/virtualsite (.asp)</li>
<li style="text-align: left;">/virtualsite2 (.aspx)</li>
</ol>
</ol>
<div id="attachment_1098" class="wp-caption aligncenter" style="width: 746px"><a href="http://thebloghouse.com/files/2012/01/IIS-7.5.jpg" rel="lightbox[1097]"><img class=" wp-image-1098 " title="IIS 7.5 WordPress in root" src="http://thebloghouse.com/files/2012/01/IIS-7.5.jpg" alt="IIS 7.5 WordPress in root" width="736" height="224" /></a><p class="wp-caption-text">IIS 7.5 + WordPress + Existing site(s)</p></div>
<p>I haven&#8217;t got time to go over how to install WordPress on a Windows server (happy to do this in comments if people want help), so cutting to the chase:</p>
<ul>
<li>You have all the standard WordPress files in the root and some other file type as the default document e.g. default.aspx or index.html</li>
<li>You need to get WordPress playing alongside these other sites and default documents</li>
<li>You have <a title="URL Rewrite" href="http://www.iis.net/download/urlrewrite" target="_blank">URL Rewrite Module 2.0</a> installed and working already for your other .asp, .aspx or .html content</li>
</ul>
<p>You need to edit your web.config file so you place something like the following as the first rule:</p>
<pre>&lt;rewrite&gt;
    &lt;rules&gt;
        &lt;rule name="Main Rule" stopProcessing="true"&gt;
            &lt;match url="^(MainBlogCategory|tag|page|author|feed|OtherCategories)(.*)$" ignoreCase="false" /&gt;
            &lt;action type="Rewrite" url="index.php" /&gt;
        &lt;/rule&gt;
       Your Existing rules continue below...</pre>
<p>If the above makes no sense or you want more help shout below.</p>
<p>Thanks</p>
]]></content:encoded>
			<wfw:commentRss>http://thebloghouse.com/blog/wordpress/tutorials/wordpress-iis-7-5-working-in-root-rewrite/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to Customize Twenty Ten</title>
		<link>http://thebloghouse.com/blog/wordpress/tutorials/customize-twenty-ten/</link>
		<comments>http://thebloghouse.com/blog/wordpress/tutorials/customize-twenty-ten/#comments</comments>
		<pubDate>Wed, 09 Jun 2010 23:50:45 +0000</pubDate>
		<dc:creator>Andy</dc:creator>
				<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[Customise Twenty Ten]]></category>
		<category><![CDATA[Customize Twenty Ten]]></category>
		<category><![CDATA[Twenty Ten Theme]]></category>

		<guid isPermaLink="false">http://thebloghouse.com/?p=914</guid>
		<description><![CDATA[Twenty Ten is the new default theme for WordPress 3.0 and makes great use of all the new features this new major release brings so it seems to make sense to start with this as a base for your next WordPress based project&#8217;s theme yeah? Well before you start jumping in and hacking the code [...]]]></description>
			<content:encoded><![CDATA[<div class="tweetmeme_button" style="float: right; margin-left: 10px;">
			<a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fthebloghouse.com%2Fblog%2Fwordpress%2Ftutorials%2Fcustomize-twenty-ten%2F"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fthebloghouse.com%2Fblog%2Fwordpress%2Ftutorials%2Fcustomize-twenty-ten%2F&amp;source=TheBlogHouse&amp;style=normal&amp;service=bit.ly&amp;b=2" height="61" width="50" /><br />
			</a>
		</div>
<h2><a href="http://thebloghouse.com/files/2010/06/Twenty-Ten-WordPress-Theme.jpg" rel="lightbox[914]"><img class="size-full wp-image-901 aligncenter" title="Twenty Ten Theme" src="http://thebloghouse.com/files/2010/06/Twenty-Ten-WordPress-Theme.jpg" alt="Twenty Ten WordPress Theme" width="470" height="175" /></a></h2>
<p>Twenty Ten is the new default theme for WordPress 3.0 and makes great use of all the new features this new major release brings so it seems to make sense to start with this as a base for your next WordPress based project&#8217;s theme yeah?</p>
<p>Well before you start jumping in and hacking the code you need to realise Twenty Ten is in fact a <strong>Parent Theme</strong> and you can make ALL your required CSS / Function and Template modifications in a subdirectory so when the main Twenty Theme is updated all those tweaks and hacks won&#8217;t be lost for ever &#8211; cool ay?</p>
<p>Of course WordPress do a great job of explaining how to start working with Child Themes using Twenty Ten as the base <a title="Child themes" href="http://codex.wordpress.org/Child_Themes" target="_blank">here</a> but we thought we would summarise our take on this for those who need the bare minimum to get started:  Got your favourite PHP / CSS editor ready? Great let&#8217;s begin&#8230;</p>
<h3>How to set up your directory should be set up</h3>
<p>The most important aspect of getting your new child theme working is making sure you have the required files in the correct place like this:</p>
<ul>
<li> <strong>web root</strong>
<ul>
<li> <span style="color: #ff0000;"><strong>wp-content</strong></span>
<ul>
<li> <span style="color: #ff0000;"><strong>themes</strong></span> (directory where all your themes are)
<ul>
<li> <span style="color: #ff0000;"><strong>twentyten</strong></span> (directory where the Twenty Ten Theme is)</li>
<li> <span style="color: #ff0000;"><strong>your-new-twentyten-child</strong></span> (directory of your new child  theme &#8211; you can call this anything!)
<ul>
<li> <span style="color: #ff0000;"><strong>style.css</strong> </span>(the only 100% required file in a child theme which <strong>must be named <em>style.css</em></strong>)</li>
<li><strong>functions.php</strong> &#8211; this is optional but is the place to add new functions to your theme. It is <strong>loaded in addition to the parent’s functions.php</strong> and right <em>before</em> the parent’s file.</li>
<li><strong>header.php</strong>, <strong>index.php</strong> etc &#8211; Again you don&#8217;t need these but the best thing to do is make a copy of the original Twenty Ten Theme files you want to modify and store them here. Then edit these copies to remove things that you cannot do via the nice new options within the WordPress Admin area and be safe in the knowledge you can always just delete your copies to get back to the Twenty Ten Originals</li>
</ul>
</li>
</ul>
</li>
</ul>
</li>
</ul>
</li>
</ul>
<h3>What needs to be in the child style.css file as a bare minimum</h3>
<p>The following is the standard</p>
<pre>/*
Theme Name:     My Twenty Ten Child
Theme URI:      http: //thebloghouse.com
Description:    My child theme for the Twenty Ten theme
Author:                Andy
Author URI:     http: //thebloghouse.com
Template:       twentyten
Version:        0.1.0
*/

@import url("../twentyten/style.css");

/* The following CSS is our example - you do not need to change your site's title link colour */

#site-title a {
    color: #009900;
}</pre>
<h3>Seems easy enough yeah?</h3>
<p>Only thing you need to watch out for is if you want to say change the way Twenty Ten deals with certain CSS values you need to make sure you copy the full original CSS into your style CSS and change each value. By this we mean say you want to change the nice new Twenty Ten footer. You would find the following in the original style.css and copy this to your style.css file:</p>
<pre>#colophon {
 border-top: 2pt solid #000;
 }</pre>
<p>However simply removing the <em><strong>border-top: 2pt solid #000;</strong></em> part will <strong>NOT</strong> remove the border &#8211; you would need to have the following <strong><em>none</em></strong> value to override the original style.css:</p>
<pre>#colophon {
 border-top: <span style="color: #ff0000;"><strong>none</strong></span>;
 }</pre>
<p>Obviously this is a very quick and simplistic look at the great work that everyone who has worked on and contributed to WordPress 3.0 and the Twenty Ten theme but if you are struggling with the basics hopefully the info above might help.</p>
<p>If not I would suggest reading the documentation again <a title="Child themes" href="http://codex.wordpress.org/Child_Themes" target="_blank">here</a>, check out the 1 hour + video below by Steve Bruner and his WordPress 3.0 Customization Techniques or feel free to post a question in the comments below.</p>
<p><object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" width="640" height="360" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0"><param name="flashvars" value="guid=cYSkh46r&amp;width=640&amp;height=360&amp;locksize=no&amp;dynamicseek=false&amp;qc_publisherId=p-18-mFEk4J448M" /><param name="src" value="http://v.wordpress.com/wp-content/plugins/video/flvplayer.swf?ver=1.21" /><param name="wmode" value="transparent" /><param name="allowfullscreen" value="true" /><embed type="application/x-shockwave-flash" width="640" height="360" src="http://v.wordpress.com/wp-content/plugins/video/flvplayer.swf?ver=1.21" allowfullscreen="true" wmode="transparent" flashvars="guid=cYSkh46r&amp;width=640&amp;height=360&amp;locksize=no&amp;dynamicseek=false&amp;qc_publisherId=p-18-mFEk4J448M"></embed></object></p>
]]></content:encoded>
			<wfw:commentRss>http://thebloghouse.com/blog/wordpress/tutorials/customize-twenty-ten/feed/</wfw:commentRss>
		<slash:comments>43</slash:comments>
		</item>
		<item>
		<title>Override WordPress Shortcode to show [ ] brackets</title>
		<link>http://thebloghouse.com/blog/asides/override-wordpress-shortcode-to-show-brackets/</link>
		<comments>http://thebloghouse.com/blog/asides/override-wordpress-shortcode-to-show-brackets/#comments</comments>
		<pubDate>Wed, 24 Mar 2010 21:43:18 +0000</pubDate>
		<dc:creator>Andy</dc:creator>
				<category><![CDATA[Asides]]></category>
		<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[brackets]]></category>
		<category><![CDATA[override]]></category>
		<category><![CDATA[shortcode]]></category>

		<guid isPermaLink="false">http://thebloghouse.com/?p=865</guid>
		<description><![CDATA[Override the default WordPress Shortcode processing to show [ ] brackets for your plugin shortcode examples]]></description>
			<content:encoded><![CDATA[<div class="tweetmeme_button" style="float: right; margin-left: 10px;">
			<a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fthebloghouse.com%2Fblog%2Fasides%2Foverride-wordpress-shortcode-to-show-brackets%2F"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fthebloghouse.com%2Fblog%2Fasides%2Foverride-wordpress-shortcode-to-show-brackets%2F&amp;source=TheBlogHouse&amp;style=normal&amp;service=bit.ly&amp;b=2" height="61" width="50" /><br />
			</a>
		</div>
<p>Just came across an annoying issue where we needed to show some examples of our new <a title="WordPress Price Comparison Plugin" href="http://comparepress.com/" target="_blank">WordPress price comparison plugin</a> WordPress on a site that has the plugin installed which means everytime you try to show the examples you get the plugin content!</p>
<p>The easiest way we have found to fix this is do the following:</p>
<p>Use the following numeric character references instead of normal [ ] as this way WordPress doesn&#8217;t process your plugins shortcode</p>
<p>e.g. &amp;#91;showphones make=&#8217;htc&#8217; &amp;#93; is the same as [showphones make='htc']</p>
<p>So just remember to replace [ with &amp;#91; and ] with &amp;#93;</p>
]]></content:encoded>
			<wfw:commentRss>http://thebloghouse.com/blog/asides/override-wordpress-shortcode-to-show-brackets/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>

