<?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>DER PRiNZ &#187; Tutorials</title>
	<atom:link href="http://www.der-prinz.com/category/tutorials/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.der-prinz.com</link>
	<description>PREMIUM WORDPRESS THEMES</description>
	<lastBuildDate>Thu, 02 Feb 2012 22:16:56 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Customizing your Theme with a Child Theme</title>
		<link>http://www.der-prinz.com/customizing-your-theme-with-a-child-theme/</link>
		<comments>http://www.der-prinz.com/customizing-your-theme-with-a-child-theme/#comments</comments>
		<pubDate>Tue, 24 Jan 2012 07:13:59 +0000</pubDate>
		<dc:creator>Michael Oeser</dc:creator>
				<category><![CDATA[Tutorials]]></category>

		<guid isPermaLink="false">http://www.der-prinz.com/?p=2498</guid>
		<description><![CDATA[<div><img width="600" height="250" src="http://www.der-prinz.com/wp-content/uploads/2012/01/Child-Themes-featured-Image-600x250.jpg?7c39c3" class="attachment-rss-thumb wp-post-image" alt="Child-Themes-featured-Image" title="Child-Themes-featured-Image" style="margin-bottom:15px;" /></div>A brief Introduction to Child Themes People often ask what happens to customizations after a theme update. Well the short answer is: They will get lost. Why is that? When you update a theme there is normally no build in update routine like you have [...]]]></description>
			<content:encoded><![CDATA[<div><img width="600" height="250" src="http://www.der-prinz.com/wp-content/uploads/2012/01/Child-Themes-featured-Image-600x250.jpg?7c39c3" class="attachment-rss-thumb wp-post-image" alt="Child-Themes-featured-Image" title="Child-Themes-featured-Image" style="margin-bottom:15px;" /></div><h2>A brief Introduction to Child Themes</h2>
<p>People often ask what happens to customizations after a theme update. Well the short answer is: They will get lost.</p>
<p>Why is that? When you update a theme there is normally no build in update routine like you have it for WordPress core updates. That means when a new version of a theme comes out you need to replace the old files with the new ones and that overwrites your custom changes. By the way this also would happen in case of a WordPress update if you would have changed WordPress core files. That is the reason why you should never make any changes to WordPress core files. But how can you customize a theme and stay safe in case of an update? The solution is: A child theme.</p>
<h2>What is a Child Theme?</h2>
<p>A WordPress child theme is a theme that inherits the functionality of another theme, called the parent theme, and allows you to modify, or add to, the functionality of that parent theme (Source: <a href="http://codex.wordpress.org/Child_Themes">WordPress Codex</a>). It contains at least a screenshot, a style.css and a functions.php file. But it can also have an image folder and/or any other theme template file you want to customize.</p>
<h3>Screenshot</h3>
<p>All WordPress themes have a screenshoot image included – typically this is called “screenshot.png” and is a visual display of the theme, which can be seen on the Appearance &gt; Themes page inside your WordPress admin dashboard. Since child themes have their own folders and are activated like any other theme, they require a screenshot like a standard theme.</p>
<h3>Theme Files &#8211; Templates</h3>
<p>The parent theme, is where all of the theme files (templates files) are kept. This would include the typical theme files such as footer.php, header.php, index.php, page.php, single.php and so on. Child themes can also include these files – and the hierarchy works in a way that if any of those files exist in the child theme folder, they will override the parent theme. In other words, if you customize a footer.php file and place it into your child theme folder, that will be used instead of the footer.php in the parent theme.</p>
<p class='info-box notice ' >Theme files are also called templates or template files. A template in this case is not a complete theme. A theme is a &#8220;collection&#8221; of various templates (or template files).</p>
<h3>Stylesheet &#8211; CSS File</h3>
<p>The style.css (stylesheet) of the child theme imports the parent theme stylesheet. As long as you don´t change anything in the child theme the styles of the parent theme are used. Any style from the parent theme you add to the child theme stylesheet will be used instead of the parent themes style. So if you change e.g. the color of a h1 heading in the child themes style.css this will be used instead of the original color used in the style.css of the parent theme. And because the stylesheet controls 100% of the design you can use it to modify any area of the theme.</p>
<h3>Functions File</h3>
<p>Most WordPress themes have a functions.php file – which is typically a file where you can control certain behaviors of how WordPress is run or how the theme outputs various things. For instance, a functions file can register sidebar widgets and how they are styled, as well as a number of other “function” related things. Again you can use the child thtmes functions.php to overwrite the parent themes functions.</p>
<h3>Images Folder</h3>
<p>This one is  self-explanatory – as with (almost) any WordPress theme, there is an images folder which is used to hold images that a theme requires. Use this to hold background images, icons, navbar gradients, etc. If you don´t need other images than the parent theme already uses, you don´t need an image folder in your child theme.</p>
<h3>Conclusion</h3>
<p>Child themes a the perfect way to make &#8220;heavy&#8221; customizations to your theme without beeing afraid of future updates. If you update a theme the child theme files will remain untouched and your individual changes will not get lost.</p>
<h2>Further Readings</h2>
<ul>
<li><a href="http://codex.wordpress.org/Child_Themes">Child Themes at the WordPress Codex</a></li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://www.der-prinz.com/customizing-your-theme-with-a-child-theme/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Using prettyPhoto Image Effect with NextGen Gallery</title>
		<link>http://www.der-prinz.com/prettyphoto-image-effect-nextgen-gallery/</link>
		<comments>http://www.der-prinz.com/prettyphoto-image-effect-nextgen-gallery/#comments</comments>
		<pubDate>Mon, 08 Nov 2010 13:00:07 +0000</pubDate>
		<dc:creator>Michael Oeser</dc:creator>
				<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[gallery]]></category>
		<category><![CDATA[Images]]></category>

		<guid isPermaLink="false">http://www.der-prinz.com/?p=1176</guid>
		<description><![CDATA[<div><img width="600" height="250" src="http://www.der-prinz.com/wp-content/uploads/2010/11/prettyPhoto-Integration_ngg-600x250.jpg?7c39c3" class="attachment-rss-thumb wp-post-image" alt="prettyPhoto-Integration_ngg" title="prettyPhoto-Integration_ngg" style="margin-bottom:15px;" /></div>All of my themes come with a very nice image effect called &#8220;prettyPhoto&#8220;. It´s a lightbox clone that opens image links automatically in an overlay or modal window. You don´t need to do anything but link the inserted image in a post or page to [...]]]></description>
			<content:encoded><![CDATA[<div><img width="600" height="250" src="http://www.der-prinz.com/wp-content/uploads/2010/11/prettyPhoto-Integration_ngg-600x250.jpg?7c39c3" class="attachment-rss-thumb wp-post-image" alt="prettyPhoto-Integration_ngg" title="prettyPhoto-Integration_ngg" style="margin-bottom:15px;" /></div><p><strong>All of my themes come with a very nice image effect called &#8220;<a href="http://wp-themes.der-prinz.com/spiegelmagazine/auto-image-handling">prettyPhoto</a>&#8220;. It´s a lightbox clone that opens image links automatically in an overlay or modal window. You don´t need to do anything but link the inserted image in a post or page to its own file. pretty Photo detects image links automatically.</strong><br />
<span id="more-1176"></span><br />
Although this is already a great feature on its own you can use this build-in functionality even more effective. <a href="http://alexrabe.de/wordpress-plugins/nextgen-gallery/">NextGen Gallery</a> is one of the best and most famous image gallery plugins for WordPress. One great thing about NextGen Gallery is the possibility to use various Javascript effects for displaying images. Thickbox &#8211; which is included in WordPress by default &#8211; is just one of them. Many others are already prepared but you can also use your own. </p>
<div class="img"><img src="http://www.der-prinz.com/wp-content/uploads/2010/11/imagelink-settings.jpg?7c39c3" alt="imagelink-settings" title="imagelink-settings" width="620" height="290" class="alignnone size-full wp-image-1185" /></div>
<p>And this is where prettyPhoto comes into play.  If you have NextGen Gallery installed and activated you go to the options page of the plugin. There you should see a tab called &#8220;Effects&#8221;. On this tab you can select from various Javascript effects. Select &#8220;own&#8221; as Javascript thumbnail effect and add the following line into the textbox:</p>
<div class="dean_ch" style="white-space: wrap;">rel=&quot;prettyPhoto[%GALLERY_NAME%]&quot;</div>
<div class="img"><img src="http://www.der-prinz.com/wp-content/uploads/2010/11/ngg_settings.jpg?7c39c3" alt="ngg_settings" title="ngg_settings" width="620" height="290" class="alignnone size-full wp-image-1180" /></div>
<p>Save the settings and navigate to your Gallery page. If you click on a thumbnail it will open in a nice prettyPhoto window. </p>
<p><em>Screenshot taken from <a href="http://www.mathias-priebe.de/wordpress/">Matthias Priebe</a></em></p>
]]></content:encoded>
			<wfw:commentRss>http://www.der-prinz.com/prettyphoto-image-effect-nextgen-gallery/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Use Widgets in the Sidebar or use the default items</title>
		<link>http://www.der-prinz.com/widgets-sidebar-default-items/</link>
		<comments>http://www.der-prinz.com/widgets-sidebar-default-items/#comments</comments>
		<pubDate>Tue, 19 Oct 2010 08:00:38 +0000</pubDate>
		<dc:creator>Michael Oeser</dc:creator>
				<category><![CDATA[Tutorials]]></category>

		<guid isPermaLink="false">http://www.der-prinz.com/?p=923</guid>
		<description><![CDATA[UPDATED: By default BranfordMagazine as well as WyntonMagazine come with an &#8220;intelligent&#8221; sidebar. I call it &#8220;intelligent&#8221; because it displays different items based on where you are on the site. Of course you can also use widgets if you feel more comfortable with it. Widgets [...]]]></description>
			<content:encoded><![CDATA[<p><strong>UPDATED: By default BranfordMagazine as well as WyntonMagazine come with an &#8220;intelligent&#8221; sidebar. I call it &#8220;intelligent&#8221; because it displays different items based on where you are on the site. Of course you can also use widgets if you feel more comfortable with it.</strong><br />
<span id="more-923"></span></p>
<h2>Widgets or default Items &#8211; You decide</h2>
<p>Many people prefer to use widgets instead of sticking with the default stuff or put some code inside the sidebar.php file manually. That´s fine since widgets are very handy and usefull and make it easy to move and change things in the sidebar. But you need to be aware of the fact that you can basically just EITHER use widgets OR the default stuff. If you use widgets (even if you just use one single widget) the default items are not being displayed anymore with the exception of some things in BranfordMagazine. BranfordMagazine sidebar is build to have the widgetized area between some hardcoded stuff that will last even if you use widgets. That´s the list of news on the homepage aswell as the RSS and &#8220;who writes&#8221; links.</p>
<h2>Wanna have it all? It´s possible</h2>
<p>For most people that´s just fine but what if you want to have both? Of course there is a way to use widgets AND some of the default stuff. Imagine a text widget. You can use a text widget not only to display text but also to key in html or php code. This requires a plugin like exec php to be installed in order to be able to execute code. Once the plugin is installed you can put code in textwidgets and it will act as if it is written into the file. The new <a href="http://www.der-prinz.com/custom-widgets-998">custom widgets</a> that where introduced in BranfordMagazine version 5 and WyntonMagazine version 2 are also a great opportunity of adding dynamic content. They provide some of the hardcoded functionality of the sidebar in a flexible widget (such as the &#8220;more from this category&#8221; list).</p>
<h2>An example for hardcoded Stuff in a Textwidget</h2>
<p>Let´s say you want to have the latest news block from the homepage of BranfordMagazine but for everything else you want to use widgets. Well put your widgets into the sidebar and put a textwidget on top. Now check out sidebar.php and copy this piece of code into your textwidget:</p>
<div class="dean_ch" style="white-space: wrap;"> &nbsp; &nbsp;<span class="kw2">&lt;?php</span> <span class="kw1">if</span> <span class="br0">&#40;</span> is_home<span class="br0">&#40;</span><span class="br0">&#41;</span> <span class="br0">&#41;</span> <span class="br0">&#123;</span> <span class="kw2">?&gt;</span><br />
&nbsp; &nbsp; &lt;div&gt;<br />
&nbsp; &nbsp; &nbsp; &lt;h3&gt;<br />
&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 News (or whatever) 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=&#8217;</span>.get_cat_id<span class="br0">&#40;</span>get_option<span class="br0">&#40;</span><span class="st0">&#8216;prinz_lead&#8217;</span><span class="br0">&#41;</span><span class="br0">&#41;</span>.<span class="st0">&#8216;&amp;title_li=&amp;style=none&#8217;</span><span class="br0">&#41;</span>; <span class="kw2">?&gt;</span><br />
&nbsp; &nbsp; &nbsp; &lt;/h3&gt;<br />
&nbsp; &nbsp; &nbsp; <span class="kw2">&lt;?php</span> <br />
<span class="co1">// this is where the last five headlines are pulled from the News (or whatever) category but not the first one (offset=1) since this is already displayed as leadarticle. </span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; query_posts<span class="br0">&#40;</span><span class="st0">&#8216;cat=&#8217;</span>.get_cat_id<span class="br0">&#40;</span>get_option<span class="br0">&#40;</span><span class="st0">&#8216;prinz_lead&#8217;</span><span class="br0">&#41;</span><span class="br0">&#41;</span>.<span class="st0">&#8216;&amp;offset=1&amp;showposts=&#8217;</span>.get_option<span class="br0">&#40;</span><span class="st0">&#8216;prinz_sidenewsnumber&#8217;</span><span class="br0">&#41;</span><span class="br0">&#41;</span>;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span class="kw2">?&gt;</span><br />
&nbsp; &nbsp; &nbsp; &lt;ul <span class="kw2">class</span>=<span class="st0">&quot;bullets&quot;</span>&gt;<br />
&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; &lt;li&gt;&lt;a href=<span class="st0">&quot;&lt;?php the_permalink() ?&gt;&quot;</span> rel=<span class="st0">&quot;bookmark&quot;</span>&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span class="kw2">&lt;?php</span> the_title<span class="br0">&#40;</span><span class="br0">&#41;</span>; <span class="kw2">?&gt;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;/a&gt;&lt;/li&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; <span class="kw2">&lt;?php</span> <span class="kw1">endwhile</span>; <span class="kw2">?&gt;</span><br />
&nbsp; &nbsp; &nbsp; &lt;/ul&gt;<br />
&nbsp; &nbsp; &lt;/div&gt;<br />
&nbsp; &nbsp; <span class="kw2">&lt;?php</span> <span class="br0">&#125;</span> <span class="kw2">?&gt;</span></div>
<p>You need to change some small things now. You see the variables that are been used by the options page (backend) which do not work in this case (maybe I will find out why and change that).</p>
<p><strong>&#8216;.get_cat_id(get_option(&#8216;prinz_lead&#8217;)).&#8217;<br />
&#8216;.get_option(&#8216;prinz_sidenewsnumber&#8217;)</strong></p>
<p>For the first you put the ID (a number) of the category (your newscategory) and for the second you put a number to tell the site how many newsheadlines to display. </p>
<p>That´s how it might look like then:</p>
<div class="dean_ch" style="white-space: wrap;"> &nbsp; &nbsp;<span class="kw2">&lt;?php</span> <span class="kw1">if</span> <span class="br0">&#40;</span> is_home<span class="br0">&#40;</span><span class="br0">&#41;</span> <span class="br0">&#41;</span> <span class="br0">&#123;</span> <span class="kw2">?&gt;</span><br />
&nbsp; &nbsp; &lt;li&gt;<br />
&nbsp; &nbsp; &nbsp; &lt;h3&gt;<br />
&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 News (or whatever) 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">&quot;include=1;&amp;title_li=&amp;style=none&quot;</span><span class="br0">&#41;</span>; <span class="kw2">?&gt;</span><br />
&nbsp; &nbsp; &nbsp; &lt;/h3&gt;<br />
&nbsp; &nbsp; &nbsp; <span class="kw2">&lt;?php</span> <br />
<span class="co1">// this is where the last five headlines are pulled from the News (or whatever) category but not the first one (offset=1) since this is already displayed as leadarticle. </span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; query_posts<span class="br0">&#40;</span><span class="st0">&quot;offset=1&amp;cat=1;&amp;showposts=5;&quot;</span><span class="br0">&#41;</span>;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span class="kw2">?&gt;</span><br />
&nbsp; &nbsp; &nbsp; &lt;ul <span class="kw2">class</span>=<span class="st0">&quot;bullets&quot;</span>&gt;<br />
&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; &lt;li&gt;&lt;a href=<span class="st0">&quot;&lt;?php the_permalink() ?&gt;&quot;</span> rel=<span class="st0">&quot;bookmark&quot;</span>&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span class="kw2">&lt;?php</span> the_title<span class="br0">&#40;</span><span class="br0">&#41;</span>; <span class="kw2">?&gt;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;/a&gt;&lt;/li&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; <span class="kw2">&lt;?php</span> <span class="kw1">endwhile</span>; <span class="kw2">?&gt;</span><br />
&nbsp; &nbsp; &nbsp; &lt;/ul&gt;<br />
&nbsp; &nbsp; &lt;/li&gt;<br />
&nbsp; &nbsp; <span class="kw2">&lt;?php</span> <span class="br0">&#125;</span> <span class="kw2">?&gt;</span></div>
<p>In this case &#8220;1&#8243; is the category ID and &#8220;5&#8243; the number of posts (headlines) to display. </p>
<p>That´s it. Now you can use this little workaround for any item from the default sidebar that you like to use together with widgets.</p>
<h2>Getting completly rid of the default Stuff</h2>
<p>As I mentioned earlier there is some default stuff that will remain even if you use widgets. It´s the &#8220;News&#8221; list on top of the sidebar and the &#8220;Stay informed&#8221; list as well. If you want to also remove those parts from the sidebar you need to open sidebar.php and remove the following lines.</p>
<h3>The &#8220;News&#8221; Section</h3>
<div class="dean_ch" style="white-space: wrap;"> &nbsp; <span class="kw2">&lt;?php</span> <span class="kw1">if</span> <span class="br0">&#40;</span> is_home<span class="br0">&#40;</span><span class="br0">&#41;</span> <span class="br0">&#41;</span> <span class="br0">&#123;</span> <span class="kw2">?&gt;</span><br />
&nbsp; &nbsp; &lt;div&gt;<br />
&nbsp; &nbsp; &nbsp; &lt;h3&gt;<br />
&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 News (or whatever) 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">&quot;include=$prinz_lead;&amp;title_li=&amp;style=none&quot;</span><span class="br0">&#41;</span>; <span class="kw2">?&gt;</span><br />
&nbsp; &nbsp; &nbsp; &lt;/h3&gt;<br />
&nbsp; &nbsp; &nbsp; <span class="kw2">&lt;?php</span> <br />
<span class="co1">// this is where the last five headlines are pulled from the News (or whatever) category but not the first one (offset=1) since this is already displayed as leadarticle. </span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; query_posts<span class="br0">&#40;</span><span class="st0">&quot;offset=1&amp;cat=$prinz_lead;&amp;showposts=$prinz_sidenewsnumber;&quot;</span><span class="br0">&#41;</span>;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span class="kw2">?&gt;</span><br />
&nbsp; &nbsp; &nbsp; &lt;ul <span class="kw2">class</span>=<span class="st0">&quot;bullets&quot;</span>&gt;<br />
&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; &lt;li&gt;&lt;a href=<span class="st0">&quot;&lt;?php the_permalink() ?&gt;&quot;</span> rel=<span class="st0">&quot;bookmark&quot;</span>&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span class="kw2">&lt;?php</span> the_title<span class="br0">&#40;</span><span class="br0">&#41;</span>; <span class="kw2">?&gt;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;/a&gt;&lt;/li&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; <span class="kw2">&lt;?php</span> <span class="kw1">endwhile</span>; <span class="kw2">?&gt;</span><br />
&nbsp; &nbsp; &nbsp; &lt;/ul&gt;<br />
&nbsp; &nbsp; &lt;/div&gt;<br />
&nbsp; &nbsp; <span class="kw2">&lt;?php</span> <span class="br0">&#125;</span> <span class="kw2">?&gt;</span></div>
<h3>The &#8220;Stay informed&#8221; Section</h3>
<div class="dean_ch" style="white-space: wrap;"> &nbsp; &nbsp; &nbsp; &nbsp;&lt;div&gt;<br />
&nbsp; &nbsp; &nbsp; &lt;h3&gt;&lt;?php _e<span class="br0">&#40;</span><span class="st0">&#8216;Stay informed&#8217;</span>,<span class="st0">&#8216;branfordmagazine&#8217;</span><span class="br0">&#41;</span>;?&gt;&lt;/h3&gt;<br />
&nbsp; &nbsp; &nbsp; &lt;ul <span class="kw2">class</span>=<span class="st0">&quot;feed&quot;</span>&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &lt;li&gt;&lt;a href=<span class="st0">&quot;&lt;?php bloginfo(&#8216;rss2_url&#8217;); ?&gt;&quot;</span>&gt;Entries <span class="br0">&#40;</span>RSS<span class="br0">&#41;</span>&lt;/a&gt;&lt;/li&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &lt;li&gt;&lt;a href=<span class="st0">&quot;&lt;?php bloginfo(&#8216;comments_rss2_url&#8217;); ?&gt;&quot;</span>&gt;Comments <span class="br0">&#40;</span>RSS<span class="br0">&#41;</span>&lt;/a&gt;&lt;/li&gt;<br />
&nbsp; &nbsp; &nbsp; &lt;/ul&gt;<br />
&nbsp; &nbsp; &lt;/div&gt;</div>
]]></content:encoded>
			<wfw:commentRss>http://www.der-prinz.com/widgets-sidebar-default-items/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>The &#8220;3-Column-Page&#8221; Template</title>
		<link>http://www.der-prinz.com/branfordmagazine-3-column-page/</link>
		<comments>http://www.der-prinz.com/branfordmagazine-3-column-page/#comments</comments>
		<pubDate>Thu, 30 Sep 2010 00:22:28 +0000</pubDate>
		<dc:creator>Michael Oeser</dc:creator>
				<category><![CDATA[Tutorials]]></category>

		<guid isPermaLink="false">http://www.der-prinz.com/2008/04/10/branfordmagazine-dreispaltiges-seitentemplate-the-3-column-page/</guid>
		<description><![CDATA[UPDATED: This template gives you the opportunity to display three different categories in a static page. It can be a nice starting point if you use it e.g as the entry for a news section with three sub-categories. You don´t have to enter any content [...]]]></description>
			<content:encoded><![CDATA[<p><strong>UPDATED: This template gives you the opportunity to display three different categories in a static page. It can be a nice starting point if you use it e.g as the entry for a news section with three sub-categories. You don´t have to enter any content via the WP write panel since this page shows the most recent posts from three categories that you define. </strong><br />
<span id="more-127"></span><br />
The code for the three columns uses three different loops  to display the most recent post of three different categories and Tim Thumb script to crop, rezize and display the image on top of each article. In addition the most recent posts of the specific category are teasered below the excerpt of the post. As an alternative you can use widgets in ths lower area as well.</p>
<h2>Preperation on the Options Page</h2>
<p>Everything can be setup in the themes optionspanel or optionspage in the WordPress admin area. You find the optionspage unter <code>Appearance &gt; BranfordMagazine Options</code> (as an example for BranfordMagazine). Here is a Screenshot.</p>
<div class="img"><img class="alignnone size-full wp-image-1310" title="3-col-page-tut" src="http://www.der-prinz.com/wp-content/uploads/2010/09/3-col-page-tut.jpg?7c39c3" alt="3-col-page-tut" width="620" height="290" /></div>
<p>Now select the category from the dropdown list for each of the three columns. Also set the number of posts. Do not set a &#8220;0&#8243; for &#8220;number of posts per category&#8221; because this will make the template cause errors or at least unexpected bahaviour.</p>
<h2>Assigning the Template to a Page</h2>
<p>In order to use the template you need to assign it to a page. Just open the &#8220;new page&#8221; panel and type in a title for your page. You don´t need to enter content because this will be pulled from the three categories you have defined on the options page before. Then assign the &#8220;3-Column-Page&#8221; template from the &#8220;Attributes&#8221; metabox (normaly right to the editor window).</p>
<div class="img"><img class="alignnone size-full wp-image-1159" title="assign-three-col-page-template" src="http://www.der-prinz.com/wp-content/uploads/2008/04/assign-three-col-page-template.jpg?7c39c3" alt="assign-three-col-page-template" width="620" height="290" /></div>
<p>The result should look more or less <a href="http://www.wp-themes.der-prinz.com/branfordmagazine/a-three-column-page">like this.</a></p>
<p><em>Tutorial updated on Fabruary 1st 2011<br />
</em></p>
]]></content:encoded>
			<wfw:commentRss>http://www.der-prinz.com/branfordmagazine-3-column-page/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Customizing the Background of PRiNZ Themes</title>
		<link>http://www.der-prinz.com/customizing-background-prinz-themes/</link>
		<comments>http://www.der-prinz.com/customizing-background-prinz-themes/#comments</comments>
		<pubDate>Fri, 03 Sep 2010 14:13:09 +0000</pubDate>
		<dc:creator>Michael Oeser</dc:creator>
				<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[background color]]></category>
		<category><![CDATA[background image]]></category>

		<guid isPermaLink="false">http://www.der-prinz.com/?p=1132</guid>
		<description><![CDATA[<div><img width="600" height="250" src="http://www.der-prinz.com/wp-content/uploads/2010/09/bg-image_title-600x250.jpg?7c39c3" class="attachment-rss-thumb wp-post-image" alt="bg-image_title" title="bg-image_title" style="margin-bottom:15px;" /></div>When it comes to customization the background color or -image of a page can really make a huge difference. With PRiNZ Pro themes it´s so easy to define a custom background color or set an individual background image. Let me show you how that works. [...]]]></description>
			<content:encoded><![CDATA[<div><img width="600" height="250" src="http://www.der-prinz.com/wp-content/uploads/2010/09/bg-image_title-600x250.jpg?7c39c3" class="attachment-rss-thumb wp-post-image" alt="bg-image_title" title="bg-image_title" style="margin-bottom:15px;" /></div><p><strong>When it comes to customization the background color or -image of a page can really make a huge difference. With PRiNZ Pro themes it´s so easy to define a custom background color or set an individual background image. Let me show you how that works.</strong><br />
<span id="more-1132"></span><br />
Simply go to <code>Appearance > Background</code> in your WordPress backend. This feature was introduced in WordPress 3.0 and is only visible if the activated theme supports it. All PRiNZ themes do support this and many other new WordPress 3 features such as custom header or custom menus.</p>
<h2>Background Image or -Color&#8230;or both</h2>
<p>If you want to use an image as background select one from your harddrive and upload it. You can make additional settings:</p>
<ul>
<li>
Postition: Select whether you like it left, centered or right aligned</li>
<li>Repeat: Choose vertical-, horizontal- or tile</li>
<li>Attachment: Define if the image should be fixed or scrollable</li>
</ul>
<div class="img"><img src="http://www.der-prinz.com/wp-content/uploads/2010/09/bg-image.jpg?7c39c3" alt="" title="bg-image" width="620" height="290" class="alignnone size-full wp-image-1133" /></div>
<p>If you have an image that produces a background pattern for the whole background you might not need to set a background color. If you have an image e.g that you stick to the top left of the background then you might need an additional background color.</p>
<p>Type the hex-code (e.g #000000 for black or #ffffff for white) into the field. Save everything and look at your page. The changes will be available immediately.</p>
<p>If you don´t want an image but a color for the background just type in the color code and hit save changes without uploading an image. That´s all. Now you can play around with images and colors to find the page background of your choice.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.der-prinz.com/customizing-background-prinz-themes/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Adding a custom Header to PRiNZ Themes</title>
		<link>http://www.der-prinz.com/adding-custom-header-prinz-themes/</link>
		<comments>http://www.der-prinz.com/adding-custom-header-prinz-themes/#comments</comments>
		<pubDate>Fri, 27 Aug 2010 09:56:51 +0000</pubDate>
		<dc:creator>Michael Oeser</dc:creator>
				<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[header]]></category>
		<category><![CDATA[Image]]></category>
		<category><![CDATA[Logo]]></category>

		<guid isPermaLink="false">http://www.der-prinz.com/?p=1116</guid>
		<description><![CDATA[<div><img width="600" height="250" src="http://www.der-prinz.com/wp-content/uploads/2010/08/custom-header-title-600x250.jpg?7c39c3" class="attachment-rss-thumb wp-post-image" alt="custom-header-title" title="custom-header-title" style="margin-bottom:15px;" /></div>Thanks to WordPress 3.0 changing the default header or logo of PRiNZ Pro themes is easy as 1, 2, 3. On the themes options page you can decide if you want to use the sitename (blogname) and description or a logo in the header of [...]]]></description>
			<content:encoded><![CDATA[<div><img width="600" height="250" src="http://www.der-prinz.com/wp-content/uploads/2010/08/custom-header-title-600x250.jpg?7c39c3" class="attachment-rss-thumb wp-post-image" alt="custom-header-title" title="custom-header-title" style="margin-bottom:15px;" /></div><p><strong>Thanks to WordPress 3.0 changing the default header or logo of PRiNZ Pro themes is easy as 1, 2, 3. On the themes options page you can decide if you want to use the sitename (blogname) and description or a logo in the header of your WordPress site. By default a logo is used. If you go for a logo you surely want to use your own custom logo in the header. This tutorial shows you how to do that.</strong><br />
<span id="more-1116"></span></p>
<p>Go to <code>Appearance &gt; Header</code> in your WordPress admin interface. You will ses a page that shows the current (default) header image, some information about that image (width, height), an upload box for a custom header image, a remove button to remove an image that was uploaded and a button to restore the original header image.</p>
<div class="img"><img class="alignnone size-full wp-image-1119" title="custom-header-upload" src="http://www.der-prinz.com/wp-content/uploads/2010/08/custom-header-upload.jpg?7c39c3" alt="" width="620" height="290" /></div>
<p>Now move to the upload field an click &#8220;browse&#8221; to browse your harddrive for an image that you like to use. Make sure it has the right dimensions (625&#215;100 or 940&#215;120 depending on the version). If it doesn´t have the right dimensions WordPress gives you the chance to crop it before uploading it.</p>
<div class="img"><img class="alignnone size-full wp-image-1120" title="custom-header-uploaded-imag" src="http://www.der-prinz.com/wp-content/uploads/2010/08/custom-header-uploaded-imag.jpg?7c39c3" alt="" width="620" height="290" /></div>
<p>Once you found the right image click upload. You´re done! That´s all you have to do. Your new custom header will now appear on your website.</p>
<div class="img"><img class="alignnone size-full wp-image-1117" title="custom-header-result" src="http://www.der-prinz.com/wp-content/uploads/2010/08/custom-header-result.jpg?7c39c3" alt="" width="620" height="290" /></div>
<h2>Changing the allowed Image Dimensions</h2>
<p>In case you want to change the dimensions of the header image from default to something different, you just need to open <code>/tools/wp3-stuff.php</code> (an include file of functions.php) and change the two figures to the values you like.</p>
<div class="dean_ch" style="white-space: wrap;"><span class="co1">// Custom header image</span><br />
<a href="http://www.php.net/define"><span class="kw3">define</span></a><span class="br0">&#40;</span> <span class="st0">&#8216;HEADER_IMAGE&#8217;</span>, <span class="st0">&#8216;%s/images/logo.png&#8217;</span> <span class="br0">&#41;</span>; <span class="co1">// The default logo located in themes folder</span><br />
<a href="http://www.php.net/define"><span class="kw3">define</span></a><span class="br0">&#40;</span> <span class="st0">&#8216;HEADER_IMAGE_WIDTH&#8217;</span>, apply_filters<span class="br0">&#40;</span> <span class="st0">&#8221;</span>, <span class="nu0">625</span> <span class="br0">&#41;</span> <span class="br0">&#41;</span>; <span class="co1">// Width of Logo</span><br />
<a href="http://www.php.net/define"><span class="kw3">define</span></a><span class="br0">&#40;</span> <span class="st0">&#8216;HEADER_IMAGE_HEIGHT&#8217;</span>, apply_filters<span class="br0">&#40;</span> <span class="st0">&#8221;</span>, <span class="nu0">100</span> <span class="br0">&#41;</span> <span class="br0">&#41;</span>; <span class="co1">// Height of Logo</span><br />
<a href="http://www.php.net/define"><span class="kw3">define</span></a><span class="br0">&#40;</span> <span class="st0">&#8216;NO_HEADER_TEXT&#8217;</span>, <span class="kw2">true</span> <span class="br0">&#41;</span>;</div>
<p>BUT ATTENTION: Make sure the new dimensions do not destroy your layout.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.der-prinz.com/adding-custom-header-prinz-themes/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Using Blog Title and Tagline instead of a Logo</title>
		<link>http://www.der-prinz.com/blogtitle-tagline-instead-of-a-logo/</link>
		<comments>http://www.der-prinz.com/blogtitle-tagline-instead-of-a-logo/#comments</comments>
		<pubDate>Thu, 29 Apr 2010 09:12:03 +0000</pubDate>
		<dc:creator>Michael Oeser</dc:creator>
				<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[Blogtitle]]></category>
		<category><![CDATA[Image]]></category>
		<category><![CDATA[Logo]]></category>
		<category><![CDATA[Tagline]]></category>

		<guid isPermaLink="false">http://www.der-prinz.com/?p=1037</guid>
		<description><![CDATA[By default PRiNZ Pro Themes use a graphical logo to display in the header of the blog or website. There might be reasons to use the blog title and tagline that are defined in the WordPress admin settings under Settings > General instead of a [...]]]></description>
			<content:encoded><![CDATA[<p><strong>By default PRiNZ Pro Themes use a graphical logo to display in the header of the blog or website. There might be reasons to use the blog title and tagline that are defined in the WordPress admin settings under <code>Settings > General</code> instead of a logo image and this tutorial shows you how easy this can be done. This tutorial is only for themes versions prior to 5.1 because in this version you can make these settings on the optionspage.</strong><br />
<span id="more-1037"></span></p>
<h2>Some little Code Tweaks</h2>
<p>Currently there is no setting in the optionspage to switch between logo and text-header. This might be integrated in future updates. So meanwhile we need to edit some lines of code. Don´t worry. It´s no rocket science. I suggest to start with deleting the logo image (make it invisible).</p>
<h2>Make the Logo Image invisible</h2>
<p>Open the file <code>style.css</code> which is the main CSS file. and look up line 248 (in BranfordMagazine). Either delete or set in comments to make it invisible (put  /* before and */ after the line)</p>
<div class="dean_ch" style="white-space: wrap;"><span class="re0">#branding</span> <span class="br0">&#123;</span><span class="coMULTI">/*where the logo sits*/</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; width<span class="re2">:<span class="re3">625px</span></span>;<br />
&nbsp; &nbsp; &nbsp; &nbsp; height<span class="re2">:<span class="re3">100px</span></span>;<br />
&nbsp; &nbsp; &nbsp; &nbsp; padding-bottom<span class="re2">:<span class="re3">15px</span></span>;<br />
&nbsp; &nbsp; &nbsp; &nbsp; <span class="coMULTI">/*background:url(images/backgrounds/bg_branding.png) no-repeat;*/</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; <span class="br0">&#125;</span></div>
<h2>Make the Blog title and Tag Line visible</h2>
<p>First you have to set a title and tagline in the WordPress admin under <code>Settings > General</code>. Then you open the file <code>header.php</code> and lookup line 82 and 85 (in BranfordMagazine).</p>
<div class="dean_ch" style="white-space: wrap;"> &nbsp;&lt;div id=<span class="st0">&quot;branding&quot;</span> <span class="kw2">class</span>=<span class="st0">&quot;left&quot;</span> onclick=<span class="st0">&quot;location.href=&#8217;&lt;?php echo get_settings(&#8216;home&#8217;); ?&gt;&#8217;;&quot;</span> style=<span class="st0">&quot;cursor: pointer;&quot;</span>&gt;<br />
&nbsp; &nbsp; &lt;div <span class="kw2">class</span>=<span class="st0">&quot;blogtitle&quot;</span> &gt;&lt;a href=<span class="st0">&quot;&lt;?php echo get_option(&#8216;home&#8217;); ?&gt;/&quot;</span>&gt;<br />
&nbsp; &nbsp; &nbsp; <span class="kw2">&lt;?php</span> <span class="co1">//bloginfo(&#8216;name&#8217;); ?&gt;</span><br />
&nbsp; &nbsp; &nbsp; &lt;/a&gt;&lt;/div&gt;<br />
&nbsp; &nbsp; &lt;div <span class="kw2">class</span>=<span class="st0">&quot;description&quot;</span>&gt;<br />
&nbsp; &nbsp; &nbsp; <span class="kw2">&lt;?php</span> <span class="co1">//bloginfo(&#8216;description&#8217;); ?&gt;</span><br />
&nbsp; &nbsp; &lt;/div&gt;<br />
&nbsp; &lt;/div&gt;</div>
<p>Remove the double slashes (//) in front of <code>bloginfo('name');</code> and <code>bloginfo('description');</code> to uncomment the php code and make it visible. It should look like this:</p>
<div class="dean_ch" style="white-space: wrap;"> &lt;div id=<span class="st0">&quot;branding&quot;</span> <span class="kw2">class</span>=<span class="st0">&quot;left&quot;</span> onclick=<span class="st0">&quot;location.href=&#8217;&lt;?php echo get_settings(&#8216;home&#8217;); ?&gt;&#8217;;&quot;</span> style=<span class="st0">&quot;cursor: pointer;&quot;</span>&gt;<br />
&nbsp; &nbsp; &lt;div <span class="kw2">class</span>=<span class="st0">&quot;blogtitle&quot;</span> &gt;&lt;a href=<span class="st0">&quot;&lt;?php echo get_option(&#8216;home&#8217;); ?&gt;/&quot;</span>&gt;<br />
&nbsp; &nbsp; &nbsp; <span class="kw2">&lt;?php</span> bloginfo<span class="br0">&#40;</span><span class="st0">&#8216;name&#8217;</span><span class="br0">&#41;</span>; <span class="kw2">?&gt;</span><br />
&nbsp; &nbsp; &nbsp; &lt;/a&gt;&lt;/div&gt;<br />
&nbsp; &nbsp; &lt;div <span class="kw2">class</span>=<span class="st0">&quot;description&quot;</span>&gt;<br />
&nbsp; &nbsp; &nbsp; <span class="kw2">&lt;?php</span> bloginfo<span class="br0">&#40;</span><span class="st0">&#8216;description&#8217;</span><span class="br0">&#41;</span>; <span class="kw2">?&gt;</span><br />
&nbsp; &nbsp; &lt;/div&gt;<br />
&nbsp; &lt;/div&gt;</div>
<p>Of course you need to save the changed files and upload it to your server again. That´s all. Now your site displays the title of the blog and the tagline instead of an image in the header. The line numbers might be different if you use Wyntonmagazine or any other theme in the future but the code is pretty much the same.</p>
<h2>Styling the Header</h2>
<p>If you like to style the header text just open style.css again and change the folowing lines for the blog title:</p>
<div class="dean_ch" style="white-space: wrap;"><span class="re1">.blogtitle</span>, <span class="re1">.blogtitle</span> a <span class="br0">&#123;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; <span class="kw1">color</span>: <span class="re0">#<span class="nu0">000</span></span>;<br />
&nbsp; &nbsp; &nbsp; &nbsp; <span class="kw1">font-size</span>: <span class="nu0">1</span><span class="re1"><span class="re3">.8em</span></span>;<br />
&nbsp; &nbsp; &nbsp; &nbsp; <span class="kw1">font-family</span>: Georgia, <span class="st0">&quot;Times New Roman&quot;</span>, Times, <span class="kw2">serif</span>;<br />
&nbsp; &nbsp; &nbsp; &nbsp; <span class="kw1">font-weight</span>: regular;<br />
&nbsp; &nbsp; &nbsp; &nbsp; <span class="kw1">padding</span>: <span class="re3">20px</span> <span class="re3">0px</span> <span class="re3">10px</span> <span class="re3">0px</span>;<br />
&nbsp; &nbsp; &nbsp; &nbsp; <span class="br0">&#125;</span></div>
<p>And for the description / tagline:</p>
<div class="dean_ch" style="white-space: wrap;"><span class="re1">.description</span> <span class="br0">&#123;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; <span class="kw1">font-size</span>: <span class="nu0">1</span><span class="re1"><span class="re3">.3em</span></span>;<br />
&nbsp; &nbsp; &nbsp; &nbsp; <span class="kw1">font-weight</span>: <span class="kw2">bold</span>; <br />
&nbsp; &nbsp; &nbsp; &nbsp; <span class="kw1">color</span>:<span class="re0">#<span class="nu0">999</span></span>;<br />
&nbsp; &nbsp; &nbsp; &nbsp; <span class="br0">&#125;</span></div>
<h2>Further reading</h2>
<ul>
<li><a href="http://www.der-prinz.com/changing-logo-920">Changing the Logo</a></li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://www.der-prinz.com/blogtitle-tagline-instead-of-a-logo/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Using the Custom Widgets</title>
		<link>http://www.der-prinz.com/custom-widgets/</link>
		<comments>http://www.der-prinz.com/custom-widgets/#comments</comments>
		<pubDate>Sat, 27 Mar 2010 14:43:45 +0000</pubDate>
		<dc:creator>Michael Oeser</dc:creator>
				<category><![CDATA[Tutorials]]></category>

		<guid isPermaLink="false">http://www.der-prinz.com/?p=998</guid>
		<description><![CDATA[One of the great things that come with my new PRO themes are custom widgets. Many people love to use widgets because they add extra functionality without touching a line of code. Although WordPress comes with a lot of nice widgets sometimes you need extra [...]]]></description>
			<content:encoded><![CDATA[<p><strong>One of the great things that come with my new PRO themes are custom widgets. Many people love to use widgets because they add extra functionality without touching a line of code. Although WordPress comes with a lot of nice widgets sometimes you need extra widgets that are custom made to support an indivuduals themes functionality. BranfordMagazine, WyntonMagazine and all themes that may come in the future have such custom widgets available.</strong><span id="more-998"></span></p>
<h2>Using Widgets</h2>
<p>Using widgets is pretty easy and most WordPress users will know it. If you are brandnew to wordpress I reccomend to read a short introduction to widgets <a href="http://codex.wordpress.org/WordPress_Widgets">at the WordPress codex</a> &#8211; the official documentation for WordPress. </p>
<h2>Custom Widgets</h2>
<p>As already mentioned above the custom widgets of e.g. BranfordMagazine add some extra functionality such as the Newsletter Widget and/or support specific functionalities such as the &#8220;More from this Category&#8221; Widget. Here is a more in depth description of the custom widgets.</p>
<h3>PRiNZ Newsletter</h3>
<p>The newsletter widget uses the email functionality of feedburner and lets your users subsribe very easy by providing a simple signup form. In the backend you can add a headline such as &#8220;Newsletter&#8221;, you need to enter your Feedburner ID and you can set a text that appears in the signup box.</p>
<p><img src="http://www.der-prinz.com/wp-content/uploads/2010/03/newsletter-widget.jpg?7c39c3" alt="" title="newsletter-widget" width="620" height="290" class="aligncenter size-full wp-image-1000" /></p>
<h3>PRiNZ About</h3>
<p>This widget provides a sidebar box that displays information about the author or admin of the site. You can define if it should display an image (requires Gravatars), you can enter a little description, set a link to a page (e.g About us page) and define the name if the link.</p>
<p><img src="http://www.der-prinz.com/wp-content/uploads/2010/03/about-widget.jpg?7c39c3" alt="" title="about-widget" width="620" height="290" class="aligncenter size-full wp-image-1001" /></p>
<h3>PRiNZ More from this Category</h3>
<p>There is nothing to set for this widget but nevertheless it adds great functionality to your site because it displays the 5 most recent posts from the same category of the post users are currently reading. This works only on single post pages of course.</p>
<h3>PRiNZ Author Posts</h3>
<p>Again there is nothing to set for this widget. similar to the &#8220;More from this Category&#8221; widget it displays the 5 most recent posts from the author of the article that a user is currently reading. This one also works on single post pages only.</p>
<h3>PRiNZ Twitter</h3>
<p>Twitter becomes more and more famous and also an important communication tool. The twitter widget lets you display your last x tweets in the sidebar. You can set the title need to enter your twittername, a number of tweets to show and you can add a link to your twitterpage if you like to.</p>
<p><img src="http://www.der-prinz.com/wp-content/uploads/2010/03/twitter-widget.jpg?7c39c3" alt="" title="twitter-widget" width="620" height="290" class="aligncenter size-full wp-image-1002" /></p>
<h3>PRiNZ Recent Posts</h3>
<p>Why another recent posts widget you might ask. WordPress provides one by default. That´s true but it doesn´t deliver the style that fits for my themes. So the recent post widget does nothing else than the regular recent post widget but it adds the correct style that matches the themes style.</p>
<h3>PRiNZ Comments</h3>
<p>Just like the recent posts widget the comments widget lets you display a list of recent comments but again in the themes specific style.</p>
<h3>PRiNZ Contact Info</h3>
<p>The contact info widget provides a nice way to display some contact information in the sidebar. You can enter a title, your name, adress telephone and spam protected email adress.</p>
<p><img src="http://www.der-prinz.com/wp-content/uploads/2010/03/contactinfo-widget.jpg?7c39c3" alt="" title="contactinfo-widget" width="620" height="290" class="aligncenter size-full wp-image-1003" /></p>
<h2>Finally&#8230;</h2>
<p>&#8230;it´s up to you which widgets you use and how you arrange them in the sidebar or somewhere else. As you know my themes have <a href="http://www.der-prinz.com/widget-areas-branfordmagazine-wyntonmagazine-926">several widgetized areas</a> and you can use the custom widgets in each of them of course.</p>
<p>Which additional widgets would you like me to add in furture updates and themes? Post a comment!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.der-prinz.com/custom-widgets/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Theme Customization easy as 1,2,3 with Firebug</title>
		<link>http://www.der-prinz.com/theme-customization-with-firebug/</link>
		<comments>http://www.der-prinz.com/theme-customization-with-firebug/#comments</comments>
		<pubDate>Tue, 16 Feb 2010 13:47:12 +0000</pubDate>
		<dc:creator>Michael Oeser</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 [...]]]></description>
			<content:encoded><![CDATA[<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>
]]></content:encoded>
			<wfw:commentRss>http://www.der-prinz.com/theme-customization-with-firebug/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Custom Excerpt &#8220;more&#8221; Link in BranfordMagazine</title>
		<link>http://www.der-prinz.com/custom-excerpt-link-branfordmagazine/</link>
		<comments>http://www.der-prinz.com/custom-excerpt-link-branfordmagazine/#comments</comments>
		<pubDate>Fri, 29 Jan 2010 21:49:18 +0000</pubDate>
		<dc:creator>Michael Oeser</dc:creator>
				<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. Better user experience with clickable excerpt &#8220;more&#8221; By default the excerpt [...]]]></description>
			<content:encoded><![CDATA[<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. </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 Function</h2>
<p>Open your tools/various-functions.php file inside the branfordmagazine-pro themefolder and edit this (or similar) codesnippet:</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>
]]></content:encoded>
			<wfw:commentRss>http://www.der-prinz.com/custom-excerpt-link-branfordmagazine/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

<!-- Performance optimized by W3 Total Cache. Learn more: http://www.w3-edge.com/wordpress-plugins/

Minified using disk: basic (Feed is rejected)
Page Caching using disk: enhanced (User agent is rejected)
Database Caching 35/86 queries in 0.036 seconds using disk: basic
Object Caching 1591/1696 objects using disk: basic

Served from: www.der-prinz.com @ 2012-02-04 03:34:39 -->
