<?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>How to use Site Grinder with Wordpress</title>
	<atom:link href="http://nwfpp.com/?feed=rss2" rel="self" type="application/rss+xml" />
	<link>http://nwfpp.com</link>
	<description>Site Grinder and Wordpress how to make them work with each other.</description>
	<lastBuildDate>Fri, 12 Mar 2010 07:51:10 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>The How Two</title>
		<link>http://nwfpp.com/?p=204</link>
		<comments>http://nwfpp.com/?p=204#comments</comments>
		<pubDate>Wed, 10 Mar 2010 07:36:18 +0000</pubDate>
		<dc:creator></dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://nwfpp.com/?p=204</guid>
		<description><![CDATA[



 Ok How do i take the output from Site Grinder

 and use it in Wordpress.


 Step by Step By: Edward Morgan


 Ok with WP a not very used feature that many people do not know about is making a WP home page that is outside the WP loop.
 So you can make any page [...]]]></description>
			<content:encoded><![CDATA[<link rel="stylesheet" type="text/css" media="screen, print, projection"  href="http://nwfpp.com/wp-content/themes/Sitegrindertwo/howto.css"></link>
<div id="background">
<div id="pix1"></div>
<div id="okhowdoitaketheoutputtext">
 <p>Ok How do i take the output from Site Grinder</p>

 <p>and use it in Wordpress.</p>
</div>
<div id="stepbystepbyedwardmorgantext">
 <p>Step by Step By: Edward Morgan</p>
</div>
<div id="okwithwpanotveryusedtext" onmouseout="P2H_StartClock();" onmouseover="P2H_Menu('PMokwithwpanotveryusedtext', 0, 0);">
 <p>Ok with WP a not very used feature that many people do not know about is making a WP home page that is outside the WP loop.</p>
 <p>So you can make any page you design a WP home page so your normal WP side bar information is not showing up and the home page is custom any way you want it to look.</p>
 <p>The best feature of doing this is you can use two simple sets of code one set at the very top of you page and one at the very bottom of your page. Placing this simple code into your page for one tells WP that you want to use this page and it will then show up as a template when you are making a post or page.</p>

 <p>The other great feature of using this code is you can have the WP header and footer pulled into you custom page so your new custom page looks 100% like the rest of your WP site. This makes things very easy to work with.</p>
 <br />
 <p><strong>So lets make our new WP home page.</strong> First go into Photoshop and make a page that is a few pix smaller then your blog site. You want it a few pix smaller otherwise it will run off the side and mess up the format of the WP page.</p>
 <p>Remember do not make a top and bottom to your page as the WP header and footer will be auto added in for you so you just need to design your content area. (Less Work For You)</p>
 <br />
 <p>Now that you have your page designed in PS take it into Site Grinder and make sure everything is working right and set you compresion settings for you images and other items.</p>

 <p>Build and save out your design like normal. Now go to the saved out folder and find the HTML file that was created and click on it and change the .HTML to .php WP needs this page to be a .php page not a html page.</p>
 <br />
 <p>Now the hard part you need to open up your now .php file lets call it homepage.php in a editor and you will see at the top.</p>
 <br />
 <p>&lt;!DOCTYPE html PUBLIC &quot;-//W3C//DTD XHTML 1.1//EN&quot; <a href="&quot;http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd&quot;&gt;">&quot;http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd&quot;&gt;</a></p>
 <p>&lt;html <a href="xmlns=&quot;http://www.w3.org/1999/xhtml&quot;&gt;">xmlns=&quot;http://www.w3.org/1999/xhtml&quot;&gt;</a></p>

 <p>&lt;head&gt;</p>
 <p>&lt;meta http-equiv=&quot;Content-Type&quot; content=&quot;application/xhtml+xml; charset=UTF-8&quot; /&gt;</p>
 <p>&lt;meta name=&quot;generator&quot; content=&quot;SiteGrinder 2  <a href="http://www.medialab.com/sitegrinder&quot;">http://www.medialab.com/sitegrinder&quot;</a> /&gt;</p>

 <p>&lt;title&gt;SGPost&lt;/title&gt;</p>
 <br />
 <p>&lt;link rel=&quot;stylesheet&quot; type=&quot;text/css&quot; media=&quot;screen, print, projection&quot;  href=&quot;homepage.css&quot;&gt;&lt;/link&gt;</p>

 <p>&lt;/head&gt;</p>
 <p>&lt;body&gt;</p>
 <p>----------------------------</p>
 <p>What you need to do is remove most all of that and only keep this line</p>
 <p><span  style="color:#0006FF;">&lt;link rel=&quot;stylesheet&quot; type=&quot;text/css&quot; media=&quot;screen, print, projection&quot; </span> <span  style="color:#0600FF;">href=&quot;homepage.css&quot;&gt;&lt;/link&gt;</span> you do not need head and body tags for a WP page as WP will add this as it is needed for you and WP will add all the top page information for you.</p>

 <br />
 <p>Now in the place that says href=&quot;homepage.css you need to enter in what is going to be the excat path to this file or it will not work. The file path will be into your theme folder and in the filder for the theme you are using like.</p>
 <p><a href="http://yourwebsite/wp-content/themes/What-ever-your-theme-name-is-you-are-using/mysite.css">http://yourwebsite/wp-content/themes/What-ever-your-theme-name-is-you-are-using/mysite.css</a> so you new code would look like this.</p>
 <p><span  style="color:#0000FF;">&lt;link rel=&quot;stylesheet&quot; type=&quot;text/css&quot; media=&quot;screen, print, projection&quot;  </span><a href="http://yourwebsite/wp-content/themes/What-ever-your-theme-name-is-you-are-using/homepage.css&quot;&gt;&lt;/link&gt;" style="color:#0000FF;">http://yourwebsite/wp-content/themes/What-ever-your-theme-name-is-you-are-using/homepage.css&quot;&gt;&lt;/link&gt;</a></p>

 <br />
 <p>Ok we are almost done. We now just need to add the specilal head and footer code and name your page so WP can use it.</p>
 <p>At the very top of your page in the code place this code</p>
 <p  style="color:#1800FF;">&lt;?php /* Template Name: homepage */ ?&gt; </p>
 <p  style="color:#1800FF;">&lt;?php get_header(); ?&gt;</p>
 <br  style="color:#1800FF;" />

 <p>The text that says homepage you can change to anything that you want. The text will show up in WP for you to pick this page to use as your new home page.</p>
 <br />
 <p>Now at the very bottom of the page after everything place in this code.</p>
 <p  style="color:#1800FF;">&lt;?php get_footer(); ?&gt;</p>
 <br  style="color:#1800FF;" />
 <p>Now save your page we are done editing.</p>
 <p>Now FTP into you Wordpress site and go to wp-content/themes/the -folder-of-the-theme-you-are-using.</p>

 <p>In the themes folder that you are using upload all your files they should be.</p>
 <p>homepage.css</p>
 <p>homepage.php</p>
 <p>homepagemedia</p>
 <br />
 <p  style="font-weight:bold;">Thats it!  well almost.</p>

 <br />
 <p>Now go to your WP site and log in to your admin area and go and make a new page and call this page Home unless you all ready have one named Home. If you all ready have one named Home then go to that page.</p>
 <p>No in the page area you will now see a new feature called Template over on the right under Parent.</p>
 <p>If you did everything right you can now pick your new page from the drop down list. You will see the name that you entered in to the top of the page as part of the new top of page code we put in.</p>
 <p>Select that template and just save the page and this new page is now your new WP home page showing with the WP header and footer all in place for you.</p>
 <p>This is very easy once you get the hang of it.</p>

 <br />
 <p  style="font-weight:bold;">To add a Site Grinder design into a Page or Post</p>
 <br />
 <p>This is even more easy. First make sure you design your content to be a size that will fit into your blog page or post page. I am using 721 pix wide for this and the full website is 980 wide. You must be carfull as many times a blog page or post has formating that will make everything be in from the right and left side some so you need to make sure what you design is going to fit. I good way to test this is to insert photo into your page and keep resizing it and posting it and looking to see till it is not longer fiting right.</p>
 <br />
 <p>Now you <strong>must save your new page into a new folder</strong> as we are going to have a new css file and we nead to have a new name for it so we do not over write you new homepage css we just made.</p>

 <p>Make a new folder and page name for every new page you design.</p>
 <br />
 <p>Now after your design is all done and exported out in Site Grinder go to the html page and only change the path to your css file.  <strong>You do not need to do any of the other things</strong> as we are going to insert the code into WP.</p>
 <p>Now upload the media folder and files and upload the css file all into the same folder as the theme you are using.</p>
 <p  style="font-weight:bold;">DO NOT UPLOAD THE HTML FILE</p>

 <br />
 <p>Now go to the WP admin area and goto or start a page or post and set it to be in the HTML view mode.</p>
 <p>Now click on your html page still on your computer and go to the code view and copy all the main code starting with the line that has the css in it on down to the end but with out the head and body tags at the bottom.</p>
 <p>Paste this code into the WP page or post and save it and thats it.</p>
 <br />
 <p>If you did everything right you should see your new design in the page or post working as you want.</p>
 <br />

 <p>If things are not working right it can be a few things.</p>
 <p>If you see all your text but do not see any of the photos and objects then you do not have your css file pointer right in your .php file. The css file is what makes all the images and layout work right.</p>
 <br />
 <p>If you see nothing working make sure you changed the file from html to .php and make sure you placed the special WP code into the top and bottom of you page otherwise it will not work.</p>
 <br />
 <p  style="line-height:22px; font-weight:bold; font-size:18px;">Here are some screen graps to help you add a new home page to WP</p>
 <br />

 <br />
 <br />
 <br />
 <br />
 <br />
</div>
<div id="lpix"></div>
<div id="designyourpagewithnotoptext">
 <p>Design your page with no top header and no </p>
 <p>footer as WP will add this for you</p>

</div>
<div id="afteryouexportthepagetext">
 <p>After you export the page from Site Grinder</p>
 <p>Change the name of the page to .php</p>
</div>
<div id="gpix"></div>
<div id="addthespecialwpcodetotext">
 <p>Add the special WP code to the top abd</p>
 <p>bottom of your page</p>

</div>
<div id="gpix2"></div>
<div id="bottomcodetext">
 <p>Bottom code</p>
</div>
<div id="gpix3"></div>
<div id="gointoyourwpadminandtext">
 <p>Go into your WP admin and start or</p>
 <p>use a current page or post and you</p>
 <p>will now see the new feature</p>

 <p>dropdown list caller Template.</p>
 <p>Pick your new home page from the list.</p>
 <p>Then save the pahe and view it.</p>
 <p>Your all done</p>
</div>
<div id="ftpyoufilesintothesametext">
 <p>FTP your files into the same folder of the current</p>

 <p>WP theme you are using</p>
</div>
<div id="gpix5"></div>
<div id="gpix6"></div>
<div id="thispagewasdesignedinpstext">
 <p>This page was designed in PS and output</p>
 <p>with Site Grinder V2</p>
</div>
</div>
]]></content:encoded>
			<wfw:commentRss>http://nwfpp.com/?feed=rss2&amp;p=204</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
