<?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>Bud&#039;s Tech Shed</title>
	<atom:link href="http://budstechshed.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://budstechshed.com</link>
	<description></description>
	<lastBuildDate>Tue, 08 Jun 2010 17:49:55 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.6</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<image>
<link>http://budstechshed.com</link>
<url>http://budstechshed.com/wp-content/plugins/maxblogpress-favicon/icons/favicon-79.ico</url>
<title>Bud&#039;s Tech Shed</title>
</image>
		<item>
		<title>A New Site &#8211; The First Artisteer Add-on &#8211; The Templateer</title>
		<link>http://budstechshed.com/a-new-site-the-first-artisteer-add-on-the-templateer/</link>
		<comments>http://budstechshed.com/a-new-site-the-first-artisteer-add-on-the-templateer/#comments</comments>
		<pubDate>Tue, 08 Jun 2010 17:49:55 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[artisteer]]></category>

		<guid isPermaLink="false">http://budstechshed.com/?p=1363</guid>
		<description><![CDATA[I just wanted to let everyone know that I&#8217;ve created a new site with a fabulous (at least I think so) new product. It&#8217;s the first Artisteer program add-on.
I tried to take all the things that Artisteer owners want and wrap it all up in a nice package that drops right into the Artisteer program.
I think the two biggest enhancements are being able to add a linked logo image with a widgetized header and the ability to modify all of the default navigation options. I even added a couple extra features to the vertical navigation. Now you can name it anything you want or you can completely eliminate the title altogether.
And best of all, no messing around with [...]]]></description>
			<content:encoded><![CDATA[<p>I just wanted to let everyone know that I&#8217;ve created a new site with a fabulous (at least I think so) new product. It&#8217;s the first Artisteer program add-on.</p>
<p>I tried to take all the things that Artisteer owners want and wrap it all up in a nice package that drops right into the Artisteer program.</p>
<p>I think the two biggest enhancements are being able to add a linked logo image with a widgetized header and the ability to modify all of the default navigation options. I even added a couple extra features to the vertical navigation. Now you can name it anything you want or you can completely eliminate the title altogether.</p>
<p>And best of all, no messing around with the code. Everything gets exported from Artisteer styles to your design.</p>
<p>Anyway, jog on over to the new site <a title="The Templateer - Take Artisteer To The Next Level" href="http://thetemplateer.com" target="_blank">The Templateer</a> and check it out. There is also a very limited time special offer. So get on your running shoes and head on over.</p>
<p>Here&#8217;s a few screenshots of some of the features:</p>
<p style="text-align: center;"><a href="http://budstechshed.com/wp-content/uploads/2010/06/beach-header.png" class="highslide-image" onclick="return hs.expand(this);"><img class="aligncenter size-medium wp-image-1366" title="beach-header" src="http://budstechshed.com/wp-content/uploads/2010/06/beach-header-300x97.png" alt="beach-header" width="300" height="97" /></a>A fully customizable header with logo and widget area</p>
<p style="text-align: center;">
<p style="text-align: center;"><a href="http://budstechshed.com/wp-content/uploads/2010/06/beach-footer.png" class="highslide-image" onclick="return hs.expand(this);"><img class="aligncenter size-medium wp-image-1365" title="beach-footer" src="http://budstechshed.com/wp-content/uploads/2010/06/beach-footer-300x118.png" alt="beach-footer" width="300" height="118" /></a>A fully widgetized footer</p>
<p style="text-align: center;">
<p><a href="http://budstechshed.com/wp-content/uploads/2010/06/options2.png" class="highslide-image" onclick="return hs.expand(this);"><img class="aligncenter size-medium wp-image-1367" title="options2" src="http://budstechshed.com/wp-content/uploads/2010/06/options2-237x300.png" alt="options2" width="237" height="300" /></a><a href="http://budstechshed.com/wp-content/uploads/2010/06/options3.png" class="highslide-image" onclick="return hs.expand(this);"></a></p>
<p style="text-align: center;">Some magazine style layouts with configurable options</p>
<p style="text-align: center;">
<p><a href="http://budstechshed.com/wp-content/uploads/2010/06/options3.png" class="highslide-image" onclick="return hs.expand(this);"><img class="aligncenter size-medium wp-image-1368" title="options3" src="http://budstechshed.com/wp-content/uploads/2010/06/options3-296x300.png" alt="options3" width="296" height="300" /></a></p>
<p style="text-align: center;">Some other areas that can be modified</p>
]]></content:encoded>
			<wfw:commentRss>http://budstechshed.com/a-new-site-the-first-artisteer-add-on-the-templateer/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>Display A Different Header For Every Page/Post The Easy Way</title>
		<link>http://budstechshed.com/display-a-different-header-for-every-pagepost/</link>
		<comments>http://budstechshed.com/display-a-different-header-for-every-pagepost/#comments</comments>
		<pubDate>Fri, 14 May 2010 21:29:09 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[artisteer]]></category>

		<guid isPermaLink="false">http://budstechshed.com/?p=1347</guid>
		<description><![CDATA[I&#8217;ve been playing around with the new beta version of Wordpress 3.0 and discovered a technique for having different headers for each page or post. The best part is that it will work with v2.9.2 so you don&#8217;t have to wait for v3.0 to come out.
This technique comes out of the new twentyten theme and is very easy to implement into your Artisteer created theme.
The first thing that needs to be done is to enable the new post_thumbnail function (if it isn&#8217;t already enabled). Open your functions.php file and add this to the top right after the opening PHP declaration&#8230;

// add post_thumbnail support
if ( function_exists('add_theme_support') )
  add_theme_support('post-thumbnails');

Save the file and then open your header.php file. What we [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve been playing around with the new beta version of Wordpress 3.0 and discovered a technique for having different headers for each page or post. The best part is that it will work with v2.9.2 so you don&#8217;t have to wait for v3.0 to come out.</p>
<p>This technique comes out of the new twentyten theme and is very easy to implement into your Artisteer created theme.</p>
<p>The first thing that needs to be done is to enable the new post_thumbnail function (if it isn&#8217;t already enabled). Open your functions.php file and add this to the top right after the opening PHP declaration&#8230;</p>
<pre class="brush: php;">
// add post_thumbnail support
if ( function_exists('add_theme_support') )
  add_theme_support('post-thumbnails');
</pre>
<p>Save the file and then open your header.php file. What we are going to do now is add a little bit of magic to the art-header-jpg DIV that will over-ride the default header image.</p>
<p>In your header file the DIV you want looks like this&#8230;</p>
<pre class="brush: php;">
&lt;div class=&quot;art-header-jpeg&quot;&gt;&lt;/div&gt;
</pre>
<p>We want to make the code look like this&#8230;</p>
<pre class="brush: php;">
    &lt;div class=&quot;art-header-jpeg&quot;&gt;
	&lt;?php
	if ( is_singular() &amp;&amp;
		has_post_thumbnail( $post-&gt;ID ) &amp;&amp;
		( $image = wp_get_attachment_image_src( get_post_thumbnail_id( $post-&gt;ID ), 'post-thumbnail' ) ) &amp;&amp;
		$image[1] &gt;= 1000 ) : // change 1000 to the width of your header
		echo get_the_post_thumbnail( $post-&gt;ID, 'post-thumbnail' );
			else : ?&gt;
&lt;?php endif; ?&gt;
	&lt;/div&gt;
</pre>
<p>Don&#8217;t forget to change the &#8216;1000&#8242; in line six to the value of the width of your header image.</p>
<p><strong><span style="color: #800000;"><span style="color: #ff0000;">NOTE:</span> </span></strong><em>This works best with a square header image. On rounded  corner headers Artisteer make two images. One is a background PNG with  the rounded corners and the other is your JPG image that sits on to of  it.</em></p>
<p>That&#8217;s it, you&#8217;re done. Now  make some header images that are the same size as the default header and then load up your theme and go to the edit screen for an existing (or new) post.</p>
<p>If all is working you should see a new box on the right side of your post edit page that will allow you to attach a thumbnail to the post.</p>
<p><span style="color: #800000;"><span style="color: #ff0000;"><span style="color: #000000;"><img class="aligncenter size-full wp-image-1351" title="post_thumb1" src="http://budstechshed.com/wp-content/uploads/2010/05/post_thumb1.jpg" alt="post_thumb1" width="294" height="68" /><br />
</span></span></span></p>
<p>As long as the image you attach is at least as wide as your header then the it will over ride the default image when you view the post otherwise it will just show your default header.</p>
<p>Now every page or post can have a different header image.</p>
<p><a href="http://budstechshed.com/wp-content/uploads/2010/05/header1.jpg" class="highslide-image" onclick="return hs.expand(this);"><img class="aligncenter size-medium wp-image-1354" title="header1" src="http://budstechshed.com/wp-content/uploads/2010/05/header1-300x77.jpg" alt="header1" width="300" height="77" /></a></p>
<p><a href="http://budstechshed.com/wp-content/uploads/2010/05/header2.jpg" class="highslide-image" onclick="return hs.expand(this);"><img class="aligncenter size-medium wp-image-1355" title="header2" src="http://budstechshed.com/wp-content/uploads/2010/05/header2-300x70.jpg" alt="header2" width="300" height="70" /></a></p>
<p>Anyway, that&#8217;s about it. Give it a try and have fun.</p>
<p><span style="color: #ff0000;"><strong>REMEMBER:</strong></span> Backup, backup, backup. And don&#8217;t work on a live site. It&#8217;s really a pain when you blow up WP and can&#8217;t access your site. Ask me how I know  <img src='http://budstechshed.com/wp-includes/images/smilies/icon_mrgreen.gif' alt=':mrgreen:' class='wp-smiley' /> </p>
]]></content:encoded>
			<wfw:commentRss>http://budstechshed.com/display-a-different-header-for-every-pagepost/feed/</wfw:commentRss>
		<slash:comments>8</slash:comments>
		</item>
		<item>
		<title>Artisteer 2.4 &#8211; Add a Wide Sidebar Over Double Sidebars</title>
		<link>http://budstechshed.com/artisteer-2-4-add-a-wide-sidebar-over-double-sidebars/</link>
		<comments>http://budstechshed.com/artisteer-2-4-add-a-wide-sidebar-over-double-sidebars/#comments</comments>
		<pubDate>Sat, 08 May 2010 00:59:20 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[artisteer]]></category>

		<guid isPermaLink="false">http://budstechshed.com/?p=1328</guid>
		<description><![CDATA[When Artisteer 2.4 came out some of the usual techniques for styling the page changed. Especially when dropping a wide sidebar area over an existing double sidebar. The folks at Artisteer decided to change how the page was styled by using the dispay:table selector.  That was a real head scratcher because I can&#8217;t remember ever seeing it used in that way. After playing around for a bit I gave up because I had better things to do. Anyway about an hour ago I was doing something completely unrelated and all of a sudden the light bulb came on. It was a 10 minute job and I had a working wide sidebar.
So without anymore fanfare, here it is&#8230;
Create [...]]]></description>
			<content:encoded><![CDATA[<p>When Artisteer 2.4 came out some of the usual techniques for styling the page changed. Especially when dropping a wide sidebar area over an existing double sidebar. The folks at Artisteer decided to change how the page was styled by using the dispay:table selector.  That was a real head scratcher because I can&#8217;t remember ever seeing it used in that way. After playing around for a bit I gave up because I had better things to do. Anyway about an hour ago I was doing something completely unrelated and all of a sudden the light bulb came on. It was a 10 minute job and I had a working wide sidebar.</p>
<p>So without anymore fanfare, here it is&#8230;</p>
<p>Create and export a theme with a double sidebar.</p>
<p>Open the functions.php file and change register_sidebars from 2 to 3.</p>
<pre class="brush: php;">
if (function_exists('register_sidebars')) {
	register_sidebars(3, array(
		'before_widget' =&gt; '&lt;div id=&quot;%1$s&quot; class=&quot;widget %2$s&quot;&gt;'.'&lt;!--- BEGIN Widget ---&gt;',
		'before_title' =&gt; '&lt;!--- BEGIN WidgetTitle ---&gt;',
		'after_title' =&gt; '&lt;!--- END WidgetTitle ---&gt;',
		'after_widget' =&gt; '&lt;!--- END Widget ---&gt;'.'&lt;/div&gt;'
	));
}
</pre>
<p>Make backup copies of your sidebar1 and sidebar2 files in case you want to go back.</p>
<p>In sidebar1.php change the first line from this&#8230;</p>
<pre class="brush: php;">
&lt;div class=&quot;art-layout-cell art-sidebar1&quot;&gt;
</pre>
<p>To this&#8230;</p>
<pre class="brush: php;">
&lt;div style=&quot;width:50%;float:left;&quot;&gt;
</pre>
<p>Do the same thing for the sidebar2.php file. The width I split equally but you could make one bigger than the other as long as they equal 100%.</p>
<p>Next open your index.php file and find the includes for the sidebars. You are going to replace this..</p>
<pre class="brush: php;">
&lt;?php include (TEMPLATEPATH . '/sidebar1.php'); ?&gt;&lt;?php include (TEMPLATEPATH . '/sidebar2.php'); ?&gt;
</pre>
<p>With this&#8230;</p>
<pre class="brush: php;">
&lt;div class=&quot;art-layout-cell art-sidebar1&quot; style=&quot;width:40%;&quot;&gt;
&lt;div style=&quot;width:100%;float:left;&quot;&gt;
&lt;?php if (!art_sidebar(3)): ?&gt;&lt;?php endif ?&gt;
&lt;/div&gt;
&lt;?php include (TEMPLATEPATH . '/sidebar1.php'); ?&gt;
&lt;?php include (TEMPLATEPATH . '/sidebar2.php'); ?&gt;
&lt;/div&gt;
</pre>
<p>The width percentage on line one should be the total of sidebar1 and sidebar2 from your style.css file. I left the art-sidebar selector in in case a background color or image was used.</p>
<p>Basically what I did was move the art-layout-cell from the sidebar files and created a new div to wrap all of the sidebars in.</p>
<p>The new sidebar3 won&#8217;t appear until you place a widget into it from the dashboard.</p>
<p>I left all of the styling in the DIV&#8217;s instead of creating classes and adding them to the style.css file because I was too lazy  <img src='http://budstechshed.com/wp-includes/images/smilies/icon_wink.gif' alt=';-)' class='wp-smiley' />  . That will be for another day.</p>
<p>Load up your theme and see if it works. If does then make the same changes to the single.php, page.php, archive.php, search.php and 404.php files as you did for the index.php file. If it doesn&#8217;t work then someone did something wrong.</p>
<p>Here&#8217;s the result with a randomly generated Artisteer 2.4 theme&#8230;</p>
<p><a href="http://budstechshed.com/artisteer-2-4-add-a-wide-sidebar-over-double-sidebars/wide-side/"><img class="aligncenter size-medium wp-image-1313" title="wide-side" src="http://budstechshed.com/wp-content/uploads/2010/05/wide-side-300x277.jpg" alt="wide-side" width="300" height="277" /></a></p>
<p>Give it a try and let me know what you think.</p>
]]></content:encoded>
			<wfw:commentRss>http://budstechshed.com/artisteer-2-4-add-a-wide-sidebar-over-double-sidebars/feed/</wfw:commentRss>
		<slash:comments>7</slash:comments>
		</item>
		<item>
		<title>Make Your Artisteer Menu Compatible With The New Wordpress 3.0 Nav Menu</title>
		<link>http://budstechshed.com/make-your-artisteer-menu-compatible-with-wp30/</link>
		<comments>http://budstechshed.com/make-your-artisteer-menu-compatible-with-wp30/#comments</comments>
		<pubDate>Sun, 18 Apr 2010 04:06:50 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[artisteer]]></category>

		<guid isPermaLink="false">http://budstechshed.com/?p=1270</guid>
		<description><![CDATA[I&#8217;ve been playing around with the beta release of Wordpress 3.0 lately and really like the new navigation menu. It&#8217;s very slick. Anyway, I wanted to make see if I could make the new nav menu work with the styling of my Artisteer menu.
After fooling around for a couple of hours I got it working and it turned out to be easier than I thought. I now have a cool menu that can have any combination of pages, categories and even external links.
The first thing that needs to be done is to make the theme aware of the nav-menu. Open the functions.php file in your favorite editor.
Right after the opening php tag add this&#8230;

if ( function_exists('add_theme_support') )

	// This [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve been playing around with the beta release of Wordpress 3.0 lately and really like the new navigation menu. It&#8217;s very slick. Anyway, I wanted to make see if I could make the new nav menu work with the styling of my Artisteer menu.</p>
<p>After fooling around for a couple of hours I got it working and it turned out to be easier than I thought. I now have a cool menu that can have any combination of pages, categories and even external links.</p>
<p>The first thing that needs to be done is to make the theme aware of the nav-menu. Open the functions.php file in your favorite editor.</p>
<p>Right after the opening php tag add this&#8230;</p>
<pre class="brush: php;">
if ( function_exists('add_theme_support') )

	// This theme uses post thumbnails
	add_theme_support( 'post-thumbnails' );

	// This theme uses wp_nav_menu()
	add_theme_support( 'nav-menus' );
</pre>
<p>I figured we may as well add post-thumbnail support too <img src='http://budstechshed.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>That&#8217;s it for the functions.php file. Now open the header.php file and locate your art-menu code. It should look something like this&#8230;</p>
<pre class="brush: php;">
&lt;div class=&quot;art-nav&quot;&gt;
	&lt;div class=&quot;l&quot;&gt;&lt;/div&gt;
	&lt;div class=&quot;r&quot;&gt;&lt;/div&gt;
	&lt;ul class=&quot;art-menu&quot;&gt;
		&lt;?php art_menu_items(); ?&gt;
	&lt;/ul&gt;
&lt;/div&gt;
</pre>
<p>We&#8217;re going to replace the unordered list with the new wp_nav_menu so that it will now look like this&#8230;</p>
<pre class="brush: php;">
&lt;div class=&quot;art-nav&quot; &gt;
	&lt;div class=&quot;l&quot;&gt;&lt;/div&gt;
	&lt;div class=&quot;r&quot;&gt;&lt;/div&gt;
	&lt;?php wp_nav_menu( array(
		'sort_column' =&gt; 'menu_order',
		'menu_class' =&gt; 'art-menu',
		'title_li' =&gt; '&lt;div class=&quot;l&quot;&gt;&lt;/div&gt;&lt;div class=&quot;r&quot;&gt;&lt;/div&gt;',
		'menu' =&gt; 'pages', // this is the name of your menu you created in the menu admin
		'link_before' =&gt; '&lt;span class=&quot;l&quot;&gt;&lt;/span&gt;&lt;span class=&quot;r&quot;&gt;&lt;/span&gt;&lt;span class=&quot;t&quot;&gt;',
		'link_after' =&gt; '&lt;/span&gt;'
	) ); ?&gt;
&lt;/div&gt;
</pre>
<p>The new wp_nav_menu has a number of options that allows us to wrap the menu and duplicate exactly the styling of the Artisteer menu, almost. The only thing we can&#8217;t do (or at least I haven&#8217;t figured it out yet) is that Artisteer adds a class <em>.active</em> to the active link of a menu item. The wp_nav_menu function adds a class for the active item but since there is no CSS style for it the active menu is not set. But all is not lost, we just have to add a little CSS to our style.css file.</p>
<p>Find the following code in your style.css file&#8230;</p>
<pre class="brush: css;">
.art-menu a.active .l, .art-menu a.active .r
{
  top: -66px; /* this will unique to each theme */
}

.art-menu a.active .t
{
  color: #070807; /* this will unique to each theme */
}
</pre>
<p>Right after the last css item add the following&#8230;</p>
<pre class="brush: css;">
.art-menu li.current-menu-item a .l, .art-menu li.current-menu-item a .r ,
.art-menu li.menu-item-parent a .l,.art-menu li.menu-item-parent a .r	{
top:-66px; /* make this value the same as the one above */
}

.art-menu li.current-menu-item a .t, .art-menu li.menu-item-parent a .t {
color:#070807; /* make this value the same as the one above */
}
</pre>
<p>Substitute the values indicated by the comments in the above code with the values from your theme. This CSS will now properly show the menu item as active.</p>
<p>That&#8217;s it. You should now have a WP 3.0 compatible menu for your theme.</p>
<p>Since WP 3.0 is in beta some things may change. One of the things missing from the beta is to create a class to indicate when there is an active parent item for a child menu that is active. This functionality will be included in the final release of WP3.0 and I&#8217;ve added the CSS to take advantage of it when it becomes functional.</p>
<p>Here&#8217;s a shot of my test site with a normal Artisteer menu on the to and a custom WP3.0 menu on the bottom of the header.</p>
<p style="text-align: center;"><img class="aligncenter size-full wp-image-1283" title="30-menu" src="http://budstechshed.com/wp-content/uploads/2010/04/30-menu.jpg" alt="30-menu" width="593" height="221" /></p>
]]></content:encoded>
			<wfw:commentRss>http://budstechshed.com/make-your-artisteer-menu-compatible-with-wp30/feed/</wfw:commentRss>
		<slash:comments>10</slash:comments>
		</item>
		<item>
		<title>Anatomy Of An Artiteer Theme</title>
		<link>http://budstechshed.com/anatomy-of-an-artiteer-theme/</link>
		<comments>http://budstechshed.com/anatomy-of-an-artiteer-theme/#comments</comments>
		<pubDate>Mon, 05 Apr 2010 23:40:34 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[artisteer]]></category>

		<guid isPermaLink="false">http://budstechshed.com/?p=1261</guid>
		<description><![CDATA[I’ve modified a lot of themes made with Artisteer. It took awhile to figure  out how all of the pieces of the theme worked together. Along the way I  started documenting my discoveries.
So here it is. The anatomy of an Artisteer theme in PDF format.

]]></description>
			<content:encoded><![CDATA[<p>I’ve modified a lot of themes made with Artisteer. It took awhile to figure  out how all of the pieces of the theme worked together. Along the way I  started documenting my discoveries.</p>
<p>So here it is. The anatomy of an Artisteer theme in PDF format.</p>
<p><img class="aligncenter size-full wp-image-1264" title="anatomy1" src="http://budstechshed.com/wp-content/uploads/2010/04/anatomy1.png" alt="anatomy1" width="379" height="674" /></p>
<a href="http://budstechshed.com/files/artisteer-exposed.pdf" title="Downloaded 1349 times"><img src="http://budstechshed.com/wp-content/plugins/download-monitor/page-addon/buttons source/downloadbutton.png" alt="Anatomy of an Artisteer Theme" /></a>
]]></content:encoded>
			<wfw:commentRss>http://budstechshed.com/anatomy-of-an-artiteer-theme/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Set Up Your Own Local WAMP Webserver With Wordpress</title>
		<link>http://budstechshed.com/set-up-wordpress-on-your-own-local-wamp-webserver/</link>
		<comments>http://budstechshed.com/set-up-wordpress-on-your-own-local-wamp-webserver/#comments</comments>
		<pubDate>Fri, 12 Feb 2010 02:41:05 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Tutorials]]></category>

		<guid isPermaLink="false">http://budstechshed.com/?p=1173</guid>
		<description><![CDATA[When you start designing Wordpress themes it becomes a real hassle to constantly upload files to your web server to see if your latest tweak did what you wanted it to.  And what happens when your latest modification messes things up and your live site is non functional?  What you need is your very own web server. All of the individual applications are available, Apache , PHP and mySQL. But putting all of the pieces together is a real challenge.
Now you can set up your own web server on your local computer with just one application that includes everything you need. You can do all of your theme testing locally and be confident that it will run exactly [...]]]></description>
			<content:encoded><![CDATA[<p>When you start designing Wordpress themes it becomes a real hassle to constantly upload files to your web server to see if your latest tweak did what you wanted it to.  And what happens when your latest modification messes things up and your live site is non functional?  What you need is your very own web server. All of the individual applications are available, Apache , PHP and mySQL. But putting all of the pieces together is a real challenge.</p>
<p>Now you can set up your own web server on your local computer with just one application that includes everything you need. You can do all of your theme testing locally and be confident that it will run exactly the same when you upload it to your web host.</p>
<p>I&#8217;ll be showing you how to install WAMP (<strong>W</strong>indows, <strong>A</strong>pache, <strong>m</strong>ySQL &amp; <strong>P</strong>HP) on your Windows PC. If you&#8217;re using a Mac you can download <a href="http://www.google.com/url?sa=t&amp;source=web&amp;ct=res&amp;cd=1&amp;ved=0CAoQFjAA&amp;url=http%3A%2F%2Fwww.mamp.info%2F&amp;rct=j&amp;q=mamp&amp;ei=phtyS8fPC4W1tge2vNyECg&amp;usg=AFQjCNE3Eeh78-JAsRygzNjtPVbj-miJkQ" target="_blank">MAMP</a> or <a href="http://www.google.com/url?sa=t&amp;source=web&amp;ct=res&amp;cd=1&amp;ved=0CAoQFjAA&amp;url=http%3A%2F%2Fwww.apachefriends.org%2Fen%2Fxampp.html&amp;rct=j&amp;q=xampp&amp;ei=yBtyS7v-HoaXtgeOrLGICg&amp;usg=AFQjCNGc5NLvRxcZrB8MRP6RiYtrUCzJBg" target="_blank">XAMPP</a> and follow the directions from the download site.</p>
<p>The first thing to do is get the <a href="http://www.wampserver.com/en/index.php" target="_blank">latest version</a> of WAMP.</p>
<p>Double click the installer and you should get the following screens. Windows Vista and Windows 7 users may get some other security warnings but after that it should be what follows&#8230;</p>
<p><a href="http://budstechshed.com/wp-content/uploads/2010/02/wamp11.png" class="highslide-image" onclick="return hs.expand(this);"><img class="aligncenter size-medium wp-image-1177" title="wamp1" src="http://budstechshed.com/wp-content/uploads/2010/02/wamp11-300x233.png" alt="wamp1" width="300" height="233" /></a></p>
<p>Accept the license agreement&#8230;</p>
<p><a href="http://budstechshed.com/wp-content/uploads/2010/02/wamp2.png" class="highslide-image" onclick="return hs.expand(this);"><img class="aligncenter size-medium wp-image-1179" title="wamp2" src="http://budstechshed.com/wp-content/uploads/2010/02/wamp2-300x233.png" alt="wamp2" width="300" height="233" /></a></p>
<p>Select the destination folder. If you want it someplace other than drive C change it now&#8230;</p>
<p><a href="http://budstechshed.com/wp-content/uploads/2010/02/wamp3.png" class="highslide-image" onclick="return hs.expand(this);"><img class="aligncenter size-medium wp-image-1180" title="wamp3" src="http://budstechshed.com/wp-content/uploads/2010/02/wamp3-300x233.png" alt="wamp3" width="300" height="233" /></a></p>
<p>Select whether you want a quick launch icon and a desktop icon..</p>
<p><a href="http://budstechshed.com/wp-content/uploads/2010/02/wamp4.png" class="highslide-image" onclick="return hs.expand(this);"><img class="aligncenter size-medium wp-image-1181" title="wamp4" src="http://budstechshed.com/wp-content/uploads/2010/02/wamp4-300x233.png" alt="wamp4" width="300" height="233" /></a></p>
<p>Click install and your about done&#8230;</p>
<p><a href="http://budstechshed.com/wp-content/uploads/2010/02/wamp5.png" class="highslide-image" onclick="return hs.expand(this);"><img class="aligncenter size-medium wp-image-1182" title="wamp5" src="http://budstechshed.com/wp-content/uploads/2010/02/wamp5-300x233.png" alt="wamp5" width="300" height="233" /></a></p>
<p>Once the installation is complete you&#8217;ll see the SMTP outgoing mail server screen. Don&#8217;t worry about the mail server, just click &#8216;Next&#8217; because you won&#8217;t be sending email from your local server and it takes some additional configuration anyway (that&#8217;s not covered here).</p>
<p><a href="http://budstechshed.com/wp-content/uploads/2010/02/wamp6.png" class="highslide-image" onclick="return hs.expand(this);"><img class="aligncenter size-medium wp-image-1212" title="wamp6" src="http://budstechshed.com/wp-content/uploads/2010/02/wamp6-300x231.png" alt="wamp6" width="300" height="231" /></a></p>
<p>All that&#8217;s left is to click &#8216;Finish&#8217;.  Go ahead and start the server as we&#8217;ll be installing Wordpress next.</p>
<p><a href="http://budstechshed.com/wp-content/uploads/2010/02/wamp7.png" class="highslide-image" onclick="return hs.expand(this);"><img class="aligncenter size-medium wp-image-1213" title="wamp7" src="http://budstechshed.com/wp-content/uploads/2010/02/wamp7-300x231.png" alt="wamp7" width="300" height="231" /></a></p>
<p>Now for the big test. Launch your browser and type &#8216;<strong>localhost</strong>&#8216; into the address bar. You should see something similar to the next image&#8230;</p>
<p><a href="http://budstechshed.com/wp-content/uploads/2010/02/wamp8.png" class="highslide-image" onclick="return hs.expand(this);"><img class="aligncenter size-medium wp-image-1217" title="wamp8" src="http://budstechshed.com/wp-content/uploads/2010/02/wamp8-300x196.png" alt="wamp8" width="300" height="196" /></a></p>
<p>If you used the default setting during installation then <strong>c:\wamp\www</strong> will be the root of your web server. Anything you put in the root folder will be available from your browser as if you were browsing the web. By default the wamp server installs an index.php file in the root that will show some information about your web server, a couple of applications and then everything else that&#8217;s been placed in the <strong>www </strong>folder.</p>
<p>If you keep everything in separate folders, you can have as many different installations of Wordpress that you want. Or bbPress, Drupal, Magento, a standard HTML/PHP website or anything other kind of web site. In essence, each folder represents a different web site address. As long as you don&#8217;t over write the index.php file that&#8217;s in the root you&#8217;ll always be presented with a directory listing of your separate websites.</p>
<p>Before we get to installing Wordpress we need to make one modification to the Apache server.  We need to turn on mod_rewrite so that we can use permalinks.</p>
<p>Fire up your <strong>text editor</strong> (not word processor) and open the httpd.conf file. Be careful editing this file. It contains the configuration for the Apache server. If you mess it up you will probably crash the server so make a backup before editing. If you installed WAMP in the default location the file will be located here:</p>
<p>C:\wamp\bin\apache\Apache2.2.11\conf\httpd.conf</p>
<p>Your looking for the line: <span style="color: #0000ff;">#LoadModule rewrite_module modules/mod_rewrite.so</span> which should be around line 116. To enable mod_rewrite just remove the &#8216;<strong>#</strong>&#8216; symbol at the beginning of the line.</p>
<p><a href="http://budstechshed.com/wp-content/uploads/2010/02/mod-rewrite.jpg" class="highslide-image" onclick="return hs.expand(this);"><img class="aligncenter size-medium wp-image-1240" title="mod-rewrite" src="http://budstechshed.com/wp-content/uploads/2010/02/mod-rewrite-300x55.jpg" alt="mod-rewrite" width="300" height="55" /></a></p>
<p>Save the file and then restart the Apache server if it was already running. Now you&#8217;ll be able to enable &#8216;<span style="color: #0000ff;"><a href="http://codex.wordpress.org/Using_Permalinks" target="_blank">Pretty Permalinks</a></span>&#8216; on your Wordpress site.</p>
<p><a href="http://budstechshed.com/wp-content/uploads/2010/02/apache-restart.jpg" class="highslide-image" onclick="return hs.expand(this);"><img class="aligncenter size-medium wp-image-1242" title="apache-restart" src="http://budstechshed.com/wp-content/uploads/2010/02/apache-restart-300x155.jpg" alt="apache-restart" width="300" height="155" /></a></p>
<p>Let&#8217;s start the Wordpress installation.</p>
<p>We&#8217;ll be following the Wordpress <a href="http://codex.wordpress.org/Installing_WordPress" target="_blank"><strong>Famous 5 Minute Install</strong> </a>with a couple of changes to fit our local web server.</p>
<h3>Step 1: Download and Extract</h3>
<p style="padding-left: 30px;">Grab the latest version of <a href="http://wordpress.org/latest.zip" target="_blank">Wordpress</a>. Unzip it and copy  it to your <strong>www </strong>folder. At this point you should rename the  default Wordpress folder (wordpress) to something descriptive such as &#8216;<strong>wp-sales-site</strong>&#8216;.  Try to avoid using spaces between words, us a dash or underline  instead.</p>
<h3>Step 2: Create the Database Using phpMyAdmin</h3>
<p style="padding-left: 30px;">Point you browser to &#8216;<strong>localhost</strong>&#8216; and then click on &#8216;<strong>phpmyadmin</strong>&#8216; under the <strong>&#8216;Tools</strong>&#8216; heading.  This is where the install deviates from a normal web host install. Since your on a local server that is typically not viewable by anyone but you there is no password required and the user name is &#8216;<strong>root</strong>&#8216; by default. So all you need to do is provide a name for your database, but no user name or password.</p>
<p style="padding-left: 30px;"><a href="http://budstechshed.com/wp-content/uploads/2010/02/create-db1.png" class="highslide-image" onclick="return hs.expand(this);"><img class="aligncenter size-medium wp-image-1222" title="create-db1" src="http://budstechshed.com/wp-content/uploads/2010/02/create-db1-300x200.png" alt="create-db1" width="300" height="200" /></a></p>
<h3>Step 3: Set up wp-config.php</h3>
<p>You can create and edit the wp-config.php file manually but it&#8217;s much easier to let Wordpress do it for you. Point your browser to &#8216;<a href="http://localhost/wp-test-site/wp-admin/install.php" target="_blank"><strong>localhost/wp-sales-site/wp-admin/install.php</strong></a>&#8216; and you will see the next screen. Go ahead and create the configuration file&#8230;</p>
<p><a href="http://budstechshed.com/wp-content/uploads/2010/02/wp-create1.jpg" class="highslide-image" onclick="return hs.expand(this);"><img class="aligncenter size-medium wp-image-1225" title="wp-create1" src="http://budstechshed.com/wp-content/uploads/2010/02/wp-create1-300x72.jpg" alt="wp-create1" width="300" height="72" /></a></p>
<p>Now we tell Wordpress details about our database that we created earlier.</p>
<p><a href="http://budstechshed.com/wp-content/uploads/2010/02/wp-create2.jpg" class="highslide-image" onclick="return hs.expand(this);"><img class="aligncenter size-medium  wp-image-1226" title="wp-create2" src="http://budstechshed.com/wp-content/uploads/2010/02/wp-create2-300x208.jpg" alt="wp-create2" width="300" height="208" /></a></p>
<ol>
<li>This is the database we created in phpMyAdmin</li>
<li>Our user name is &#8216;<strong>root</strong>&#8216; by default</li>
<li>Leave the password blank</li>
<li>Our database is located on &#8216;<strong>localhost</strong>&#8216;</li>
<li>This is the default prefix</li>
</ol>
<p>Go ahead and click &#8216;<strong>Run the install</strong>&#8216;&#8230;</p>
<p><a href="http://budstechshed.com/wp-content/uploads/2010/02/wp-create3.jpg" class="highslide-image" onclick="return hs.expand(this);"><img class="aligncenter size-medium wp-image-1227" title="wp-create3" src="http://budstechshed.com/wp-content/uploads/2010/02/wp-create3-300x86.jpg" alt="wp-create3" width="300" height="86" /></a></p>
<p><a href="http://budstechshed.com/wp-content/uploads/2010/02/wp-create4.jpg"><br />
</a>Give you blog a name. This will appear as your blog title. You have to put in an email address even though it won&#8217;t be used. Then hit &#8216;<strong>Install Wordpress</strong>&#8216;&#8230;</p>
<p><a href="http://budstechshed.com/wp-content/uploads/2010/02/wp-create5.jpg" class="highslide-image" onclick="return hs.expand(this);"></a><a href="http://budstechshed.com/wp-content/uploads/2010/02/wp-create4b.jpg" class="highslide-image" onclick="return hs.expand(this);"><img class="aligncenter size-medium wp-image-1235" title="wp-create4b" src="http://budstechshed.com/wp-content/uploads/2010/02/wp-create4b-300x163.jpg" alt="wp-create4b" width="300" height="163" /></a></p>
<p>At this point Wordpress is installed.  A default user named &#8216;<strong>admin</strong>&#8216; has been created with a random password. <span style="color: #ff0000;"><strong>Write this password down</strong></span>. You will change it when you login-in on the next screen.</p>
<p><a href="http://budstechshed.com/wp-content/uploads/2010/02/wp-create5.jpg" class="highslide-image" onclick="return hs.expand(this);"><img class="aligncenter size-medium wp-image-1229" title="wp-create5" src="http://budstechshed.com/wp-content/uploads/2010/02/wp-create5-300x156.jpg" alt="wp-create5" width="300" height="156" /></a></p>
<p>That&#8217;s it! You&#8217;ve just installed a local WAMP server and done your first installation of Wordpress. You no longer have to fire up your FTP program and upload changes to your site. Just copy them to the appropriate folder on your local web server.</p>
<p>Remember, you can create many Wordpress installations by keeping them in their own directory.</p>
<p>Good Luck and have fun!</p>
]]></content:encoded>
			<wfw:commentRss>http://budstechshed.com/set-up-wordpress-on-your-own-local-wamp-webserver/feed/</wfw:commentRss>
		<slash:comments>6</slash:comments>
		</item>
		<item>
		<title>Dynamic Header Rotation For Your Wordpress Theme</title>
		<link>http://budstechshed.com/dynamic-header-rotation-for-your-wordpress-theme/</link>
		<comments>http://budstechshed.com/dynamic-header-rotation-for-your-wordpress-theme/#comments</comments>
		<pubDate>Thu, 11 Feb 2010 15:39:05 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[artisteer]]></category>

		<guid isPermaLink="false">http://budstechshed.com/?p=1192</guid>
		<description><![CDATA[Some people are never satisfied. They liked the Super Simple Random Header Image but they wanted more   . They wanted the header images to change every 10-15 seconds without having to refresh the page. So after a little head scratching and searching I&#8217;ve found the solution.
This tutorial will be aimed at Artisteer generated themes, but it will work for virtually any Wordpress theme. This will also only work with Artisteer themes with square header images. Rounded headers have two images, a .png that provides the round corners and a .jpg that is positioned on top.
The first thing you need to do is create your new header images. They need to be the exact same size as [...]]]></description>
			<content:encoded><![CDATA[<p>Some people are never satisfied. They liked the <a href="/super-simple-random-header-image-for-your-artisteer-theme/">Super Simple Random Header Image</a> but they wanted more <img src='http://budstechshed.com/wp-includes/images/smilies/icon_mrgreen.gif' alt=':mrgreen:' class='wp-smiley' />  . They wanted the header images to change every 10-15 seconds without having to refresh the page. So after a little head scratching and searching I&#8217;ve found the solution.</p>
<p>This tutorial will be aimed at Artisteer generated themes, but it will work for virtually any Wordpress theme. This will also only work with Artisteer themes with square header images. Rounded headers have two images, a .png that provides the round corners and a .jpg that is positioned on top.</p>
<p>The first thing you need to do is create your new header images. They need to be the exact same size as your original image. You can make as many as you want. Create a new folder called &#8216;headers&#8217; in the images folder of your theme. You need to name the header images as follows:</p>
<ul>
<li>header_1.jpg</li>
<li>header_2.jpg</li>
<li>header_3.jpg</li>
<li>header_4.jpg</li>
<li>header_5.jpg</li>
<li>&#8230;</li>
<li>header_XX.jpg</li>
</ul>
<p>Now open your header.php file in your favorite text editor and find the following code&#8230;</p>
<pre class="brush: php;">
&lt;?php wp_head(); ?&gt;
</pre>
<p>Then insert this code directly above it&#8230;</p>
<pre class="brush: php;">
&lt;?php wp_enqueue_script('jquery'); ?&gt;
&lt;script type=&quot;text/javascript&quot;&gt;
counter = 1;
num_images = 5; // Enter the number of images to rotate
dir = &quot;&lt;?php bloginfo('template_url'); ?&gt;/images/headers&quot;; // This is where your images are stored

function rotateHeader() {

	var header_img = 'url(' + dir + '/header_' + counter + '.jpg)'; // jpg, png, or gif

	jQuery('.art-Header-jpeg').css('background-image', header_img); // .art-Header-jpeg is the div you want to replace
	counter++; if (counter &gt; num_images) counter = 1;
}

&lt;/script&gt;
</pre>
<p>The above code enables JavaScript and does all the work of rotating our images.  The code is commented so that you can change some of the default values.</p>
<p>Next change the body tag to look like this&#8230;</p>
<pre class="brush: php;">
&lt;body onLoad=&quot;javascript:setInterval( 'rotateHeader()', 10000 );&quot;&gt; &lt;!-- Set time in milliseconds 5000=5 seconds --&gt;
</pre>
<p>This bit of code will enable the rotation script but not until <strong>after </strong>the page loads.</p>
<p>The next thing that we need to do is pre-load our header images so that there is no delay in displaying our headers. The easiest way to do this is in an invisible DIV. We will tell the browser to load the images and then we will style the DIV to display:none.</p>
<p>Add the following code right after the &lt; body &gt; tag&#8230;</p>
<pre class="brush: xml;">
&lt;div style=&quot;width:1px; height:1px; display:none;&quot;&gt;
    &lt;img src=&quot;&lt;?php bloginfo('template_url'); ?&gt;/images/headers/header_1.jpg&quot; /&gt;
	&lt;img src=&quot;&lt;?php bloginfo('template_url'); ?&gt;/images/headers/header_2.jpg&quot; /&gt;
	&lt;img src=&quot;&lt;?php bloginfo('template_url'); ?&gt;/images/headers/header_3.jpg&quot; /&gt;
	&lt;img src=&quot;&lt;?php bloginfo('template_url'); ?&gt;/images/headers/header_4.jpg&quot; /&gt;
	&lt;img src=&quot;&lt;?php bloginfo('template_url'); ?&gt;/images/headers/header_5.jpg&quot; /&gt;
&lt;/div&gt;
</pre>
<p>In this example we&#8217;re rotating 5 different images. If you want more or less you just have to make sure and adjust the code accordingly.</p>
<p>That&#8217;s about it. Remember if you have any questions just drop me a line.</p>
]]></content:encoded>
			<wfw:commentRss>http://budstechshed.com/dynamic-header-rotation-for-your-wordpress-theme/feed/</wfw:commentRss>
		<slash:comments>18</slash:comments>
		</item>
		<item>
		<title>Super Simple Random Header Image For Your Artisteer Theme</title>
		<link>http://budstechshed.com/super-simple-random-header-image-for-your-artisteer-theme/</link>
		<comments>http://budstechshed.com/super-simple-random-header-image-for-your-artisteer-theme/#comments</comments>
		<pubDate>Mon, 08 Feb 2010 00:26:41 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[artisteer]]></category>

		<guid isPermaLink="false">http://budstechshed.com/?p=1150</guid>
		<description><![CDATA[Modifying your theme to include random header images doesn&#8217;t have to be difficult. In fact it isn&#8217;t any more complicated than adding a few lines of code to the header.php file. I&#8217;ve created themes with random header images using a number of different techniques and this is by far the simplest way ever. It may not be the most efficient technique or the most random but it is easy.
Note: This really only works for headers that are square cornered. When you make a header with rounded corners, Artisteer creates two images. One is a square cornered .jpg that sits on top of a rounded corner .png image. We could make a random rotator for the two different images [...]]]></description>
			<content:encoded><![CDATA[<p>Modifying your theme to include random header images doesn&#8217;t have to be difficult. In fact it isn&#8217;t any more complicated than adding a few lines of code to the header.php file. I&#8217;ve created themes with random header images using a number of different techniques and this is by far the simplest way ever. It may not be the most efficient technique or the most random but it is easy.</p>
<p><strong>Note:</strong> This really only works for headers that are square cornered. When you make a header with rounded corners, Artisteer creates two images. One is a square cornered .jpg that sits on top of a rounded corner .png image. We could make a random rotator for the two different images but then it would defeat the purpose of being super simple. So we&#8217;ll save that for another time.</p>
<p>The first thing you need to do is create your new header images. They need to be the exact same size as your original image. You can make as many as you want. Create a new folder called &#8216;headers&#8217; in the images folder of your theme. You need to name the header images as follows:</p>
<ul>
<li>header_1.jpg</li>
<li>header_2.jpg</li>
<li> header_3.jpg</li>
<li>header_4.jpg</li>
<li>header_5.jpg</li>
<li>&#8230;</li>
<li>header_XX.jpg</li>
</ul>
<p>Now open your header.php file in your favorite text editor and find the following code&#8230;</p>
<pre class="brush: php;">
&lt;?php wp_head(); ?&gt;

&lt;/head&gt;
</pre>
<p>Then add the following code between wp_head and /head&#8230;</p>
<pre class="brush: php;">
&lt;style type=&quot;text/css&quot;&gt;
div.art-Header-jpeg {
background-image: url('&lt;?php bloginfo('template_url'); ?&gt;/images/headers/header_&lt;?php echo(rand(1,5)); ?&gt;.jpg');
}
&lt;/style&gt;
</pre>
<p>The new CSS style above is the key to everything. Since we are using  some PHP to generate a random number we can&#8217;t include it in our CSS  file. By putting it in the head after our original style.css declaration  we will automatically override the default CSS.</p>
<p>This bit of code is what does all the work&#8230;</p>
<pre class="brush: php;">
&lt;?php echo(rand(1,5)); ?&gt;
</pre>
<p>It generates a random number and appends it to the name to generate a new random image name. You can change the last number (5) to match the total number of header images you create if you want more or less than five. The more images you have the more random the generator will seem. If you don&#8217;t have an image with the new generated name there will not be an image displayed, since it couldn&#8217;t find it.</p>
<p>As you can see from the image below, the original CSS style has been replaced by the new style.</p>
<p style="text-align: center;"><img class="size-full wp-image-1158  aligncenter" title="rotate-css" src="http://budstechshed.com/wp-content/uploads/2010/02/rotate-css.jpg" alt="rotate-css" width="597" height="259" /></p>
<p style="text-align: left;">NOTE: If you want to use a different image format than jpg, then just change the extension in the new style you added.</p>
<p style="text-align: left;">That&#8217;s it. Now you can have a random header with minimal modifications to your theme files.</p>
]]></content:encoded>
			<wfw:commentRss>http://budstechshed.com/super-simple-random-header-image-for-your-artisteer-theme/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>How To Create A Cool Peel Away Effect For Your Blog</title>
		<link>http://budstechshed.com/how-to-create-a-cool-peel-away-effect-for-your-blog/</link>
		<comments>http://budstechshed.com/how-to-create-a-cool-peel-away-effect-for-your-blog/#comments</comments>
		<pubDate>Thu, 12 Nov 2009 17:42:06 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Tutorials]]></category>

		<guid isPermaLink="false">http://budstechshed.com/?p=1092</guid>
		<description><![CDATA[You&#8217;ve probably seen the cool peel away effect in the upper right corner on some websites and wondered how the heck they did that. It certainly caught your attention.
The peel away effect is a great way to get your visitors attention and direct them to some special content or product. It&#8217;s fairly easy to implement. You can also place it just about anywhere, not just in upper corner.
The directions will show implementing the peel away in an Artisteer created theme but you can put it into just about any theme or website design.
Download the zip file containing the peel away script and the starter images.
Step 1 &#8211; Edit peel.js
First we need to configure the peel.js file. For Wordpress [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://budstechshed.com/wp-content/uploads/2009/11/peel-away1.jpg" class="highslide-image" onclick="return hs.expand(this);"><img class="alignleft size-medium wp-image-1093" title="peel-away1" src="http://budstechshed.com/wp-content/uploads/2009/11/peel-away1-300x225.jpg" alt="peel-away1" width="180" height="135" /></a>You&#8217;ve probably seen the cool peel away effect in the upper right corner on some websites and wondered how the heck they did that. It certainly caught your attention.</p>
<p>The peel away effect is a great way to get your visitors attention and direct them to some special content or product. It&#8217;s fairly easy to implement. You can also place it just about anywhere, not just in upper corner.</p>
<p>The directions will show implementing the peel away in an Artisteer created theme but you can put it into just about any theme or website design.</p>
<p>Download the zip file containing the peel away script and the starter images.</p>
<a href="http://budstechshed.com/files/peel.zip" title="Downloaded 297 times"><img src="http://budstechshed.com/wp-content/plugins/download-monitor/page-addon/buttons source/downloadbutton.png" alt="Peel Away Files" /></a>
<p><strong>Step 1 &#8211; Edit peel.js</strong></p>
<p>First we need to configure the peel.js file. For Wordpress users, I would suggest that you upload the <em><strong>peel </strong></em>folder to you current theme folder (<strong><em>wp-content/themes/your_current_theme/</em></strong>).</p>
<p>Open this file in your <a title="My favorite text editor is Notepad++" href="http://notepad-plus.sourceforge.net/uk/site.htm" target="_blank">text editor</a> and change lines 1,2,3,8,9 to reflect the URL&#8217;s of your site. I&#8217;ve used my site as an example&#8230;</p>
<pre class="brush: jscript;">
jaaspeel.ad_url = escape('http://budstechshed.com/free-wordpress-install/');
jaaspeel.small_path = 'http://budstechshed.com/wp-content/themes/cardboard_bts/peel/small.swf';
jaaspeel.small_image = escape('http://budstechshed.com/wp-content/themes/cardboard_bts/peel/small-bts.jpg');
jaaspeel.small_width = '100';
jaaspeel.small_height = '100';
jaaspeel.small_params = 'ico=' + jaaspeel.small_image;

jaaspeel.big_path = 'http://budstechshed.com/wp-content/themes/cardboard_bts/peel/large.swf';
jaaspeel.big_image = escape('http://budstechshed.com/wp-content/themes/cardboard_bts/peel/large-bts.jpg');
</pre>
<p><strong>Step 2 &#8211; Edit the images</strong></p>
<p>There are two images you need to create called small.jpg and large.jpg. There are some sample images included so that you don&#8217;t have to do anything right away.</p>
<ul>
<li><strong>small.jpg</strong> – The small background  image your visitors see before content behind gets revealed. The size is 100 x 100 pixels.</li>
<li><strong>large.jpg</strong> – The image visitors will see when the corner peels away. The size is 500 x 500 pixels.</li>
</ul>
<p><strong>Step 3 &#8211; Upload files</strong></p>
<p>Now all you need to do is upload the entire peel folder to your website. Remember to put it in the location you specified when you edited the peel.js file.</p>
<p><strong>Step 4 &#8211; Add Javascript to header.php</strong></p>
<p>Now open header.php in your text editor and add the following line between the wp_head and the closing head tag&#8230;</p>
<pre class="brush: php;">
&lt;script src=&quot;&lt;?php bloginfo('template_url'); ?&gt;/peel/peel.js&quot; type=&quot;text/javascript&quot;&gt;&lt;/script&gt;
</pre>
<p>It should look like this&#8230;</p>
<pre class="brush: php;">
&lt;?php wp_head(); ?&gt;
&lt;script src=&quot;&lt;?php bloginfo('template_url'); ?&gt;/peel/peel.js&quot; type=&quot;text/javascript&quot;&gt;&lt;/script&gt;
&lt;/head&gt;
</pre>
<p>Actually, you can place the peel.js script just about anywhere. The placement in the example above will put the peel away in the upper right corner of the browser. On my site I put it in the beginning of the Sheet-body DIV so that it peels away from the header image.</p>
<p>That&#8217;s it!</p>
<div style="background-color:#ffffff;padding: 5px;"><span style="color: #ff0000;"><strong>NOTE:</strong></span> If the images don&#8217;t appear and you&#8217;re sure that the script was edited properly and everything is uploaded to the proper locations&#8230;Then it may be an issue with your webhost. Some webhosts implement &#8220;modsec&#8221; security rules to protect your site from hackers. Your webhost needs to white list the peel.js script to allow it to run on your site. Hostgator responded in under 10 minutes of submitting a support ticket and had the script working.</div>
<p>If you have any questions or need some help, just leave a comment and I&#8217;ll do what I can to help you out.</p>
<div style="; " class="alignnone">
<div class="shadow_curl" style="border:1px #cccccc solid;padding:5px;; margin:0 !important; max-width:100% !important;">
<h2 class="style1" style="padding:8px 0 14px;"><span style="color: #ff0000;">Disclaimer</span></h2>
<p>I make no promises as to the functionality of these modifications to <strong>your</strong> theme code. Do it at your own risk. Do it on a backup copy. Do it while wide awake and after having plenty of sleep or plenty to drink, your choice. Don&#8217;t do it to your original code. Don&#8217;t do it while sleepy, cranky, or driving. And most important, don&#8217;t expect it to work the first time. If it does work the first time you probably got lucky. Besides, if you don&#8217;t break things you never figure out how they work. And last but not least&#8230;Have fun and learn something new.</p>
</div>
<img src="http://budstechshed.com/wp-content/plugins/shadows/shadow_curl.png" class="aligncenter shadow_img" style="margin:0 !important;height:10px;width:100%;"></div>

]]></content:encoded>
			<wfw:commentRss>http://budstechshed.com/how-to-create-a-cool-peel-away-effect-for-your-blog/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Making A Custom 404 Error Page</title>
		<link>http://budstechshed.com/making-a-custom-404-error-page/</link>
		<comments>http://budstechshed.com/making-a-custom-404-error-page/#comments</comments>
		<pubDate>Mon, 09 Nov 2009 17:53:33 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Tutorials]]></category>

		<guid isPermaLink="false">http://budstechshed.com/?p=1017</guid>
		<description><![CDATA[There are a lot of reasons visitors to your site may get the feared &#8220;404 Error&#8221; page. They made a mistake and typed in the URL wrong. Or the page was renamed or deleted. Whatever the case they end with a page that just says &#8220;Error 404 -Not Found&#8221;. Check out the default &#8220;Kubrick&#8221; themes 404 page (default 404). That surely doesn&#8217;t help your visitor. They may think there&#8217;s something wrong with your site and just move on and leave for good.
Instead of just giving your visitor a confusing page with a cryptic message, offer them a solution. I&#8217;ll bet most site owners error pages are the default, ugly uninformative error page.
Below are few inspirational 404 pages&#8230;


Let&#8217;s make [...]]]></description>
			<content:encoded><![CDATA[<p>There are a lot of reasons visitors to your site may get the feared &#8220;404 Error&#8221; page. They made a mistake and typed in the URL wrong. Or the page was renamed or deleted. Whatever the case they end with a page that just says &#8220;Error 404 -Not Found&#8221;. Check out the default &#8220;Kubrick&#8221; themes 404 page (<a href="http://budstechshed.com/wp-content/uploads/2009/11/default-404.jpg" class="highslide-image" onclick="return hs.expand(this);">default 404</a>). That surely doesn&#8217;t help your visitor. They may think there&#8217;s something wrong with your site and just move on and leave for good.</p>
<p>Instead of just giving your visitor a confusing page with a cryptic message, offer them a solution. I&#8217;ll bet most site owners error pages are the default, ugly uninformative error page.</p>
<p>Below are few inspirational 404 pages&#8230;</p>
<div class="image-box" style="width: 100%; margin-left: 20px;"><a href="http://budstechshed.com/wp-content/uploads/2009/11/example-404-2.jpg" class="highslide-image" onclick="return hs.expand(this);"><img class="size-thumbnail wp-image-1023 alignleft" title="example-404-2" src="http://budstechshed.com/wp-content/uploads/2009/11/example-404-2-150x150.jpg" alt="example-404-2" width="140" height="140" /></a><a href="http://budstechshed.com/wp-content/uploads/2009/11/example-404-1.jpg" class="highslide-image" onclick="return hs.expand(this);"><img class="size-thumbnail wp-image-1022 alignleft" title="example-404-1" src="http://budstechshed.com/wp-content/uploads/2009/11/example-404-1-150x150.jpg" alt="example-404-1" width="140" height="140" /></a><a href="http://budstechshed.com/wp-content/uploads/2009/11/example-404-3.jpg" class="highslide-image" onclick="return hs.expand(this);"><img class="size-thumbnail wp-image-1024 alignleft" title="example-404-3" src="http://budstechshed.com/wp-content/uploads/2009/11/example-404-3-150x150.jpg" alt="example-404-3" width="140" height="140" /></a><a href="http://budstechshed.com/wp-content/uploads/2009/11/example-404-4.jpg" class="highslide-image" onclick="return hs.expand(this);"><img class="alignleft size-thumbnail wp-image-1034" title="example-404-4" src="http://budstechshed.com/wp-content/uploads/2009/11/example-404-4-150x150.jpg" alt="example-404-4" width="140" height="140" /></a></p>
</div>
<h3>Let&#8217;s make an awesome 404 error page</h3>
<p>We could use a plugin to redirect our visitor but I would prefer that they know the URL is wrong so they can update their bookmark or link.</p>
<p>Fortunately Wordpress keeps track of everything we&#8217;ll need to make a killer 404 page and keep our visitor from getting lost and leaving. The <code style="background-color:#FFFFCF;">$wp_query-&gt;query_vars['name']</code> variable holds the information we need to make our new 404 page.</p>
<p>If a visitor hits our 404 page we&#8217;re going to give them some choices to help them find their way. Here&#8217;s what we&#8217;ll provide them&#8230;</p>
<ol>
<li>We&#8217;ll show them some posts to choose from that may be related to what they&#8217;re looking for.</li>
<li>We&#8217;ll give them a search box to do a site search.</li>
<li>We&#8217;ll give them suggestions to check the URL for spelling.</li>
<li>We&#8217;ll direct them to our sitemap (you have one don&#8217;t you?).</li>
<li>And finally, we&#8217;ll direct them back to our home page.</li>
</ol>
<p>Here&#8217;s the code we&#8217;re going to be putting in our 404.php file.</p>
<p>Put the following code just above the <code style="background-color:#FFFFCF;"> get_header();</code> line&#8230;</p>
<pre class="brush: php;">
&lt;?php get_header();?&gt;
</pre>
<p>Like this&#8230;</p>
<pre class="brush: php;">
&lt;?php
function bts_strip_attachments($where) {
	$where .= ' AND post_type != &quot;attachment&quot;';
	return $where;
}
add_filter('posts_where','bts_strip_attachments');
?&gt;
&lt;?php get_header();?&gt;
</pre>
<p>This function cleans up the query_posts results so that we can get the rest of the info we need for our visitors.</p>
<p>Now put the following code in place of your existing 404 error message&#8230;</p>
<pre class="brush: php;">
&lt;h2&gt;Sorry but I can't find the page you're looking for...&lt;/h2&gt;

		&lt;p&gt;Let me help you find what you came here for:&lt;/p&gt;
		&lt;?php
			$s = preg_replace(&quot;/(.*)-(html|htm|php|asp|aspx)$/&quot;,&quot;$1&quot;,$wp_query-&gt;query_vars['name']);
			$posts = query_posts('post_type=post&amp;name='.$s);
			$s = str_replace(&quot;-&quot;,&quot; &quot;,$s);
			if (count($posts) == 0) {
				$posts = query_posts('post_type=post&amp;s='.$s);
			}
			if (count($posts) &gt; 0) {
				echo &quot;&lt;ol&gt;&lt;li&gt;&quot;;
				echo &quot;&lt;p&gt;Were you looking for &lt;strong&gt;one of the following&lt;/strong&gt; posts or pages?&lt;/p&gt;&quot;;
				echo &quot;&lt;ul&gt;&quot;;
				foreach ($posts as $post) {
					echo '&lt;li&gt;&lt;a href=&quot;'.get_permalink($post-&gt;ID).'&quot;&gt;'.$post-&gt;post_title.'&lt;/a&gt;&lt;/li&gt;';
				}
				echo &quot;&lt;/ul&gt;&quot;;
				echo &quot;&lt;p&gt;If not, don't worry, I've got a few more tips for you to find it:&lt;/p&gt;&lt;/li&gt;&quot;;
			} else {
				echo &quot;&lt;p&gt;&lt;strong&gt;Don't worry though!&lt;/strong&gt; I've got a few tips for you to find it:&lt;/p&gt;&quot;;
				echo &quot;&lt;ol&gt;&quot;;
			}
		?&gt;
			&lt;li&gt;&lt;p&gt;
				&lt;label for=&quot;s&quot;&gt;&lt;strong&gt;Search&lt;/strong&gt; for it:&lt;/label&gt;
				&lt;form style=&quot;display:inline;&quot; action=&quot;&lt;?php bloginfo('siteurl');?&gt;&quot;&gt;
					&lt;input type=&quot;text&quot; value=&quot;&lt;?php echo esc_attr($s); ?&gt;&quot; id=&quot;s&quot; name=&quot;s&quot;/&gt; &lt;input type=&quot;submit&quot; value=&quot;Search&quot;/&gt;
				&lt;/form&gt;&lt;/p&gt;
			&lt;/li&gt;
			&lt;li&gt;&lt;p&gt;
				&lt;strong&gt;If you typed in a URL...&lt;/strong&gt; make sure the spelling, cApitALiZaTiOn, and punctuation are correct. Then try reloading the page.&lt;/p&gt;

			&lt;/li&gt;
			&lt;li&gt;&lt;p&gt;
				&lt;strong&gt;Look&lt;/strong&gt; for it in the &lt;a href=&quot;&lt;?php bloginfo('siteurl');?&gt;/sitemap/&quot;&gt;sitemap&lt;/a&gt;.
				&lt;/p&gt;
			&lt;/li&gt;
			&lt;li&gt;&lt;p&gt;
				&lt;strong&gt;Start over again&lt;/strong&gt; at my &lt;a href=&quot;&lt;?php bloginfo('siteurl');?&gt;&quot;&gt;homepage&lt;/a&gt; (and please contact me to say what went wrong, so I can fix it).&lt;/p&gt;
			&lt;/li&gt;
		&lt;/ol&gt;
</pre>
<p><strong>For Artisteer Generated Themes</strong></p>
<p>If you&#8217;re modifying an Artisteer generated theme you&#8217;ll want to place the above code into your 404.php file in the location I&#8217;ve indicated below&#8230;</p>
<pre class="brush: php;">
&lt;div class=&quot;art-BlockContent-body&quot;&gt;
// Replace the code in this div with the new code above
&lt;h2 class=&quot;center&quot;&gt;&lt;?php _e('Error 404 - Not Found', 'kubrick'); ?&gt;&lt;/h2&gt;

&lt;/div&gt;
</pre>
<p>You might also want to change the text in your block header. Find this bit of code&#8230;</p>
<pre class="brush: php;">
&lt;?php _e('Not Found', 'kubrick'); ?&gt;
</pre>
<p>And replace &#8220;Not Found&#8221; with some other descriptive text. Remember to keep it within the single quotes.</p>
<p>Now that you&#8217;re all done you should have a 404 page that looks something like this&#8230;</p>
<p><a href="http://budstechshed.com/wp-content/uploads/2009/11/bts-4041.jpg" class="highslide-image" onclick="return hs.expand(this);"><img class="aligncenter size-medium wp-image-1076" title="bts-404" src="http://budstechshed.com/wp-content/uploads/2009/11/bts-4041-300x225.jpg" alt="bts-404" width="300" height="225" /></a></p>
<p>Now get to work and make a great looking and informative 404 error page for your site.</p>
<p>If you have any questions or need some help, just leave a comment and I&#8217;ll do what I can to help you out.</p>
<div style="; " class="alignnone">
<div class="shadow_curl" style="border:1px #cccccc solid;padding:5px;; margin:0 !important; max-width:100% !important;">
<h2 class="style1" style="padding:8px 0 14px;"><span style="color: #ff0000;">Disclaimer</span></h2>
<p>I make no promises as to the functionality of these modifications to <strong>your</strong> theme code. Do it at your own risk. Do it on a backup copy. Do it while wide awake and after having plenty of sleep or plenty to drink, your choice. Don&#8217;t do it to your original code. Don&#8217;t do it while sleepy, cranky, or driving. And most important, don&#8217;t expect it to work the first time. If it does work the first time you probably got lucky. Besides, if you don&#8217;t break things you never figure out how they work. And last but not least&#8230;Have fun and learn something new.</p>
</div>
<img src="http://budstechshed.com/wp-content/plugins/shadows/shadow_curl.png" class="aligncenter shadow_img" style="margin:0 !important;height:10px;width:100%;"></div>

]]></content:encoded>
			<wfw:commentRss>http://budstechshed.com/making-a-custom-404-error-page/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
