<?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>Webdesign - go41</title>
	
	<link>http://webdesign.go41.de</link>
	<description>individuelles und professionelles Webdesign, Programmierung und Internetmarketing</description>
	<lastBuildDate>Thu, 10 Jun 2010 07:09:53 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
		<atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="self" type="application/rss+xml" href="http://feeds.feedburner.com/Go41Webdesign" /><feedburner:info uri="go41webdesign" /><atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="hub" href="http://pubsubhubbub.appspot.com/" /><item>
		<title>Wer darf was? Benutzergruppen in WordPress</title>
		<link>http://feedproxy.google.com/~r/Go41Webdesign/~3/_lg2oJTm20A/</link>
		<comments>http://webdesign.go41.de/wordpress-tips/wer-darf-was-benutzergruppen-in-wordpress/#comments</comments>
		<pubDate>Thu, 15 Apr 2010 17:09:58 +0000</pubDate>
		<dc:creator>JW</dc:creator>
				<category><![CDATA[Wordpress Tips]]></category>
		<category><![CDATA[Benutzerrechte]]></category>

		<guid isPermaLink="false">http://webdesign.go41.de/?p=159</guid>
		<description><![CDATA[Die Benutzerverwaltung von WordPress zwingt mich immer wieder danach zu suchen, welcher Benutzer was tun darf. Da findet man auf doku.wordpress-deutschland.org Benutzerrollen Bezeichnungen wie: Zusammenfassung der Rollen Administrator &#8211; Jemand, der Zugang hat zu allen Features der WordPress-Installation Editor &#8211; Jemand, der Beiträge veröffentlichen und bearbeiten kann. Dieses gilt auch für Fremde Beiträge und Kommentare [...]


No related posts.]]></description>
			<content:encoded><![CDATA[<p>Die Benutzerverwaltung von WordPress zwingt mich immer wieder danach zu suchen, welcher Benutzer was tun darf.</p>
<p>Da findet man auf doku.wordpress-deutschland.org Benutzerrollen Bezeichnungen wie:</p>
<p><strong>Zusammenfassung der Rollen</strong></p>
<ul>
<li>Administrator &#8211; Jemand, der Zugang hat zu allen Features der WordPress-Installation</li>
<li>Editor &#8211; Jemand, der Beiträge veröffentlichen und bearbeiten kann. Dieses gilt auch für Fremde Beiträge und Kommentare</li>
<li>Author &#8211; Jemand, der eigene Beiträge veröffentlichen und bearbeiten kann.</li>
<li>Contributor &#8211; Jemand, der eigene Beiträge verfassen und bearbeiten, diese aber nicht veröffentlichen kann.</li>
<li>Subscriber &#8211; Jemand, der Kommentare lesen und schreiben kann und den Newsletter empfängt.</li>
</ul>
<p>Bei mir im Dashboard heissen die aber:</p>
<p><em>Abonnent, Mitarbeiter, Autor, Redakteur und Administrator</em></p>
<p>Wer darf nun was?</p>
<p><strong>Der Abonnent</strong></p>
<p>Der Abonnent hat stark eingeschränkte Rechte.<br />
Nach dem Login bekommt er eine Übersicht über &#8216;Aktuell&#8217;, &#8216;Letzte Kommentare&#8217;, &#8216;Eingehende Links&#8217; und &#8216;Feeds&#8217;.<br />
Er hat nicht die Möglichkeit, neue Artikel oder Seiten zu erstellen.<br />
Der Abonnent kann nur sein eigenes Profil bearbeiten.<br />
Er kann zwar auch den WYSIWYG-Editor aktivieren, hat darauf jedoch keinen Zugriff.</p>
<p><strong>Der Mitarbeiter</strong></p>
<p>Der Mitarbeiters bekommt im Dashboard zusätzlich das Modul &#8220;QuickPress&#8221; zum schnellen Schreiben von Artikeln. Er hat wie der Abonnent keine Erlaubnis Seiten zu verfassen.<br />
Die Artikel des Mitarbeiters müssen vom Redakteur oder Administrator freigeschaltet werden. Mitrabeiter können keine neuen Kategorien erstellen.<br />
Der Mitarbeiter darf nur eigene Artikel editieren, zudem kann er keine Dateien hochladen und keine Bilder oder Dateien in seine Artikel einbinden.<br />
Der Mitarbeiter hat nicht die Möglichkeit, Kommentare zu moderieren.</p>
<p><strong>Der Autor</strong></p>
<p>Der Autor darf wie der Mitabeiter eigene Artikel verfassen, aber auch keine Seiten und keine Kategorien erstellen.<br />
Er kann jedoch selbst bestimmen,  welchen Status der Artikel hat, also Sichtbarkeit und den Zeitpunkt der Veröffentlichung.<br />
Er darf Bilder, Dateien und andere Medien in die Mediathek hochladen und in seine Artikel einfügen.<br />
Kommentare zu seinen Artikeln kann er bearbeiten und ändern.<br />
Er kann &#8216;Press This&#8217; benutzen. Das ist ein Bookmarklet (Link), welches eine kleine Anwendung lädt, die im Browser läuft und es erlaubt, Artikel im Browser zu schreiben und verschiedene Sachen aus dem Web zu übernehmen.</p>
<p><strong>Der Redakteur</strong></p>
<p>Der Redakteur vertritt im Prinzip den Administrator.<br />
Er kann wie der Administrator Artikel, Seiten und Kategorien und Tags erstellen und bearbeiten.<br />
der Redakteur darf Links bearbeiten und hinzufügen.<br />
Er schaltet die Beiträge von Mitarbeitern frei und veröffentlicht diese.<br />
Er kann Kommentare und Beiträge im gesamten Blog bearbeiten und verändern oder löschen, abgesehen von Inhalten welche der Administrator erstellt hat.<br />
Der Redakteur kann das &#8216;Design&#8217; des Blogs nicht beeinflussen oder ändern.</p>
<p><strong>Der Administrator</strong></p>
<p>Der Administrator hat Zugriff auf alle Einstellungen einer WordPress Seite.<br />
Er kann das Theme bestimmen, Plugins installieren, neue Benutzer hinzufügen und Inhalte des Blogs exportieren oder importieren.</p>
<p>Als alleiniger Benutzer eines eigenen WordPress Blogs hat man meist die Rolle des Administrators.</p>
<p>Empfehlenswerter Link zu einer Beschreibung der Benutzergruppen:</p>
<p><a href="http://www.wordpress-buch.de/2009/01/wer-darf-was-benutzergruppen-in-wordpress/" target="_blank">Benutzergruppen in WordPress auf WordPress-Buch.de</a></p>


<p>No related posts.</p><img src="http://feeds.feedburner.com/~r/Go41Webdesign/~4/_lg2oJTm20A" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://webdesign.go41.de/wordpress-tips/wer-darf-was-benutzergruppen-in-wordpress/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		<feedburner:origLink>http://webdesign.go41.de/wordpress-tips/wer-darf-was-benutzergruppen-in-wordpress/</feedburner:origLink></item>
		<item>
		<title>Google, Adsense, Googlemail und youtube so langsam heute</title>
		<link>http://feedproxy.google.com/~r/Go41Webdesign/~3/4EsLxCBjvJM/</link>
		<comments>http://webdesign.go41.de/news/google-adsense-googlemail-und-youtube-so-langsam-heute/#comments</comments>
		<pubDate>Thu, 14 May 2009 15:52:25 +0000</pubDate>
		<dc:creator>JW</dc:creator>
				<category><![CDATA[News]]></category>
		<category><![CDATA[advertising]]></category>
		<category><![CDATA[website]]></category>

		<guid isPermaLink="false">http://webdesign.go41.de/?p=157</guid>
		<description><![CDATA[Heute ist mal wieder so ein Tag, wo Google nicht zu erreichen ist und Websites, die Adsense nutzen, fast nicht laden. Geht das nur mir so oder haben andere dasselbe Problem? Youtube und Feedburner sind (zumindest von Deutschland aus) auch nicht erreichbar. Schlägt da etwa die Netzsperre zu und bald sieht man statt Google nur [...]


No related posts.]]></description>
			<content:encoded><![CDATA[<p>Heute ist mal wieder so ein Tag, wo Google nicht zu erreichen ist und Websites, die Adsense nutzen, fast nicht laden.</p>
<p>Geht das nur mir so oder haben andere dasselbe Problem?</p>
<p>Youtube und Feedburner sind (zumindest von Deutschland aus) auch nicht erreichbar.</p>
<p>Schlägt da etwa die Netzsperre zu und bald sieht man statt Google nur noch das Stopp Zeichen?</p>


<p>No related posts.</p><img src="http://feeds.feedburner.com/~r/Go41Webdesign/~4/4EsLxCBjvJM" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://webdesign.go41.de/news/google-adsense-googlemail-und-youtube-so-langsam-heute/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		<feedburner:origLink>http://webdesign.go41.de/news/google-adsense-googlemail-und-youtube-so-langsam-heute/</feedburner:origLink></item>
		<item>
		<title>List one latest post per category on frontpage view</title>
		<link>http://feedproxy.google.com/~r/Go41Webdesign/~3/df9fWXW_ww0/</link>
		<comments>http://webdesign.go41.de/wordpress-tips/list-one-latest-post-per-category-on-frontpage-view/#comments</comments>
		<pubDate>Tue, 03 Mar 2009 16:06:54 +0000</pubDate>
		<dc:creator>JW</dc:creator>
				<category><![CDATA[Wordpress Tips]]></category>
		<category><![CDATA[arthemia]]></category>
		<category><![CDATA[category]]></category>

		<guid isPermaLink="false">http://webdesign.go41.de/?p=137</guid>
		<description><![CDATA[I will give you here a code to list only one post per selected category. You could include this code into your index.php to query for the last posts of the categories you put into this code. The first and the last line makes the post appear only on first page. In the array of [...]


Related posts:<ol><li><a href='http://webdesign.go41.de/news/category-view-in-arthemia-optimized/' rel='bookmark' title='Permanent Link: Category view in Arthemia optimized'>Category view in Arthemia optimized</a></li>
<li><a href='http://webdesign.go41.de/wordpress-tips/list-some-pages-with-content-in-wordpress/' rel='bookmark' title='Permanent Link: List some pages with content in WordPress'>List some pages with content in WordPress</a></li>
<li><a href='http://webdesign.go41.de/wordpress-tips/list-pages-custom-styling-in-arthemia-category-bar/' rel='bookmark' title='Permanent Link: list pages custom styling in arthemia category bar'>list pages custom styling in arthemia category bar</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p>I will give you here a code to <strong>list only one post per selected category</strong>. You could include this code into your index.php to query for the last posts of the categories you put into this code.<br />
The first and the last line makes the post appear only on first page.</p>
<p>In the array of categories are six numbers now which you have to replace with the category IDs of your categories. It could be more or less, order them as you wish.</p>
<pre><code>&lt;?php if(!is_paged()) { // display only on page one if is not paged ?&gt;
&lt;?php $display_categories = array(8,5,4,6,7,3); foreach ($display_categories as $frontcats) { ?&gt;
&lt;?php $catposts = get_posts("showposts=1&amp;cat=$frontcats"); foreach($catposts as $post) : setup_postdata($post); ?&gt;
&lt;h3 class=cat_title&gt;&lt;a href="&lt;?php echo get_category_link($frontcats);?&gt;"&gt;&lt;?php $this_category = get_category($frontcats); ?&gt;&lt;?php echo $this_category-&gt;cat_name; ?&gt; &amp;raquo;&lt;/a&gt;&lt;/h3&gt;
&lt;div class="title"&gt;&lt;a href="&lt;?php the_permalink() ?&gt;" rel="bookmark"&gt;&lt;?php the_title(); ?&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div class="meta"&gt;&lt;?php the_time('j M Y') ?&gt; | &lt;?php comments_popup_link('No Comment', 'One Comment', '% Comments');?&gt;&lt;/div&gt;
&lt;?php	$values = get_post_custom_values("Image");if (isset($values[0])) { ?&gt;
&lt;a href="&lt;?php the_permalink() ?&gt;" rel="bookmark" title="Permanent Link to &lt;?php the_title(); ?&gt;"&gt;
&lt;img src="&lt;?php echo $values[0]; ?&gt;" alt="&lt;?php the_title(); ?&gt;" /&gt;&lt;/a&gt;
&lt;?php } //end of image if set in custom field ?&gt;
&lt;?php the_excerpt(); ?&gt;
&lt;?php endforeach; // end of post ?&gt;
&lt;?php } ?&gt;
&lt;?php } // end of FIRST PAGE ?&gt;</code></pre>
<p>Actually I made this query for <strong>Arthemia</strong> theme, if you want you <strong>find the complete modified index.php</strong> renamed as arthemia_onepostpercat_index.txt here:</p>
<p><a class="dld" href="http://webdesign.go41.de/downloads/arthemia_onepostpercat_index.txt" target="_blank">arthemia index.php modified to dispay one post per category on first page</a></p>
<p>This file is an Arthemia index.php and will show on the first page only one post of each selected category.</p>
<p>Pagination should work and will show you on page two the list of posts as you set them in the theme. Here you are again free to choose any category to exclude as normally done in this theme.</p>


<p>Related posts:<ol><li><a href='http://webdesign.go41.de/news/category-view-in-arthemia-optimized/' rel='bookmark' title='Permanent Link: Category view in Arthemia optimized'>Category view in Arthemia optimized</a></li>
<li><a href='http://webdesign.go41.de/wordpress-tips/list-some-pages-with-content-in-wordpress/' rel='bookmark' title='Permanent Link: List some pages with content in WordPress'>List some pages with content in WordPress</a></li>
<li><a href='http://webdesign.go41.de/wordpress-tips/list-pages-custom-styling-in-arthemia-category-bar/' rel='bookmark' title='Permanent Link: list pages custom styling in arthemia category bar'>list pages custom styling in arthemia category bar</a></li>
</ol></p><img src="http://feeds.feedburner.com/~r/Go41Webdesign/~4/df9fWXW_ww0" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://webdesign.go41.de/wordpress-tips/list-one-latest-post-per-category-on-frontpage-view/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		<feedburner:origLink>http://webdesign.go41.de/wordpress-tips/list-one-latest-post-per-category-on-frontpage-view/</feedburner:origLink></item>
		<item>
		<title>Add Adsense between some Posts in WordPress</title>
		<link>http://feedproxy.google.com/~r/Go41Webdesign/~3/JnCuWKatnes/</link>
		<comments>http://webdesign.go41.de/wordpress-tips/add-adsense-between-some-posts-in-wordpress/#comments</comments>
		<pubDate>Sun, 01 Mar 2009 13:21:18 +0000</pubDate>
		<dc:creator>JW</dc:creator>
				<category><![CDATA[Wordpress Tips]]></category>
		<category><![CDATA[advertising]]></category>
		<category><![CDATA[arthemia]]></category>
		<category><![CDATA[query]]></category>
		<category><![CDATA[Webdesign]]></category>

		<guid isPermaLink="false">http://webdesign.go41.de/?p=132</guid>
		<description><![CDATA[In WordPress on the frontpage you have normally a flow of posts. I want to show you how to put any advertising link or Adsense code between one or more of this posts. We are going to edit the index.php for this, so please make a BACKUP of this file before starting to change anything!! [...]


Related posts:<ol><li><a href='http://webdesign.go41.de/wordpress-tips/exclude-one-headline-post-from-frontpage-but-not-if-is-paged/' rel='bookmark' title='Permanent Link: Exclude one headline post from frontpage but not if is paged'>Exclude one headline post from frontpage but not if is paged</a></li>
<li><a href='http://webdesign.go41.de/wordpress-tips/list-some-pages-with-content-in-wordpress/' rel='bookmark' title='Permanent Link: List some pages with content in WordPress'>List some pages with content in WordPress</a></li>
<li><a href='http://webdesign.go41.de/wordpress-tips/list-subcategories-in-category-bar-of-arthemia-theme/' rel='bookmark' title='Permanent Link: List subcategories in category bar of arthemia theme'>List subcategories in category bar of arthemia theme</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p>In WordPress on the frontpage you have normally a flow of posts.</p>
<p>I want to show you how to put any advertising link or <strong>Adsense code between one or more of this posts</strong>.</p>
<p>We are going to edit the index.php for this, so please make a <strong>BACKUP</strong> of this file before starting to change anything!!</p>
<p>We will do this by setting a post counter in front of the loop<br />
$postno = 1<br />
inserting the add code inside the loop<br />
if ($postno == 3) do stuff<br />
and make the postcounter count up one digit for every post<br />
$postno++;</p>
<p>In Detail:<br />
Take the index.php of your theme and find:</p>
<p><code>&lt;?php if (have_posts()) : ?&gt;</code></p>
<p><code>&lt;?php while (have_posts()) : the_post(); ?&gt;</code></p>
<p>place the counter start between this two lines like this:</p>
<p><code>&lt;?php if (have_posts()) : ?&gt;<br />
&lt;?php $postno = 1; ?&gt;<br />
&lt;?php while (have_posts()) : the_post(); ?&gt;</code></p>
<p>as we are going to place to add codes after the first and the third post we find the next:</p>
<p><code>&lt;?php endwhile; ?&gt;</code></p>
<p>and insert my suggested code just <strong>above this endwhile</strong>:</p>
<p><code>&lt;?php if ($postno == 1) { ?&gt;&lt;div align="center" style="margin-bottom: 10px;"&gt;<br />
AdSense Code below post No. one replace with your code<br />
&lt;/div&gt;&lt;?php  } ?&gt;<br />
&lt;?php if ($postno == 3) { ?&gt;&lt;div align="center" style="margin-bottom: 10px;"&gt;<br />
AdSense Code below post No. three replace with your code<br />
&lt;/div&gt;&lt;?php  } ?&gt;<br />
&lt;?php $postno++; ?&gt;</code></p>
<p>I styled this code to center on the page and give some space below, you are free to remove or change this div style.</p>
<p><img src="http://webdesign.go41.de/wp-content/imgcache/cchd_addbetween.jpg" class="photo" alt="FileZilla connected" /></p>
<p>There are some themes like Arthemia by Michael Jubel which use an other query for posts, so you will not be able to find the  if (have_posts()) : part in there.</p>
<p>In a query like in that theme you should look for:</p>
<p><code> &lt;?php<br />
$page = (get_query_var('paged')) ? get_query_var('paged') : 1;<br />
query_posts("cat=-27,-28&amp;paged=$page&amp;posts_per_page=5"); ?&gt;<br />
&lt;?php $postno = 1; ?&gt;<br />
&lt;?php while (have_posts()) : the_post(); ?&gt;</code></p>
<p>and place the counter start <strong>before</strong> while (have_posts()) : the_post(); &#8211; I did this here already.</p>
<p>The code to call the add code and count up one by one (as before) is placed in the same way as in default theme <strong>before the next endwhile;</strong> after the div before, it should look like this:</p>
<p><code> &lt;?php the_excerpt(); ?&gt;<br />
&lt;/div&gt;<br />
&lt;/div&gt;<br />
&lt;!-- new code start --&gt;<br />
&lt;?php if ($postno == 1) { ?&gt;&lt;div align="center" style="margin-bottom: 10px;"&gt;<br />
AdSense Code below post No. one replace with your code<br />
&lt;/div&gt;&lt;?php  } ?&gt;<br />
&lt;?php if ($postno == 3) { ?&gt;&lt;div align="center" style="margin-bottom: 10px;"&gt;<br />
AdSense Code below post No. three replace with your code<br />
&lt;/div&gt;&lt;?php  } ?&gt;<br />
&lt;?php $postno++; ?&gt;<br />
&lt;!-- new code end --&gt;<br />
&lt;?php endwhile; ?&gt;<br />
&lt;div class="navigation"&gt; </code></p>
<p>happy coding&#8230;</p>


<p>Related posts:<ol><li><a href='http://webdesign.go41.de/wordpress-tips/exclude-one-headline-post-from-frontpage-but-not-if-is-paged/' rel='bookmark' title='Permanent Link: Exclude one headline post from frontpage but not if is paged'>Exclude one headline post from frontpage but not if is paged</a></li>
<li><a href='http://webdesign.go41.de/wordpress-tips/list-some-pages-with-content-in-wordpress/' rel='bookmark' title='Permanent Link: List some pages with content in WordPress'>List some pages with content in WordPress</a></li>
<li><a href='http://webdesign.go41.de/wordpress-tips/list-subcategories-in-category-bar-of-arthemia-theme/' rel='bookmark' title='Permanent Link: List subcategories in category bar of arthemia theme'>List subcategories in category bar of arthemia theme</a></li>
</ol></p><img src="http://feeds.feedburner.com/~r/Go41Webdesign/~4/JnCuWKatnes" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://webdesign.go41.de/wordpress-tips/add-adsense-between-some-posts-in-wordpress/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://webdesign.go41.de/wordpress-tips/add-adsense-between-some-posts-in-wordpress/</feedburner:origLink></item>
		<item>
		<title>Keep all your WordPress files on your PC with FileZilla</title>
		<link>http://feedproxy.google.com/~r/Go41Webdesign/~3/-pqBaEibrBE/</link>
		<comments>http://webdesign.go41.de/wordpress-tips/keep-all-your-wordpress-files-on-your-pc-with-filezilla/#comments</comments>
		<pubDate>Sat, 07 Feb 2009 17:44:19 +0000</pubDate>
		<dc:creator>JW</dc:creator>
				<category><![CDATA[Wordpress Tips]]></category>
		<category><![CDATA[backup]]></category>
		<category><![CDATA[Filezilla]]></category>
		<category><![CDATA[ftp]]></category>
		<category><![CDATA[website]]></category>

		<guid isPermaLink="false">http://webdesign.go41.de/?p=119</guid>
		<description><![CDATA[I see many WordPress user editing their files online with the theme editor. Doing something wrong with this it is hard to step back or restore your original theme files. I never edited any files online but prefer to use a ftp client to access any files on my host. Using FileZilla &#8216;the free ftp [...]


No related posts.]]></description>
			<content:encoded><![CDATA[<p>I see many WordPress user editing their files online with the theme editor. Doing something wrong with this it is hard to step back or restore your original theme files.</p>
<p>I never edited any files online but prefer to use a ftp client to access any files on my host.</p>
<p>Using <a title="FileZilla ftp client" href="http://filezilla-project.org/" target="_blank">FileZilla &#8216;the free ftp solution&#8217;</a> I can work like using any filemanager or explorer on my machine, have two windows side by side with the full tree and files on my host and the very same files on my pc as backup at home.</p>
<p>To get access to your site using ftp depends a bit on your hosting company, in the help files there you should be able to find out the ftp-link, username and password you have to use.</p>
<p>After installing FileZilla go to the server manager window and enter the required data in there. Actually very easy and after this connect to your site.</p>
<p>On one side of your screen you will see the root folders and files on the host, on the other side of the screen you see files and folders of your machine.</p>
<p>I suggest creating on your machine a folder called &#8216;websites&#8217; and in there create another folder with the site you are just browsing via ftp.</p>
<p>Having done this, select all files and folders on your host and drag them to the site folder you created on your pc.</p>
<p>Now all your files, folders and subfolders are being copied to your pc.</p>
<p>It should look similar to this: (here FileZilla in German&#8230;)</p>
<p><img src="http://webdesign.go41.de/wp-content/imgcache/cchd_filezilla_explained.jpg" class="photo" alt="FileZilla connected" /></p>
<p>&#8212;&#8212;&#8212;&#8212;&#8212;&#8211;<br />
You can tell Filezilla in server manger extended settings for this site to use a start folder, so use just this folder as start folder for that site and on connect the ftp client will show you two trees as above.</span></p>
<p>Double Clicking on a folder will show you the content of this folder, so go and explore your hosted files on you own machine.</p>
<p>In wp-content you find a plugins folder and the themes folder with subfolder of your plugins and themes.</p>
<p>Editing a file in your theme just right click it, choose edit and do your changes in the editor window. After saving locally FileZilla will ask you to upload the changed file automatically! But before clicking on ok, be sure to have the same folders in both windows open, otherwise it could happen that you find your sidebar.php in the root of the host and wonder that there is no change in what you edited.</p>
<p>One more advantage of keeping ALL WordPress files locally is, that you can easily switch the host by uploading all of the files to another server, putting a backup of you sql database there and the site will run on a new host (as soon you have changed DNS entries)</p>


<p>No related posts.</p><img src="http://feeds.feedburner.com/~r/Go41Webdesign/~4/-pqBaEibrBE" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://webdesign.go41.de/wordpress-tips/keep-all-your-wordpress-files-on-your-pc-with-filezilla/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://webdesign.go41.de/wordpress-tips/keep-all-your-wordpress-files-on-your-pc-with-filezilla/</feedburner:origLink></item>
		<item>
		<title>list pages custom styling in arthemia category bar</title>
		<link>http://feedproxy.google.com/~r/Go41Webdesign/~3/mnBEB-ITEz8/</link>
		<comments>http://webdesign.go41.de/wordpress-tips/list-pages-custom-styling-in-arthemia-category-bar/#comments</comments>
		<pubDate>Mon, 02 Feb 2009 15:20:58 +0000</pubDate>
		<dc:creator>JW</dc:creator>
				<category><![CDATA[Wordpress Tips]]></category>
		<category><![CDATA[arthemia]]></category>
		<category><![CDATA[category]]></category>
		<category><![CDATA[pages]]></category>

		<guid isPermaLink="false">http://webdesign.go41.de/?p=112</guid>
		<description><![CDATA[Some users of of arthemia theme would like to display pages instead of categories in the category bar of this theme. This bar has a custom styling for each of the 5 categories displayed. What we are going to do is take off the list of categories and replace this list with a list of [...]


Related posts:<ol><li><a href='http://webdesign.go41.de/wordpress-tips/list-subcategories-in-category-bar-of-arthemia-theme/' rel='bookmark' title='Permanent Link: List subcategories in category bar of arthemia theme'>List subcategories in category bar of arthemia theme</a></li>
<li><a href='http://webdesign.go41.de/wordpress-tips/list-one-latest-post-per-category-on-frontpage-view/' rel='bookmark' title='Permanent Link: List one latest post per category on frontpage view'>List one latest post per category on frontpage view</a></li>
<li><a href='http://webdesign.go41.de/wordpress-tips/list-some-pages-with-content-in-wordpress/' rel='bookmark' title='Permanent Link: List some pages with content in WordPress'>List some pages with content in WordPress</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p>Some users of of arthemia theme would like to display pages instead of categories in the category bar of this theme.</p>
<p>This bar has a custom styling for each of the 5 categories displayed.</p>
<p>What we are going to do is take off the list of categories and replace this list with a list of pages.<br />
The  bar is created in index.php of arthemia theme and I refer to this file with the given styling.</p>
<p>From line 52 to line 70 (if unmodified) you find:</p>
<p><code> &lt;div id="middle" class="clearfloat"&gt;<br />
&lt;img src="&lt;?php echo get_option('home'); ?&gt;/wp-content/themes/arthemia/images/category.png" class="clearfloat" alt="" /&gt;<br />
--------------<br />
All stuff in here we are replacing by the code given below!!<br />
The image category.png you can change to what you like or remove this whole line too<br />
--------------<br />
&lt;/div&gt;<br />
&lt;?php } ?&gt;<br />
&lt;div id="bottom" class="clearfloat"&gt;</code></p>
<p>Let&#8217;s come to the replacement:</p>
<p>We insert this:<br />
<code>&lt;?php<br />
$pages = get_pages(); $i = 1;<br />
foreach ($pages as $page) { ?&gt;<br />
&lt;div id="cat-&lt;?php echo $i; ?&gt;" class="category"&gt;<br />
&lt;span class="cat_title"&gt;&lt;a href="&lt;?php echo get_page_link($page-&gt;ID) ?&gt;"&gt;&lt;?php echo $page-&gt;post_title ?&gt;&lt;/a&gt;&lt;/span&gt;<br />
&lt;/div&gt;<br />
&lt;?php $i++; } ?&gt;</code></p>
<p>to call all pages and give them the style of the categories we had before.</p>
<p>Now it could be you have more than 5 pages or you do not want to display some of them. I suggest using the &#8216;include&#8217; parameter and include exactly 5 of your pages.</p>
<p>The second line of this code could look like this:</p>
<p><code>$pages = get_pages('include=2,41,42,132,134'); $i = 1;</code></p>
<p>here I included the pages with IDs of 2 and 41 etc, just five of them to fit in</p>
<p>To list subpages or even excerpt of that pages &#8211; there is sure a way&#8230;</p>
<p><strong>Update to get a description like there is a description for categories in this theme:</strong></p>
<p>To get a description for each page we show in the category bar of arthemia we use a custom field as you have to use for images in posts.</p>
<p>Edit your pages where you want to get a short description and scroll in page editor down to &#8216;Custom Fields&#8217;</p>
<p>In &#8220;Add a new custom field:&#8221; under <strong>Key</strong> you enter &#8216; <strong>pagedesc</strong> &#8216; (just eight letters, no hyphen) and under <strong>Value</strong> any <strong>text you like</strong> to have as description for that page.</p>
<p>To be able to see this description you have to insert an updated code, actually same as above but with a query for this new created field and a command to echo it if it is there:</p>
<p>Full updated code here:</p>
<p><code>&lt;?php<br />
$pages = get_pages('include=2,41,42,132,134'); $i = 1;<br />
foreach ($pages as $page) { ?&gt;<br />
&lt;div id="cat-&lt;?php echo $i; ?&gt;" class="category"&gt;<br />
&lt;span class="cat_title"&gt;&lt;a href="&lt;?php echo get_page_link($page-&gt;ID) ?&gt;"&gt;&lt;?php echo $page-&gt;post_title ?&gt;&lt;/a&gt;&lt;/span&gt;<br />
&lt;?php if(get_post_meta($page-&gt;ID, "pagedesc", true)){ ?&gt;<br />
&lt;a href="&lt;?php echo get_page_link($page-&gt;ID) ?&gt;"&gt;&lt;?php $key="pagedesc"; echo get_post_meta($page-&gt;ID, $key, true); ?&gt;&lt;/a&gt;<br />
&lt;?php } ?&gt;<br />
&lt;/div&gt;<br />
&lt;?php $i++; } ?&gt;</code></p>
<p>happy coding, give a comment if it is not working&#8230;</p>
<p>Another update: Sort the page entries as you like:<br />
insert in this line:</p>
<p><code>$pages = get_pages('include=2,41,42,132,134'); $i = 1;</code></p>
<p>the parameter &amp;sort_column=menu_order like this:</p>
<p><code>$pages = get_pages('include=2,41,42,132,134&amp;sort_column=menu_order'); $i = 1;</code></p>
<p>then adjust in edit page on the right side under &#8216;order&#8217; to give a value like first page in that row give 2, second one 4 third the 6,</p>
<p>it&#8217;s just like playing games as you have to try.</p>


<p>Related posts:<ol><li><a href='http://webdesign.go41.de/wordpress-tips/list-subcategories-in-category-bar-of-arthemia-theme/' rel='bookmark' title='Permanent Link: List subcategories in category bar of arthemia theme'>List subcategories in category bar of arthemia theme</a></li>
<li><a href='http://webdesign.go41.de/wordpress-tips/list-one-latest-post-per-category-on-frontpage-view/' rel='bookmark' title='Permanent Link: List one latest post per category on frontpage view'>List one latest post per category on frontpage view</a></li>
<li><a href='http://webdesign.go41.de/wordpress-tips/list-some-pages-with-content-in-wordpress/' rel='bookmark' title='Permanent Link: List some pages with content in WordPress'>List some pages with content in WordPress</a></li>
</ol></p><img src="http://feeds.feedburner.com/~r/Go41Webdesign/~4/mnBEB-ITEz8" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://webdesign.go41.de/wordpress-tips/list-pages-custom-styling-in-arthemia-category-bar/feed/</wfw:commentRss>
		<slash:comments>8</slash:comments>
		<feedburner:origLink>http://webdesign.go41.de/wordpress-tips/list-pages-custom-styling-in-arthemia-category-bar/</feedburner:origLink></item>
		<item>
		<title>List some pages with content in WordPress</title>
		<link>http://feedproxy.google.com/~r/Go41Webdesign/~3/eMsp-hgeTK0/</link>
		<comments>http://webdesign.go41.de/wordpress-tips/list-some-pages-with-content-in-wordpress/#comments</comments>
		<pubDate>Sun, 11 Jan 2009 11:32:27 +0000</pubDate>
		<dc:creator>JW</dc:creator>
				<category><![CDATA[Wordpress Tips]]></category>
		<category><![CDATA[featured]]></category>
		<category><![CDATA[pages]]></category>
		<category><![CDATA[query]]></category>

		<guid isPermaLink="false">http://webdesign.go41.de/?p=99</guid>
		<description><![CDATA[To list pages in WordPress you normally take this: &#60;?php wp_list_pages(); ?&#62; But how to display some pages with the_content or the_excerpt? I didn&#8217;t find a way to query specified pages by page_id and run a foreach loop, so we are going to get the pages one by one in separate queries and loops for [...]


Related posts:<ol><li><a href='http://webdesign.go41.de/wordpress-tips/list-one-latest-post-per-category-on-frontpage-view/' rel='bookmark' title='Permanent Link: List one latest post per category on frontpage view'>List one latest post per category on frontpage view</a></li>
<li><a href='http://webdesign.go41.de/wordpress-tips/list-pages-custom-styling-in-arthemia-category-bar/' rel='bookmark' title='Permanent Link: list pages custom styling in arthemia category bar'>list pages custom styling in arthemia category bar</a></li>
<li><a href='http://webdesign.go41.de/news/category-view-in-arthemia-optimized/' rel='bookmark' title='Permanent Link: Category view in Arthemia optimized'>Category view in Arthemia optimized</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p>To list pages in WordPress you normally take this: &lt;?php wp_list_pages(); ?&gt;</p>
<p>But how to display some pages with the_content or the_excerpt?</p>
<p>I didn&#8217;t find a way to query specified pages by page_id and run a foreach loop, so we are going to get the pages one by one in separate queries and loops for each page.</p>
<p>Important is to rewind the query after the run by inserting this: &lt;?php rewind_posts();?&gt;</p>
<p>A simple query for three different pages plus title and including the excerpt I show you here:<span id="more-99"></span></p>
<p><code>&lt;?php<br />
$my_page = new WP_Query("page_id=2"); //replace the ID of the page you want to show<br />
$my_page-&gt;the_post();?&gt;<br />
&lt;a href="&lt;?php the_permalink() ?&gt;" rel="bookmark" &gt;&lt;?php the_title(); ?&gt;&lt;/a&gt;<br />
&lt;?php the_excerpt(); ?&gt;<br />
&lt;?php rewind_posts();?&gt;<br />
&lt;?php<br />
$my_page = new WP_Query("page_id=41"); //replace the ID of the page you want to show<br />
$my_page-&gt;the_post();?&gt;<br />
&lt;a href="&lt;?php the_permalink() ?&gt;" rel="bookmark" &gt;&lt;?php the_title(); ?&gt;&lt;/a&gt;<br />
&lt;?php the_excerpt(); ?&gt;<br />
&lt;?php rewind_posts();?&gt;<br />
&lt;?php<br />
$my_page = new WP_Query("page_id=42"); //replace the ID of the page you want to show<br />
$my_page-&gt;the_post();?&gt;<br />
&lt;a href="&lt;?php the_permalink() ?&gt;" rel="bookmark" &gt;&lt;?php the_title(); ?&gt;&lt;/a&gt;<br />
&lt;?php the_excerpt(); ?&gt;<br />
&lt;?php rewind_posts();?&gt;</code></p>
<p>Now, let&#8217;s say you want to display in Arthemia theme by Michael Jubel some pages in the featured section instead of featured posts, you have to modify index.php and replace the query for category Featured (ie:query_posts(&#8220;showposts=4&amp;category_name=Featured&#8221;);) with a query for pages.</p>
<p>Just sime lines of code how it could look like:<br />
&lt;!&#8211; first new query start, here page_id=2, put your page ID ******************************* &#8211;&gt;<br />
&lt;?php<br />
$my_page = new WP_Query(&#8220;page_id=2&#8243;); //replace the 2 with the ID of the page you want to show<br />
$my_page-&gt;the_post(); ?&gt;</p>
<p>&lt;div class=&#8221;clearfloat&#8221;&gt;<br />
&lt;?php	$values = get_post_custom_values(&#8220;Image&#8221;);<br />
if (isset($values[0])) { ?&gt;<br />
&lt;a href=&#8221;&lt;?php the_permalink() ?&gt;&#8221; rel=&#8221;bookmark&#8221; title=&#8221;Permanent Link to &lt;?php the_title(); ?&gt;&#8221;&gt;<br />
&lt;img src=&#8221;&lt;?php echo bloginfo(&#8216;template_url&#8217;); ?&gt;/scripts/timthumb.php?src=&lt;?php echo get_option(&#8216;home&#8217;); ?&gt;/&lt;?php<br />
$values = get_post_custom_values(&#8220;Image&#8221;); echo $values[0]; ?&gt;&amp;w=100&amp;h=65&amp;zc=1&amp;q=100&#8243;<br />
alt=&#8221;&lt;?php the_title(); ?&gt;&#8221; class=&#8221;left&#8221; width=&#8221;100px&#8221; height=&#8221;65px&#8221;  /&gt;&lt;/a&gt;<br />
&lt;?php } ?&gt;<br />
&lt;div class=&#8221;info&#8221;&gt;&lt;a href=&#8221;&lt;?php the_permalink() ?&gt;&#8221; rel=&#8221;bookmark&#8221; class=&#8221;title&#8221;&gt;&lt;?php the_title(); ?&gt;&lt;/a&gt;<br />
&lt;?php the_excerpt(); ?&gt;<br />
&lt;/div&gt;<br />
&lt;/div&gt;</p>
<p>&lt;?php rewind_posts();?&gt;<br />
&lt;!&#8211; next query start, put your page ID &#8211;&gt;<br />
&lt;?php<br />
$my_page = new WP_Query(&#8220;page_id=41&#8243;); //replace the ID of the page you want to show<br />
$my_page-&gt;the_post(); ?&gt;</p>
<p>&lt;div class=&#8221;clearfloat&#8221;&gt;<br />
&lt;?php	$values = get_post_custom_values(&#8220;Image&#8221;);<br />
if (isset($values[0])) { ?&gt;<br />
&lt;a href=&#8221;&lt;?php the_permalink() ?&gt;&#8221; rel=&#8221;bookmark&#8221; title=&#8221;Permanent Link to &lt;?php the_title(); ?&gt;&#8221;&gt;<br />
&lt;img src=&#8221;&lt;?php echo bloginfo(&#8216;template_url&#8217;); ?&gt;/scripts/timthumb.php?src=&lt;?php echo get_option(&#8216;home&#8217;); ?&gt;/&lt;?php<br />
$values = get_post_custom_values(&#8220;Image&#8221;); echo $values[0]; ?&gt;&amp;w=100&amp;h=65&amp;zc=1&amp;q=100&#8243;<br />
alt=&#8221;&lt;?php the_title(); ?&gt;&#8221; class=&#8221;left&#8221; width=&#8221;100px&#8221; height=&#8221;65px&#8221;  /&gt;&lt;/a&gt;<br />
&lt;?php } ?&gt;<br />
&lt;div class=&#8221;info&#8221;&gt;&lt;a href=&#8221;&lt;?php the_permalink() ?&gt;&#8221; rel=&#8221;bookmark&#8221; class=&#8221;title&#8221;&gt;&lt;?php the_title(); ?&gt;&lt;/a&gt;<br />
&lt;?php the_excerpt(); ?&gt;<br />
&lt;/div&gt;<br />
&lt;/div&gt;</p>
<p>&lt;?php rewind_posts();?&gt;</p>
<p>&lt;!&#8211; next query start, put your page ID &#8211;&gt;</p>
<p>I give you a complete modified index.php for Arthemia theme here to download:</p>
<p><a class="dld" href="http://webdesign.go41.de/downloads/arthemia_index.txt" target="_blank">arthemia index.php modified to dispay pages in featured section</a></p>
<p>Take the parts in div id=&#8221;featured&#8221; or use the whole file as index.php replacement.</p>
<p>ALWAYS BACKUP YOUR ORIGINAL FILES BEFORE MODIFYING!!</p>


<p>Related posts:<ol><li><a href='http://webdesign.go41.de/wordpress-tips/list-one-latest-post-per-category-on-frontpage-view/' rel='bookmark' title='Permanent Link: List one latest post per category on frontpage view'>List one latest post per category on frontpage view</a></li>
<li><a href='http://webdesign.go41.de/wordpress-tips/list-pages-custom-styling-in-arthemia-category-bar/' rel='bookmark' title='Permanent Link: list pages custom styling in arthemia category bar'>list pages custom styling in arthemia category bar</a></li>
<li><a href='http://webdesign.go41.de/news/category-view-in-arthemia-optimized/' rel='bookmark' title='Permanent Link: Category view in Arthemia optimized'>Category view in Arthemia optimized</a></li>
</ol></p><img src="http://feeds.feedburner.com/~r/Go41Webdesign/~4/eMsp-hgeTK0" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://webdesign.go41.de/wordpress-tips/list-some-pages-with-content-in-wordpress/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		<feedburner:origLink>http://webdesign.go41.de/wordpress-tips/list-some-pages-with-content-in-wordpress/</feedburner:origLink></item>
		<item>
		<title>List subcategories in category bar of arthemia theme</title>
		<link>http://feedproxy.google.com/~r/Go41Webdesign/~3/tyJ1hjKhjJ0/</link>
		<comments>http://webdesign.go41.de/wordpress-tips/list-subcategories-in-category-bar-of-arthemia-theme/#comments</comments>
		<pubDate>Sat, 13 Dec 2008 16:45:30 +0000</pubDate>
		<dc:creator>JW</dc:creator>
				<category><![CDATA[Wordpress Tips]]></category>
		<category><![CDATA[arthemia]]></category>
		<category><![CDATA[category]]></category>
		<category><![CDATA[subcategory]]></category>
		<category><![CDATA[Webdesign]]></category>

		<guid isPermaLink="false">http://webdesign.go41.de/?p=96</guid>
		<description><![CDATA[In the WordPress theme Arthemia theme by Michael Jubel is a wide category bar displaying 5 categories and their description. Users of this theme having sub-categories will normally not see them on this bar. I will show you how to get sub-categories displayed if there are in different styles. Let&#8217;s talk about the free Arthemia [...]


Related posts:<ol><li><a href='http://webdesign.go41.de/wordpress-tips/list-pages-custom-styling-in-arthemia-category-bar/' rel='bookmark' title='Permanent Link: list pages custom styling in arthemia category bar'>list pages custom styling in arthemia category bar</a></li>
<li><a href='http://webdesign.go41.de/wordpress-tips/list-one-latest-post-per-category-on-frontpage-view/' rel='bookmark' title='Permanent Link: List one latest post per category on frontpage view'>List one latest post per category on frontpage view</a></li>
<li><a href='http://webdesign.go41.de/news/category-view-in-arthemia-optimized/' rel='bookmark' title='Permanent Link: Category view in Arthemia optimized'>Category view in Arthemia optimized</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p>In the WordPress theme Arthemia theme by Michael Jubel is a wide category bar displaying 5 categories and their description.</p>
<p>Users of this theme having sub-categories will normally not see them on this bar. I will show you how to get sub-categories displayed if there are in different styles.</p>
<p>Let&#8217;s talk about the free Arthemia Magazine Style WordPress Theme first:</p>
<p>The category bar is displayed by a call in index.php between the line 49:<br />
div id=&#8221;cat-&#8230;<br />
and the line 58:<br />
/div<br />
The line 56 (span class=&#8221;cat_title&#8221;) displays the main category title, we leave it untouched<br />
In line 57 the category description is echoed: &#8220;echo category_description&#8221;</p>
<p>The code I give you now will check if the displayed category has children (subcategories) and if there are it will list all of them. If there are no sub-categories, it will display nothing.</p>
<p>The code to insert below or instead of the category description and before the following /div is here:</p>
<p><code>&lt;?php $sub_categories =  wp_list_categories("echo=0&amp;show_count=1&amp;title_li=&amp;show_count=0&amp;style=none&amp;use_desc_for_title=0&amp;child_of=$category"); if ($sub_categories != "No categories") { ?&gt;<br />
&lt;?php wp_list_categories("show_count=1&amp;title_li=&amp;show_count=0&amp;style=none&amp;use_desc_for_title=0&amp;child_of=$category"); ?&gt;<br />
&lt;?php } ?&gt;</code></p>
<p>This code will give you links to your subcategories for each category displayed in the category bar. There is a &lt;br /&gt; tag inserted between each link.</p>
<p>To get the subcategories inserted in a list style you could use this code instead, getting -ul-li-li-ul around links:</p>
<p><code>&lt;?php $sub_categories =  wp_list_categories("echo=0&amp;show_count=1&amp;title_li=&amp;show_count=0&amp;style=none&amp;use_desc_for_title=0&amp;child_of=$category"); if ($sub_categories != "No categories") { ?&gt;<br />
&lt;ul class="subcats"&gt;&lt;?php wp_list_categories("show_count=1&amp;title_li=&amp;show_count=0&amp;use_desc_for_title=0&amp;child_of=$category"); ?&gt;&lt;/ul&gt;<br />
&lt;?php } ?&gt;</code></p>
<p>Using the list-stylecode you can style the way how the ul class subcats get displayed.</p>
<p>You could add anywhere into your style.css the following:</p>
<p>ul.subcats {list-style: none;}</p>
<p>with this entry in style.css you get the list-bullets removed from the sub-category list.</p>
<p>Yes, there are also users having the Arthemia Premium theme, they have to look in header.php and use this code (Premium only!! in header.php below echo category_description($cp_pC) close to the end of that file)</p>
<p><code>&lt;?php $sub_categories =  wp_list_categories(&quot;echo=0&amp;show_count=1&amp;title_li=&amp;show_count=0&amp;style=none&amp;use_desc_for_title=0&amp;child_of=$cp_pC&quot;); if ($sub_categories != &quot;No categories&quot;) { ?&gt;<br />
&lt;ul class=&quot;subcats&quot;&gt;&lt;?php wp_list_categories(&quot;show_count=1&amp;title_li=&amp;show_count=0&amp;use_desc_for_title=0&amp;child_of=$cp_pC&quot;); ?&gt;&lt;/ul&gt;<br />
&lt;?php } ?&gt; </code></p>
<p>Style the ul class subcats to get the desired results&#8230;</p>


<p>Related posts:<ol><li><a href='http://webdesign.go41.de/wordpress-tips/list-pages-custom-styling-in-arthemia-category-bar/' rel='bookmark' title='Permanent Link: list pages custom styling in arthemia category bar'>list pages custom styling in arthemia category bar</a></li>
<li><a href='http://webdesign.go41.de/wordpress-tips/list-one-latest-post-per-category-on-frontpage-view/' rel='bookmark' title='Permanent Link: List one latest post per category on frontpage view'>List one latest post per category on frontpage view</a></li>
<li><a href='http://webdesign.go41.de/news/category-view-in-arthemia-optimized/' rel='bookmark' title='Permanent Link: Category view in Arthemia optimized'>Category view in Arthemia optimized</a></li>
</ol></p><img src="http://feeds.feedburner.com/~r/Go41Webdesign/~4/tyJ1hjKhjJ0" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://webdesign.go41.de/wordpress-tips/list-subcategories-in-category-bar-of-arthemia-theme/feed/</wfw:commentRss>
		<slash:comments>10</slash:comments>
		<feedburner:origLink>http://webdesign.go41.de/wordpress-tips/list-subcategories-in-category-bar-of-arthemia-theme/</feedburner:origLink></item>
		<item>
		<title>Great Gadgets</title>
		<link>http://feedproxy.google.com/~r/Go41Webdesign/~3/H8V2yHlKQLU/</link>
		<comments>http://webdesign.go41.de/referenzen/great-gadgets/#comments</comments>
		<pubDate>Thu, 04 Dec 2008 12:06:56 +0000</pubDate>
		<dc:creator>JW</dc:creator>
				<category><![CDATA[Referenzen]]></category>
		<category><![CDATA[Webdesign]]></category>

		<guid isPermaLink="false">http://webdesign.go41.de/?p=92</guid>
		<description><![CDATA[Great Gadgets Related posts:13b GGE www.Traumrabatt.de Modellflug4U.de


Related posts:<ol><li><a href='http://webdesign.go41.de/referenzen/13b-gge/' rel='bookmark' title='Permanent Link: 13b GGE'>13b GGE</a></li>
<li><a href='http://webdesign.go41.de/referenzen/wwwtraumrabattde/' rel='bookmark' title='Permanent Link: www.Traumrabatt.de'>www.Traumrabatt.de</a></li>
<li><a href='http://webdesign.go41.de/referenzen/modellflug4ude/' rel='bookmark' title='Permanent Link: Modellflug4U.de'>Modellflug4U.de</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<div class="wp-caption aligncenter" style="width: 510px"><a href="http://gadgets.ezxplain.com/" target="_blank"><img title="Great Gadgets" src="/wp-content/assets/site_gadgets.jpg" alt="Great Gadgets Design Screenshot" width="500" height="250" /></a><p class="wp-caption-text">Screenshot: Great Gadgets</p></div>
<p><a title="Great Gadgets" href="http://gadgets.ezxplain.com/" target="_blank">Great Gadgets</a></p>


<p>Related posts:<ol><li><a href='http://webdesign.go41.de/referenzen/13b-gge/' rel='bookmark' title='Permanent Link: 13b GGE'>13b GGE</a></li>
<li><a href='http://webdesign.go41.de/referenzen/wwwtraumrabattde/' rel='bookmark' title='Permanent Link: www.Traumrabatt.de'>www.Traumrabatt.de</a></li>
<li><a href='http://webdesign.go41.de/referenzen/modellflug4ude/' rel='bookmark' title='Permanent Link: Modellflug4U.de'>Modellflug4U.de</a></li>
</ol></p><img src="http://feeds.feedburner.com/~r/Go41Webdesign/~4/H8V2yHlKQLU" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://webdesign.go41.de/referenzen/great-gadgets/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://webdesign.go41.de/referenzen/great-gadgets/</feedburner:origLink></item>
		<item>
		<title>Exclude one headline post from frontpage but not if is paged</title>
		<link>http://feedproxy.google.com/~r/Go41Webdesign/~3/MJLxYV6-MR8/</link>
		<comments>http://webdesign.go41.de/wordpress-tips/exclude-one-headline-post-from-frontpage-but-not-if-is-paged/#comments</comments>
		<pubDate>Tue, 02 Dec 2008 22:54:19 +0000</pubDate>
		<dc:creator>JW</dc:creator>
				<category><![CDATA[Wordpress Tips]]></category>
		<category><![CDATA[category]]></category>
		<category><![CDATA[exclude]]></category>
		<category><![CDATA[headline]]></category>

		<guid isPermaLink="false">http://webdesign.go41.de/?p=84</guid>
		<description><![CDATA[The problem: I got a WordPress site with feature headline, the latest post of headline category. Below I want to show all posts from all categories except this one. But I want to display older posts from this category headline together with any post of any other category. Next problem with this site, on frontpage [...]


Related posts:<ol><li><a href='http://webdesign.go41.de/wordpress-tips/list-one-latest-post-per-category-on-frontpage-view/' rel='bookmark' title='Permanent Link: List one latest post per category on frontpage view'>List one latest post per category on frontpage view</a></li>
<li><a href='http://webdesign.go41.de/wordpress-tips/add-adsense-between-some-posts-in-wordpress/' rel='bookmark' title='Permanent Link: Add Adsense between some Posts in WordPress'>Add Adsense between some Posts in WordPress</a></li>
<li><a href='http://webdesign.go41.de/news/category-view-in-arthemia-optimized/' rel='bookmark' title='Permanent Link: Category view in Arthemia optimized'>Category view in Arthemia optimized</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p>The problem: I got a WordPress site with feature headline, the latest post of headline category.<br />
Below I want to show all posts from all categories except this one.<br />
But I want to display older posts from this category headline together with any post of any other category.<br />
Next problem with this site, on frontpage have to be 6 posts plus the headline, on following pages is no headline and there should be displayed more posts.</p>
<p>Live on <a title="Great Gadgets" href="http://gadgets.ezxplain.com/" target="_blank">Great Geadgets</a></p>
<p>This is how I solved this problem for me, the name for that headline category is Headline with ID 6.</p>
<p>the first loop:<br />
&lt;?php get_header(); ?&gt;<br />
&lt;?php if(!is_paged()) { ?&gt;</p>
<p>&lt;?php query_posts(&#8220;showposts=1&amp;category_name=Headline&#8221;);  //retrieves 1 post from headline ?&gt;<br />
&lt;?php while (have_posts()) : the_post(); ?&gt;<br />
&lt;?php $do_not_duplicate = $post-&gt;ID; ?&gt;</p>
<p>now do stuff for first post like title and content</p>
<p>&lt;?php endwhile; ?&gt;</p>
<p>&lt;?php } //end if is only not paged headline post ?&gt;</p>
<p>Now I start a loop quering for all posts and leaving the one above out:</p>
<p>&lt;?php<br />
$page = (get_query_var(&#8216;paged&#8217;)) ? get_query_var(&#8216;paged&#8217;) : 1;<br />
$num_of_posts = get_option(&#8216;posts_per_page&#8217;);<br />
if ( !is_paged()){<br />
query_posts(&#8220;cat=-6&amp;paged=$page&amp;posts_per_page=6&#8243;);<br />
} else {<br />
query_posts(&#8220;paged=$page&amp;posts_per_page=$num_of_posts&#8221;); } ?&gt;<br />
&lt;?php $i = 1; ?&gt;<br />
&lt;?php while (have_posts()) : the_post(); if( $post-&gt;ID == $do_not_duplicate ) continue; update_post_caches($posts); ?&gt;<br />
&lt;?php if ( $paged &lt; 2 ) { ?&gt;</p>
<p>now do stuff for first page, limited to 6 post and exclude category Headline (ID 6) from that loop, here is the place to style the frontpage and the way how to display posts.</p>
<p>&lt;?php } else {  //now if is paged ?&gt;</p>
<p>do stuff for following pages and take the number of pages from the settings in options</p>
<p>&lt;?php } //end if else paged ?&gt;</p>
<p>&lt;?php endwhile; ?&gt;</p>
<p>&lt;div class=&#8221;navigation&#8221;&gt; This comes normally close to the end of a template</p>
<p>It would be great to exclude a single post by post ID from the second loop, I did not find an easy way for that yet. I mean something like query_posts and exclude a post by $post-&gt;ID what you can get from the first loop</p>


<p>Related posts:<ol><li><a href='http://webdesign.go41.de/wordpress-tips/list-one-latest-post-per-category-on-frontpage-view/' rel='bookmark' title='Permanent Link: List one latest post per category on frontpage view'>List one latest post per category on frontpage view</a></li>
<li><a href='http://webdesign.go41.de/wordpress-tips/add-adsense-between-some-posts-in-wordpress/' rel='bookmark' title='Permanent Link: Add Adsense between some Posts in WordPress'>Add Adsense between some Posts in WordPress</a></li>
<li><a href='http://webdesign.go41.de/news/category-view-in-arthemia-optimized/' rel='bookmark' title='Permanent Link: Category view in Arthemia optimized'>Category view in Arthemia optimized</a></li>
</ol></p><img src="http://feeds.feedburner.com/~r/Go41Webdesign/~4/MJLxYV6-MR8" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://webdesign.go41.de/wordpress-tips/exclude-one-headline-post-from-frontpage-but-not-if-is-paged/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		<feedburner:origLink>http://webdesign.go41.de/wordpress-tips/exclude-one-headline-post-from-frontpage-but-not-if-is-paged/</feedburner:origLink></item>
	</channel>
</rss><!-- Dynamic page generated in 1.919 seconds. --><!-- Cached page generated by WP-Super-Cache on 2010-08-26 15:24:16 -->
