<?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>warrenchandler.com</title>
	<atom:link href="http://www.warrenchandler.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.warrenchandler.com</link>
	<description></description>
	<lastBuildDate>Thu, 08 Sep 2011 00:42:35 +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>Easter Website Deal £599</title>
		<link>http://www.warrenchandler.com/2011/04/02/easter-website-deal-599/</link>
		<comments>http://www.warrenchandler.com/2011/04/02/easter-website-deal-599/#comments</comments>
		<pubDate>Sat, 02 Apr 2011 17:15:47 +0000</pubDate>
		<dc:creator>SuperWaz</dc:creator>
				<category><![CDATA[Special Offers]]></category>

		<guid isPermaLink="false">http://www.warrenchandler.com/?p=498</guid>
		<description><![CDATA[I must admit I love the Easter Bunny, and how he gets around with all those chocolate eggs still mystifies me to this very day.  I&#8217;m sure DHL are in on it somehow&#8230; Anyway, to celebrate my chocolate-filled expanding waistline at this time of year, until the end of April 2011 (or at the very ...]]></description>
			<content:encoded><![CDATA[<p>I must admit I love the Easter Bunny, and how he gets around with all those chocolate eggs still mystifies me to this very day.  I&#8217;m sure DHL are in on it somehow&#8230;</p>
<p>Anyway, to celebrate my chocolate-filled expanding waistline at this time of year, until the end of April 2011 (or at the very latest until I run out of chocolate) I&#8217;m running a very special deal for prospective web clients, giving a huge potential saving of £251.</p>
<p>What I am offering is a wonderfully functional brochure website, up to a maximum of 25 pages, properly SEO optimised and some pretty heavy duty marketing thrown in to the package.</p>
<p>In fact, you&#8217;ll get all this:</p>
<h2>Brochure Website</h2>
<ul class="list4 list_color_red">
<li>Brochure website creation</li>
<li>Free web hosting for a year</li>
<li>Free domain name</li>
</ul>
<h2>SEO Optimisation</h2>
<ul class="list4 list_color_green">
<li>Sitemap creation with prioritised URL&#8217;s in correct xml, html, .txt and .ror formats</li>
<li>Keyword/Keyphrase Optimisation</li>
<li>Internal Linking Structure</li>
<li>Title &amp; Meta-tag Optimisation</li>
<li>URL Optimisation (Mod ReWrite)</li>
<li>Keyphrase density analysis</li>
</ul>
<h2>Additional Marketing</h2>
<ul class="list4 list_color_blue">
<li>750 PR 0-9 Directory Submissions with 12 unique title and descriptions</li>
<li>Focused keyword pushing &#8211; from selected keywords you wish to aggressively promote, i.e. &#8220;beauty tips&#8221;, &#8220;women&#8217;s health&#8221; etc</li>
<li>600 Article Submissions with 1 unique article creation and 5 variations.  75 per week over 8 weeks.</li>
<li>125 Social Bookmarking links, once every two weeks for 8 weeks.</li>
<li>250+ Search Engine individual page submissions</li>
<li>Guaranteed lifetime listing in PR2 search directory and PR1 search directory</li>
<li>Manual submission to ALL directories falling in the top 5 Google pages of one given keyword search</li>
</ul>
<p>&nbsp;</p>
<p>Interested?  <a title="Contact Me" href="http://www.warrenchandler.com/contact-me/">Contact me</a> while the chocolate lasts.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.warrenchandler.com/2011/04/02/easter-website-deal-599/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Google Maps Shortcode for WordPress</title>
		<link>http://www.warrenchandler.com/2011/03/21/google-maps-shortcode-for-wordpress/</link>
		<comments>http://www.warrenchandler.com/2011/03/21/google-maps-shortcode-for-wordpress/#comments</comments>
		<pubDate>Mon, 21 Mar 2011 13:14:05 +0000</pubDate>
		<dc:creator>SuperWaz</dc:creator>
				<category><![CDATA[WordPress Snippets]]></category>

		<guid isPermaLink="false">http://www.warrenchandler.com/?p=489</guid>
		<description><![CDATA[Note: This method no longer works as intended due to changes in WordPress and Google maps. However, if you paste the iframe information from the Google maps page, WordPress automatically converts the frame to its own shortcode for you. At least, it&#8217;s supposed to work that way. Adding Google maps to your WordPress installation isn&#8217;t ...]]></description>
			<content:encoded><![CDATA[<p>Note:  This method no longer works as intended due to changes in WordPress and Google maps.  However, if you paste the iframe information from the Google maps page, WordPress automatically converts the frame to its own shortcode for you.  At least, it&#8217;s <a href="http://en.support.wordpress.com/google-maps/" target="_blank">supposed to work that way</a>.</p>
<div class="divider"></div>
<p>Adding Google maps to your WordPress installation isn&#8217;t actually difficult at all.  Simply add this to your functions.php file and call using the resulting [ googlemap ] shortcode.</p>
<code class="code">//Google Maps Shortcode
function fn_googleMaps($atts, $content = null) {
extract(shortcode_atts(array(
"width" =&gt; '640',
"height" =&gt; '480',
"src" =&gt; ''
), $atts));
return '';
}
add_shortcode("googlemap", "fn_googleMaps");</code>
<p>And then inside the post itself:</p>
<pre class="pre">[googlemap width="200" height="200" src="[url]"]</pre>
<p>&nbsp;</p>
<p><iframe width="425" height="350" frameborder="0" scrolling="no" marginheight="0" marginwidth="0" src="http://maps.google.co.uk/maps?f=q&amp;source=s_q&amp;hl=en&amp;geocode=&amp;q=co13+9jb&amp;aq=&amp;sll=51.836363,1.254067&amp;sspn=0.011482,0.033023&amp;gl=uk&amp;ie=UTF8&amp;hq=&amp;hnear=Frinton-on-Sea+CO13+9JB,+United+Kingdom&amp;z=14&amp;iwloc=A&amp;ll=51.836363,1.254067&amp;output=embed"></iframe><br /><small><a href="http://maps.google.co.uk/maps?f=q&amp;source=embed&amp;hl=en&amp;geocode=&amp;q=co13+9jb&amp;aq=&amp;sll=51.836363,1.254067&amp;sspn=0.011482,0.033023&amp;gl=uk&amp;ie=UTF8&amp;hq=&amp;hnear=Frinton-on-Sea+CO13+9JB,+United+Kingdom&amp;z=14&amp;iwloc=A&amp;ll=51.836363,1.254067" style="color:#0000FF;text-align:left">View Larger Map</a></small></p>
]]></content:encoded>
			<wfw:commentRss>http://www.warrenchandler.com/2011/03/21/google-maps-shortcode-for-wordpress/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
		<item>
		<title>100+ Memorable Design Quotes</title>
		<link>http://www.warrenchandler.com/2011/03/05/100-memorable-design-quotes/</link>
		<comments>http://www.warrenchandler.com/2011/03/05/100-memorable-design-quotes/#comments</comments>
		<pubDate>Sat, 05 Mar 2011 13:17:21 +0000</pubDate>
		<dc:creator>SuperWaz</dc:creator>
				<category><![CDATA[General]]></category>

		<guid isPermaLink="false">http://www.warrenchandler.com/?p=440</guid>
		<description><![CDATA[Since re-launching my website a few hours ago, I&#8217;ve already received comment about the quotes that frequent the header area of the site. While some are my own work, much credit has to go to designwashere for their design related ones. I&#8217;ve listed more below for your amusement. Enjoy! My rates are as follows:&#160; £50 ...]]></description>
			<content:encoded><![CDATA[<p>Since re-launching my website a few hours ago, I&#8217;ve already received comment about the quotes that frequent the header area of the site.</p>
<p>While some are my own work, much credit has to go to <a href="http://designwashere.com" target="_blank">designwashere</a> for their design related ones.  I&#8217;ve listed more below for your amusement.  Enjoy!</p>
<blockquote>
<h3>My rates are as follows:&nbsp;</p>
<p>£50 per hour.<br />
£75 per hour if you watch.<br />
£100 per hour if you help.</h3>
</blockquote>
<blockquote>
<h3>Design is easy. All you do is stare at the screen until drops of blood form  on your forehead</h3>
<p>-Marty Neumier</p></blockquote>
<blockquote>
<h3>Practice safe design: Use a concept</h3>
<p>-Petrula Vrontikis</p></blockquote>
<blockquote>
<h3>I love the comment, “You must love designing for a living.” At that point I  usually start to laugh or break into uncontrollable tears</h3>
<p>- Andrew Lewis</p></blockquote>
<blockquote>
<h3>It’s art if can’t be explained.<br />
It’s fashion if no one asks for an  explanation.<br />
It’s design if it doesn’t need explanation</h3>
<p>- Wouter Stokkel</p></blockquote>
<blockquote>
<h3>Every child is an artist. The challenge is to remain an artist after you  grow up</h3>
<p>- Pablo Picasso</p></blockquote>
<blockquote>
<h3>Beauty is the ultimate defense against complexity</h3>
<p>- John Carmack</p></blockquote>
<blockquote>
<h3>Good design keeps the user happy, the manufacturer in the black and the  aesthete unoffended</h3>
<p>- Raymond Loewy</p></blockquote>
<blockquote>
<h3>In design man becomes what he is. Animals have language and perception as  well, but they do not design</h3>
<p>-Otl Aicher</p></blockquote>
<blockquote>
<h3>Designers can create normalcy out of chaos; they can clearly communicate  ideas through the organising and manipulating of words and pictures</h3>
<p>- Jeffrey Veen</p></blockquote>
<blockquote>
<h3>Design from the spine and you’ll be fine</h3>
<p>- Carl Heaton</p></blockquote>
<blockquote>
<h3>Everything is designed. Few things are designed well</h3>
<p>- Brian Reed</p></blockquote>
<blockquote>
<h3>The client may be king but he’s not the art director</h3>
<p>- Von R. Glitschka</p></blockquote>
<blockquote>
<h3>Graphic designers are idea embalmers. loving undertakers preserving bits of  data like so many butterflies pinned to felt in a jewel box</h3>
<p>- Paul Saffo</p></blockquote>
<blockquote>
<h3>To create a memorable design you need to start with a thought that’s worth  remembering</h3>
<p>- Thomas Manss</p></blockquote>
<blockquote>
<h3>Graphic designers are, by and large selfish and spoiled. They stubbornly  control and individually design things that are generally smaller than them,  perfecting to a level appreciated only by people like them. They don’t share and  play well with others</h3>
<p>- Wayne Hunt</p></blockquote>
<blockquote>
<h3>A picture is worth a thousand words. An interface is worth a thousand  pictures</h3>
<p>- Ben Schneiderman</p></blockquote>
<blockquote>
<h3>Good design is all about making other designers feel like idiots because  that idea wasn’t theirs</h3>
<p>- Frank Chimero</p></blockquote>
<blockquote>
<h3>Remember it takes a lot of shit, to create a beautiful flower</h3>
<p>- Jacob Cass</p></blockquote>
<blockquote>
<h3>Design is a good idea</h3>
<p>- Emigre</p></blockquote>
<blockquote>
<h3>If you know how to use a pencil to draw, you could draw anything. Now apply  that to everything in life</h3>
<p>- Justin Durban</p></blockquote>
<blockquote>
<h3>We aren’t designing photocopies of web pages, we’re designing web pages</h3>
<p>- Andy Clarke</p></blockquote>
<blockquote>
<h3>A computer without Photoshop is like a dog with no legs. Sure is fun, but  you can’t really do anything with it</h3>
<p>- Benjamin Cavanagh</p></blockquote>
<blockquote>
<h3>A common mistake that people make when trying to design something completely  foolproof is to underestimate the ingenuity of complete fools</h3>
<p>- Douglas Adams</p></blockquote>
<blockquote>
<h3>Everyone is an artist</h3>
<p>- Joseph Beuys</p></blockquote>
<blockquote>
<h3>Colour does not add a pleasant quality to design – it reinforces it</h3>
<p>- Pierre Bonnard</p></blockquote>
<blockquote>
<h3>Marketing without design is lifeless, and design without marketing is  mute</h3>
<p>- Von R. Glitschka</p></blockquote>
<blockquote>
<h3>Without good design it is easy to miss the point</h3>
<p><!-- AdSense Now! V1.98 --><!-- Post[count: 1] --></p>
<div><script type="text/javascript"></script> <script type="text/javascript"></script> <script type="text/javascript"></script> <script type="text/javascript"></script> <script type="text/javascript"></script> <script type="text/javascript"></script> <script type="text/javascript"></script> <ins><ins id="google_ads_frame1_anchor"></ins></ins></div>
<p>- Bjarni Wark</p></blockquote>
<blockquote>
<h3>Design is not the narrow application of formal skills, it is a way of  thinking</h3>
<p>- Chris Pullman</p></blockquote>
<blockquote>
<h3>The life of a designer is a life of fight: fight against the ugliness</h3>
<p>- Massimo Vignelli</p></blockquote>
<blockquote>
<h3>In the design process, my gut instinct is my best critic. I just wished I  would always listen to it!</h3>
<p>- Bryan Tamayo</p></blockquote>
<blockquote>
<h3>Art is like masturbation. It is selfish and introverted and done for you and  you alone. Design is like sex. There is someone else involved, their needs are  just as important as your own, and if everything goes right, both parties are  happy in the end</h3>
<p>- Colin Wright</p></blockquote>
<blockquote>
<h3>Design has become the cover for unnecessary consumption</h3>
<p>- Peter Saville</p></blockquote>
<blockquote>
<h3>Design is creativity with strategy</h3>
<p>- Rob Curedale</p></blockquote>
<blockquote>
<h3>Stop looking at yourself as a designer and start thinking of yourself as a  deliverer of ideas</h3>
<p>- Stle Melvr</p></blockquote>
<blockquote>
<h3>No masterpiece was ever created by a lazy artist</h3>
<p>- Salvador Dali</p></blockquote>
<blockquote>
<h3>Good ideas turn into good designs fairly quickly. If you catch yourself  fiddling too much with colors, borders and treatments to bring a design  together, chances are the problem lies somewhere deeper</h3>
<p>- Ryan Singer</p></blockquote>
<blockquote>
<h3>We can’t just design an item that looks great. We also have to anticipate  how it is boxed up, distributed, and shipped, as well as whether or not a  seventeen-year-old kid with a summer job can stock it on the store shelf without  ruining it</h3>
<p>- Robin Perkins</p></blockquote>
<blockquote>
<h3>Art has to move you and design does not, unless it’s a good design for a  bus</h3>
<p>- David Hockney</p></blockquote>
<blockquote>
<h3>Good design goes to heaven; bad design goes everywhere</h3>
<p>- Mieke Gerritzen</p></blockquote>
<blockquote>
<h3>The difference between a Designer and Developer when it comes to design  skills, is the difference between shooting a bullet and throwing it</h3>
<p>- Scott Hanselman</p></blockquote>
<blockquote>
<h3>People ignore design that ignores people</h3>
<p>- Frank Chimero</p></blockquote>
<blockquote>
<h3>Never re-invent the wheel, unless you’re sure the client needn’t go  anywhere</h3>
<p>- Russell Bishop</p></blockquote>
<blockquote>
<h3>Making good design is easy. It’s polishing the half-assed stuff that takes  time</h3>
<p>- Stefan G. Bucher</p></blockquote>
<blockquote>
<h3>You can have an art experience in front of a Rembrandt… or in front of a  piece of graphic design</h3>
<p>- Stefan Sagmeister</p></blockquote>
<blockquote>
<h3>Whether we like it or not, our legacy as designers is ugly. We’re largely  responsible for fueling a culture of consumption</h3>
<p>- Eric Karjalouto</p></blockquote>
<blockquote>
<h3>Graphic designers find themselves in a role of visual dishwashers for the  information Architects’ chefs</h3>
<p>- Gunnar Swanson</p></blockquote>
<blockquote>
<h3>Design is like a mom, nobody notices when she’s around, but everybody misses  her when she’s not</h3>
<p>- Santiago Borray</p></blockquote>
<blockquote>
<h3>A designer who gives her art away, makes no pay, A designer who keeps her  art to herself, makes no friends</h3>
<p>- Amber Seree Allen</p></blockquote>
<blockquote>
<h3>Good design means never having to say “Click Here.”</h3>
<p>- Shawn Leslie</p></blockquote>
<blockquote>
<h3>Being a graphic designer gets you used to rejection of your brilliance. So  it’s good practice for dating</h3>
<p>- Heather Phillips</p></blockquote>
<blockquote>
<h3>Inspiration the seed. Design but the flower</h3>
<p>- Michael Langham</p></blockquote>
<blockquote>
<h3>Every designers’ dirty little secret is that they copy other designers’  work. They see work they like, and they imitate it. Rather cheekily, they call  this inspiration</h3>
<p>- Aaron Russell</p></blockquote>
<blockquote>
<h3>Design should never say, “Look at me.” It should always say, “Look at  this”</h3>
<p>- David Craib</p></blockquote>
<blockquote>
<h3>Design is intelligence made visible</h3>
<p>- Alina Wheeler</p></blockquote>
<blockquote>
<h3>Designers are meant to be loved, not to be understood</h3>
<p>- Fabien Barral</p></blockquote>
<blockquote>
<h3>You can’t do better design with a computer, but you can speed up your work  enormously</h3>
<p>- Wim Crouwal</p></blockquote>
<blockquote>
<h3>Maths is easy; design is hard</h3>
<p>- Jeffrey Veen</p></blockquote>
<blockquote>
<h3>Graphic design will save the world right after rock and roll does</h3>
<p>- David Carsong</p></blockquote>
]]></content:encoded>
			<wfw:commentRss>http://www.warrenchandler.com/2011/03/05/100-memorable-design-quotes/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>Welcome to WarrenChandler.com 2.0</title>
		<link>http://www.warrenchandler.com/2011/03/01/welcome/</link>
		<comments>http://www.warrenchandler.com/2011/03/01/welcome/#comments</comments>
		<pubDate>Tue, 01 Mar 2011 00:18:19 +0000</pubDate>
		<dc:creator>SuperWaz</dc:creator>
				<category><![CDATA[General]]></category>

		<guid isPermaLink="false">http://warrenchandler.com/?p=1</guid>
		<description><![CDATA[Okay I&#8217;ll admit it, I&#8217;m my own worst enemy when it comes to building websites. I&#8217;m acutely aware that I am far too picky and quite often it&#8217;s up to the client to tell me when enough is enough. &#8220;Hey, the first design you sent me would have sufficed&#8221;, seems to be a common theme, ...]]></description>
			<content:encoded><![CDATA[<p>Okay I&#8217;ll admit it, I&#8217;m my own worst enemy when it comes to building websites.  I&#8217;m acutely aware that I am far too picky and quite often it&#8217;s up to the client to tell me when enough is enough.  &#8220;Hey, the first design you sent me would have sufficed&#8221;, seems to be a common theme, but even if the client is over the moon I am rarely happy with the end product.</p>
<p>And don&#8217;t even get me started about blogging.  Over the years I have promised myself that I&#8217;ll use my blog to store handy snippets of code I have written so I don&#8217;t have to repeat the feat, or to update the masses (hi mum!) with what&#8217;s new in my life or career.  I also promise myself I will compile a handy portfolio of my work for all to see.  It never happens.  That is, until now.</p>
<blockquote><p>Character is what emerges from all the little things you were too busy to do yesterday, but did anyway.</p></blockquote>
<p>Of course I am well aware as I write this that I am writing this article on yet another unfinished website, with a faint resemblance of a blog, a non entity of a portfolio, and a logo that, well, don&#8217;t get me started on the logo.  But the intention is there and this time I&#8217;m going to follow through on my promises.</p>
<p>I&#8217;m probably too busy for it, that&#8217;s the usual excuse, but that&#8217;s really nothing new.  The bottom line is that even if I have bitten off far more than I can chew, I&#8217;m going to keep chewing anyway.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.warrenchandler.com/2011/03/01/welcome/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Getting Visitors to Your Website</title>
		<link>http://www.warrenchandler.com/2010/06/12/getting-visitors-to-your-website/</link>
		<comments>http://www.warrenchandler.com/2010/06/12/getting-visitors-to-your-website/#comments</comments>
		<pubDate>Sat, 12 Jun 2010 11:41:49 +0000</pubDate>
		<dc:creator>SuperWaz</dc:creator>
				<category><![CDATA[SEO]]></category>

		<guid isPermaLink="false">http://www.warrenchandler.com/blog/?p=71</guid>
		<description><![CDATA[Before building a site there are many things that you need to take in mind. For example, how are you going to design your site, what is it going to cost you, how long will it take you to build, etc. All of these things mentioned a both are important aspects to consider when designing ...]]></description>
			<content:encoded><![CDATA[<p>Before building a site there are many things that you need to take in mind. For example, how are you going to design your site, what is it going to cost you, how long will it take you to build, etc. All of these things mentioned a both are important aspects to consider when designing a site, but there is no point in doing all of this if you cant even get visitors to your site afterwards.</p>
<p>So you may ask yourself, what are some of the best ways of getting visitors to my site? Well there are many ways of getting visitors to your site. The following shows you some of the best ways of doing this:</p>
<p><strong>1. Adding Your Sites Link/URL to Your Signature</strong><br />
These can include email signatures, forum signatures, etc.</p>
<p><strong>2. Writing Good Articles</strong><br />
This is probably one of the best ways to get some good quality traffic to your site. If you can write a good article, then other people are more likely to want to re-publish it on their own sites, newsletters, ezines, etc.</p>
<p>Some useful places for submitting articles are:</p>
<ul>
<li>http://www.simplysearch4it.com/article/articledir.php</li>
<li>http://www.goarticles.com/</li>
<li>http://www.zongoo.com/</li>
<li>http://www.articlecity.com/</li>
</ul>
<p><strong>3. Search Engine Optimization (SEO)</strong><br />
This is a big factor to consider when building and advertising any site. This is because up to 85% of visitors use search engines to find something that they are interested in before they actually look elsewhere.</p>
<p>To do good SEO you will have to consider many things. Some of these include the use of metatags within your site, a good use of keywords within your sites body, and exchanging links with other sites that is on the same subject as yours.</p>
<p><strong>4. Exchanging Links with Other Websites to Build Your PR</strong><br />
If you want your site to rank higher within the major search engines then exchanging links with other sites that are on the same subject as yours is a good way to go. This is because exchanging links with other sites will help to build your PR (page rank).</p>
<p>When exchanging links with other sites, a good approach would be to try and exchange links with sites that already has a good PR. But when exchanging links with other sites, you must also consider that you will also be getting traffic from these sites as well, which will be an added bonus.</p>
<p><strong>5. Pay Per Click Search Engine Advertising</strong><br />
This is a cost-effective and good way of receiving highly targeted traffic to your site. This is because you only pay for the visitors that you actually receive. You choose how much you want to pay per visitor by bidding against other advertisers.</p>
<p>If you were thinking of trying out PPC Search Engine advertising, then http://www.simplysearch4it.com/webma/ppcse/advdir.php would most probably come in useful to you as it lists a large amount of Pay Per Click Search Engines.</p>
<p>If you have not used PPC Search Engines to advertise your site before, then I would personally recommend that you try out the larger PPC Search Engines. This is because you are more likely to receive a higher conversion rate than what you probably would with the smaller PPC Search Engines.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.warrenchandler.com/2010/06/12/getting-visitors-to-your-website/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Search and Replace in Web Files</title>
		<link>http://www.warrenchandler.com/2010/06/09/search-and-replace-in-web-files/</link>
		<comments>http://www.warrenchandler.com/2010/06/09/search-and-replace-in-web-files/#comments</comments>
		<pubDate>Wed, 09 Jun 2010 19:02:59 +0000</pubDate>
		<dc:creator>SuperWaz</dc:creator>
				<category><![CDATA[PHP Snippets]]></category>

		<guid isPermaLink="false">http://www.warrenchandler.com/blog/?p=69</guid>
		<description><![CDATA[This handy function will search and replace all instances of a search term in every file with the PHP extension, across all directories and subdirectories. Upload the file to your root directory and run it. function callbackDir($dir){ $searchString = "searchforthis"; $newValue = "replacewiththis"; // directory, and file type $path = "$dir/*.php"; $searchString = "#".$searchString."#"; $globarray ...]]></description>
			<content:encoded><![CDATA[<p>This handy function will search and replace all instances of a search term in every file with the PHP extension, across all directories and subdirectories.  Upload the file to your root directory and run it.</p>
<code class="code">function callbackDir($dir){ 

$searchString = "searchforthis";
$newValue = "replacewiththis";

// directory, and file type
$path = "$dir/*.php";


$searchString = "#".$searchString."#";
$globarray = glob($path);
if ($globarray) foreach ($globarray as $filename) {
  $source = file_get_contents($filename);
  if (preg_match($searchString,$source)) echo "$filename &lt;br&gt;";
  $source = preg_replace($searchString,$newValue,$source);
  file_put_contents($filename,$source);
  $count++;
}
echo "Done - processed $count files";

  echo "$dir&lt;br /&gt;";
}

function walkDir($dir,$fx)
{
  $arStack = array();
  $fx($dir);
  if( ($dh=opendir($dir)) )
  { while( ($file=readdir($dh))!==false )
    { if( $file=='.' || $file=='..' ) continue;
      if( is_dir("$dir/$file") )
      { if( !in_array("$dir/$file",$arStack) ) $arStack[]="$dir/$file";
      }
    }
    closedir($dh);
  }
  if( count($arStack) )
  { foreach( $arStack as $subdir )
    { walkDir($subdir,$fx);
    }
  }
}

walkDir('./',callBackDir);</code>
]]></content:encoded>
			<wfw:commentRss>http://www.warrenchandler.com/2010/06/09/search-and-replace-in-web-files/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Remove Trackbacks and Pingbacks from Comments</title>
		<link>http://www.warrenchandler.com/2010/06/07/remove-trackbacks-and-pingbacks-from-comments/</link>
		<comments>http://www.warrenchandler.com/2010/06/07/remove-trackbacks-and-pingbacks-from-comments/#comments</comments>
		<pubDate>Mon, 07 Jun 2010 15:01:30 +0000</pubDate>
		<dc:creator>SuperWaz</dc:creator>
				<category><![CDATA[PHP Snippets]]></category>

		<guid isPermaLink="false">http://www.warrenchandler.com/blog/?p=67</guid>
		<description><![CDATA[Unfortunately, the default Recent Comments widget also includes trackbacks and pingbacks and the sight ain’t so lovely thus I had to add this hack to weed out the trackbacks and pingbacks. Open your theme&#8217;s functions.php file and add the following code if ( !$comments = wp_cache_get( 'recent_comments', 'widget' ) ) {     $comments = $wpdb-&#62;get_results("SELECT ...]]></description>
			<content:encoded><![CDATA[<p>Unfortunately, the default Recent Comments widget also <strong>includes trackbacks and pingbacks</strong> and the sight ain’t so lovely thus I had to add this hack to weed out the trackbacks and pingbacks.</p>
<p>Open your theme&#8217;s functions.php file and add the following code</p>
<code class="code">if ( !$comments = wp_cache_get( 'recent_comments', 'widget' ) ) {
    $comments = $wpdb-&gt;get_results("SELECT $wpdb-&gt;comments.* FROM $wpdb-&gt;comments JOIN $wpdb-&gt;posts ON $wpdb-&gt;posts.ID = $wpdb-&gt;comments.comment_post_ID WHERE comment_approved = '1' AND post_status = 'publish' AND comment_type IN ('comment', '') ORDER BY comment_date_gmt &lt;span style="color: #ff0000;"&gt;DESC LIMIT 15&lt;/span&gt;");
    wp_cache_add( 'recent_comments', $comments, 'widget' );
}</code>
<p>Please note that the value red (<span style="color: #ff0000;">DESC LIMIT 15</span>) controls how many recent comments will appear in your sidebar and the order with which they will appear (<span style="color: #ff0000;">ASC or DESC</span>)</p>
]]></content:encoded>
			<wfw:commentRss>http://www.warrenchandler.com/2010/06/07/remove-trackbacks-and-pingbacks-from-comments/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Protect Your Blog from Spam</title>
		<link>http://www.warrenchandler.com/2010/06/03/protect-your-blog-from-spam/</link>
		<comments>http://www.warrenchandler.com/2010/06/03/protect-your-blog-from-spam/#comments</comments>
		<pubDate>Thu, 03 Jun 2010 10:36:13 +0000</pubDate>
		<dc:creator>SuperWaz</dc:creator>
				<category><![CDATA[SEO]]></category>

		<guid isPermaLink="false">http://www.warrenchandler.com/blog/2010/06/protect-your-blog-from-spam/</guid>
		<description><![CDATA[Recovering from a WordPress Spam Injection attack is not fun, but you can regain your Google Search Results after being hacked by a spam injection attack. The best policy with Google is to be specific in your explanations. You will need to make sure that you have removed all bad files from your server and ...]]></description>
			<content:encoded><![CDATA[<p>Recovering from a WordPress Spam Injection attack is not fun, but you can regain your Google Search Results after being hacked by a spam injection attack.</p>
<p>The best policy with Google is to be specific in your explanations. You will need to make sure that you have removed all bad files from your server and then contact Google again explaining what actions you have taken to resolve the situation and submit your &#8220;request for reconsideration&#8221;. In most cases where a valid site has been hacked Google will restore their sites rankings within two weeks. However, don&#8217;t expect any notifications from Google on their progress of reevaluating your website or WordPress blog. I am writing this article in hopes that it will help anyone from having to go through that processs.</p>
<h2>What should you look for if you suspect a WordPress Spam Injection Attack?</h2>
<p>The first thing you should look for is a list of spammy keywords showing up in your list of keywords located in your Google Webmasters Tools. If you aren&#8217;t using Google Webmaster Tools then you should definitely look into this. When your site starts showing up in weird looking search results, which can also be seen in Google Webmaster Tools under search results for your site, you need to act fast because at this point Google will act fast to remove your site from SERPS in order to protect others who may be at risk from visiting your website.</p>
<p>The key to detection is awareness. Be vigilant in monitoring your website and your website&#8217;s stats. Spam injections are a clever, effective form of hacking and show no outward signs of infection. However, If you do a Google Site Search for spammy key words like; {site:yoursite.com viagra} you will be able to see if your site is referencing spam keywords. You will not be able to see spam showing up on your site. In order to physically see spam tags in your site you must go to the &#8220;cached&#8221; version of your web pages and view them in &#8220;text mode&#8221;. If you&#8217;ve been infected you will now be able to see spam keywords, usually appearing as a footer.</p>
<h2>What does a Spam Injection Do?</h2>
<p>Spam Injection software hides spam keyword links in code that is usually encoded with a PHP function that effectively scrambles html to be decoded once safely embedded on your server, database, etc. You won&#8217;t see these files decoded, but the Google Bot and other bots will when crawling your site! Once the Bots access the code the spam injection software has done it&#8217;s work, effectively stealing your search index to improve their own pagerank.</p>
<p>These spam injection hacks are very hard to detect software injections inserted into your site, usually on a database level, via templates or plugins. This is part of the reason WordPress is such a target for these attacks. Plugins are what make WordPress so dynamic and cool, but they are an open doorway for spam injection software. For obvious reasons we should all focus our attention on prevention so that you don&#8217;t have to deal with detection.</p>
<h2>What can I do to prevent a WordPress Spam Injection Attack?</h2>
<p>I&#8217;ll start with the simplest things you can do to protect your WordPress blog or site from spam attacks first. . .</p>
<h3>First:  Update WordPress</h3>
<p>Updating WordPress is the easiest thing to do, so why not do it? I usually wait a short period of time after a new release to make sure the bug fixes have been worked out. Please be aware that simply updating WordPress is NOT enough!</p>
<h3>Second: Pick a good password</h3>
<p>Pick a good password. Don&#8217;t use the same password on every site. If you&#8217;re really diligent  you can also change your password regularly.</p>
<h3>Third: Change the admin user name</h3>
<p>The default WordPress user name is &#8220;admin&#8221;. This is just a guess, but I suspect that the majority of people never change this. Don&#8217;t give any information away. Hackers are clever, but like burglars they would rather move on to the easy score. You can change your admin by creating a new user and then deleting the admin user. You&#8217;ll be given the option to migrate posts to another user.</p>
<h3>Fourth: Hide your WordPress Version Number</h3>
<p>David Kierznowski of blogsecurity.net lately released a simple plugin to hide your wordpress installation version number.  The no version plugin is a simple plugin that will replace the version number with blanks, so anyone doing a view “page source” from the browser on your site will not be able to see your wordpress version.</p>
<h3>Fifth: Protect your plugins</h3>
<p>Plugins are the easy gateway way for hackers to access your blog. All WordPress files begin with (wp-) by default so, hackers can quickly discover which plugins you&#8217;re using by going to /wp-content/plugins/, if you haven&#8217;t renamed your database files. A quick remedy to block  a blank index.html file in the wp-content/plugins/ folder.</p>
<h2>More Complex Procedures:</h2>
<h3>First: Protecting your WP-Config file.</h3>
<p>This file contains your database name, database username and database password. Obviously, you don&#8217;t want anyone to have access to something this valuable. If you don&#8217;t feel comfortable making changes to your config you may want to contact your hosting company for help otherwise you can add the following code to your .htaccess file:</p>
<p><strong>PHP:</strong><br />
1. # protect wpconfig.php<br />
2. {files wp-config.php}<br />
3. order allow,deny<br />
4. deny from all<br />
5. {/files}</p>
<h3>Second: Change your database names</h3>
<p><strong>Note: </strong>do not attempt this unless you are comfortable with PHPMyAdmin and making changes to MySQL. If you are not comfortable with this you should hire a professional to assist you.</p>
<p>Begin by backing up your database!</p>
<p>Many people have problems with the database table name prefix changing functionality of WP Security Scan. You can manually change your database names following the instructions below.</p>
<p>1. BACKUP your WordPress database to a sql file &#8211; you can do this in &#8220;phpmyadmin&#8221;.<br />
2. You should Deactivate your plugins as a precaution before proceeding. You can reactivate them after you have finished.<br />
3. Make a copy of the .sql file you created, then you can open the .sql file and use a text editor to find and replace all “wp_” prefix to “rename_”.<br />
4. Now, drop all tables of your WordPress databases, but DO NOT drop the database.<br />
5. import the (.sql) file that you have just edited into your wordpress databases.<br />
6. Finish by editing your wp-config.php file and change the $table_prefix = ‘wp_’; to $table_prefix = ’something_’;</p>
]]></content:encoded>
			<wfw:commentRss>http://www.warrenchandler.com/2010/06/03/protect-your-blog-from-spam/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How To Decode WordPress Base 64</title>
		<link>http://www.warrenchandler.com/2010/05/01/how-to-decode-wordpress-base-64/</link>
		<comments>http://www.warrenchandler.com/2010/05/01/how-to-decode-wordpress-base-64/#comments</comments>
		<pubDate>Sat, 01 May 2010 13:01:31 +0000</pubDate>
		<dc:creator>SuperWaz</dc:creator>
				<category><![CDATA[General]]></category>
		<category><![CDATA[PHP Snippets]]></category>

		<guid isPermaLink="false">http://www.warrenchandler.com/blog/?p=48</guid>
		<description><![CDATA[1.  Open your index.php and find &#60;?php get_footer(); ?&#62; 2. Place a HTML comment that you can easily recognize, before and after Something like: &#60;!– footer content starts Here –&#62; &#60;?php get_footer(); ?&#62; &#60;!– footer content ends Here –&#62;&#60;/blockquote&#62; &#60;!-- footer content starts Here --&#62; &#60;!-- footer content ends Here --&#62; 3. Visit your blog 4. ...]]></description>
			<content:encoded><![CDATA[<p>1.  Open your index.php and find</p>
<code class="code">&lt;?php get_footer(); ?&gt;</code>
<p>2. Place a HTML comment that you can easily recognize, before and after</p>
<p>Something like:</p>
<code class="code">&lt;!– footer content starts Here –&gt;

&lt;?php get_footer(); ?&gt;

&lt;!– footer content ends Here –&gt;&lt;/blockquote&gt;
&lt;!-- footer content starts Here --&gt;

&lt;!-- footer content ends Here --&gt;</code>
<p>3. Visit your blog</p>
<p>4. View the source</p>
<p>5. Copy the HTML source between the two markers</p>
<p>6. Open footer.php and replace the encoded content with the HTML code.</p>
<p><strong>Note:</strong> Most themes will have a license that’ll not permit you to change the footer links. If that’s the case, then you are better off finding another theme</p>
]]></content:encoded>
			<wfw:commentRss>http://www.warrenchandler.com/2010/05/01/how-to-decode-wordpress-base-64/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>WordPress Breadcrumbs</title>
		<link>http://www.warrenchandler.com/2010/03/02/wordpress-breadcrumbs/</link>
		<comments>http://www.warrenchandler.com/2010/03/02/wordpress-breadcrumbs/#comments</comments>
		<pubDate>Tue, 02 Mar 2010 20:55:56 +0000</pubDate>
		<dc:creator>SuperWaz</dc:creator>
				<category><![CDATA[PHP Snippets]]></category>

		<guid isPermaLink="false">http://www.warrenchandler.com/blog/?p=74</guid>
		<description><![CDATA[Creating breadcrumbs in WordPress themes can be a pain.  With that in mind, this handy function should be exactly what you need. function waz_breadcrumbs() { $delimiter = '&#38;raquo;'; $name = 'Home'; //text for the 'Home' link $currentBefore = '&#60;span&#62;'; $currentAfter = '&#60;/span&#62;'; if ( !is_home() &#38;&#38; !is_front_page() &#124;&#124; is_paged() ) { &#60;a href="http://www.php.net/echo"&#62;echo&#60;/a&#62; '&#60;div id="crumbs"&#62;'; ...]]></description>
			<content:encoded><![CDATA[<p>Creating breadcrumbs in WordPress themes can be a pain.  With that in mind, this handy function should be exactly what you need.</p>
<code class="code">function waz_breadcrumbs()

{

$delimiter = '&amp;raquo;';

$name = 'Home'; //text for the 'Home' link

$currentBefore = '&lt;span&gt;';

$currentAfter = '&lt;/span&gt;';

if ( !is_home() &amp;&amp; !is_front_page() || is_paged() ) {

&lt;a href="http://www.php.net/echo"&gt;echo&lt;/a&gt; '&lt;div id="crumbs"&gt;';

&lt;a href="http://www.php.net/global"&gt;global&lt;/a&gt; $post;

$home = get_bloginfo('url');

&lt;a href="http://www.php.net/echo"&gt;echo&lt;/a&gt; '&lt;a href="' . $home . '"&gt;' . $name . '&lt;/a&gt; ' . $delimiter . ' ';

if ( is_category() ) {

&lt;a href="http://www.php.net/global"&gt;global&lt;/a&gt; $wp_query;

$cat_obj = $wp_query-&gt;get_queried_object();

$thisCat = $cat_obj-&gt;term_id;

$thisCat = get_category($thisCat);

$parentCat = get_category($thisCat-&gt;parent);

if ($thisCat-&gt;parent != 0) &lt;a href="http://www.php.net/echo"&gt;echo&lt;/a&gt;(get_category_parents($parentCat, TRUE, ' ' . $delimiter . ' '));

&lt;a href="http://www.php.net/echo"&gt;echo&lt;/a&gt; $currentBefore . '';

single_cat_title();

&lt;a href="http://www.php.net/echo"&gt;echo&lt;/a&gt; '' . $currentAfter;

} elseif ( is_day() ) {

&lt;a href="http://www.php.net/echo"&gt;echo&lt;/a&gt; '&lt;a href="' . get_year_link(get_the_time('Y')) . '"&gt;' . get_the_time('Y') . '&lt;/a&gt; ' . $delimiter . ' ';

&lt;a href="http://www.php.net/echo"&gt;echo&lt;/a&gt; '&lt;a href="' . get_month_link(get_the_time('Y'),get_the_time('m')) . '"&gt;' . get_the_time('F') . '&lt;/a&gt; ' . $delimiter . ' ';

&lt;a href="http://www.php.net/echo"&gt;echo&lt;/a&gt; $currentBefore . get_the_time('d') . $currentAfter;

} elseif ( is_month() ) {

&lt;a href="http://www.php.net/echo"&gt;echo&lt;/a&gt; '&lt;a href="' . get_year_link(get_the_time('Y')) . '"&gt;' . get_the_time('Y') . '&lt;/a&gt; ' . $delimiter . ' ';

&lt;a href="http://www.php.net/echo"&gt;echo&lt;/a&gt; $currentBefore . get_the_time('F') . $currentAfter;

} elseif ( is_year() ) {

&lt;a href="http://www.php.net/echo"&gt;echo&lt;/a&gt; $currentBefore . get_the_time('Y') . $currentAfter;

} elseif ( is_single() ) {

$cat = get_the_category(); $cat = $cat[0];

&lt;a href="http://www.php.net/echo"&gt;echo&lt;/a&gt; get_category_parents($cat, TRUE, ' ' . $delimiter . ' ');

&lt;a href="http://www.php.net/echo"&gt;echo&lt;/a&gt; $currentBefore;

the_title();

&lt;a href="http://www.php.net/echo"&gt;echo&lt;/a&gt; $currentAfter;

} elseif ( is_page() &amp;&amp; !$post-&gt;post_parent ) {

&lt;a href="http://www.php.net/echo"&gt;echo&lt;/a&gt; $currentBefore;

the_title();

&lt;a href="http://www.php.net/echo"&gt;echo&lt;/a&gt; $currentAfter;

} elseif ( is_page() &amp;&amp; $post-&gt;post_parent ) {

$parent_id  = $post-&gt;post_parent;

$breadcrumbs = &lt;a href="http://www.php.net/array"&gt;array&lt;/a&gt;();

while ($parent_id) {

$page = get_page($parent_id);

$breadcrumbs[] = '&lt;a href="' . get_permalink($page-&gt;ID) . '"&gt;' . get_the_title($page-&gt;ID) . '&lt;/a&gt;';

$parent_id  = $page-&gt;post_parent;

}

$breadcrumbs = &lt;a href="http://www.php.net/array_reverse"&gt;array_reverse&lt;/a&gt;($breadcrumbs);

foreach ($breadcrumbs as $crumb) &lt;a href="http://www.php.net/echo"&gt;echo&lt;/a&gt; $crumb . ' ' . $delimiter . ' ';

&lt;a href="http://www.php.net/echo"&gt;echo&lt;/a&gt; $currentBefore;

the_title();

&lt;a href="http://www.php.net/echo"&gt;echo&lt;/a&gt; $currentAfter;

} elseif ( is_search() ) {

&lt;a href="http://www.php.net/echo"&gt;echo&lt;/a&gt; $currentBefore . 'Search results for &amp;#39;' . get_search_query() . '&amp;#39;' . $currentAfter;

} elseif ( is_tag() ) {

&lt;a href="http://www.php.net/echo"&gt;echo&lt;/a&gt; $currentBefore . 'Posts tagged &amp;#39;';

single_tag_title();

&lt;a href="http://www.php.net/echo"&gt;echo&lt;/a&gt; '&amp;#39;' . $currentAfter;

} elseif ( is_author() ) {

&lt;a href="http://www.php.net/global"&gt;global&lt;/a&gt; $author;

$userdata = get_userdata($author);

&lt;a href="http://www.php.net/echo"&gt;echo&lt;/a&gt; $currentBefore . 'Articles posted by ' . $userdata-&gt;display_name . $currentAfter;

} elseif ( is_404() ) {

&lt;a href="http://www.php.net/echo"&gt;echo&lt;/a&gt; $currentBefore . 'Error 404' . $currentAfter;

}

if ( get_query_var('paged') ) {

if ( is_category() || is_day() || is_month() || is_year() || is_search() || is_tag() || is_author() ) &lt;a href="http://www.php.net/echo"&gt;echo&lt;/a&gt; ' (';

&lt;a href="http://www.php.net/echo"&gt;echo&lt;/a&gt; __('Page') . ' ' . get_query_var('paged');

if ( is_category() || is_day() || is_month() || is_year() || is_search() || is_tag() || is_author() ) &lt;a href="http://www.php.net/echo"&gt;echo&lt;/a&gt; ')';

}

&lt;a href="http://www.php.net/echo"&gt;echo&lt;/a&gt; '&lt;/div&gt;';

}

}</code>
]]></content:encoded>
			<wfw:commentRss>http://www.warrenchandler.com/2010/03/02/wordpress-breadcrumbs/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

