<?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"
	>

<channel>
	<title>Kaizeku Ban &#187; tutorial</title>
	<atom:link href="http://blog.kaizeku.com/topics/wordpress/tutorial/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.kaizeku.com</link>
	<description>So many evil plans, so little time...</description>
	<pubDate>Wed, 27 Aug 2008 13:02:24 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.5.1</generator>
	<language>en</language>
	<xhtml:meta xmlns:xhtml="http://www.w3.org/1999/xhtml" name="robots" content="noindex" />
		<item>
		<title>WPI Theme Typeface Modifications</title>
		<link>http://blog.kaizeku.com/wordpress/how-to-change-the-blog-name-typeface/</link>
		<comments>http://blog.kaizeku.com/wordpress/how-to-change-the-blog-name-typeface/#comments</comments>
		<pubDate>Fri, 16 May 2008 14:05:26 +0000</pubDate>
		<dc:creator>ck</dc:creator>
		
		<category><![CDATA[WordPress]]></category>

		<category><![CDATA[tutorial]]></category>

		<category><![CDATA[wpistalker]]></category>

		<category><![CDATA[filters]]></category>

		<category><![CDATA[freetype]]></category>

		<category><![CDATA[gd]]></category>

		<category><![CDATA[hook]]></category>

		<category><![CDATA[php]]></category>

		<category><![CDATA[theme]]></category>

		<guid isPermaLink="false">http://blog.kaizeku.com/?p=143</guid>
		<description><![CDATA[How to Change WP-iStalker Theme Header Typeface Tutorials.]]></description>
			<content:encoded><![CDATA[<p><a href='http://blog.kaizeku.com/wordpress/how-to-change-the-blog-name-typeface/attachment/istalker-tutorials/' rel="attachment wp-att-144"><img src="http://blog.kaizeku.com/wp-content/uploads/2008/05/istalker-tutorials.png" alt="istalker-tutorials" title="istalker-tutorials" width="128" height="128" class="alignleft size-full wp-image-144 fl" longdesc="/#istalker-tutorials"/></a>I made this guide because of many request from my theme user asking for the blog-header <abbr title="adobe photoshop documents">PSD</abbr>. FYI, the new theme <em>blog-header</em> is generated via server side scripts <small>(gd-font png)</small>. If you need to change the font face, size or the foreground background colors etc,&#8230; read on. </p>
<p>Before we start, this guide are for WPiStalker WordPress theme <small>(version 1.6x on WordPress 2.5.x)</small>. </p>
<h3>Editing the font face.</h3>
<ul>
<li>First, Upload your fonts file to <tt>*/themes/wp-istalker/lib/webfonts/</tt> directory.
<p class="notice">note: avoid funky font name with symbols or non-utf, rename it if you must.</p>
</li>
<li>Next, go to your WordPress Admin Dashboard, <tt>Design &raquo; Theme Editor</tt>. Then on the right sidebar links, click on &#8220;Theme Functions&#8221; (<tt>functions.php</tt>).</li>
</ul>
<p><span id="more-143"></span>&nbsp;.</p>
<ul>
<li> Inside theme functions, scroll down to the end of file. Copy and paste the below code.
<pre class="smallbox">
function my_new_header_settings($options){
	$options = array('font'=>'the-font-name','size'=>24,'hex'=>'F4F5F7');
	return $options;
}
</pre>
<p>But first you need to replace/edit &#8220;the-font-name&#8221; with your upload font file name. </p>
<h5>Example:</h5>
<p>assuming your upload filename is <tt class="fw">BDBARDUS.ttf</tt>, so the correct code should be like so &darr;</p>
<pre class="smallbox">
function my_new_header_settings($options){
	$options = array('font'=>'BDBARDUS','size'=>24,'hex'=>'F4F5F7');
	return $options;
}
</pre>
</li>
<li>While still inside the &#8220;Theme Functions&#8221; file, find on line 1541 <tt>function wpi_init()</tt>, add the following code &darr;
<pre class="smallbox">
add_filter('wpi_blog_header_options','my_new_header_settings');
</pre>
<p><span class="fw">After</span></p>
<pre class="smallbox">
$active_plugins = $Wpi->getActivePlugins;
</pre>
<p>The results should be &darr;</p>
<pre class="prebox">
$active_plugins = $Wpi->getActivePlugins;
add_filter('wpi_blog_header_options','my_new_header_settings');
</pre>
</li>
<li>OK thats it, save the theme functions file and go to your front-page. Dont forget to refresh the browser.</li>
<li>Do the happy dance, the end. Namaste </li>
</ul>
<h2 class="pdt">External Links</h2>
<ul class="xoxo">
<li>Recommended font resources <a href="http://www.dafont.com">daFont</a> </li>
</ul>]]></content:encoded>
			<wfw:commentRss>http://blog.kaizeku.com/wordpress/how-to-change-the-blog-name-typeface/feed/</wfw:commentRss>
		</item>
	</channel>
</rss>
