<?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>Jared Heinrichs &#187; Web Applications</title>
	<atom:link href="http://jaredheinrichs.com/category/web-applications/feed" rel="self" type="application/rss+xml" />
	<link>http://jaredheinrichs.com</link>
	<description>A &#34;How to&#34; Blog on Software and Technology</description>
	<lastBuildDate>Thu, 29 Jul 2010 04:20:51 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=abc</generator>
		<item>
		<title>How I design a website&#8230;</title>
		<link>http://jaredheinrichs.com/how-i-design-a-website.html</link>
		<comments>http://jaredheinrichs.com/how-i-design-a-website.html#comments</comments>
		<pubDate>Wed, 28 Jul 2010 15:25:07 +0000</pubDate>
		<dc:creator>Jared Heinrichs</dc:creator>
				<category><![CDATA[Wordpress]]></category>
		<category><![CDATA[How To]]></category>

		<guid isPermaLink="false">http://jaredheinrichs.com/how-i-design-a-website.html</guid>
		<description><![CDATA[This page will change over time. Now that I am doing more web work I’m trying to find a workflow/check list that works for me. As most of my close friends know I really like using WordPress for my CMS. For most small-midsize businesses I find WordPress can do everything pretty well. First off talk [...]]]></description>
			<content:encoded><![CDATA[<p>This page will change over time. Now that I am doing more web work I’m trying to find a workflow/check list that works for me. As most of my close friends know I really like using WordPress for my CMS. For most small-midsize businesses I find WordPress can do everything pretty well.</p>
<p>First off talk with the client and find out their needs.</p>
<ol>
<li>Time frame for completing the website</li>
<li>What is needed with the design. ie. Do they already have their own logo, company colors etc…</li>
<li>Draw out the major sections of the website. This usually means doing the layout of the front page and sub pages. If they are going to be running a blog I will have to create a 3rd template for the blog postings.</li>
<li>Once drawn out do a mock-up of the pages in photoshop in a psd file. Try and keep all pages in one file with each page in separate groupings. This helps keep all the information in one file and makes cutting up the photoshop file much easier later on.</li>
<li>Install WordPress using their <a href="http://codex.wordpress.org/Installing_WordPress" target="_blank">famous 5 minute install</a>.</li>
<li>Create 3 files. Index.html, page.html, and post.html in the root of the directory where you installed wordpress. Doing this will allow you to template the major components.</li>
<li>Check that your mark up is valid. I recommend doing this every 30 lines of code to make sure that you catch any mistakes you made. While the W3C doesn’t officially support doing “LOCAL” checks you can do it using Web Developer Tools inside of <a href="http://www.mozilla.com/en-US/firefox/personal.html" target="_blank">FireFox</a>. You can <a href="http://chrispederick.com/work/web-developer/" target="_blank">download web developer tools</a> here. This will not only check your HTML/XHTML and CSS.</li>
<li>I am assuming you know a bit about WordPress. If not, I would recommend that you go and buy the book “<a href="http://digwp.com/" target="_blank">Digging into WordPress</a>”. Once you have the three main templates created you only have copy and past the main areas into the template folder.</li>
<li>You’re now done and made a lot of $$$ <img style="border-bottom-style: none; border-right-style: none; border-top-style: none; border-left-style: none" class="wlEmoticon wlEmoticon-smile" alt="Smile" src="http://jaredheinrichs.com/wp-content/uploads/2010/07/wlEmoticonsmile.png" /></li>
</ol>
<p>Good luck!</p>
]]></content:encoded>
			<wfw:commentRss>http://jaredheinrichs.com/how-i-design-a-website.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>A quick guide to Open Source Licenses</title>
		<link>http://jaredheinrichs.com/a-quick-guide-to-open-source-licenses.html</link>
		<comments>http://jaredheinrichs.com/a-quick-guide-to-open-source-licenses.html#comments</comments>
		<pubDate>Tue, 27 Jul 2010 12:42:55 +0000</pubDate>
		<dc:creator>Jared Heinrichs</dc:creator>
				<category><![CDATA[Web Applications]]></category>

		<guid isPermaLink="false">http://jaredheinrichs.com/a-quick-guide-to-open-source-licenses.html</guid>
		<description><![CDATA[I found a great article over here: A CIO’s Quick Guide To Open Source Licenses and wanted to make note of it. One great benefit of using Linux, Apache, and other open source software is that you can modify the code to make it perfect for your business. But open source licensing restricts how you [...]]]></description>
			<content:encoded><![CDATA[<p>I found a great article over here: <a href="http://itexpertvoice.com/home/a-cio&rsquo;s-quick-guide-to-open-source-licenses/">A CIO’s Quick Guide To Open Source Licenses</a> and wanted to make note of it.</p>
<p>One great benefit of using Linux, Apache, and other open source software is that you can modify the code to make it perfect for your business. But open source licensing restricts how you distribute the modifications.&#160; Here’s what a CIO needs to know about open source licenses.</p>
<p>Most open source software licenses have two provisions in common:</p>
<p><strong>No limits on personal use, unmodified redistribution, or internal re-use.</strong> You can use the software as-is on your own, redistribute it, or modify it from source for your own use. This makes most every open source application immediately useful as an in-house productivity booster: you don’t pay anything to use it, no matter how many seats you deploy it on. And as long as you restrict the software to in-house use, you can modify it freely and keep the modifications confidential.</p>
<p><strong>No warranty.</strong> You use the software entirely at your own risk. This is not always a comforting thing to hear, which is why any major open source software deployment should be cared for by a consultant or a full-timer to ensure it works.</p>
<p>Many licenses add two other stipulations:</p>
<p><strong>Restrictions on redistribution of modifications. </strong>If you modify the software and redistribute it in binary form, you have to also release the source code for your changes. This prevents the software from being incorporated into a commercial product (or a web service) without the creators’ consent.</p>
<p><strong>Derived works are under the same license. </strong>Any software you create by modifying the source of an open source licensed program has to be re-released under the terms of the same license.</p>
<p>Provisions vary greatly between licenses. The MIT/BSD licenses, for instance, doesn’t require redistribution of modifications; the Apache license doesn’t require that derivative works be relicensed under the same terms.</p>
<p>Now let’s have a look at the top five most commonly-used open source licenses and their implications. I’ve derived this list from <a href="http://www.blackducksoftware.com/oss/licenses">a list of top 20 open source licenses</a> as tabulated by Black Duck Software’s Open Source Resource Center, which tracks the usage of open source in many ways. Remember that this isn’t an exhaustive overview of open source licenses generally – there are many others not listed here, but they are typically variations on these five.</p>
<h5>GNU Public License</h5>
<p>The GNU Public License (GPL) and its derivates are <em>the</em> most widely-used free/open source software licenses around. That makes them a source for a great many powerful and useful applications. But “free” doesn’t always mean “do as you please.”</p>
<p>The rights granted under the GPL are at their core quite simple. You can use the software as-is for any purpose, without paying anything. But if you <em>modify</em> the source code and <em>publicly release</em> a version based on those modifications — that is, if you create a derivative product for public use — you must also release the changed source code under a matching license. Any programs you create from GPL-ed source must also be released as GPL. (This restriction doesn’t apply to programs written in a GPL development environment; those can be licensed any way you see fit.)</p>
<p>There are other provisions, but that one premise remains consistent across versions of the GPL: you must give back to the community any changes you make that are intended for public consumption.</p>
<p>The GPL comes in a few different iterations. <a href="http://opensource.org/licenses/gpl-2.0.php">Version 2 of the GPL, or GPL v2 for short</a>, is the most commonly-used version of the license and works essentially as described above. <a href="http://opensource.org/licenses/gpl-3.0.html">Version 3, or GPL v3</a>, adds (among other things) a provision involving software as a service: you can’t take a GPLv3 product, modify it, and then only release it in the form of a web service without also releasing your changes in source code form. For a good way to understand what you can and can’t do with GPLv3 software, the law firm De Bandt Keustermans and Van den Brande has created a <a href="http://www.profoss.eu/index.php/main/content/download/477/4520/file/yvdb-gpl3-summary.pdf">bullet-point rundown</a>[PDF] of GPL v3’s restrictions.</p>
<p>The <a href="http://opensource.org/licenses/lgpl-2.1.php">LGPL</a>, or “Lesser GPL” (also now in <a href="http://opensource.org/licenses/lgpl-3.0.html">version 3</a>), allows software under that license to be linked to and included with any other kind of software, be it free or commercial. It’s typically used for libraries or executables where the output is passed directly to other programs, and where the creators don’t mind its proper re-use in commercial applications.</p>
<p><strong>Examples of GPL software: </strong>The Linux kernel (GPLv2); the <a href="http://openoffice.org/">OpenOffice.org</a> productivity suite (LGPL v3); and the <a href="http://videolan.org/">VLC media player</a> (GPLv2).</p>
<p><strong>Recommendations: </strong>Any modifications intended for public re-use need to be released as source code, with additional restrictions applying for GPL v3 software.</p>
<h5>MIT/BSD License</h5>
<p>The <a href="http://opensource.org/licenses/mit-license.php">MIT</a> and <a href="http://opensource.org/licenses/bsd-license.php">BSD</a> licenses, also known as “permissive” licenses (sometimes “three-clause” licenses), could hardly be simpler. They consist of a copyright notice, permission to use the code as long as the copyright notice is left intact, and a disclaimer of fitness (no warranty, express or implied, etc.). The BSD license spells out the terms of attribution a little more explicitly — it requires notice of copyright to be retained in the binaries as well as the source. You are not obliged to release the source code for any derivative versions, just leave the copyright notice intact.</p>
<p>Because the MIT/BSD licenses are almost totally unambiguous, and software written under their terms has almost no practical restrictions on its use, such software has been re-used in everything from simple web scripts to full-blown commercial software. Mac OS X and the current Windows networking stack, for instance, both use BSD-licensed code — all perfectly legit, since re-using MIT- and BSD-licensed code in commercial apps is well within the intended scope of the license.</p>
<p>To that end, any code released as MIT/BSD can be re-used in most any context: as part of an internal project, as part of something for commercial or noncommercial release, and so on. Just remember to give credit where it’s due.</p>
<p><strong>Examples: </strong>The original X Window system for UNIX; <a href="http://rubyonrails.org/">Ruby on Rails</a>; and the <a href="http://www.mono-project.com/The_Class_Library">Mono development platform class libraries</a> are all MIT-licensed. The <a href="http://jquery.com/">jQuery</a> library for JavaScript is also dual-licensed under both the MIT and GNU GPL licenses. The family of BSD operating systems (for which BSD licensing was itself named) all use the BSD license, as well as Yahoo!’s <a href="http://developer.yahoo.com/yui/">YUI library</a>. The <a href="http://www.python.org/psf/license/">Python</a> language is released under a custom license that resembles the MIT/BSD licenses in that the main restriction is that you cannot remove the copyright notice from the code.</p>
<p><strong>Recommendations: </strong>You can use MIT/BSD software as-is or modified in any context, public or private.</p>
<h5>Artistic License</h5>
<p>Originally devised by Larry Wall as the licensing terms for the Perl programming language, the <a href="http://www.opensource.org/licenses/artistic-license-2.0.php">Artistic License</a> (currently in a 2.0 release) resembles the GPL v2 license but with some slight differences in how changes must be released.</p>
<p>You can use and redistribute unmodified Artistic License software without restrictions. You can also modify the original from its source, but you cannot redistribute it without doing one of two things: a) publicly release the changes in source form along with the modified program, or b) give the changes to the program’s original copyright holder. This way you’re not obliged to give changes you make to everyone, just the author—who can then optionally include your work in future releases of his product.</p>
<p>There are a few other restrictions: for one, the derived work cannot prevent users from installing or running the original version. But the redistribution policy is the most important one.</p>
<p><strong>Examples: </strong>The <a href="http://www.perl.org/">Perl programming language</a>, of course.</p>
<p><strong>Recommendations: </strong>Any modifications for public use need to be either released as source to the public or provided to the copyright holder of the original code.</p>
<h5>Apache License</h5>
<p>Another license that was originally devised for a specific piece of software (in this case, the Apache web server), the <a href="http://www.opensource.org/licenses/apache2.0.php">Apache license</a> is closest in spirit to the BSD license. You can redistribute modified versions of the software under completely different license terms. The main restriction is that every licensed file must have attributions, copyrights, or other similar notices preserved intact, and changes to any files (whether binaries or not) have to be documented in the modified version.</p>
<p><strong>Examples: </strong>The <a href="http://httpd.apache.org/">Apache web server</a>; the <a href="http://couchdb.apache.org/">CouchDB</a> document-oriented database system; and the <a href="http://spamassassin.apache.org/">SpamAssassin</a> email filter.</p>
<p><strong>Recommendations: </strong>Modifications should be annotated when released for public use, but there are otherwise few restrictions on repurposing Apache-licensed software.<strong> </strong></p>
<h5>Mozilla Public License</h5>
<p>The <a href="http://www.opensource.org/licenses/mozilla1.1.php">Mozilla Public License</a>, or MPL, works as a hybrid of the BSD and GPL’s approaches. MPL-licensed works can be combined with other proprietary software, as long as any MPL-licensed source code files are not intermixed with proprietary code.</p>
<p>For instance, if you have an MPL program that consists of a single C++ file, you could modify that one file freely and re-use it in a proprietary program. But you couldn’t make it part of another C++ source code file in the proprietary work; you’d have to keep both C++ files separate, and any changes made to the MPL-licensed file would have to be released to the public.</p>
<p><strong>Examples: </strong>Mozilla Firefox, Mozilla Thunderbird. The Mozilla license has also spawned a few derivatives—the Common Development and Distribution License (CDDL), for instance, which has been used for OpenSolaris and other Sun projects.</p>
<p><strong>Recommendations: </strong>Keep careful control over<strong> </strong>source code licensed as MPL, but remember that it can be re-used in proprietary programs where needed.</p>
<p>While open source licenses have a great deal in common, there are important differences. The software produced under those licenses can almost always be used as-is – it’s when you create derivative works from them that the restrictions of the license come most into play, and require the most attention. But those restrictions shouldn’t keep you from evaluating open source as a powerful asset.</p>
]]></content:encoded>
			<wfw:commentRss>http://jaredheinrichs.com/a-quick-guide-to-open-source-licenses.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to make a copy of an online WordPress website and use it offline</title>
		<link>http://jaredheinrichs.com/how-to-make-a-copy-of-an-online-wordpress-website-and-use-it-offline.html</link>
		<comments>http://jaredheinrichs.com/how-to-make-a-copy-of-an-online-wordpress-website-and-use-it-offline.html#comments</comments>
		<pubDate>Thu, 25 Feb 2010 07:01:01 +0000</pubDate>
		<dc:creator>Jared Heinrichs</dc:creator>
				<category><![CDATA[Wordpress]]></category>
		<category><![CDATA[How To]]></category>

		<guid isPermaLink="false">http://jaredheinrichs.com/how-to-make-a-copy-of-an-online-wordpress-website-and-use-it-offline.html</guid>
		<description><![CDATA[As I find myself working more and more with WordPress I find myself needing to use it in different ways. I have been doing more work on other companies WordPress installs. This post will dive into converting an online WordPress install into and offline sandbox. Why does making an offline version make sense? What happens [...]]]></description>
			<content:encoded><![CDATA[<p>As I find myself working more and more with WordPress I find myself needing to use it in different ways. I have been doing more work on other companies WordPress installs. This post will dive into converting an online WordPress install into and offline sandbox.</p>
<p>Why does making an offline version make sense? What happens when some developers develop their themes in undocumented ways, customize plug-ins by directly editing the files, or make changes to the base code of WordPress instead of using the functions.php file?</p>
<p>You might also want to do upgrade testing. Does your theme support automatic updates? If the update get&#8217;s applied does it effect the look of the website? Does it break it? Want to work early on that Christmas theme with posts from your website?</p>
<p>You might think all you would have to do is to copy the files to the new offline server, Export the MySQL data and then import. Unfortunately this normally doesn’t work due to WordPress hard coding several things in the database. You could also go through the database, edit it directly and so everything points to the write place and I have seen it work. Then again I have seen when people missed something and it either killed the blog right away or and upgrade later get botched and website turns into one big white screen of death.</p>
<h2>The ideal way of doing it</h2>
<p>The best way of creating an offline version is to make sure that you have downloaded the same version you are running on the website. If you can’t download the same version upgrade your online version first to the latest and greatest. Then install WordPress on the machine you want as the offline development server. For me it is my laptop because I take it around everywhere I go. on</p>
<h2>Install the offline version of WordPress</h2>
<p>I am assuming going to assume as few things from you:</p>
<ol>
<li>You have setup the hosting server</li>
<li>You have copied the WordPress install files to the same server</li>
<li>You have already setup a user/database for the WordPress blog in MySQL</li>
<li>You have installed WordPress a few times before and don’t need a really in depth overview.</li>
</ol>
<p>Go to the web folder where you installed WordPress. You should be walked through a wizard style setup. Click “Creat a configuration file”.</p>
<p><a href="http://jaredheinrichs.com/wp-content/uploads/2010/02/image28.png"><img style="border-bottom: 0px; border-left: 0px; display: inline; border-top: 0px; border-right: 0px" title="image" border="0" alt="image" src="http://jaredheinrichs.com/wp-content/uploads/2010/02/image_thumb.png" width="294" height="206" /></a> </p>
<p>Click “Let’s go”.</p>
<p><a href="http://jaredheinrichs.com/wp-content/uploads/2010/02/image29.png"><img style="border-bottom: 0px; border-left: 0px; display: inline; border-top: 0px; border-right: 0px" title="image" border="0" alt="image" src="http://jaredheinrichs.com/wp-content/uploads/2010/02/image_thumb1.png" width="311" height="499" /></a> </p>
</p>
<p>Enter your information. Keep in mind even though your machine is offline you should take security into consideration. You Database and Username should NOT be the same. Your password should contain Upper/lowercase letters and a few numbers to mix things up.</p>
<p><a href="http://jaredheinrichs.com/wp-content/uploads/2010/02/image30.png"><img style="border-bottom: 0px; border-left: 0px; display: inline; border-top: 0px; border-right: 0px" title="image" border="0" alt="image" src="http://jaredheinrichs.com/wp-content/uploads/2010/02/image_thumb2.png" width="425" height="537" /></a> </p>
<p>You should get something like this if you entered everything correctly and setup the MySQL user properly.</p>
<p><a href="http://jaredheinrichs.com/wp-content/uploads/2010/02/image31.png"><img style="border-bottom: 0px; border-left: 0px; display: inline; border-top: 0px; border-right: 0px" title="image" border="0" alt="image" src="http://jaredheinrichs.com/wp-content/uploads/2010/02/image_thumb3.png" width="326" height="253" /></a> </p>
<p>Enter the blog info and then hit “Install WordPress”.</p>
<p><a href="http://jaredheinrichs.com/wp-content/uploads/2010/02/image32.png"><img style="border-bottom: 0px; border-left: 0px; display: inline; border-top: 0px; border-right: 0px" title="image" border="0" alt="image" src="http://jaredheinrichs.com/wp-content/uploads/2010/02/image_thumb4.png" width="430" height="591" /></a> </p>
</p>
<p>You will be shown a username and a temporary password. Make note of BOTH of them!</p>
<p><a href="http://jaredheinrichs.com/wp-content/uploads/2010/02/image33.png"><img style="border-bottom: 0px; border-left: 0px; display: inline; border-top: 0px; border-right: 0px" title="image" border="0" alt="image" src="http://jaredheinrichs.com/wp-content/uploads/2010/02/image_thumb5.png" width="388" height="402" /></a> </p>
<p>Log in with the user info:</p>
<p><a href="http://jaredheinrichs.com/wp-content/uploads/2010/02/image34.png"><img style="border-bottom: 0px; border-left: 0px; display: inline; border-top: 0px; border-right: 0px" title="image" border="0" alt="image" src="http://jaredheinrichs.com/wp-content/uploads/2010/02/image_thumb6.png" width="244" height="220" /></a> </p>
<p>Now is a good time as any if you want to reset the password that you were given at install.</p>
<p><a href="http://jaredheinrichs.com/wp-content/uploads/2010/02/image35.png"><img style="border-bottom: 0px; border-left: 0px; display: inline; border-top: 0px; border-right: 0px" title="image" border="0" alt="image" src="http://jaredheinrichs.com/wp-content/uploads/2010/02/image_thumb7.png" width="233" height="117" /></a> </p>
<p>You should make sure that it is easy to remember but it also should be a strong password.</p>
<p><img style="border-bottom: 0px; border-left: 0px; display: inline; border-top: 0px; border-right: 0px" title="image" border="0" alt="image" src="http://jaredheinrichs.com/wp-content/uploads/2010/02/image_thumb8.png" width="450" height="117" /></p>
<p>Good work! You are half way there!</p>
<h2>Exporting from the live WordPress</h2>
<p>Go to the Live WordPress site and log in:</p>
<p><a href="http://jaredheinrichs.com/wp-content/uploads/2010/02/image36.png"><img style="border-bottom: 0px; border-left: 0px; display: inline; border-top: 0px; border-right: 0px" title="image" border="0" alt="image" src="http://jaredheinrichs.com/wp-content/uploads/2010/02/image_thumb9.png" width="244" height="215" /></a> </p>
<p>Go to the Tools menu on the left hand side and click on “Export”.</p>
<p><a href="http://jaredheinrichs.com/wp-content/uploads/2010/02/image37.png"><img style="border-bottom: 0px; border-left: 0px; display: inline; border-top: 0px; border-right: 0px" title="image" border="0" alt="image" src="http://jaredheinrichs.com/wp-content/uploads/2010/02/image_thumb10.png" width="156" height="154" /></a> </p>
<p>Make sure “All Authors” is selected then click “Download Export File”.</p>
<p><a href="http://jaredheinrichs.com/wp-content/uploads/2010/02/image38.png"><img style="border-bottom: 0px; border-left: 0px; display: inline; border-top: 0px; border-right: 0px" title="image" border="0" alt="image" src="http://jaredheinrichs.com/wp-content/uploads/2010/02/image_thumb11.png" width="400" height="273" /></a> </p>
<p>Click Save. I would recommend just save it to your desktop. It shouldn’t be that big of a file.</p>
<p><a href="http://jaredheinrichs.com/wp-content/uploads/2010/02/image39.png"><img style="border-bottom: 0px; border-left: 0px; display: inline; border-top: 0px; border-right: 0px" title="image" border="0" alt="image" src="http://jaredheinrichs.com/wp-content/uploads/2010/02/image_thumb12.png" width="389" height="156" /></a> </p>
</p>
</p>
</p>
<p>Going back to the “Offline” site click on “Import” from the Tools menu. Then click on “WordPress” import.</p>
<p><a href="http://jaredheinrichs.com/wp-content/uploads/2010/02/image40.png"><img style="border-bottom: 0px; border-left: 0px; display: inline; border-top: 0px; border-right: 0px" title="image" border="0" alt="image" src="http://jaredheinrichs.com/wp-content/uploads/2010/02/image_thumb13.png" width="606" height="168" /></a> </p>
<p>Click on the Browse button and select the XML file that you saved to your desktop. Before click on the “Upload file and import” make sure that you have a good connection. I do recommend that you do the upload on a LAN line especially if the wireless signal you are using is weak.</p>
<p><a href="http://jaredheinrichs.com/wp-content/uploads/2010/02/image41.png"><img style="border-bottom: 0px; border-left: 0px; display: inline; border-top: 0px; border-right: 0px" title="image" border="0" alt="image" src="http://jaredheinrichs.com/wp-content/uploads/2010/02/image_thumb14.png" width="629" height="205" /></a></p>
<p>Make sure just to tell WordPress to leave all the users alone which is the default setting for the users.</p>
<p><a href="http://jaredheinrichs.com/wp-content/uploads/2010/02/image42.png"><img style="border-bottom: 0px; border-left: 0px; display: inline; border-top: 0px; border-right: 0px" title="image" border="0" alt="image" src="http://jaredheinrichs.com/wp-content/uploads/2010/02/image_thumb15.png" width="244" height="107" /></a>&#160; </p>
<p>Make sure to check off “Downlaod and import file attachments and hit submits.</p>
<p><a href="http://jaredheinrichs.com/wp-content/uploads/2010/02/image43.png"><img style="border-bottom: 0px; border-left: 0px; display: inline; border-top: 0px; border-right: 0px" title="image" border="0" alt="image" src="http://jaredheinrichs.com/wp-content/uploads/2010/02/image_thumb16.png" width="244" height="117" /></a> </p>
<p>This will take a bunch of time if there was a lot of files. You will see each file listed on a line and numbered.</p>
<p>You’re now required to copy the theme folder from the Live server to the “Offline” server.</p>
<p>Any Plugins will needed to be downloaded and setup.</p>
<h3>You are done!</h3>
]]></content:encoded>
			<wfw:commentRss>http://jaredheinrichs.com/how-to-make-a-copy-of-an-online-wordpress-website-and-use-it-offline.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Blank Wordpres theme</title>
		<link>http://jaredheinrichs.com/blank-wordpres-theme.html</link>
		<comments>http://jaredheinrichs.com/blank-wordpres-theme.html#comments</comments>
		<pubDate>Fri, 19 Feb 2010 04:46:09 +0000</pubDate>
		<dc:creator>Jared Heinrichs</dc:creator>
				<category><![CDATA[Wordpress]]></category>

		<guid isPermaLink="false">http://jaredheinrichs.com/?p=2663</guid>
		<description><![CDATA[I want to thank Chris from CSS Trick for creating this theme. Because I plan on using this lots I figured I&#8217;d host the file myself that way I don&#8217;t have to search his site. I might at some point switch his code into HTML5 but that will be saved for another day! Here&#8217;s a copy [...]]]></description>
			<content:encoded><![CDATA[<p>I want to thank Chris from CSS Trick for creating this theme. Because I plan on using this lots I figured I&#8217;d host the file myself that way I don&#8217;t have to search his site. I might at some point switch his code into HTML5 but that will be saved for another day! <img src='http://jaredheinrichs.com/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> </p>
<p>Here&#8217;s a copy of the theme Chris made:</p>
<p><a href="http://jaredheinrichs.com/wp-content/uploads/2010/02/BLANK-Theme-v1.zip">BLANK WordPress Theme created by Chris from CSS Tricks</a></p>
<p>Here&#8217;s a link to the <a href="http://digwp.com/2010/02/blank-wordpress-theme/?utm_source=feedburner&amp;utm_medium=feed&amp;utm_campaign=Feed%3A+DiggingIntoWordPress+%28Digging+Into+WordPress%29&amp;utm_content=Google+International" target="_blank">original Blank WordPress Theme</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://jaredheinrichs.com/blank-wordpres-theme.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to stream an MP3 file from a WordPress driven website</title>
		<link>http://jaredheinrichs.com/how-to-stream-an-mp3-file-from-a-wordpress-driven-website.html</link>
		<comments>http://jaredheinrichs.com/how-to-stream-an-mp3-file-from-a-wordpress-driven-website.html#comments</comments>
		<pubDate>Thu, 04 Feb 2010 06:48:44 +0000</pubDate>
		<dc:creator>Jared Heinrichs</dc:creator>
				<category><![CDATA[Wordpress]]></category>
		<category><![CDATA[How To]]></category>

		<guid isPermaLink="false">http://jaredheinrichs.com/how-to-stream-an-mp3-file-from-a-wordpress-driven-website.html</guid>
		<description><![CDATA[I help look after the technology needs of several of the largest arts orginization&#8217;s in Winnipeg. An issue came up the other day when I was asked to fix a computer because it wasn’t streaming audio properly. I looked at the machine and realized it wasn’t the computer that was having the issue, rather it was the [...]]]></description>
			<content:encoded><![CDATA[<p>I help look after the technology needs of several of the largest arts orginization&#8217;s in Winnipeg. An issue came up the other day when I was asked to fix a computer because it wasn’t streaming audio properly. I looked at the machine and realized it wasn’t the computer that was having the issue, rather it was the way in which the file was being hosted by the website. To be even more precise, the issue was how it was posted.</p>
<p>Unfortunately when there are so many different computer configurations with software and browsers it’s  almost impossible for people to have the same experience across all platforms.</p>
<p>After looking at several options and their prices:</p>
<ul>
<li><strong>Flash</strong> &#8211; $699.99 from Adobe’s website</li>
<li><strong>Flash converter programs</strong> – Ranged from $29.99-&gt;$129.99</li>
<li><strong>JavaScript</strong> – Free &#8211; Probably above the head of most entry level webmasters/end users. Too much work to maintain.</li>
<li>WordPress plugin &#8211; Free &#8211; Easy to use. <img src='http://jaredheinrichs.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </li>
</ul>
<p>I decided that I would test of the wordpress plugin.</p>
<h2>Example of WPaudio Plugin</h2>
<p>To start off with here&#8217;s what you will get once you follow my steps:</p>
<p><a href="http://jaredheinrichs.com/wp-content/uploads/2010/02/WSO-test.mp3">Xavier Rudd &#8211; 01 The Letter (clip)</a></p>
<h2>Pre-requisites?</h2>
<ol>
<li>High enough WordPress permissions to install plugins.</li>
<li>Install “<a href="http://wordpress.org/extend/plugins/wpaudio-mp3-player/" target="_blank">WPaudio MP3 Player</a>”.</li>
<li>Have at least one MP3 to upload to the server.</li>
</ol>
<p> </p>
<h2>How to install the “WPaudio MP3 Player” plugin</h2>
<ol>
<li>Log into your wordpress application.</li>
<li>Click on Plugins</li>
<li>Beside the “Manage Plugins” title there should be a “add new” button. Click it.</li>
<li>Search for “WPaudio MP3 Player”.</li>
<li>Click install</li>
<li>You will see WordPress download and install the software. By default it should also activate it automatically.</li>
<li>Go to the WordPress Settings Menu (Under Tools)</li>
<li>Click on WPaudio</li>
<li>Check off both boxes. (Convert all Mp3 links &amp; Handle Audio Player Tags).</li>
<li>Click Save changes.</li>
</ol>
<p> </p>
<p>Here are some screens from the different steps</p>
<p><img style="display: inline; border: 0px;" title="image" src="http://jaredheinrichs.com/wp-content/uploads/2010/02/image3.png" border="0" alt="image" width="157" height="125" /></p>
<p><img style="display: inline; border: 0px;" title="image" src="http://jaredheinrichs.com/wp-content/uploads/2010/02/image4.png" border="0" alt="image" width="344" height="60" /></p>
<p><img style="display: inline; border: 0px;" title="image" src="http://jaredheinrichs.com/wp-content/uploads/2010/02/image5.png" border="0" alt="image" width="354" height="98" /></p>
<p><img style="display: inline; border: 0px;" title="image" src="http://jaredheinrichs.com/wp-content/uploads/2010/02/image6.png" border="0" alt="image" width="591" height="106" /></p>
<p><img style="display: inline; border: 0px;" title="image" src="http://jaredheinrichs.com/wp-content/uploads/2010/02/image7.png" border="0" alt="image" width="157" height="127" /></p>
<p><img style="display: inline; border: 0px;" title="image" src="http://jaredheinrichs.com/wp-content/uploads/2010/02/image8.png" border="0" alt="image" width="575" height="282" /></p>
<h2>How to use the “WPaudio MP3 Player” plugin</h2>
<ol>
<li>Create a new post</li>
<li>Click “Add Audio” button</li>
<li>If you don’t have any mp3’s uploaded do so on this screen.</li>
<li>If you have already uploded the file just click media library</li>
<li>Click Show</li>
<li>Click Insert into post</li>
<li>It won’t look too special yet. Remember in the setup I got you to check off those two boxes? That was the real magic.</li>
<li>Once you are done with the post hit “Publish”.</li>
<li>Check out the post online.</li>
<li>You’re done!</li>
</ol>
<p> </p>
<p><img style="display: inline; border: 0px;" title="image" src="http://jaredheinrichs.com/wp-content/uploads/2010/02/image9.png" border="0" alt="image" width="290" height="84" /></p>
<p><img style="display: inline; border: 0px;" title="image" src="http://jaredheinrichs.com/wp-content/uploads/2010/02/image10.png" border="0" alt="image" width="430" height="86" /></p>
<p> <img style="display: inline; border: 0px;" title="image" src="http://jaredheinrichs.com/wp-content/uploads/2010/02/image11.png" border="0" alt="image" width="639" height="200" /></p>
<p><img style="display: inline; border: 0px;" title="image" src="http://jaredheinrichs.com/wp-content/uploads/2010/02/image12.png" border="0" alt="image" width="300" height="123" /></p>
]]></content:encoded>
			<wfw:commentRss>http://jaredheinrichs.com/how-to-stream-an-mp3-file-from-a-wordpress-driven-website.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
<enclosure url="http://jaredheinrichs.com/wp-content/uploads/2010/02/WSO-test.mp3" length="987381" type="audio/mpeg" />
		</item>
		<item>
		<title>Commonly used WordPress theme files</title>
		<link>http://jaredheinrichs.com/commonly-used-wordpress-theme-files.html</link>
		<comments>http://jaredheinrichs.com/commonly-used-wordpress-theme-files.html#comments</comments>
		<pubDate>Tue, 12 Jan 2010 06:30:47 +0000</pubDate>
		<dc:creator>Jared Heinrichs</dc:creator>
				<category><![CDATA[Wordpress]]></category>

		<guid isPermaLink="false">http://jaredheinrichs.com/commonly-used-wordpress-theme-files.html</guid>
		<description><![CDATA[This post will go over some of the major WordPress theme files. I took this from my book Digging into WordPress. I don’t recommend many books, but this is one that I would recommend you take a look at. Just incase that was too small to read for you here is the same info written [...]]]></description>
			<content:encoded><![CDATA[<p>This post will go over some of the major WordPress theme files. I took this from my book Digging into WordPress. I don’t recommend many books, but this is one that I would recommend you take a look at.</p>
<p><img style="border-bottom: 0px; border-left: 0px; display: block; float: none; margin-left: auto; border-top: 0px; margin-right: auto; border-right: 0px" title="image" border="0" alt="image" src="http://jaredheinrichs.com/wp-content/uploads/2010/01/image15.png" width="633" height="506" /> </p>
<p>Just incase that was too small to read for you here is the same info written out but doesn’t look as nice <img src='http://jaredheinrichs.com/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> </p>
<h3>404.php (STANDARD)</h3>
<p>Error page, served up when someone goes to a URL on your site that doesn’t exist </p>
<h3>archive.php (STANDARD)</h3>
<p>Page that displays posts in one particular day, month, year, category, tag, or author </p>
<h3>archives.php (Special)</h3>
<p>Page template that includes search form, category list, and monthly archives (requires page using it) </p>
<h3>comments-popup.php (Junk)</h3>
<p>If you enable popup comments (obscure function), the comments link will use this template </p>
<h3>comments.php (STANDARD)</h3>
<p>This file delivers all the comments, pingbacks, trackbacks, and the comment form when called </p>
<h3>footer.php&#160; (STANDARD)</h3>
<p>Included at the bottom of every page. Closes off all sections. (Copyright, analytics, etc) </p>
<h3>functions.php (Special)</h3>
<p>File to include special behavior for your theme. </p>
<h3>header.php (STANDARD)</h3>
<p>Included at the top of every page. (DOCTYPE, head section, navigation, etc) </p>
<h3>image.php (Special)</h3>
<p>If you wish to have unique pages for each of the image on your site (for credits, copyright) </p>
<h3>images (STANDARD)</h3>
<p> 
<p>FOLDER &#8211; Keeps all the images that make up your theme in one place </p>
<h3>index.php (Core)</h3>
<p>This is typically the “homepage” of your blog, but also the default should any other views be missing </p>
<h3>links.php (Special)</h3>
<p>Special page template for a home for your blogroll </p>
<h3>page.php (STANDARD)</h3>
<p>Template for Pages, the WordPress version of static-style/non-blog content </p>
<h3>rtl.css (Special)</h3>
<p>A special CSS file for your optional inclusion to accommodate “right to left” languages </p>
<h3>screenshot.png (STANDARD)</h3>
<p>This is the image thumbnail of your theme, for help distinguishing it in the Appearance picker </p>
<h3>search.php (STANDARD)</h3>
<p>The search results page template </p>
<h3>sidebar.php (STANDARD)</h3>
<p>Included on pages where/when/if you want a sidebar </p>
<h3>single.php (STANDARD)</h3>
<p>This file is displays a single Post in full (the Posts permalink), typically with comments </p>
<h3>style.css (Core)</h3>
<p>The styling information for your theme, required for your theme to work, even if you don’t use it</p>
]]></content:encoded>
			<wfw:commentRss>http://jaredheinrichs.com/commonly-used-wordpress-theme-files.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to display the description of a WordPress category.</title>
		<link>http://jaredheinrichs.com/how-to-display-the-description-of-a-wordpress-category.html</link>
		<comments>http://jaredheinrichs.com/how-to-display-the-description-of-a-wordpress-category.html#comments</comments>
		<pubDate>Fri, 08 Jan 2010 17:25:38 +0000</pubDate>
		<dc:creator>Jared Heinrichs</dc:creator>
				<category><![CDATA[Wordpress]]></category>
		<category><![CDATA[How To]]></category>

		<guid isPermaLink="false">http://jaredheinrichs.com/how-to-display-the-description-of-a-wordpress-category.html</guid>
		<description><![CDATA[Description Returns the description of a category defined in the category settings screen for the current category (Posts &#62; Categories). Usage &#60;?php echo category_description( $category ); ?&#62; Parameters $category (integer) &#8211; The numeric ID of the category for which the tag is to return the description. Defaults to the current category, if one is not [...]]]></description>
			<content:encoded><![CDATA[<h2>Description</h2>
<p>Returns the description of a category defined in the category settings screen for the current category (Posts &gt; Categories).</p>
<p><a name="Usage"></a></p>
<h4>Usage</h4>
<p><code>&lt;?php echo category_description( $category ); ?&gt; </code></p>
<p><a name="Parameters"></a></p>
<h2>Parameters</h2>
<dl>
<dt>$category (<em>integer</em>) &#8211; The numeric ID of the category for which the tag is to return the description. Defaults to the current category, if one is not set. </dt>
</dl>
<p><a name="Examples"></a></p>
<h3>Examples</h3>
<p><a name="Default_Usage"></a></p>
<h3>Default Usage</h3>
<p>Displays the description of a category, given its id, by echoing the return value of the tag. If no category given and used on a category page, it returns the description of the current category.</p>
<p><code>&lt;div&gt;&lt;?php echo category_description(3); ?&gt;&lt;/div&gt;  </code></p>
<p>*Note* &#8211; if there is no category description, the function returns a br tag</p>
<p><a name="Using_Category_Slug"></a></p>
<h3>Using Category Slug</h3>
<p>Displays the description of a category, using a category slug.</p>
<p><code>&lt;?php echo category_description(get_category_by_slug('category-slug')-&gt;term_id); ?&gt; </code></p>
<p><a name="With_Category_Title"></a></p>
<h3>With Category Title</h3>
<p><code>&lt;div&gt;&lt;strong&gt;&lt;?php single_cat_title('Currently browsing'); ?&gt;<br />
&lt;/strong&gt;: &lt;?php echo category_description(); ?&gt;&lt;/div&gt;</code></p>
]]></content:encoded>
			<wfw:commentRss>http://jaredheinrichs.com/how-to-display-the-description-of-a-wordpress-category.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to call more then one sidebar in a WordPress theme</title>
		<link>http://jaredheinrichs.com/how-to-call-more-then-one-sidebar-in-a-wordpress-theme.html</link>
		<comments>http://jaredheinrichs.com/how-to-call-more-then-one-sidebar-in-a-wordpress-theme.html#comments</comments>
		<pubDate>Wed, 06 Jan 2010 21:31:58 +0000</pubDate>
		<dc:creator>Jared Heinrichs</dc:creator>
				<category><![CDATA[Wordpress]]></category>
		<category><![CDATA[How To]]></category>

		<guid isPermaLink="false">http://jaredheinrichs.com/how-to-call-more-then-one-sidebar-in-a-wordpress-theme.html</guid>
		<description><![CDATA[I find there is not a whole lot of info on the net on how to make a second sidebar in your theme. On my website I wanted to easily display my twitter feed using a plugin someone created. The default theme has only one sidebar! Let me teach you how to add an extra [...]]]></description>
			<content:encoded><![CDATA[<p>I find there is not a whole lot of info on the net on how to make a second sidebar in your theme. On my website I wanted to easily display my twitter feed using a plugin someone created. The default theme has only one sidebar! Let me teach you how to add an extra sidebar or sidebars to your theme. People who know PHP will find it easy to follow but even novices can easily do it using the code that I have provided in this tutorial. I am assuming that you already know HTML and a bit of CSS.</p>
<p>To begin the tutorial, make sure that there is a  <em>functions.php</em> in your theme folder. If it is already there GREAT! If not you will have to create this file yourself. Just open notepad or any other code editor to start a new file. Put this code into that file :-</p>
<p><code>&lt;?php<br />
if ( function_exists('register_sidebars') )<br />
register_sidebars(2);<br />
?&gt;</code><br />
*NOTE* – If there is a file there delete everything and just paste this info into the file. Save the file as <em>functions.php</em> and put it in your theme folder. This piece of code actually tells WordPress to register two sidebars for you (See <em>register_sidebars(2)</em> in the code). If your theme has more than one sidebar, you will find the <em>functions.php</em> file already present in your theme folder. You just have to edit the number to your requirement and save the file. You can increase this number if you want more sidebars and if your theme’s layout can accommodate it. Now, when you go to your WordPress admin section and browse to the widgets under the menu item called presentation, you will see two sidebars listed there. You can drag your widget items into any of the sidebars.</p>
<p>Now comes the part where we actually build the sidebars. If your theme has only one sidebar, try to locate a file called <em>sidebar.php</em> in your theme folder<em>. </em>If it is already there rename it to: <em>sidebar1.php. </em>In this example, where we are trying to modify the theme for two sidebars, let’s rename <em>sidebar.php</em> to <em>sidebar1.php </em>and make a new blank file called <em>sidebar2.php</em>. Put this code into <em>sidebar2.php</em> and save the file <em>:</em></p>
<p><em> </em></p>
<p><code>&lt;div&gt;<br />
&lt;ul&gt;<br />
&lt;?php if ( function_exists('dynamic_sidebar') &amp;&amp; dynamic_sidebar(2) ) : else : ?&gt;<br />
&lt;?php endif; ?&gt;<br />
&lt;/ul&gt;<br />
&lt;/div&gt;</code></p>
<p>So, we have the two sidebars ready but they have not been placed in the <em>index.php</em> file yet. Both these sidebars need to be called from the <em>index.php</em> file in order to include them in your theme. Just open the <em>index.php</em> file from your theme folder and locate the code that calls your sidebar file (<em>sidebar.php </em>earlier). It should look something like :-</p>
<p><code>&lt;?php include ('sidebar1.php'); ?&gt;</code></p>
<p>Edit this code and change the words <em>sidebar.php</em> to <em>sidebar1.php.</em></p>
<p>This takes care of the first sidebar. Now take a look at the <em>index.php</em> file carefully and find a suitable place to insert the second sidebar. This might involve modifying your layout or adding new divs. Once you find a suitable place, place the following code there :-</p>
<p><code>&lt;?php include ('sidebar2.php'); ?&gt;</code></p>
<p>Save the <em>index.php</em> file and now preview your theme. You will see all the widgets that you placed in both your sidebars appearing on your website. If you have not placed any widgets yet, you will not see any change. There might be alignment errors but you will have to fix them yourself. You can add more sidebars in a similar way to your WordPress theme. I hope this tutorial helps some of you.</p>
]]></content:encoded>
			<wfw:commentRss>http://jaredheinrichs.com/how-to-call-more-then-one-sidebar-in-a-wordpress-theme.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>WordPress functions that you will typically use</title>
		<link>http://jaredheinrichs.com/wordpress-functions-that-you-will-typically-use.html</link>
		<comments>http://jaredheinrichs.com/wordpress-functions-that-you-will-typically-use.html#comments</comments>
		<pubDate>Wed, 28 Oct 2009 12:56:47 +0000</pubDate>
		<dc:creator>Jared Heinrichs</dc:creator>
				<category><![CDATA[Wordpress]]></category>

		<guid isPermaLink="false">http://jaredheinrichs.com/wordpress-functions-that-you-will-typically-use.html</guid>
		<description><![CDATA[This post will go over the functions that I tend to use quite often when designing WordPress themes. As I find out and use more I will update this page as needed. List of the main Functions for all parts of a WordPress page: &#60;?php get_header(); ?&#62; &#60;?php have_posts(); ?&#62; &#60;?php the_content(); ?&#62; &#60;?php get_sidebar(); [...]]]></description>
			<content:encoded><![CDATA[<p>This post will go over the functions that I tend to use quite often when designing WordPress themes. As I find out and use more I will update this page as needed.</p>
</p>
<p> <span id="more-1782"></span>
</p>
<p>List of the main Functions for all parts of a WordPress page:</p>
<pre class="csharpcode"><span class="kwrd">&lt;?</span><span class="html">php</span> <span class="attr">get_header</span>(); ?<span class="kwrd">&gt;</span>
<span class="kwrd">&lt;?</span><span class="html">php</span> <span class="attr">have_posts</span>(); ?<span class="kwrd">&gt;</span>
<span class="kwrd">&lt;?</span><span class="html">php</span> <span class="attr">the_content</span>(); ?<span class="kwrd">&gt;</span>
<span class="kwrd">&lt;?</span><span class="html">php</span> <span class="attr">get_sidebar</span>(); ?<span class="kwrd">&gt;</span>
<span class="kwrd">&lt;?</span><span class="html">php</span> <span class="attr">get_footer</span>(); ?<span class="kwrd">&gt;</span></pre>
<p>
  </p>
<style type="text/css">
<p>.csharpcode, .csharpcode pre
{
	font-size: small;
	color: black;
	font-family: consolas, "Courier New", courier, monospace;
	background-color: #ffffff;
	/*white-space: pre;*/
}
.csharpcode pre { margin: 0em; }
.csharpcode .rem { color: #008000; }
.csharpcode .kwrd { color: #0000ff; }
.csharpcode .str { color: #006080; }
.csharpcode .op { color: #0000c0; }
.csharpcode .preproc { color: #cc6633; }
.csharpcode .asp { background-color: #ffff00; }
.csharpcode .html { color: #800000; }
.csharpcode .attr { color: #ff0000; }
.csharpcode .alt 
{
	background-color: #f4f4f4;
	width: 100%;
	margin: 0em;
}
.csharpcode .lnum { color: #606060; }</style>
<p>URL for default style sheet in WordPress which is located: (<a href="http://server/wp-content/themes/theme_name/style.css">http://server/wp-content/themes/theme_name/style.css</a> )</p>
<pre class="csharpcode"><span class="kwrd">&lt;?</span><span class="html">php</span> <span class="attr">bloginfo</span>(<span class="kwrd">'stylesheet_url'</span>); ?<span class="kwrd">&gt;</span></pre>
<style type="text/css">
<p>.csharpcode, .csharpcode pre
{
	font-size: small;
	color: black;
	font-family: consolas, "Courier New", courier, monospace;
	background-color: #ffffff;
	/*white-space: pre;*/
}
.csharpcode pre { margin: 0em; }
.csharpcode .rem { color: #008000; }
.csharpcode .kwrd { color: #0000ff; }
.csharpcode .str { color: #006080; }
.csharpcode .op { color: #0000c0; }
.csharpcode .preproc { color: #cc6633; }
.csharpcode .asp { background-color: #ffff00; }
.csharpcode .html { color: #800000; }
.csharpcode .attr { color: #ff0000; }
.csharpcode .alt 
{
	background-color: #f4f4f4;
	width: 100%;
	margin: 0em;
}
.csharpcode .lnum { color: #606060; }</style>
<p>&#160;</p>
<p>The name of the website name:</p>
<pre class="csharpcode"><span class="kwrd">&lt;?</span><span class="html">php</span> <span class="attr">bloginfo</span>(<span class="kwrd">'name'</span>); ?<span class="kwrd">&gt;</span></pre>
<style type="text/css">
<p>.csharpcode, .csharpcode pre
{
	font-size: small;
	color: black;
	font-family: consolas, "Courier New", courier, monospace;
	background-color: #ffffff;
	/*white-space: pre;*/
}
.csharpcode pre { margin: 0em; }
.csharpcode .rem { color: #008000; }
.csharpcode .kwrd { color: #0000ff; }
.csharpcode .str { color: #006080; }
.csharpcode .op { color: #0000c0; }
.csharpcode .preproc { color: #cc6633; }
.csharpcode .asp { background-color: #ffff00; }
.csharpcode .html { color: #800000; }
.csharpcode .attr { color: #ff0000; }
.csharpcode .alt 
{
	background-color: #f4f4f4;
	width: 100%;
	margin: 0em;
}
.csharpcode .lnum { color: #606060; }</style>
<p>&#160;</p>
<p>The root of the theme directory. ( <a href="http://server/wp-content/themes/theme_name/">http://server/wp-content/themes/theme_name/</a> )</p>
<pre class="csharpcode"><span class="kwrd">&lt;?</span><span class="html">php</span> <span class="attr">bloginfo</span>(<span class="kwrd">'template_url'</span>)?<span class="kwrd">&gt;</span></pre>
<style type="text/css">
<p>.csharpcode, .csharpcode pre
{
	font-size: small;
	color: black;
	font-family: consolas, "Courier New", courier, monospace;
	background-color: #ffffff;
	/*white-space: pre;*/
}
.csharpcode pre { margin: 0em; }
.csharpcode .rem { color: #008000; }
.csharpcode .kwrd { color: #0000ff; }
.csharpcode .str { color: #006080; }
.csharpcode .op { color: #0000c0; }
.csharpcode .preproc { color: #cc6633; }
.csharpcode .asp { background-color: #ffff00; }
.csharpcode .html { color: #800000; }
.csharpcode .attr { color: #ff0000; }
.csharpcode .alt 
{
	background-color: #f4f4f4;
	width: 100%;
	margin: 0em;
}
.csharpcode .lnum { color: #606060; }</style>
<p>&#160;</p>
<p>Root of the wordpress site:</p>
<pre>
<pre style="background-color: #ffffff; margin: 0em; width: 100%; font-family: consolas,&#39;Courier New&#39;,courier,monospace; font-size: 12px"><span style="color: #0000ff">&lt;?</span>php <a style="color: #0000ff" href="http://www.php.net/echo">echo</a> get_option('<span style="color: #8b0000">home</span>'); <span style="color: #0000ff">?&gt;</span></pre>
</p>
</pre>
<p>&#160;</p>
<p>The title of the page/post:</p>
<pre class="csharpcode"><span class="kwrd">&lt;?</span><span class="html">php</span> <span class="attr">the_title</span>(); ?<span class="kwrd">&gt;</span></pre>
<style type="text/css">
<p>.csharpcode, .csharpcode pre
{
	font-size: small;
	color: black;
	font-family: consolas, "Courier New", courier, monospace;
	background-color: #ffffff;
	/*white-space: pre;*/
}
.csharpcode pre { margin: 0em; }
.csharpcode .rem { color: #008000; }
.csharpcode .kwrd { color: #0000ff; }
.csharpcode .str { color: #006080; }
.csharpcode .op { color: #0000c0; }
.csharpcode .preproc { color: #cc6633; }
.csharpcode .asp { background-color: #ffff00; }
.csharpcode .html { color: #800000; }
.csharpcode .attr { color: #ff0000; }
.csharpcode .alt 
{
	background-color: #f4f4f4;
	width: 100%;
	margin: 0em;
}
.csharpcode .lnum { color: #606060; }</style>
<p>&#160;</p>
<p>Next/Previous Post Link functions:</p>
<pre class="csharpcode"><span class="kwrd">&lt;?</span><span class="html">php</span> <span class="attr">nex_posts_link</span>(<span class="kwrd">'Older Entries'</span>) ?<span class="kwrd">&gt;</span>
<span class="kwrd">&lt;?</span><span class="html">php</span> <span class="attr">previous_posts_link</span>(<span class="kwrd">'Newer Entries'</span>) ?<span class="kwrd">&gt;</span></pre>
<style type="text/css">
<p>.csharpcode, .csharpcode pre
{
	font-size: small;
	color: black;
	font-family: consolas, "Courier New", courier, monospace;
	background-color: #ffffff;
	/*white-space: pre;*/
}
.csharpcode pre { margin: 0em; }
.csharpcode .rem { color: #008000; }
.csharpcode .kwrd { color: #0000ff; }
.csharpcode .str { color: #006080; }
.csharpcode .op { color: #0000c0; }
.csharpcode .preproc { color: #cc6633; }
.csharpcode .asp { background-color: #ffff00; }
.csharpcode .html { color: #800000; }
.csharpcode .attr { color: #ff0000; }
.csharpcode .alt 
{
	background-color: #f4f4f4;
	width: 100%;
	margin: 0em;
}
.csharpcode .lnum { color: #606060; }</style>
<p>&#160;</p>
<p>The content of the page/post:</p>
<pre class="csharpcode"><span class="kwrd">&lt;?</span><span class="html">php</span> <span class="attr">the_content</span>('&amp;<span class="attr">lt</span>;<span class="attr">p</span> <span class="attr">class</span><span class="kwrd">=&quot;serif&quot;</span><span class="kwrd">&gt;</span>Read the rest of this page <span class="attr">&amp;raquo;</span><span class="kwrd">&lt;/</span><span class="html">p</span><span class="kwrd">&gt;</span>'); ?<span class="kwrd">&gt;</span></pre>
<style type="text/css">
<p>.csharpcode, .csharpcode pre
{
	font-size: small;
	color: black;
	font-family: consolas, "Courier New", courier, monospace;
	background-color: #ffffff;
	/*white-space: pre;*/
}
.csharpcode pre { margin: 0em; }
.csharpcode .rem { color: #008000; }
.csharpcode .kwrd { color: #0000ff; }
.csharpcode .str { color: #006080; }
.csharpcode .op { color: #0000c0; }
.csharpcode .preproc { color: #cc6633; }
.csharpcode .asp { background-color: #ffff00; }
.csharpcode .html { color: #800000; }
.csharpcode .attr { color: #ff0000; }
.csharpcode .alt 
{
	background-color: #f4f4f4;
	width: 100%;
	margin: 0em;
}
.csharpcode .lnum { color: #606060; }</style>
<p>&#160;</p>
<p>Display the category decription:</p>
<pre class="csharpcode"><span class="kwrd">&lt;?</span><span class="html">php</span> <span class="attr">echo</span> <span class="attr">category_description</span>( $<span class="attr">category</span> ); ?<span class="kwrd">&gt;</span></pre>
<style type="text/css">
.csharpcode, .csharpcode pre
{
	font-size: small;
	color: black;
	font-family: consolas, "Courier New", courier, monospace;
	background-color: #ffffff;
	/*white-space: pre;*/
}
.csharpcode pre { margin: 0em; }
.csharpcode .rem { color: #008000; }
.csharpcode .kwrd { color: #0000ff; }
.csharpcode .str { color: #006080; }
.csharpcode .op { color: #0000c0; }
.csharpcode .preproc { color: #cc6633; }
.csharpcode .asp { background-color: #ffff00; }
.csharpcode .html { color: #800000; }
.csharpcode .attr { color: #ff0000; }
.csharpcode .alt 
{
	background-color: #f4f4f4;
	width: 100%;
	margin: 0em;
}
.csharpcode .lnum { color: #606060; }</style>
<p>&#160;</p>
<p>The time at which the page/post was posted</p>
<pre class="csharpcode"><span class="kwrd">&lt;?</span><span class="html">php</span> <span class="attr">the_time</span>(<span class="kwrd">'l, F jS, Y'</span>) ?<span class="kwrd">&gt;</span></pre>
<style type="text/css">
<p>.csharpcode, .csharpcode pre
{
	font-size: small;
	color: black;
	font-family: consolas, "Courier New", courier, monospace;
	background-color: #ffffff;
	/*white-space: pre;*/
}
.csharpcode pre { margin: 0em; }
.csharpcode .rem { color: #008000; }
.csharpcode .kwrd { color: #0000ff; }
.csharpcode .str { color: #006080; }
.csharpcode .op { color: #0000c0; }
.csharpcode .preproc { color: #cc6633; }
.csharpcode .asp { background-color: #ffff00; }
.csharpcode .html { color: #800000; }
.csharpcode .attr { color: #ff0000; }
.csharpcode .alt 
{
	background-color: #f4f4f4;
	width: 100%;
	margin: 0em;
}
.csharpcode .lnum { color: #606060; }</style>
<p>&#160;</p>
<p>Display the pages of the WordPress website. You can also include or exclude certain pages:</p>
<pre class="csharpcode"><span class="kwrd">&lt;?</span><span class="html">php</span> <span class="attr">wp_list_pages</span>(); ?<span class="kwrd">&gt;</span>
<span class="kwrd">&lt;?</span><span class="html">php</span> <span class="attr">wp_list_pages</span>(<span class="kwrd">&quot;title_li=&amp;include=2,3,22,41&quot;</span>); ?<span class="kwrd">&gt;</span>
<span class="kwrd">&lt;?</span><span class="html">php</span> <span class="attr">wp_list_pages</span>(<span class="kwrd">&quot;title_li=&amp;exclude=2,3,22,41&quot;</span>); ?<span class="kwrd">&gt;</span></pre>
<style type="text/css">
<p>.csharpcode, .csharpcode pre
{
	font-size: small;
	color: black;
	font-family: consolas, "Courier New", courier, monospace;
	background-color: #ffffff;
	/*white-space: pre;*/
}
.csharpcode pre { margin: 0em; }
.csharpcode .rem { color: #008000; }
.csharpcode .kwrd { color: #0000ff; }
.csharpcode .str { color: #006080; }
.csharpcode .op { color: #0000c0; }
.csharpcode .preproc { color: #cc6633; }
.csharpcode .asp { background-color: #ffff00; }
.csharpcode .html { color: #800000; }
.csharpcode .attr { color: #ff0000; }
.csharpcode .alt 
{
	background-color: #f4f4f4;
	width: 100%;
	margin: 0em;
}
.csharpcode .lnum { color: #606060; }</style>
<p>*NOTE* to find out what the page number is log into WordPress admin section and go to the “Pages” section. If you hover over the “Page Title” at the bottom of the webpage in the status bar you can tell what the page number is ( If anyone knows how to do this any better please let me know ) :</p>
<p><a href="http://jaredheinrichs.com/wp-content/uploads/2009/10/image31.png"><img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="image" border="0" alt="image" src="http://jaredheinrichs.com/wp-content/uploads/2009/10/image_thumb20.png" width="242" height="85" /></a></p>
<p><a href="http://jaredheinrichs.com/wp-content/uploads/2009/10/image32.png"><img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="image" border="0" alt="image" src="http://jaredheinrichs.com/wp-content/uploads/2009/10/image_thumb21.png" width="406" height="60" /></a></p>
<p>&#160;</p>
<p>How to limit the number of posts in “the loop”. In this example I chose I wanted to only show 4 posts per page. I went even further by telling the “Query_posts” to only look for category 17 which on my website is my recipe category. This line MUST be inserted BEFORE “the loop”.</p>
<pre>
<pre style="background-color: #ffffff; margin: 0em; width: 100%; font-family: consolas,&#39;Courier New&#39;,courier,monospace; font-size: 12px"><span style="color: #0000ff">&lt;?</span>php query_posts(&quot;<span style="color: #8b0000">cat=17&amp;showposts=4</span>&quot;) <span style="color: #0000ff">?&gt;</span></pre>
</p>
</pre>
<h3>Eternal Info</h3>
<p>*NOTE* If you can’t find what you need here you can always check out check out the <a href="http://codex.wordpress.org/Function_Reference" target="_blank">Official WordPress Function Reference</a> page.</p>
]]></content:encoded>
			<wfw:commentRss>http://jaredheinrichs.com/wordpress-functions-that-you-will-typically-use.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to get the &#8220;old&#8221; http://google.com/ig back</title>
		<link>http://jaredheinrichs.com/how-to-get-the-old-httpgoogle-comig-back.html</link>
		<comments>http://jaredheinrichs.com/how-to-get-the-old-httpgoogle-comig-back.html#comments</comments>
		<pubDate>Fri, 28 Aug 2009 18:50:25 +0000</pubDate>
		<dc:creator>Jared Heinrichs</dc:creator>
				<category><![CDATA[Google]]></category>

		<guid isPermaLink="false">http://jaredheinrichs.com/how-to-get-the-old-httpgoogle-comig-back.html</guid>
		<description><![CDATA[This post will go over how to hack the URL to get the back to the old http://google.com/ig page! Several months ago google changed their layout of the pages from TABS at the top of the page to TABS at the left hand side of the page. I found since they did that the RSS [...]]]></description>
			<content:encoded><![CDATA[<p>This post will go over how to hack the URL to get the back to the old <a href="http://google.com/ig">http://google.com/ig</a> page! Several months ago google changed their layout of the pages from TABS at the top of the page to TABS at the left hand side of the page. I found since they did that the RSS feeds tended to load MUCH slower then the old way.</p>
<p> <span id="more-1514"></span>
<p>What do the old version look like?</p>
<p><a href="http://jaredheinrichs.com/wp-content/uploads/2009/08/image40.png"><img style="border-bottom: 0px; border-left: 0px; display: inline; border-top: 0px; border-right: 0px" title="image" border="0" alt="image" src="http://jaredheinrichs.com/wp-content/uploads/2009/08/image_thumb38.png" width="644" height="330" /></a> </p>
<p>What does the new one look like?</p>
<p><a href="http://jaredheinrichs.com/wp-content/uploads/2009/08/googlenew.jpg"><img style="border-bottom: 0px; border-left: 0px; display: inline; border-top: 0px; border-right: 0px" title="google-new" border="0" alt="google-new" src="http://jaredheinrichs.com/wp-content/uploads/2009/08/googlenew_thumb.jpg" width="644" height="288" /></a> </p>
<p>How did I find out?</p>
<p>Well sometimes the best things in life come to you because of a fluke. This one is no exception. I had just finished installing Windows 7 on my laptop. Google’s site was having issues loading (it was on their end). When ever their servers go down Google it seems puts you back in the classic “http://google.com/ig” page. Because the first thing I do when setting up a computer is setting up my default page I hit “use this link as the default homepage”.</p>
<p>I never thought anything of it. I noticed that after a few days on my laptop I was still getting my old “IG” page. Where as my desktop and every other machine was not.</p>
<p>That got me thinking? Is it a cookie? I deleted all the cookies and that did not make a difference. I then looked at the URL in my browser. The first thing I noticed there was that there were a bunch of server side commands added on to the URL.</p>
<p>I then typed letter for letter the URL on my laptop into the URL on my desktop. Voila! That machine was now using the old theme. I then tried it on another machine just to make sure. I tried it on a Windows XP machine at work and it worked the exact same way.</p>
<p>So, if you want to get back the old “http://google.com/ig” type this: </p>
<p><a title="http://www.google.ca/ig?hl=en&amp;source=iglk" href="http://www.google.ca/ig?hl=en&amp;source=iglk">http://www.google.ca/ig?hl=en&amp;source=iglk</a></p>
<p>Is the “?hl=en&amp;source=iglk” that makes the difference.</p>
<p>What do you think. Do you like the new or old version of the web page?</p>
]]></content:encoded>
			<wfw:commentRss>http://jaredheinrichs.com/how-to-get-the-old-httpgoogle-comig-back.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
