<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" media="screen" href="/~d/styles/rss2full.xsl"?><?xml-stylesheet type="text/css" media="screen" href="http://feeds.feedburner.com/~d/styles/itemcontent.css"?><rss 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/" xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0" version="2.0">

<channel>
	<title>DER PRiNZ</title>
	
	<link>http://www.der-prinz.com</link>
	<description>Hier bloggt Michael Oeser über digitale Mediengestaltung, WordPress, Internet, das Leben, das Universum und den ganzen Rest...</description>
	<lastBuildDate>Tue, 09 Mar 2010 06:12:45 +0000</lastBuildDate>
	
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<xhtml:meta xmlns:xhtml="http://www.w3.org/1999/xhtml" name="robots" content="noindex" />
		<atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="self" type="application/rss+xml" href="http://feeds.feedburner.com/der-prinz/feed" /><feedburner:info uri="der-prinz/feed" /><atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="hub" href="http://pubsubhubbub.appspot.com/" /><feedburner:emailServiceId>der-prinz/feed</feedburner:emailServiceId><feedburner:feedburnerHostname>http://feedburner.google.com</feedburner:feedburnerHostname><feedburner:feedFlare href="http://add.my.yahoo.com/rss?url=http%3A%2F%2Ffeeds.feedburner.com%2Fder-prinz%2Ffeed" src="http://us.i1.yimg.com/us.yimg.com/i/us/my/addtomyyahoo4.gif">Subscribe with My Yahoo!</feedburner:feedFlare><feedburner:feedFlare href="http://www.newsgator.com/ngs/subscriber/subext.aspx?url=http%3A%2F%2Ffeeds.feedburner.com%2Fder-prinz%2Ffeed" src="http://www.newsgator.com/images/ngsub1.gif">Subscribe with NewsGator</feedburner:feedFlare><feedburner:feedFlare href="http://feeds.my.aol.com/add.jsp?url=http%3A%2F%2Ffeeds.feedburner.com%2Fder-prinz%2Ffeed" src="http://o.aolcdn.com/favorites.my.aol.com/webmaster/ffclient/webroot/locale/en-US/images/myAOLButtonSmall.gif">Subscribe with My AOL</feedburner:feedFlare><feedburner:feedFlare href="http://www.bloglines.com/sub/http://feeds.feedburner.com/der-prinz/feed" src="http://www.bloglines.com/images/sub_modern11.gif">Subscribe with Bloglines</feedburner:feedFlare><feedburner:feedFlare href="http://www.netvibes.com/subscribe.php?url=http%3A%2F%2Ffeeds.feedburner.com%2Fder-prinz%2Ffeed" src="http://www.netvibes.com/img/add2netvibes.gif">Subscribe with Netvibes</feedburner:feedFlare><feedburner:feedFlare href="http://fusion.google.com/add?feedurl=http%3A%2F%2Ffeeds.feedburner.com%2Fder-prinz%2Ffeed" src="http://buttons.googlesyndication.com/fusion/add.gif">Subscribe with Google</feedburner:feedFlare><feedburner:feedFlare href="http://www.pageflakes.com/subscribe.aspx?url=http%3A%2F%2Ffeeds.feedburner.com%2Fder-prinz%2Ffeed" src="http://www.pageflakes.com/ImageFile.ashx?instanceId=Static_4&amp;fileName=ATP_blu_91x17.gif">Subscribe with Pageflakes</feedburner:feedFlare><feedburner:feedFlare href="http://www.plusmo.com/add?url=http%3A%2F%2Ffeeds.feedburner.com%2Fder-prinz%2Ffeed" src="http://plusmo.com/res/graphics/fbplusmo.gif">Subscribe with Plusmo</feedburner:feedFlare><feedburner:feedFlare href="http://www.thefreedictionary.com/_/hp/AddRSS.aspx?http%3A%2F%2Ffeeds.feedburner.com%2Fder-prinz%2Ffeed" src="http://img.tfd.com/hp/addToTheFreeDictionary.gif">Subscribe with The Free Dictionary</feedburner:feedFlare><feedburner:feedFlare href="http://www.bitty.com/manual/?contenttype=rssfeed&amp;contentvalue=http%3A%2F%2Ffeeds.feedburner.com%2Fder-prinz%2Ffeed" src="http://www.bitty.com/img/bittychicklet_91x17.gif">Subscribe with Bitty Browser</feedburner:feedFlare><feedburner:feedFlare href="http://www.newsalloy.com/?rss=http%3A%2F%2Ffeeds.feedburner.com%2Fder-prinz%2Ffeed" src="http://www.newsalloy.com/subrss3.gif">Subscribe with NewsAlloy</feedburner:feedFlare><feedburner:feedFlare href="http://www.live.com/?add=http%3A%2F%2Ffeeds.feedburner.com%2Fder-prinz%2Ffeed" src="http://tkfiles.storage.msn.com/x1piYkpqHC_35nIp1gLE68-wvzLZO8iXl_JMledmJQXP-XTBOLfmQv4zhj4MhcWEJh_GtoBIiAl1Mjh-ndp9k47If7hTaFno0mxW9_i3p_5qQw">Subscribe with Live.com</feedburner:feedFlare><feedburner:feedFlare href="http://mix.excite.eu/add?feedurl=http%3A%2F%2Ffeeds.feedburner.com%2Fder-prinz%2Ffeed" src="http://image.excite.co.uk/mix/addtomix.gif">Subscribe with Excite MIX</feedburner:feedFlare><feedburner:feedFlare href="http://download.attensa.com/app/get_attensa.html?feedurl=http%3A%2F%2Ffeeds.feedburner.com%2Fder-prinz%2Ffeed" src="http://www.attensa.com/blogs/attensa/WindowsLiveWriter/BadgeredintoBadges_10C02/attensa_feed_button5.gif">Subscribe with Attensa for Outlook</feedburner:feedFlare><feedburner:feedFlare href="http://www.webwag.com/wwgthis.php?url=http%3A%2F%2Ffeeds.feedburner.com%2Fder-prinz%2Ffeed" src="http://www.webwag.com/images/wwgthis.gif">Subscribe with Webwag</feedburner:feedFlare><feedburner:feedFlare href="http://www.podcastready.com/oneclick_bookmark.php?url=http%3A%2F%2Ffeeds.feedburner.com%2Fder-prinz%2Ffeed" src="http://www.podcastready.com/images/podcastready_button.gif">Subscribe with Podcast Ready</feedburner:feedFlare><feedburner:feedFlare href="http://www.flurry.com/pushRssFeed.do?r=fb&amp;url=http%3A%2F%2Ffeeds.feedburner.com%2Fder-prinz%2Ffeed" src="http://www.flurry.com/images/flurry_rss_logo2.gif">Subscribe with Flurry</feedburner:feedFlare><feedburner:feedFlare href="http://www.wikio.com/subscribe?url=http%3A%2F%2Ffeeds.feedburner.com%2Fder-prinz%2Ffeed" src="http://www.wikio.com/shared/img/add2wikio.gif">Subscribe with Wikio</feedburner:feedFlare><feedburner:feedFlare href="http://www.dailyrotation.com/index.php?feed=http%3A%2F%2Ffeeds.feedburner.com%2Fder-prinz%2Ffeed" src="http://www.dailyrotation.com/rss-dr2.gif">Subscribe with Daily Rotation</feedburner:feedFlare><feedburner:browserFriendly>Welcome to the latest edition of the eMail delivery of my newsfeed. I hope you enjoy the latest news from my Website www.der-prinz.com.</feedburner:browserFriendly><item>
		<title>Theme Customization easy as 1,2,3 with Firebug</title>
		<link>http://www.der-prinz.com/theme-customization-with-firebug-965</link>
		<comments>http://www.der-prinz.com/theme-customization-with-firebug-965#comments</comments>
		<pubDate>Tue, 16 Feb 2010 13:47:12 +0000</pubDate>
		<dc:creator>DER PRiNZ</dc:creator>
				<category><![CDATA[Tutorials]]></category>

		<guid isPermaLink="false">http://www.der-prinz.com/?p=965</guid>
		<description><![CDATA[I often get support questions like &#8220;I want to change the color of element &#8220;X&#8221; from default black to red&#8221; (or similar). If you have a look into the CSS files you normally should find out pretty fast which areas you need to edit to change colors, fonts and even sizes of specific elements. But [...]]]></description>
			<content:encoded><![CDATA[<a href="http://www.der-prinz.com/theme-customization-with-firebug-965" title="Theme Customization easy as 1,2,3 with Firebug"><img src="http://www.der-prinz.com/wp-content/uploads/2010/02/firebug-makes-theme-customization-easy.jpg" alt="firebug makes theme customization easy Theme Customization easy as 1,2,3 with Firebug   Michael Oeser" class="feed-image" title="Theme Customization easy as 1,2,3 with Firebug   Michael Oeser" /></a><p><strong>I often get support questions like &#8220;I want to change the color of element &#8220;X&#8221; from default black to red&#8221; (or similar). If you have a look into the CSS files you normally should find out pretty fast which areas you need to edit to change colors, fonts and even sizes of specific elements. But sometimes it´s not so obvious and searching for the right CSS selector can be a pain. The famous Firefox addon &#8220;Firebug&#8221; makes it easy as 1,2 3 to find the right CSS.</strong><br />
<span id="more-965"></span><br />
Firebug integrates with Firefox to put a wealth of development tools at your fingertips while you browse. You can edit, debug, and monitor CSS, HTML, and JavaScript live in any web page. I use it especially to edit CSS because you just need to klick on an element and Firebug shows all relevant CSS classes, IDs and selectors for it. You can simulate changes right in firebug and the changes take immediate effect (but you can´t save them). It also tells you in which CSS file you need to look and even what line. For a theme like BranfordMagazine that comes with several CSS files it is a pretty good timesaver. </p>
<p>Find out more about Firebug at its <a href="http://getfirebug.com/">offcial Website</a>.</p>
<div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/der-prinz/feed?a=K_yNhGv6KJo:B6RWQXThavk:yIl2AUoC8zA"><img src="http://feeds.feedburner.com/~ff/der-prinz/feed?d=yIl2AUoC8zA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/der-prinz/feed?a=K_yNhGv6KJo:B6RWQXThavk:I9og5sOYxJI"><img src="http://feeds.feedburner.com/~ff/der-prinz/feed?d=I9og5sOYxJI" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/der-prinz/feed?a=K_yNhGv6KJo:B6RWQXThavk:qj6IDK7rITs"><img src="http://feeds.feedburner.com/~ff/der-prinz/feed?d=qj6IDK7rITs" border="0"></img></a>
</div><img src="http://feeds.feedburner.com/~r/der-prinz/feed/~4/K_yNhGv6KJo" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.der-prinz.com/theme-customization-with-firebug-965/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Custom Excerpt “more” Link in BranfordMagazine</title>
		<link>http://www.der-prinz.com/custom-excerpt-link-branfordmagazine-960</link>
		<comments>http://www.der-prinz.com/custom-excerpt-link-branfordmagazine-960#comments</comments>
		<pubDate>Fri, 29 Jan 2010 21:49:18 +0000</pubDate>
		<dc:creator>DER PRiNZ</dc:creator>
				<category><![CDATA[BranfordMagazine 4]]></category>
		<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[BranfordMagazine]]></category>
		<category><![CDATA[excerpt]]></category>

		<guid isPermaLink="false">http://www.der-prinz.com/?p=960</guid>
		<description><![CDATA[Recently I have written about individual excerpt lenghts in BranfordMagazine. Today I will show you how to customize the excert &#8220;more&#8221; textstring and make it a real clickable link for a better user experience. If you use BranfordMagazine version 4.2 that functionality is already included by default.

Better user experience with clickable excerpt &#8220;more&#8221;
By default the [...]]]></description>
			<content:encoded><![CDATA[<a href="http://www.der-prinz.com/custom-excerpt-link-branfordmagazine-960" title="Custom Excerpt "more" Link in BranfordMagazine"><img src="http://www.der-prinz.com/wp-content/uploads/2010/01/custom-excerpt-link.jpg" alt="custom excerpt link Custom Excerpt more Link in BranfordMagazine   Michael Oeser" class="feed-image" title="Custom Excerpt more Link in BranfordMagazine   Michael Oeser" /></a><p><strong>Recently I have written about <a href="http://www.der-prinz.com/individual-excerpt-lengths-branfordmagazine-4-935">individual excerpt lenghts</a> in BranfordMagazine. Today I will show you how to customize the excert &#8220;more&#8221; textstring and make it a real clickable link for a better user experience. If you use BranfordMagazine version 4.2 that functionality is already included by default.</strong><br />
<span id="more-960"></span></p>
<h2>Better user experience with clickable excerpt &#8220;more&#8221;</h2>
<p>By default the excerpt of WordPress displays an un-clickable [...] at the end of the default 55 words. Well of course this makes the user somehow aware of the fact that there is more to read but he cannot click on the [...] string which causes irritations with less experienced users. Wouldn´t it be great if WordPress would add a real link at the end of an excerpt? Sure it would and here is how to do it.</p>
<h2>The functions.php</h2>
<p>Open your functions.php file inside the branfordmagazine-4 themefolder and paste this codesnippet into the file. As mentioned if you have version 4.2 or higher of BranfordMagazine you don´t need to do anything because this is already part of the theme:</p>
<div class="dean_ch" style="white-space: wrap;"><span class="kw2">&lt;?php</span><br />
<span class="co1">// modify the excerpt &quot;more&quot; appearance an make it clickable</span><br />
<span class="kw2">function</span> new_excerpt_more<span class="br0">&#40;</span><span class="re0">$more</span><span class="br0">&#41;</span> <span class="br0">&#123;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; <span class="kw1">return</span> <span class="st0">&#8216;<br />
&lt;span class=&quot;excerpt_more&quot;&gt;&lt;a href=&quot;&#8217;</span>.get_permalink<span class="br0">&#40;</span><span class="br0">&#41;</span>.<span class="st0">&#8216;&quot;&gt;&#8217;</span>.__<span class="br0">&#40;</span><span class="st0">&#8216;[continue reading...]&#8216;</span>,<span class="st0">&#8216;branfordmagazine&#8217;</span><span class="br0">&#41;</span>.<span class="st0">&#8216;&lt;/a&gt;&lt;/span&gt;&#8217;</span>;<br />
<span class="br0">&#125;</span><br />
add_filter<span class="br0">&#40;</span><span class="st0">&#8216;excerpt_more&#8217;</span>, <span class="st0">&#8216;new_excerpt_more&#8217;</span><span class="br0">&#41;</span>;<br />
<span class="kw2">?&gt;</span></div>
<p>In this example a link [continue reading...] will appear at the end of the excerpt after a linebreak. It is also prepared for localization. If you want something different just change the &#8220;[continue reading...]&#8221; string to e.g. &#8220;read on&#8221; or whatever you like. If you want the link to appear right behind the last word of the excerpt remove the < br / > tag.</p>
<p>Here is an example of three (clickable) dots right after the last word:</p>
<div class="dean_ch" style="white-space: wrap;"><span class="kw2">&lt;?php</span><br />
<span class="co1">// modify the excerpt &quot;more&quot; appearance an make it clickable</span><br />
<span class="kw2">function</span> new_excerpt_more<span class="br0">&#40;</span><span class="re0">$more</span><span class="br0">&#41;</span> <span class="br0">&#123;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; <span class="kw1">return</span> <span class="st0">&#8216;&lt;span class=&quot;excerpt_more&quot;&gt;&lt;a href=&quot;&#8217;</span>.get_permalink<span class="br0">&#40;</span><span class="br0">&#41;</span>.<span class="st0">&#8216;&quot;&gt;&#8230;&lt;/a&gt;&lt;/span&gt;&#8217;</span>;<br />
<span class="br0">&#125;</span><br />
add_filter<span class="br0">&#40;</span><span class="st0">&#8216;excerpt_more&#8217;</span>, <span class="st0">&#8216;new_excerpt_more&#8217;</span><span class="br0">&#41;</span>;<br />
<span class="kw2">?&gt;</span></div>
<h2>A little styling</h2>
<p>As you can see there is a CSS class called .excerpt_more. You can now style this class to meet your requirements. it can be found in the style.css file.</p>
<div class="dean_ch" style="white-space: wrap;"><span class="coMULTI">/* &quot;more&quot; Links in the excerpts */</span><br />
<span class="re1">.excerpt_more</span> a <span class="br0">&#123;</span> <br />
&nbsp; &nbsp; &nbsp; &nbsp; <span class="kw1">color</span>:<span class="re0">#<span class="nu0">840000</span></span>!important;<br />
&nbsp; &nbsp; &nbsp; &nbsp; <span class="br0">&#125;</span></p>
<p><span class="re1">.excerpt_more</span> a<span class="re2">:hover</span> <span class="br0">&#123;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; text-decoration<span class="re2">:none</span>;<br />
&nbsp; &nbsp; &nbsp; &nbsp; <span class="br0">&#125;</span><br />
&nbsp;</div>
<h2>Works everywhere</h2>
<p>This little trick is not just for BranfordMagazine. You can use it with any theme as long as you run WordPress 2.9 or higher.</p>
<div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/der-prinz/feed?a=xn6RXaCmNpY:EXLEkoyvRAA:yIl2AUoC8zA"><img src="http://feeds.feedburner.com/~ff/der-prinz/feed?d=yIl2AUoC8zA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/der-prinz/feed?a=xn6RXaCmNpY:EXLEkoyvRAA:I9og5sOYxJI"><img src="http://feeds.feedburner.com/~ff/der-prinz/feed?d=I9og5sOYxJI" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/der-prinz/feed?a=xn6RXaCmNpY:EXLEkoyvRAA:qj6IDK7rITs"><img src="http://feeds.feedburner.com/~ff/der-prinz/feed?d=qj6IDK7rITs" border="0"></img></a>
</div><img src="http://feeds.feedburner.com/~r/der-prinz/feed/~4/xn6RXaCmNpY" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.der-prinz.com/custom-excerpt-link-branfordmagazine-960/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>BranfordMagazine WordPress Magazine Style Theme Version 4.2 released</title>
		<link>http://www.der-prinz.com/branfordmagazine-version-42-released-959</link>
		<comments>http://www.der-prinz.com/branfordmagazine-version-42-released-959#comments</comments>
		<pubDate>Fri, 29 Jan 2010 21:42:34 +0000</pubDate>
		<dc:creator>DER PRiNZ</dc:creator>
				<category><![CDATA[News]]></category>
		<category><![CDATA[BranfordMagazine]]></category>
		<category><![CDATA[new features]]></category>
		<category><![CDATA[update]]></category>

		<guid isPermaLink="false">http://www.der-prinz.com/?p=959</guid>
		<description><![CDATA[Today I released the latest version 4.2 of my popular WordPress magazine style theme BranfordMagazine. This version adds some more functionality to the theme and the options panel and removes all W3C validation errors. 

The optionspage which was introduced in version 4.0 does now have additional setting areas for the advertising space in the sidebar [...]]]></description>
			<content:encoded><![CDATA[<p><strong>Today I released the latest version 4.2 of my popular WordPress magazine style theme BranfordMagazine. This version adds some more functionality to the theme and the options panel and removes all W3C validation errors. </strong><br />
<span id="more-959"></span><br />
The optionspage which was introduced in version 4.0 does now have additional setting areas for the advertising space in the sidebar and an area to enter Google Analytics code. You can now manage those areas right from the options panel in your Wp-Admin area. Also additional default settings have been introduced to avoid instant setup errors.</p>
<h2>Custom Excerpts with &#8220;more&#8221; Links</h2>
<p>The functions.php file now has not only an area to define custom excerpt lenghts but also an area where you can define the appearance of the default WordPress excerpt &#8220;more&#8221; string [...] as well as it is now really clickable (which it is not by WordPress default). A tutorial will follow soon.</p>
<h2>100% W3C valid</h2>
<p>One of the features that was missing in all previous versions is that BranfordMagazine now is 100% W3C valid. All errors have been erased. You will not really see this modification because the theme used to work without issues anyway but it is another improvement in terms of clean coding.</p>
<h2>Here´s a list of the new stuff:</h2>
<ul>
<li>
Optionspanel with additional settings for Google AdSense and google Analytics</li>
<li>
Default settings of the options panel that work for most default WP installations</li>
<li>Custom excerpts with clickable &#8220;more&#8221; links</li>
<li>100% W3C valid</li>
</ul>
<h2>If you want to update</h2>
<p>If you want to update from version 4.1 to the new version 4.2 you need to replace the following files:</p>
<ul>
<li>functions.php</li>
<li>index.php</li>
<li>header.php</li>
<li>sidebar.php</li>
<li>/incudes/ui.tabs.php</li>
<li>style.css</li>
</ul>
<h2>The Future</h2>
<p>There´s more to come in future releases. I´m also planning to release a &#8220;Pro&#8221; version of BranfordMagazine with a whole bunch of new features and an optimised design. So stay tuned for updates.</p>
<div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/der-prinz/feed?a=MKlNBGnctZs:FgLvr3lD7IY:yIl2AUoC8zA"><img src="http://feeds.feedburner.com/~ff/der-prinz/feed?d=yIl2AUoC8zA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/der-prinz/feed?a=MKlNBGnctZs:FgLvr3lD7IY:I9og5sOYxJI"><img src="http://feeds.feedburner.com/~ff/der-prinz/feed?d=I9og5sOYxJI" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/der-prinz/feed?a=MKlNBGnctZs:FgLvr3lD7IY:qj6IDK7rITs"><img src="http://feeds.feedburner.com/~ff/der-prinz/feed?d=qj6IDK7rITs" border="0"></img></a>
</div><img src="http://feeds.feedburner.com/~r/der-prinz/feed/~4/MKlNBGnctZs" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.der-prinz.com/branfordmagazine-version-42-released-959/feed</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>WyntonMagazine – The “3-Column Page”</title>
		<link>http://www.der-prinz.com/wyntonmagazine-3column-page-955</link>
		<comments>http://www.der-prinz.com/wyntonmagazine-3column-page-955#comments</comments>
		<pubDate>Thu, 28 Jan 2010 13:05:22 +0000</pubDate>
		<dc:creator>DER PRiNZ</dc:creator>
				<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[WyntonMagazine 1]]></category>
		<category><![CDATA[custom fields]]></category>
		<category><![CDATA[WyntonMagazine]]></category>

		<guid isPermaLink="false">http://www.der-prinz.com/?p=955</guid>
		<description><![CDATA[Setting up the additional page template for the three-column-page in WyntonMagazine version 1.x is a bit different to the way it´s done for BranfordMagazine as of version 4.x. The main difference is, Wynton does not have an options panel yet and you need to do some minor code changes. This tutorial shows you how it [...]]]></description>
			<content:encoded><![CDATA[<a href="http://www.der-prinz.com/wyntonmagazine-3column-page-955" title="WyntonMagazine - The "3-Column Page""><img src="http://www.der-prinz.com/wp-content/uploads/2010/01/3-col-page-tut.jpg" alt="3 col page tut WyntonMagazine   The 3 Column Page   Michael Oeser" class="feed-image" title="WyntonMagazine   The 3 Column Page   Michael Oeser" /></a><p><strong>Setting up the additional page template for the three-column-page in WyntonMagazine version 1.x is a bit different to the way it´s done for <a href="http://www.der-prinz.com/branfordmagazine-dreispaltiges-seitentemplate-the-3-column-page-127">BranfordMagazine </a>as of version 4.x. The main difference is, Wynton does not have an options panel yet and you need to do some minor code changes. This tutorial shows you how it works. Don´t worry. It´s easy as 1,2,3.</strong><br />
<span id="more-955"></span></p>
<h2>Start with the Categories</h2>
<p>First thing you need to setup is the three categories for the three different columns. So open your 3-column template file (tpl_3-column-page.php) and look for three positions that say something like:</p>
<div class="dean_ch" style="white-space: wrap;"><span class="co1">// this is where you enter the ID of the category you want to display</span><br />
<span class="re0">$display_categories</span> = <a href="http://www.php.net/array"><span class="kw3">array</span></a><span class="br0">&#40;</span><span class="nu0">9</span><span class="br0">&#41;</span>;</div>
<p>&#8220;9&#8243; in this case is the ID of the category you want to show here. Now you need to enter the IDs that match your database. If you don´t know hoe to find the IDs, <a href="http://www.der-prinz.com/find-category-ids-933">read this tutorial</a>. Again: there are of course three positions that you need to edit because you have three columns.</p>
<h2>A list of headlines from this category</h2>
<p>A similar thing needs to be done for the three (or more) headlines below the article teaser in each column. You need to look for this piece of code:</p>
<div class="dean_ch" style="white-space: wrap;"><span class="co1">// this is where the last three headlines are pulled from the category&nbsp; &nbsp; &nbsp; </span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; query_posts<span class="br0">&#40;</span><span class="st0">&#8217;showposts=3&amp;cat=9&#8242;</span><span class="br0">&#41;</span>;</div>
<p>In this case &#8220;3&#8243; is the number of headlines to grap and &#8220;9&#8243; is the ID of the category again. There are of course also three positions to edit .</p>
<p>That´s it for the code-part. The next part is about writing text and adding images.</p>
<h2>Writing text and adding images</h2>
<h3>Asigning the template</h3>
<p>Before you can use the template you need to write a page, assign the template to the page and simply save it. You don´t need to enter any text except the title because this will be grabed from the posts of the three categories you have defined before in the code.</p>
<p><a rel="prettyPhoto" href="http://www.der-prinz.com/wp-content/uploads/2010/01/asiign-template.jpg"><img src="http://www.der-prinz.com/wp-content/uploads/2010/01/asiign-template-650x321.jpg" alt="asign-template" title="asign-template" width="650" height="321" class="aligncenter size-large wp-image-957" /></a></p>
<h3>Writing posts and uploading images</h3>
<p>Now open your write post panel in your WordPress admin area and write some text. Asign the post to one of the categories you show on the 3-column-page template. Now upload an image and make sure it has the correct size. 260&#215;150 is used <a href="http://wp-themes.der-prinz.com/wyntonmagazine/?page_id=39">in the Demo</a> for example. Copy the URL of the image from the uploader.</p>
<h3>Adding images with custom fields</h3>
<p>Go to the &#8220;custom fields&#8221; section of your write post panel and either enter a new custom field or select one from the dropdownbox if you already have used custom fields on the site. Enter &#8220;3-column-image&#8221; as the name of the custom field and the URL of the image as its value. You need only the last part of the URL after &#8230;/wp-content/uploads/ (if that´s your upload directory). For example &#8220;2008/02/wynton1.jpg&#8221; instead of the full URL &#8220;http://domain.com/wp-content/uploads/2008/02/wynton1.jpg&#8221; as you can see in the screenshot. Click on &#8220;Add custom field&#8221; and save the post. </p>
<p><a rel="prettyPhoto" href="http://www.der-prinz.com/wp-content/uploads/2010/01/custom-fields.jpg"><img src="http://www.der-prinz.com/wp-content/uploads/2010/01/custom-fields-650x295.jpg" alt="custom fields 650x295 WyntonMagazine   The 3 Column Page   Michael Oeser" title="custom-fields" width="650" height="295" class="aligncenter size-large wp-image-958" /></a></p>
<p>That´s it. Now the image is grabed from the custom field and will be displayed on the 3-column-page together with an excerpt of the text from this article. <a href="http://wp-themes.der-prinz.com/wyntonmagazine/?page_id=39">Here you can see how it should look like</a>.</p>
<div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/der-prinz/feed?a=sGVKSruk6r4:RiYvY06lOqc:yIl2AUoC8zA"><img src="http://feeds.feedburner.com/~ff/der-prinz/feed?d=yIl2AUoC8zA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/der-prinz/feed?a=sGVKSruk6r4:RiYvY06lOqc:I9og5sOYxJI"><img src="http://feeds.feedburner.com/~ff/der-prinz/feed?d=I9og5sOYxJI" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/der-prinz/feed?a=sGVKSruk6r4:RiYvY06lOqc:qj6IDK7rITs"><img src="http://feeds.feedburner.com/~ff/der-prinz/feed?d=qj6IDK7rITs" border="0"></img></a>
</div><img src="http://feeds.feedburner.com/~r/der-prinz/feed/~4/sGVKSruk6r4" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.der-prinz.com/wyntonmagazine-3column-page-955/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Images not displaying? Solving possible issues with TimThumb</title>
		<link>http://www.der-prinz.com/images-displaying-solving-issues-timthumb-948</link>
		<comments>http://www.der-prinz.com/images-displaying-solving-issues-timthumb-948#comments</comments>
		<pubDate>Tue, 19 Jan 2010 09:23:47 +0000</pubDate>
		<dc:creator>DER PRiNZ</dc:creator>
				<category><![CDATA[BranfordMagazine 4]]></category>
		<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[crop]]></category>
		<category><![CDATA[Images]]></category>
		<category><![CDATA[resize]]></category>
		<category><![CDATA[scale]]></category>
		<category><![CDATA[TimThumb]]></category>

		<guid isPermaLink="false">http://www.der-prinz.com/?p=948</guid>
		<description><![CDATA[BranfodMagazine uses the great open source TimThumb image resizer script, by famous WordPress developer Darren Hoyt, to automaticly crop and scale images to fit into their position on the homepage, the archives (e.g the category archive) and the additional 3-column page template. Normally it runs without any issue but sometimes images are not properly displayed. [...]]]></description>
			<content:encoded><![CDATA[<a href="http://www.der-prinz.com/images-displaying-solving-issues-timthumb-948" title="Images not displaying? Solving possible issues with TimThumb"><img src="http://www.der-prinz.com/wp-content/uploads/2010/01/timthumb-issues.jpg" alt="timthumb issues Images not displaying? Solving possible issues with TimThumb   Michael Oeser" class="feed-image" title="Images not displaying? Solving possible issues with TimThumb   Michael Oeser" /></a><p><strong>BranfodMagazine uses the great open source TimThumb image resizer script, by famous WordPress developer Darren Hoyt, to automaticly crop and scale images to fit into their position on the homepage, the archives (e.g the category archive) and the additional 3-column page template. Normally it runs without any issue but sometimes images are not properly displayed. This tutorial explains the basic requirements for the script to run.<br />
</strong><span id="more-948"></span></p>
<h2>Checking the basic requirements</h2>
<p>Personally I never had any issue with the image resizing with TimThumb. But I oftern hear from people or see it in the support forums posts, that images are not displayed as expected. To be honest: In most cases it´s a users mistake and not a script error. But sometimes it´s also related to the webhoster.</p>
<h3>Here is a short list taken from Darren Hoyts Website and ammended with some own statements.</h3>
<ul>
<li>TimThumb requires the GD library, which should be available on any host sever with PHP 4.3+ installed.</li>
<li>Once installed and in-use, TimThumb will automatically create a /cache/ subfolder with proper write-permissions (if it doesn´t already exist). If your host server doesn’t allow this by default, be sure to manually change the /cache/ folder permissions to 777.</li>
<li>If your web-hoster doesn´t allow 777 permissions or if 777 doesn´t work, try 755 which sometimes solves the issue.</li>
<li>In addition, make sure the folder which contains TimThumb is set to 777 (the /scripts subfolder by default).</li>
<li>Use absolute paths for your images (incl. http://&#8230;)</li>
<li>You can´t use external images (for security reasons)</li>
<li>Make sure the images are uploaded into each post using the post image uploader or attached to the post by using the &#8220;attach&#8221; functionality in the media library (as of Wordpress 2.9). See also <a href="http://www.der-prinz.com/images-homepage-branfordmagazine-929">this article</a> for more information.</li>
</ul>
<h2>Still problems with the images?</h2>
<p>If you have followed all this &#8220;rules&#8221; and the images still don´t show up, double-check your settings and look if there is still anything not set correctly (I´m not kidding&#8230;). If they still not show up I reccomend to get in touch with your webhoster because i assume it´s on their side. Maybe some security settings avoid proper working of the script.</p>
<p>You can also visit Darren Hoyts TimThumb support forum for further assistance.</p>
<div style="margin-bottom:40px;"></div>
<a href="http://www.darrenhoyt.com/support/forum.php?id=4" class="btn-big btn-green-big"><span>TimThumb Support Forum (external)</span></a> <a href="http://www.darrenhoyt.com/2008/04/02/timthumb-php-script-released/" class="btn-big btn-green-big"><span>Script Website (external)</span></a>
<div style="margin-bottom:40px;clear:both;"></div>
<div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/der-prinz/feed?a=PAMFx4BQAXo:_m3klyp7xs8:yIl2AUoC8zA"><img src="http://feeds.feedburner.com/~ff/der-prinz/feed?d=yIl2AUoC8zA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/der-prinz/feed?a=PAMFx4BQAXo:_m3klyp7xs8:I9og5sOYxJI"><img src="http://feeds.feedburner.com/~ff/der-prinz/feed?d=I9og5sOYxJI" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/der-prinz/feed?a=PAMFx4BQAXo:_m3klyp7xs8:qj6IDK7rITs"><img src="http://feeds.feedburner.com/~ff/der-prinz/feed?d=qj6IDK7rITs" border="0"></img></a>
</div><img src="http://feeds.feedburner.com/~r/der-prinz/feed/~4/PAMFx4BQAXo" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.der-prinz.com/images-displaying-solving-issues-timthumb-948/feed</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>How to edit the tabed interface of BranfordMagazine</title>
		<link>http://www.der-prinz.com/edit-tabed-interface-branfordmagazine-945</link>
		<comments>http://www.der-prinz.com/edit-tabed-interface-branfordmagazine-945#comments</comments>
		<pubDate>Mon, 18 Jan 2010 15:11:06 +0000</pubDate>
		<dc:creator>DER PRiNZ</dc:creator>
				<category><![CDATA[BranfordMagazine 4]]></category>
		<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[Tabed interface]]></category>
		<category><![CDATA[Tabs]]></category>

		<guid isPermaLink="false">http://www.der-prinz.com/?p=945</guid>
		<description><![CDATA[BranfordMagazine comes with a nice tabed interface on the homepage. By default (see my demosite) it has three pre-defined tabs but of course you can add or remove tabs to meet your specific requirements.

Changing the names of the tabs
By default the names of the tabs are:

&#8220;Leadarticle&#8221; which holds the most recent article from a specific [...]]]></description>
			<content:encoded><![CDATA[<a href="http://www.der-prinz.com/edit-tabed-interface-branfordmagazine-945" title="How to edit the tabed interface of BranfordMagazine"><img src="http://www.der-prinz.com/wp-content/uploads/2010/01/tabed-interface-branford.jpg" alt="tabed interface branford How to edit the tabed interface of BranfordMagazine   Michael Oeser" class="feed-image" title="How to edit the tabed interface of BranfordMagazine   Michael Oeser" /></a><p><strong>BranfordMagazine comes with a nice tabed interface on the homepage. By default (see my <a href="http://www.wp-themes.der-prinz.com/branfordmagazine/">demosite</a>) it has three pre-defined tabs but of course you can add or remove tabs to meet your specific requirements.</strong><br />
<span id="more-945"></span></p>
<h2>Changing the names of the tabs</h2>
<p>By default the names of the tabs are:</p>
<ul>
<li>&#8220;Leadarticle&#8221; which holds the most recent article from a specific category (e.g. &#8220;news&#8221;)</li>
<li>&#8220;Recent Posts&#8221; which lists the 7 most recent posts from any category</li>
<li>&#8220;About&#8221; which shows just a few lines of regular text that explains a bit about the theme</li>
</ul>
<p>In order to change the tabed section you need to open the file ui.tabs.php located in the /includes subfolder in the themes-directory. First I show you where and how to change the names of the tabs. Look up this piece of code on top of the file:</p>
<div class="dean_ch" style="white-space: wrap;">&lt;!&#8211; START TABBED SECTION &#8211;&gt;<br />
&lt;div id=&quot;container-4&quot;&gt;<br />
&nbsp; &lt;ul&gt;<br />
&nbsp; &nbsp; &lt;li&gt;&lt;a class=&quot;ui-tabs&quot; href=&quot;#fragment-1&quot;&gt;Lead Article&lt;/a&gt;&lt;/li&gt;<br />
&nbsp; &nbsp; &lt;li&gt;&lt;a class=&quot;ui-tabs&quot; href=&quot;#fragment-2&quot;&gt;Recent Posts&lt;/a&gt;&lt;/li&gt;<br />
&nbsp; &nbsp; &lt;li&gt;&lt;a class=&quot;ui-tabs&quot; href=&quot;#fragment-3&quot;&gt;About this Theme&lt;/a&gt;&lt;/li&gt;<br />
&nbsp; &nbsp; &lt;!&#8211; Just add tabs as you like by following this scheme:<br />
&nbsp; &nbsp; &lt;li&gt;&lt;a class=&quot;ui-tabs&quot; href=&quot;#fragment-X&quot;&gt;Link name here&lt;/a&gt;&lt;/li&gt; &#8211;&gt;<br />
&nbsp; &lt;/ul&gt;</div>
<p>If you want to delete e.g. the &#8220;About this Theme&#8221; tab just delete the whole line:</p>
<div class="dean_ch" style="white-space: wrap;">&lt;li&gt;&lt;a class=&quot;ui-tabs&quot; href=&quot;#fragment-3&quot;&gt;About this Theme&lt;/a&gt;&lt;/li&gt;</div>
<p>If you want to add another tab, add a line following this scheme (&#8220;X&#8221; needs to be a number):</p>
<div class="dean_ch" style="white-space: wrap;"> &lt;li&gt;&lt;a class=&quot;ui-tabs&quot; href=&quot;#fragment-X&quot;&gt;Link name here&lt;/a&gt;&lt;/li&gt;</div>
<p>That´s it for the names of the tabs. Let´s now change the content of the tabs.</p>
<h2>Changing the content of the tabs</h2>
<p>I´ll use the &#8220;Recent Posts&#8221; tab as an example. Again look into ui.tabs.php:</p>
<div class="dean_ch" style="white-space: wrap;">&lt;!&#8211; RECENT POSTS &#8211;&gt;<br />
&nbsp; &lt;div id=&quot;fragment-2&quot; class=&quot;bullets&quot;&gt;<br />
&nbsp; &nbsp; &lt;h3 class=&quot;title&quot;&gt;Recent Posts&lt;/h3&gt;<br />
&nbsp; &nbsp; &lt;p&gt;To show the recent posts is just one thing you can use this tabbed section<br />
&nbsp; &nbsp; &nbsp; for. There are many more. It&amp;acute;s up to your creativity.&lt;/p&gt;<br />
&nbsp; &nbsp; &lt;?php wp_get_archives(&#8216;type=postbypost&amp;limit=7&#8242;); ?&gt;<br />
&nbsp; &lt;/div&gt;<br />
&nbsp; &lt;!&#8211; END RECENT POSTS &#8211;&gt;</div>
<p>As you can see this area is wrapped by a DIV element with the ID=&#8221;fragment-2&#8243; corresponding to the ID of the link that defines the tab-name. This must match. Otherwise it can´t work.</p>
<div class="dean_ch" style="white-space: wrap;">&lt;h3 class=&quot;title&quot;&gt;Recent Posts&lt;/h3&gt;<br />
&nbsp; &nbsp; &lt;p&gt;To show the recent posts is just one thing you can use this tabbed section<br />
&nbsp; &nbsp; &nbsp; for. There are many more. It&amp;acute;s up to your creativity.&lt;/p&gt;</div>
<p>This is just regular HTML-formated text you can put here almost everything you like. Just make sure it uses HTML-markup. If you like to put an image here you must use the whole HTML image-reference code. If you don´t know about HTML please learn at least some basics. Have a look at <a href="http://www.w3.org/MarkUp/Guide/">this documentation</a> or use Google to find out more.</p>
<p>The next piece of code is the WordPress template tag that shows the 7 most recent articles.</p>
<div class="dean_ch" style="white-space: wrap;"><span class="kw2">&lt;?php</span> wp_get_archives<span class="br0">&#40;</span><span class="st0">&#8216;type=postbypost&amp;limit=7&#8242;</span><span class="br0">&#41;</span>; <span class="kw2">?&gt;</span></div>
<p>You can now add or delete tabs and their content. Always make sure you do both. Just deleteing the &#8220;About this Theme&#8221; tab-name will not remove the content of that tab. If you add another tab (name) like &#8220;Info&#8221; and don´t enter any corresponding content you will not see anything.</p>
<p>I hope it´s clear so far. It´s no rocket-science but you need to work inside the code a little bit. That requires at least basic HTML, CSS and maybe PHP knowlege. Always backup your files before you make any changes!</p>
<div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/der-prinz/feed?a=ubv4eNbOA4Q:11V5S8utkxI:yIl2AUoC8zA"><img src="http://feeds.feedburner.com/~ff/der-prinz/feed?d=yIl2AUoC8zA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/der-prinz/feed?a=ubv4eNbOA4Q:11V5S8utkxI:I9og5sOYxJI"><img src="http://feeds.feedburner.com/~ff/der-prinz/feed?d=I9og5sOYxJI" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/der-prinz/feed?a=ubv4eNbOA4Q:11V5S8utkxI:qj6IDK7rITs"><img src="http://feeds.feedburner.com/~ff/der-prinz/feed?d=qj6IDK7rITs" border="0"></img></a>
</div><img src="http://feeds.feedburner.com/~r/der-prinz/feed/~4/ubv4eNbOA4Q" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.der-prinz.com/edit-tabed-interface-branfordmagazine-945/feed</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>Setup the homepage of WyntonMagazine with categories and images</title>
		<link>http://www.der-prinz.com/setup-homepage-wyntonmagazine-categories-images-942</link>
		<comments>http://www.der-prinz.com/setup-homepage-wyntonmagazine-categories-images-942#comments</comments>
		<pubDate>Sun, 17 Jan 2010 20:35:33 +0000</pubDate>
		<dc:creator>DER PRiNZ</dc:creator>
				<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[WyntonMagazine 1]]></category>
		<category><![CDATA[custom fields]]></category>
		<category><![CDATA[Homepage]]></category>
		<category><![CDATA[setup]]></category>
		<category><![CDATA[WyntonMagazine]]></category>

		<guid isPermaLink="false">http://www.der-prinz.com/?p=942</guid>
		<description><![CDATA[WyntonMagazine, my prominent Wordpress magazine style theme, unfortunately does not have an optionspanel in the backend in the current version 1.1. That´s why you need to adopt some things right in the code. But don´t worry: It´s no rocketscience and this tutorial shows you how.

Using custom fields
Since WyntonMagazine uses custom fields to display images on [...]]]></description>
			<content:encoded><![CDATA[<a href="http://www.der-prinz.com/setup-homepage-wyntonmagazine-categories-images-942" title="Setup the homepage of WyntonMagazine with categories and images"><img src="http://www.der-prinz.com/wp-content/uploads/2010/01/wynton-magazine-images-homepage.jpg" alt="wynton magazine images homepage Setup the homepage of WyntonMagazine with categories and images   Michael Oeser" class="feed-image" title="Setup the homepage of WyntonMagazine with categories and images   Michael Oeser" /></a><p><strong>WyntonMagazine, my prominent Wordpress magazine style theme, unfortunately does not have an optionspanel in the backend in the current version 1.1. That´s why you need to adopt some things right in the code. But don´t worry: It´s no rocketscience and this tutorial shows you how.</strong><br />
<span id="more-942"></span></p>
<h2>Using custom fields</h2>
<p>Since WyntonMagazine uses custom fields to display images on the homepage, you should know what custom images are and how they work. Read all about custom fields <a href="http://codex.wordpress.org/Custom_Fields">here at the WordPress codex</a>.</p>
<h2>Getting started with the lead article</h2>
<p>Open the index.php file in your favorite editor and look up this code snipped:</p>
<div class="dean_ch" style="white-space: wrap;"> &nbsp; &nbsp;&lt;!&#8211; LEAD ARTICLE &#8211;&gt;<br />
&nbsp; &nbsp; &nbsp; &lt;div id=<span class="st0">&quot;lead&quot;</span>&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &lt;ul&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span class="kw2">&lt;?php</span> <br />
<span class="co1">// this is where the Lead Story module begins &nbsp; </span><br />
&nbsp; &nbsp;query_posts<span class="br0">&#40;</span><span class="st0">&#8217;showposts=1&amp;cat=1&#8242;</span><span class="br0">&#41;</span>; <span class="co1">//selects 1 article of the category with ID 1 ?&gt;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span class="kw2">&lt;?php</span> <span class="kw1">while</span> <span class="br0">&#40;</span>have_posts<span class="br0">&#40;</span><span class="br0">&#41;</span><span class="br0">&#41;</span> : the_post<span class="br0">&#40;</span><span class="br0">&#41;</span>; <span class="kw2">?&gt;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;div id=<span class="st0">&quot;leadheader&quot;</span>&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;h3&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span class="kw2">&lt;?php</span> <br />
&nbsp; &nbsp; &nbsp; &nbsp; <span class="co1">// this is where the name of the Lead Story category gets printed&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; wp_list_categories<span class="br0">&#40;</span><span class="st0">&#8216;include=1&amp;title_li=&amp;style=none&#8217;</span><span class="br0">&#41;</span>; <span class="kw2">?&gt;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;/h3&gt;</div>
<p>The code &#8220;showposts=1&#038;cat=1&#8243; means it displays 1 article from the category with ID 1. You need to change this ID to whatever category you like to show here. If you don´t know how to detect the category IDs <a href="http://www.der-prinz.com/find-category-ids-933">read this article</a>.</p>
<p>Also use the same ID where it says &#8220;include=1&#8243; because this is the category headline.</p>
<h3>The image of the leadarticle</h3>
<p>Now lookup this code:</p>
<div class="dean_ch" style="white-space: wrap;">&lt;a href=<span class="st0">&quot;&lt;?php the_permalink() ?&gt;&quot;</span> rel=<span class="st0">&quot;bookmark&quot;</span> title=<span class="st0">&quot;Permanent Link to &lt;?php the_title(); ?&gt;&quot;</span>&gt;&lt;img src=<span class="st0">&quot;&lt;?php bloginfo(&#8216;url&#8217;); echo &#8216;/&#8217;; echo get_option(&#8216;upload_path&#8217;); echo &#8216;/&#8217;; <br />
// this is where the Lead Story image gets printed&nbsp; &nbsp; &nbsp; <br />
&nbsp; &nbsp; &nbsp; &nbsp; $values = get_post_custom_values(&quot;</span>Leadimage<span class="st0">&quot;); echo $values[0]; ?&gt;&quot;</span> alt=<span class="st0">&quot;image&quot;</span> id=<span class="st0">&quot;leadpic&quot;</span> /&gt;&lt;/a&gt;</div>
<p>Here &#8220;Leadimage&#8221; is the name of the first custom field. You add this custom field in your write post panel of the WordPress admin area. Below the texteditor you will find a box called &#8220;custom fields&#8221;. You need to add a custom field if you use this function for the first time. Enter &#8220;Leadimage&#8221; (big &#8220;L&#8221;) into the &#8220;name&#8221; of the custom field and put the URL of an image into the &#8220;value&#8221; field as you can see on top of the screenshot. As you can see you only have to put a part of the image URL. It´s the part after the uploads folder where the images are stored. </p>
<p><a rel="prettyPhoto" href="http://www.der-prinz.com/wp-content/uploads/2010/01/custom-fields-wyntonmag.jpg"><img src="http://www.der-prinz.com/wp-content/uploads/2010/01/custom-fields-wyntonmag-650x395.jpg" alt="custom fields wyntonmag 650x395 Setup the homepage of WyntonMagazine with categories and images   Michael Oeser" title="custom-fields-wyntonmag" width="650" height="395" class="aligncenter size-large wp-image-944" /></a></p>
<p>If you have used the custom field once (in any article) you can use the dropdown menue like it´s also shown on the screenshot. In the screenshot you can also see the list of all custom fields that you can use in WyntonMagazine.</p>
<h2>The featured articles on the right side</h2>
<p>Another three articles are teasered on the top-right of the homepage. If you display the second, third and fourth article of the same category as the one in the leadarticle you need to be aware that the teasers can only be displayed if there are articles. For example if you set everything up and have only one article in this category you cannot expect the featured articles to display something because there is nothing to display. You will see it if you have another article written in this category.</p>
<p>Look up this code in index.php:</p>
<div class="dean_ch" style="white-space: wrap;"> &nbsp; &nbsp; &nbsp;<span class="kw2">&lt;?php</span> <br />
<span class="co1">// &quot;Featured articles&quot; module begins&nbsp; &nbsp; &nbsp; </span><br />
&nbsp; &nbsp; &nbsp; &nbsp; query_posts<span class="br0">&#40;</span><span class="st0">&#8217;showposts=3&amp;cat=1&amp;offset=1&#8242;</span><span class="br0">&#41;</span>; <span class="kw2">?&gt;</span><br />
&nbsp; &nbsp; &nbsp; <span class="kw2">&lt;?php</span> <span class="kw1">while</span> <span class="br0">&#40;</span>have_posts<span class="br0">&#40;</span><span class="br0">&#41;</span><span class="br0">&#41;</span> : the_post<span class="br0">&#40;</span><span class="br0">&#41;</span>; <span class="kw2">?&gt;</span></div>
<p>&#8220;showposts=3&#038;cat=1&#038;offset=1&#8243; means that 3 articles from the category ID 1 are displayed. The offset is 1 which means the second latest article is the first to show. The latest article is already the leadarticle.</p>
<h3>The images of the featured articles</h3>
<p>Again a custom field needs to be set in the article in order to make an image appear here.</p>
<div class="dean_ch" style="white-space: wrap;">&lt;a href=<span class="st0">&quot;&lt;?php the_permalink() ?&gt;&quot;</span> rel=<span class="st0">&quot;bookmark&quot;</span> title=<span class="st0">&quot;Permanent Link to &lt;?php the_title(); ?&gt;&quot;</span>&gt;&lt;img src=<span class="st0">&quot;&lt;?php bloginfo(&#8216;url&#8217;); echo &#8216;/&#8217;; echo get_option(&#8216;upload_path&#8217;); echo &#8216;/&#8217;;<br />
// this is where the custom field prints images for each Feature&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <br />
&nbsp; &nbsp; &nbsp; &nbsp; $values = get_post_custom_values(&quot;</span>featured-article-image<span class="st0">&quot;); echo $values[0]; ?&gt;&quot;</span> alt=<span class="st0">&quot;image&quot;</span> /&gt;&lt;/a&gt; &lt;a href=<span class="st0">&quot;&lt;?php the_permalink() ?&gt;&quot;</span> rel=<span class="st0">&quot;bookmark&quot;</span> <span class="kw2">class</span>=<span class="st0">&quot;title&quot;</span>&gt;</div>
<p>The name of this custom field is &#8220;featured-article-image&#8221; and you can set it up just like described before.</p>
<h2>The lower area of the homepage</h2>
<p>In the lower ara below the advertising space you find the latest articles from 6 different categories. You need to setup the IDs again by changing the three areas as follows:</p>
<div class="dean_ch" style="white-space: wrap;"> &nbsp;&lt;div id=<span class="st0">&quot;homeleftcol&quot;</span>&gt;<br />
&nbsp; &nbsp; <span class="kw2">&lt;?php</span><br />
<span class="co1">// enter the IDs of which categories you want to display</span><br />
<span class="re0">$display_categories</span> = <a href="http://www.php.net/array"><span class="kw3">array</span></a><span class="br0">&#40;</span><span class="nu0">3</span>,<span class="nu0">4</span>,<span class="br0">&#41;</span>;<br />
<span class="kw1">foreach</span> <span class="br0">&#40;</span><span class="re0">$display_categories</span> <span class="kw1">as</span> <span class="re0">$category</span><span class="br0">&#41;</span> <span class="br0">&#123;</span> <span class="kw2">?&gt;</span><br />
&nbsp; &nbsp; &lt;div <span class="kw2">class</span>=<span class="st0">&quot;clearfloat&quot;</span>&gt;<br />
&nbsp; &nbsp; &nbsp; <span class="kw2">&lt;?php</span> query_posts<span class="br0">&#40;</span><span class="st0">&quot;showposts=1&amp;cat=$category&quot;</span><span class="br0">&#41;</span>;</div>
<p>&#8220;array(3,4,)&#8221; means the IDs 3 and 4 for the first column called &#8220;homeleftcol&#8221;. Also look for &#8220;homemidcol&#8221; and &#8220;homerightcol&#8221; and change the IDs acordingly.</p>
<p>The custom field for the image in this section is always &#8220;home-category-image&#8221;. </p>
<h2>Imagesizes</h2>
<p>As WyntonMagazine currently does not use TimThumb script to crop and rezize the images automatically you have to use the images in the correct sizes. You don´t need to use the exact sizes that I use in the demosite but I do reccomend to use them since they fit very good. The used sizes are:</p>
<ul>
<li>350&#215;250 pixels for the leadimage</li>
<li>
258&#215;80 pixels for the featured images</li>
<li>100&#215;100 pixels for the thumbnails in the lower area</li>
</ul>
<p>As you need the correct image size for the specific area where the post will be displayed, you will need more than one image for many articles. For a newsarticle that will be displayed as the leadarticle as long as it is the most recent newsarticle you will need two images and their custom fields. One will be the &#8220;Leadimage&#8221; and the other one will be the &#8220;featured-article-image&#8221;. Why? Well, because the leadarticle will become a featured article once it is not the latest from this category anymore.</p>
<p>I know this is not the best way of doing that and a next version of WyntonMagazine will use TimThumb script to crop and resize images automatically and will also get an optionspage for easier setup. But due to a lack of time there are no clear plans when this is going to happen.</p>
<div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/der-prinz/feed?a=PLQbdKzkL5A:CN9sLzlrOT8:yIl2AUoC8zA"><img src="http://feeds.feedburner.com/~ff/der-prinz/feed?d=yIl2AUoC8zA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/der-prinz/feed?a=PLQbdKzkL5A:CN9sLzlrOT8:I9og5sOYxJI"><img src="http://feeds.feedburner.com/~ff/der-prinz/feed?d=I9og5sOYxJI" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/der-prinz/feed?a=PLQbdKzkL5A:CN9sLzlrOT8:qj6IDK7rITs"><img src="http://feeds.feedburner.com/~ff/der-prinz/feed?d=qj6IDK7rITs" border="0"></img></a>
</div><img src="http://feeds.feedburner.com/~r/der-prinz/feed/~4/PLQbdKzkL5A" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.der-prinz.com/setup-homepage-wyntonmagazine-categories-images-942/feed</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
		<item>
		<title>Using optional excerpts for more content control</title>
		<link>http://www.der-prinz.com/optional-excerpts-content-control-939</link>
		<comments>http://www.der-prinz.com/optional-excerpts-content-control-939#comments</comments>
		<pubDate>Thu, 14 Jan 2010 22:41:32 +0000</pubDate>
		<dc:creator>DER PRiNZ</dc:creator>
				<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[content control]]></category>
		<category><![CDATA[excerpt]]></category>

		<guid isPermaLink="false">http://www.der-prinz.com/?p=939</guid>
		<description><![CDATA[In another article I already wrote about using individual excerpt lengths in BranfordMagazine. This brief tutorial shows you how to use individual excerpts for every post in order to get more control over your content. I use this in the leadarticle of my BranfordMagazine demosite.

When you write a post you will find an &#8220;excerpt&#8221; panel [...]]]></description>
			<content:encoded><![CDATA[<a href="http://www.der-prinz.com/optional-excerpts-content-control-939" title="Using optional excerpts for more content control"><img src="http://www.der-prinz.com/wp-content/uploads/2010/01/optional-excerpt.jpg" alt="optional excerpt Using optional excerpts for more content control   Michael Oeser" class="feed-image" title="Using optional excerpts for more content control   Michael Oeser" /></a><p><strong>In another article I already wrote about using <a href="http://www.der-prinz.com/individual-excerpt-lengths-branfordmagazine-4-935">individual excerpt lengths</a> in BranfordMagazine. This brief tutorial shows you how to use individual excerpts for every post in order to get more control over your content. I use this in the leadarticle of my <a href="http://www.wp-themes.der-prinz.com/branfordmagazine/">BranfordMagazine demosite</a>.</strong><br />
<span id="more-939"></span><br />
When you write a post you will find an &#8220;excerpt&#8221; panel (German: &#8220;Auszug&#8221;) normally right below the text editor panel. You just have to type in whatever text you like and the_excerpt() template tag will use it for the excerpt automatically. The advantage here is that you can control the legth of the text and also use html formating such as bold text. </p>
<p>That´s it. Pretty easy. Isn´t it.</p>
<div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/der-prinz/feed?a=5aQwzdqCzRI:Y9ybx6AR9Nc:yIl2AUoC8zA"><img src="http://feeds.feedburner.com/~ff/der-prinz/feed?d=yIl2AUoC8zA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/der-prinz/feed?a=5aQwzdqCzRI:Y9ybx6AR9Nc:I9og5sOYxJI"><img src="http://feeds.feedburner.com/~ff/der-prinz/feed?d=I9og5sOYxJI" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/der-prinz/feed?a=5aQwzdqCzRI:Y9ybx6AR9Nc:qj6IDK7rITs"><img src="http://feeds.feedburner.com/~ff/der-prinz/feed?d=qj6IDK7rITs" border="0"></img></a>
</div><img src="http://feeds.feedburner.com/~r/der-prinz/feed/~4/5aQwzdqCzRI" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.der-prinz.com/optional-excerpts-content-control-939/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Individual Excerpt lengths in BranfordMagazine 4</title>
		<link>http://www.der-prinz.com/individual-excerpt-lengths-branfordmagazine-4-935</link>
		<comments>http://www.der-prinz.com/individual-excerpt-lengths-branfordmagazine-4-935#comments</comments>
		<pubDate>Thu, 14 Jan 2010 21:53:20 +0000</pubDate>
		<dc:creator>DER PRiNZ</dc:creator>
				<category><![CDATA[BranfordMagazine 4]]></category>
		<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[excerpt]]></category>
		<category><![CDATA[functions]]></category>

		<guid isPermaLink="false">http://www.der-prinz.com/?p=935</guid>
		<description><![CDATA[BranfordMagazine uses the excerpt template tag for auto-shortening texts on the homepage and in other areas. This is nothing spectacular since many themes do it like that. But BranfordMagazine (as of version 4.1)  uses the power of WordPress 2.9x to provide a function for individual excerpt lengths. Be aware that this doesn´t work with [...]]]></description>
			<content:encoded><![CDATA[<a href="http://www.der-prinz.com/individual-excerpt-lengths-branfordmagazine-4-935" title="Individual Excerpt lengths in BranfordMagazine 4"><img src="http://www.der-prinz.com/wp-content/uploads/2010/01/individual-excerpt-length.jpg" alt="individual excerpt length Individual Excerpt lengths in BranfordMagazine 4   Michael Oeser" class="feed-image" title="Individual Excerpt lengths in BranfordMagazine 4   Michael Oeser" /></a><p><strong>BranfordMagazine uses <a href="http://codex.wordpress.org/Template_Tags/the_excerpt">the excerpt template tag</a> for auto-shortening texts on the homepage and in other areas. This is nothing spectacular since many themes do it like that. But BranfordMagazine (as of version 4.1)  uses the power of WordPress 2.9x to provide a function for individual excerpt lengths. Be aware that this doesn´t work with WP versions prior to 2.9. By default this is used for shorter excerpts in the featured articles section.</strong><br />
<span id="more-935"></span></p>
<h2>How to use individual excerpt lengths</h2>
<p>Open your functions.php file in the theme directory and look up line 38. You will see this function:</p>
<div class="dean_ch" style="white-space: wrap;"><span class="kw2">&lt;?php</span><br />
<span class="co1">//modify the excerpt lenght in the &quot;featured articles&quot; section on the homepage</span><br />
add_filter<span class="br0">&#40;</span><span class="st0">&#8216;excerpt_length&#8217;</span>, <span class="st0">&#8216;my_excerpt_length&#8217;</span><span class="br0">&#41;</span>;<br />
<span class="kw2">function</span> my_excerpt_length<span class="br0">&#40;</span><span class="re0">$length</span><span class="br0">&#41;</span> <span class="br0">&#123;</span><br />
&nbsp; &nbsp; <span class="kw1">if</span><span class="br0">&#40;</span>in_category<span class="br0">&#40;</span><span class="nu0">4</span><span class="br0">&#41;</span><span class="br0">&#41;</span> <span class="br0">&#123;</span> <span class="co1">// put here the ID (4 by default) of the category used for the &quot;featured&quot; articles</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; <span class="kw1">return</span> <span class="nu0">25</span>; <span class="co1">// put the number of words (default 25)</span><br />
&nbsp; &nbsp; <span class="br0">&#125;</span> <span class="kw1">else</span> <span class="br0">&#123;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; <span class="kw1">return</span> <span class="nu0">55</span>; <span class="co1">// show 55 words for any other excerpt (or change this number also)</span><br />
&nbsp; &nbsp; <span class="br0">&#125;</span><br />
<span class="br0">&#125;</span><br />
<span class="kw2">?&gt;</span></div>
<p>I think it´s more or less self explaining. By default (and based on my demo site) it means that the excerpt of category 4 (featured articles) is limited to 25 words. The excerpt of any other category is limited to 55 words which is the WordPress default. Now you can easily change the lenght of your excerpts just by changing the numbers 25 and/or 55 to whatever you like. </p>
<h2>Extending the function</h2>
<p>You can also extend this function to archieve other categories to display different excerpt lengths. Try something like this:</p>
<div class="dean_ch" style="white-space: wrap;"><span class="kw2">&lt;?php</span><br />
<span class="co1">//modify the excerpt lenght in the &quot;featured articles&quot; section on the homepage</span><br />
add_filter<span class="br0">&#40;</span><span class="st0">&#8216;excerpt_length&#8217;</span>, <span class="st0">&#8216;my_excerpt_length&#8217;</span><span class="br0">&#41;</span>;<br />
<span class="kw2">function</span> my_excerpt_length<span class="br0">&#40;</span><span class="re0">$length</span><span class="br0">&#41;</span> <span class="br0">&#123;</span><br />
&nbsp; &nbsp; <span class="kw1">if</span><span class="br0">&#40;</span>in_category<span class="br0">&#40;</span><span class="nu0">4</span><span class="br0">&#41;</span><span class="br0">&#41;</span> <span class="br0">&#123;</span> <span class="co1">// put here the ID (4 by default) of the category used for the &quot;featured&quot; articles</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; <span class="kw1">return</span> <span class="nu0">25</span>; <span class="co1">// put the number of words (default 25)</span><br />
&nbsp; &nbsp; <span class="br0">&#125;</span> <br />
&nbsp; &nbsp; <span class="kw1">elseif</span><span class="br0">&#40;</span>in_category<span class="br0">&#40;</span><span class="nu0">1</span><span class="br0">&#41;</span><span class="br0">&#41;</span> <span class="br0">&#123;</span> <span class="co1">// put here the ID of the category </span><br />
&nbsp; &nbsp; &nbsp; &nbsp; <span class="kw1">return</span> <span class="nu0">75</span>; <span class="co1">// put the number of words (default 25)</span><br />
&nbsp; &nbsp; <span class="br0">&#125;</span> <br />
&nbsp; &nbsp; <span class="kw1">else</span> <span class="br0">&#123;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; <span class="kw1">return</span> <span class="nu0">55</span>; <span class="co1">// show 55 words for any other excerpt (or change this number also)</span><br />
&nbsp; &nbsp; <span class="br0">&#125;</span><br />
<span class="br0">&#125;</span><br />
<span class="kw2">?&gt;</span></div>
<p>It´s up to you now. Play around with it.</p>
<div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/der-prinz/feed?a=VYmDaiOKO7Q:yf3FupWGCHQ:yIl2AUoC8zA"><img src="http://feeds.feedburner.com/~ff/der-prinz/feed?d=yIl2AUoC8zA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/der-prinz/feed?a=VYmDaiOKO7Q:yf3FupWGCHQ:I9og5sOYxJI"><img src="http://feeds.feedburner.com/~ff/der-prinz/feed?d=I9og5sOYxJI" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/der-prinz/feed?a=VYmDaiOKO7Q:yf3FupWGCHQ:qj6IDK7rITs"><img src="http://feeds.feedburner.com/~ff/der-prinz/feed?d=qj6IDK7rITs" border="0"></img></a>
</div><img src="http://feeds.feedburner.com/~r/der-prinz/feed/~4/VYmDaiOKO7Q" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.der-prinz.com/individual-excerpt-lengths-branfordmagazine-4-935/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Small update for BranfordMagazine</title>
		<link>http://www.der-prinz.com/small-update-branfordmagazine-934</link>
		<comments>http://www.der-prinz.com/small-update-branfordmagazine-934#comments</comments>
		<pubDate>Thu, 14 Jan 2010 20:35:51 +0000</pubDate>
		<dc:creator>DER PRiNZ</dc:creator>
				<category><![CDATA[News]]></category>

		<guid isPermaLink="false">http://www.der-prinz.com/?p=934</guid>
		<description><![CDATA[Today I provided a small update for BranfordMagazine. The versionnumber is 4.1 and it contains a small bugfix and a minor functionality change for the excerpts.
The update fixes the display of the &#8220;continue reading&#8221; link in the leadarticle and the length of the excerpt can now be modified in the functions.php file. I will write [...]]]></description>
			<content:encoded><![CDATA[<p><strong>Today I provided a small update for BranfordMagazine. The versionnumber is 4.1 and it contains a small bugfix and a minor functionality change for the excerpts.</strong></p>
<p>The update fixes the display of the &#8220;continue reading&#8221; link in the leadarticle and the length of the excerpt can now be modified in the functions.php file. I will write a tutorial for that as soon as possible.</p>
<p>If you like to update you just need to replace the following files with the new ones:</p>
<ul>
<li>/includes/ui.tabs.php</li>
<li>index.php</li>
<li>functions.php</li>
<li>style.css (not really needed, just for the correct versionnumber)</li>
</ul>
<p><a href="http://www.der-prinz.com/downloads">Download now</a></p>
<div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/der-prinz/feed?a=PSscHyHVlQg:oYlKmxBiiTs:yIl2AUoC8zA"><img src="http://feeds.feedburner.com/~ff/der-prinz/feed?d=yIl2AUoC8zA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/der-prinz/feed?a=PSscHyHVlQg:oYlKmxBiiTs:I9og5sOYxJI"><img src="http://feeds.feedburner.com/~ff/der-prinz/feed?d=I9og5sOYxJI" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/der-prinz/feed?a=PSscHyHVlQg:oYlKmxBiiTs:qj6IDK7rITs"><img src="http://feeds.feedburner.com/~ff/der-prinz/feed?d=qj6IDK7rITs" border="0"></img></a>
</div><img src="http://feeds.feedburner.com/~r/der-prinz/feed/~4/PSscHyHVlQg" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.der-prinz.com/small-update-branfordmagazine-934/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
