<?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>Penguination Project &#187; wordpress design</title>
	<atom:link href="http://penguinationproject.com/tag/wordpress-design/feed" rel="self" type="application/rss+xml" />
	<link>http://penguinationproject.com</link>
	<description></description>
	<lastBuildDate>Thu, 29 Oct 2009 19:51:43 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>wordpress design tutorial #3</title>
		<link>http://penguinationproject.com/wordpress-design-tutorial-3</link>
		<comments>http://penguinationproject.com/wordpress-design-tutorial-3#comments</comments>
		<pubDate>Tue, 16 Jun 2009 11:14:04 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[How To tips]]></category>
		<category><![CDATA[internet]]></category>
		<category><![CDATA[wordpress]]></category>
		<category><![CDATA[custom wordpress login]]></category>
		<category><![CDATA[wordpress design]]></category>
		<category><![CDATA[wordpress programming]]></category>

		<guid isPermaLink="false">http://penguinationproject.com/?p=176</guid>
		<description><![CDATA[Hello, we just finished custom made login page of wordpress weblog. It was deep hack inside wordpress Application. Actually we included default wordpress theme header , sidebar and footer into wp-login.php file.  This tutorial could be used with any wordpress theme and template.
We included archived .zip file in this tutorial , the archive contains wp-login.php [...]]]></description>
			<content:encoded><![CDATA[<p><img class="alignright size-medium wp-image-177" title="wordpress-logo" src="http://penguinationproject.com/wp-content/uploads/2009/06/wordpress-logo-300x292.jpg" alt="wordpress-logo" width="300" height="292" />Hello, we just finished custom made login page of wordpress weblog. It was deep hack inside wordpress Application. Actually we included default wordpress theme header , sidebar and footer into wp-login.php file.  This tutorial could be used with any wordpress theme and template.</p>
<p>We included archived .zip file in this tutorial , the archive contains wp-login.php file created for default wordpress theme &#8211; kubrick theme. You can download this file <a href="http://penguinationproject.com/login.zip">here </a></p>
<p>Make sure you backupped your original &#8220;wp-login.php&#8221; file on your computer or your server.  Change your default wp-login.php with attached one.</p>
<p>You can see the example <a href="http://penguinationproject.com/preview/wp-login.php" target="_blank">here</a>,  it works in login and register cases.</p>
<p>Just download the file and compare with original wp-login.php, sorry we didn&#8217;t created full documentation or tutorial for this, because we forgot the process of changing it&#8217;s design.</p>
<p>If you need any help, just post comments and we will help you.</p>
<p>Guru !</p>
]]></content:encoded>
			<wfw:commentRss>http://penguinationproject.com/wordpress-design-tutorial-3/feed</wfw:commentRss>
		<slash:comments>7</slash:comments>
		</item>
		<item>
		<title>Editing default wordpress theme tutorial #2</title>
		<link>http://penguinationproject.com/editing-default-wordpress-theme-tutuorial-2</link>
		<comments>http://penguinationproject.com/editing-default-wordpress-theme-tutuorial-2#comments</comments>
		<pubDate>Sun, 14 Jun 2009 09:43:12 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[How To tips]]></category>
		<category><![CDATA[News]]></category>
		<category><![CDATA[internet]]></category>
		<category><![CDATA[twitter]]></category>
		<category><![CDATA[wordpress]]></category>
		<category><![CDATA[wordpress design]]></category>

		<guid isPermaLink="false">http://penguinationproject.com/?p=165</guid>
		<description><![CDATA[Hello, we will continue default wordpress theme editing tutorial, in tutorial #1 we fixed default wordpress theme to enable sidebar showing in all posts and categories, and today you will learn how to add most recent video in your right sidebar , or somwhere else inside of your wordpress blog.  We will try to explain [...]]]></description>
			<content:encoded><![CDATA[<p><img class="alignright size-medium wp-image-166" style="margin: 5px;" title="code" src="http://penguinationproject.com/wp-content/uploads/2009/06/code-300x276.gif" alt="code" width="300" height="276" />Hello, we will continue default wordpress theme editing tutorial, in tutorial #1 we fixed default wordpress theme to enable sidebar showing in all posts and categories, and today you will learn how to add most recent video in your right sidebar , or somwhere else inside of your wordpress blog.  We will try to explain our best PHP code parts you should insert or edit, and we hope this will be the  good start in creating your own wordpress themes.</p>
<p>Please take a look at our example, of what are we going to create : <a href="http://penguinationproject.com/preview/" target="_blank">Here</a></p>
<p><strong>Let&#8217;s start coding : </strong></p>
<p>First create category &#8220;videos&#8221; and post at least one video from youtube or any other flash video.</p>
<p>Now we will need &#8220;video&#8221; category id before we will start PHP coding of our sidebar, login to your wp-admin, click on posts, categories , you will see categories list, click on created video category.</p>
<p>In your browser address field you will see something like that : http://penguinationproject.com/preview/wp-admin/categories.php?action=edit&amp;cat_ID=3</p>
<p>Category id number  is 3 (cat_ID=3).</p>
<p>Now when we know our category id , let&#8217;s start coding.</p>
<p>Click on appearance in your left admin menu, click edit , you will see files list on right menu. Click on sidebar.php</p>
<p>Find html code  <strong>&lt;div id=&#8221;sidebar&#8221; role=&#8221;complementary&#8221;&gt;</strong></p>
<p>After this code and before &lt;ul&gt; tag starts insert PHP code below , we commented inside of code where you should add your category id number.</p>
<pre><strong><cite>&lt;?php</cite> <span style="text-decoration: underline;">if</span> ( have_posts() ) : <cite>?&gt;</cite></strong>

// take a look at line below, &amp;cat=3 , change 3 to your category id.

<strong><cite>&lt;?php</cite> <a>$my_query</a> = <span style="text-decoration: underline;">new</span> WP_Query('showposts=1&amp;cat=3');

<span style="text-decoration: underline;">while</span> (<a>$my_query</a>-&gt;have_posts()) : <a>$my_query</a>-&gt;the_post();
  <a>$do_not_duplicate</a> = <a>$post</a>-&gt;ID;<cite>?&gt;</cite></strong>

<strong><cite>&lt;?php</cite>
<a>$id</a> =<a>$post</a>-&gt;ID;
<a>$the_content</a> =<a>
$wpdb</a>-&gt;get_var("SELECT post_content FROM <a>$wpdb</a>-&gt;posts WHERE ID = <a>$id</a> ");
<a>$pattern</a> = '!&lt;embed.*?src="(.*?)"!';

preg_match_all(<a>$pattern</a>, <a>$the_content</a>, <a>$matches</a>);
<a>$obj_src</a> = <a>$matches</a>['1'][0];
<cite>?&gt;</cite></strong>

<strong><cite>&lt;?php</cite> <span style="text-decoration: underline;">if</span>(<a>$obj_src</a> != '') 

{ 

<span style="text-decoration: underline;">echo</span> '<strong>&lt;b&gt;</strong>Latest Video<strong>&lt;/b&gt;</strong><strong>&lt;br&gt;</strong><strong>&lt;br&gt;</strong><strong>&lt;object width="160" height="120"&gt;
</strong><strong>&lt;param name="movie" value="'.<a>$obj_src.</a>'"&gt;</strong><strong>&lt;/param&gt;
</strong><strong>&lt;param name="allowFullScreen" value="<span style="text-decoration: underline;">true</span>"&gt;</strong><strong>&lt;/param&gt;
</strong><strong>&lt;param name="allowscriptaccess" value="always"&gt;</strong><strong>&lt;/param&gt;
</strong><strong>&lt;embed src="'.<a>$obj_src.</a>'" type="application/x-shockwave-flash"
allowscriptaccess="always" allowfullscreen="<span style="text-decoration: underline;">true</span>" width="160" height="120"&gt;</strong><strong>&lt;/embed&gt;
</strong><strong>&lt;/object&gt;</strong><strong>&lt;br&gt;</strong><strong>&lt;br&gt;</strong>'; 

}

<cite>?&gt;</cite></strong>
 <strong><cite>&lt;?php</cite> <span style="text-decoration: underline;">endwhile</span>; <cite>?&gt;</cite></strong>

<strong><cite>&lt;?php</cite> <span style="text-decoration: underline;">endif</span>; <cite>?&gt;</cite></strong></pre>
<p>Now save the file , go to your wordpress blog&#8217;s  homepage , You will see most recent video on your blogs sidebar .</p>
<p>From now once you are adding video in &#8220;video&#8221; category , it will automatically appear on your sidebar.</p>
<p>We will continue hacking default wordpress theme soon. And we wish you all the best ! Please leve comments.</p>
<p>Good luck.</p>
<p><em></em></p>
]]></content:encoded>
			<wfw:commentRss>http://penguinationproject.com/editing-default-wordpress-theme-tutuorial-2/feed</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
	</channel>
</rss>
<!-- WP Super Cache is installed but broken. The path to wp-cache-phase1.php in wp-content/advanced-cache.php must be fixed! -->