<?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>Texto.de - Mein WordPress Magazin &#187; navigation</title>
	<atom:link href="http://www.texto.de/tag/navigation/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.texto.de</link>
	<description>Tutorials zu  WordPress als Blog, WordPress als CMS, WP SEO tauglich machen - einfach ein WP Nachschlagewerk</description>
	<lastBuildDate>Tue, 31 Jan 2012 22:41:38 +0000</lastBuildDate>
	<language>de</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
		<item>
		<title>Google und Weiterblättern, die Pagination</title>
		<link>http://www.texto.de/google-weiterblaettern-pagination-1249/</link>
		<comments>http://www.texto.de/google-weiterblaettern-pagination-1249/#comments</comments>
		<pubDate>Fri, 16 Sep 2011 14:14:11 +0000</pubDate>
		<dc:creator>texto</dc:creator>
				<category><![CDATA[WP-Admin]]></category>
		<category><![CDATA[navigation]]></category>
		<category><![CDATA[WordPress Quick Tipps]]></category>

		<guid isPermaLink="false">http://www.texto.de/?p=1249</guid>
		<description><![CDATA[Seit 15.09.2011 kann man rel=prev und rel=next für paginierte Seiten verwenden und Google erkennt dies. Doch zum jetzigen Zeitpunkt kann dies WP so nicht. ]]></description>
			<content:encoded><![CDATA[<dl  class="left" style="width:"260px;">
<dt>WP SEO</dt>
<dd><img src="http://www.texto.de/wp-images/wordpress-seo.jpg" alt="WP und Suchmaschinen SEO " width="250" height="250" /></dd>
</dl>
<p>Google eröffnete am 15.09.2011 einen neuen Umgang der Suchmaschine mit Pagination/Weiterblättern. Stichworte dazu: rel=prev, rel=next.</p>
<p>Ich erkläre hier in diesem Artikel das bisherige Problem mit Pagination und Suchergebnissen.<br />
Wie Google es nun für sich gelöst hat.<br />
Wieso dies dennoch derzeit keine Lösung für WP ist -also wieso es  sinnvoll ist die rel=next und rel=prev Links aus dem WP Header zu verbannen &#8211; und wie es geht <img src='http://www.texto.de/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> . </p>
<p>Pagination /Weiterblättern / Seite 1 von 86 /vorherige Seite/nächste Seite   erreicht man in WordPress  mit:</p>
<ul>
<li> &lt;!- &#8211; nextpage- &#8211; &gt;
</li>
<li>next_posts_link
</li>
<li>previous_posts_link
</li>
<li>oder diversen Plugins </li>
</ul>
<p>Und es geht um Linkbeziehungsangaben im html Header: also um die Links die ein link rel=&#8221;" im html haben.   </p>
<p><span id="more-1249"></span> </p>
<h3>Pagination und die Suchmaschine Google bisher</h3>
<p>Seit &#8220;ewigst&#8221; gibt es massive Probleme bei Googles Suchergebnissen, wenn man eine Kategorie oder eine einzelne Seite oder einen Artikel in mehrere Seiten aufgeteilt hat.  Google bemängelt die gleiche meta description in den Webmastertools, Google zeigt in den Suchergebnissen zu einem irr hohen Prozentsatz immer nur die 1.Seite an, grad bei Kategorieübersichten und hat man einen einzelnen Artikel aufgeteilt ignorierte dies Google komplett -ja galt lange Zeit sogar als dublicat content, weil der ja anhand des Inhaltes einer  &#8220;html&#8221; Seite gemessen wird und nicht nur vom geschriebenen Artikel abhängt. </p>
<h3>am  15.09.2011 verkündet Google   rel=prev rel=next</h3>
<p>Google erkannte selbst, dass bei einer Kategorie die 2te Seite genauso sinnvoll für den Suchenden sein kann wie die Erste. Vor allem in online Shops etc.  Weil sie das Suchverhalten von Google Nutzer bis ins kleinste Detail ständig erforschen.</p>
<p>Nun implementierte Google die korrekten html header Angaben rel=next und rel=prev in das Programm seines Suchbots. Siehe: <a href="http://googlewebmastercentral.blogspot.com/2011/09/pagination-with-relnext-and-relprev.html" title="rel prev rel next Googles Webmasterzentrale">Google Webmasterzentrale</a>.</p>
<p>Damit Google richtig erkennt ob man bei einer Kategorie auf der 1. oder  56 Seite ist und welche die vorherige oder nächste Seite ist, sollte nun um html Header:</p>
<p>Kategorie Hauptseite:</p>
<p>rel=next  => Verweis auf  /kategoriehauptseite/page/2/</p>
<p>ist man auf der /kategoriehauptseite/page/2/ sollte im html Header stehen:</p>
<p>rel=prev  /kategoriehauptseite/<br />
rel=next /kategoriehauptseite/page/3/</p>
<p>ist man auf der letzten paginierten Seite sollte logischerweise kein rel=next erscheinen. </p>
<h3>Kann dies WordPress 3.2.1</h3>
<p>Kürzeste Antwort: NEIN => so nicht.</p>
<p>WordPress bietet im html header rel=next und rel=prev, aber sehr eingeschränkt und manchmal &#8220;ein bisschen eigenartig&#8221;.<br />
Mein Schelm und Schalk meint diesbezüglich: dies passiert, wenn Programmierer mit html Semantik konfrontiert werden. <img src='http://www.texto.de/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> </p>
<p>Nachdem ich ungern etwas behaupte ohne einen Beweis zeig ich nun auf was WP im html Header liefert, wenn man </p>
<p><strong>index_rel_link</strong>, <strong>adjacent_posts_rel_link</strong> und <strong>parent_post_rel_link</strong> nicht in der functions.php aussperrt.<br />
Manche sperren dies ja aus, weil sie glauben die Angaben rel=next und rel=prev seien ein Sicherheitsrisiko <img src='http://www.texto.de/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> , dabei sind dies absolut korrekte  html Angaben. </p>
<p>Ich wiederum sperre diese Angaben aus, weil sie semantisch nicht korrekt und nicht vollständig umgesetzt sind => derzeit. </p>
<h3>index_rel_link</h3>
<p>zeigt immer:</p>
<link rel='index' title='title der Website' href='http://domain.tld/' />
<p>Magst Du nicht, dass dies automatisch durch <strong>wp_head</strong> im html Header erscheint, dann füge in die functions.php deines Themes folgendes ein:</p>

<div class="wp_syntax"><div class="code"><pre class="php" style="font-family:monospace;">remove_action<span style="color: #009900;">&#40;</span> <span style="color: #0000ff;">'wp_head'</span><span style="color: #339933;">,</span> <span style="color: #0000ff;">'index_rel_link'</span> <span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span> <span style="color: #666666; font-style: italic;">// index link</span></pre></div></div>

<h3>adjacent_posts_rel_link</h3>
<p>Zeigt einfach die Beziehung eines Artikels rel=next oder rel=prev in zeitlicher Reihenfolge an. </p>
<p>Magst Du nicht, dass dies automatisch durch <strong>wp_head</strong> im html Header erscheint, dann füge in die functions.php deines Themes folgendes ein:</p>

<div class="wp_syntax"><div class="code"><pre class="php" style="font-family:monospace;">remove_action<span style="color: #009900;">&#40;</span> <span style="color: #0000ff;">'wp_head'</span><span style="color: #339933;">,</span> <span style="color: #0000ff;">'adjacent_posts_rel_link'</span><span style="color: #339933;">,</span> <span style="color: #cc66cc;">10</span><span style="color: #339933;">,</span> <span style="color: #cc66cc;">0</span> <span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span> <span style="color: #666666; font-style: italic;">// Display relational links for the posts adjacent to the current post.</span></pre></div></div>

<h3>start_post_rel_link</h3>
<p>Zeigt schlicht und ergreifend rel=prev zum allerersten Artikel Deiner WP Installation, dies ist zu 99% &#8220;Hallo Welt&#8221;. <img src='http://www.texto.de/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> </p>
<p>Magst Du nicht, dass dies automatisch durch <strong>wp_head</strong> im html Header erscheint, dann füge in die functions.php deines Themes folgendes ein:</p>

<div class="wp_syntax"><div class="code"><pre class="php" style="font-family:monospace;">remove_action<span style="color: #009900;">&#40;</span> <span style="color: #0000ff;">'wp_head'</span><span style="color: #339933;">,</span> <span style="color: #0000ff;">'start_post_rel_link'</span><span style="color: #339933;">,</span> <span style="color: #cc66cc;">10</span><span style="color: #339933;">,</span> <span style="color: #cc66cc;">0</span> <span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span> <span style="color: #666666; font-style: italic;">// start link</span></pre></div></div>

<h3>parent_post_rel_link</h3>
<p>Erscheint im html Header bei statischen Seiten.<br />
Und unter d) sieht man, dass  die Funktion parent_post_rel_link derzeit nicht die rel Angaben liefert  die Google brauchen tät.</p>
<p>a)</p>
<p>Bist Du auf einer Seite, die entweder eine einzelne Seite ist oder eine &#8220;Parent&#8221; Seite &#8211; also eine Seite mit Unterseiten- dann zeigt dies einfach rel=prev oder rel=next (oder beides) für die in zeitlicher Reihenfolge  vorher oder nachher geschriebene Seite an.<br />
Nicht auf etwaig vorhandenen  Unterseiten. => das sollte es aber tun.</p>
<p>b)</p>
<p>Bist Du auf einer Unterseite ergibt dies:</p>
<p>rel=up zur Hauptseite</p>
<p>rel=prev zur Hauptseite</p>
<p>wenn vorhanden:<br />
rel=next zur nächsten gleichrangigen Unterseite</p>
<p>c)<br />
Bist Du auf einer Unter-Unterseite ergibt dies:</p>
<p>rel=up zur hierarchisch höheren Seite<br />
rel=prev zur hierarchisch höhren Seite</p>
<p>wenn vorhanden:<br />
rel=next zur nächsten gleichrangigen Unter-Unterseite</p>
<p>d) </p>
<p>Bist Du auf /seite/3</p>
<p>kommt nicht rel=prev zur /seite/2<br />
und auch nicht rel=up zur  /seite/2</p>
<p>und wenn vorhanden auch kein<br />
rel=prev zur /seite/3</p>
<p>sondern wieder rel=prev zur nächsten gleichrangigen Unterseite /Seite<br />
und wieder rel=up zur nächsthöheren Seite </p>
<p>Magst Du nicht, dass dies automatisch durch <strong>wp_head</strong> im html Header erscheint, dann füge in die functions.php deines Themes folgendes ein:</p>

<div class="wp_syntax"><div class="code"><pre class="php" style="font-family:monospace;">remove_action<span style="color: #009900;">&#40;</span> <span style="color: #0000ff;">'wp_head'</span><span style="color: #339933;">,</span> <span style="color: #0000ff;">'parent_post_rel_link'</span><span style="color: #339933;">,</span> <span style="color: #cc66cc;">10</span><span style="color: #339933;">,</span> <span style="color: #cc66cc;">0</span> <span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span> <span style="color: #666666; font-style: italic;">// prev link</span></pre></div></div>

<p>Ich selbst lasse alle Weiterblättern Seiten nicht in den Index von Google. Erstens, weil ich ziemlich viele Artikel pro KategorieSeite anzeigen lasse. Zweitens daher auf der Seite 2   einer Kategorie wirklich ältere Artikel sind. Und Drittens, weil ich der Meinung bin nicht die Quantität an Seiten im Index zählt, sondern die Qualität.<br />
Wie ich das mache erklärte ich in diesem Artikel: <a href="http://www.texto.de/noindex-gezielt-in-wordpress-verwenden-1221/" title="Noindex">Noindex</a>.</p>
<div class="sign">Google bleibt spannend derzeit und ich freu mich, wenn die WP Developer reagieren.  </div>
<hr /><small>Copyright &copy; 2011<br /> This feed is for personal, non-commercial use only. <br /> The use of this feed on other websites breaches copyright. If this content is not in your news reader, it makes the page you are viewing an infringement of the copyright. Original article:  <a href="http://www.texto.de/google-weiterblaettern-pagination-1249/" >texto.de</a> (Digital Fingerprint:  textoakamts[texto.de])</small><hr />]]></content:encoded>
			<wfw:commentRss>http://www.texto.de/google-weiterblaettern-pagination-1249/feed/</wfw:commentRss>
		<slash:comments>9</slash:comments>
		</item>
		<item>
		<title>wp_list_pages  Spielereien</title>
		<link>http://www.texto.de/wp_list_pages-spielereien-41/</link>
		<comments>http://www.texto.de/wp_list_pages-spielereien-41/#comments</comments>
		<pubDate>Sun, 30 Mar 2008 17:57:02 +0000</pubDate>
		<dc:creator>texto</dc:creator>
				<category><![CDATA[Tipps und Tricks]]></category>
		<category><![CDATA[navigation]]></category>
		<category><![CDATA[template-tag]]></category>
		<category><![CDATA[WordPress Quick Tipps]]></category>

		<guid isPermaLink="false">http://www.texto.de/texto/wp_list_pages-spielereien/</guid>
		<description><![CDATA[[Update 2011]WP bietet die Möglichkeit statische Seiten einzubauen. Mit dem Template Tag 
 wp_list_pages   kann man diese anzeigen.  Ich bringe einige Beispiele was man mit diesem Template Tag alles anstellen kann.]]></description>
			<content:encoded><![CDATA[<dl class="left" style="width:260px;">
<dt>WP CMS komplexe Projekte</dt>
<dd><img  src="http://www.texto.de/wp-images/wordpress-cms-komplexe-projekte.jpg" alt="WP CMS einfache L&ouml;sungen f&uuml;r komplexe Projekte" width="250" height="250" /></dd>
</dl>
<p>WP bietet die Möglichkeit statische Seiten einzubauen. Mit dem Template Tag wp list pages. Seit der WordPress Version 2.3.1 kann der template tag  soagr Seiten ausschlie&#223;en UND einschlie&#223;en.</p>
<div class="eyecatch">
<p><strong>Update 30.03.08 abends</strong> </p>
<p>WP 2.5. zeigt die ID der statischen Seiten nicht mehr im Adminbereich an. Dieses <a href="http://www.schloebe.de/wordpress/reveal-ids-for-wp-admin-25-plugin/" title="Manage Post and Pages ID">WP Plugin</a> behebt dies. </p>
</div>

<div class="wp_syntax"><div class="code"><pre class="php" style="font-family:monospace;">wp_ list_ pages</pre></div></div>

<p> kann man diese anzeigen.  Ich bringe einige Beispiele was man mit diesem Template Tag alles anstellen kann.</p>
<p><strong>Achtung:</strong>All dies funktioniert nur, wenn Du keine Widgets benutzt!</p>
<p>Einige Stichworte:</p>
<ul>
<li>Keine automatisch erstellte überschrift.</li>
<li>Eigene überschrift.</li>
<li> Automatisch erstellte überschrift.</li>
<li>Deine Reihenfolge. </li>
<li>Nach Erstelldatum ordnen.</li>
<li>&#8220;Home Link&#8221; automatisch anzeigen.</li>
<li> Seiten ganz woanders anzeigen. </li>
<li>Kombinationen all dieser Möglichkeiten.</li>
</ul>
<p>Gerne beantworte ich auch Fragen dazu. Bitte probiere jedoch vorher meine <span id="more-41"></span> Beispiele aus. </p>
<p>Jedes meiner Beispiele zeige ich in einer verschachtelten Liste  so wie sie in den meisten Themes verwendet wird.  </p>
<p>Wie man solch eine<strong> Liste horizontal </strong>anzeigt ist dann eine Frage der <abbr title="Cascading Style Sheet ">CSS</abbr> Angaben.</p>
<p>Kurzer Hinweis zu den <strong>CSS Angaben</strong>: Es wird die  CSS class:</p>

<div class="wp_syntax"><div class="code"><pre class="php" style="font-family:monospace;"><span style="color: #339933;">&lt;</span>li <span style="color: #000000; font-weight: bold;">class</span><span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;page_item&quot;</span><span style="color: #339933;">&gt;</span></pre></div></div>

<p>erzeugt. </p>
<p>Den jeweils <strong>aktiven Link </strong>(wenn man draufgeklickt hat) kannst Du mit der CSS class :</p>

<div class="wp_syntax"><div class="code"><pre class="php" style="font-family:monospace;"><span style="color: #339933;">&lt;</span>li <span style="color: #000000; font-weight: bold;">class</span><span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;current_page_item&quot;</span><span style="color: #339933;">&gt;</span></pre></div></div>

<p>gestalten.</p>
<p>Im Theme &#8220;default&#8221; wird eine verschachtelte Liste verwendet, weil diese mehr Gestaltungsmöglichkeiten bietet.</p>
<h3> Der Template Tag und wie wird daraus eine richtige Liste: </h3>

<div class="wp_syntax"><div class="code"><pre class="php" style="font-family:monospace;"><span style="color: #000000; font-weight: bold;">&lt;?php</span> wp_list_pages<span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'arguments'</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span> <span style="color: #000000; font-weight: bold;">?&gt;</span></pre></div></div>

<p>gibt die Links zu den statischen Seiten  zwischen den <abbr title="Hyper Text Markup Language ">(x)html</abbr> Tags</p>

<div class="wp_syntax"><div class="code"><pre class="php" style="font-family:monospace;"><span style="color: #339933;">&lt;</span>li<span style="color: #339933;">&gt;</span> und<span style="color: #339933;">&lt;/</span>li<span style="color: #339933;">&gt;</span></pre></div></div>

<p>Somit must Du um korrektes (x)html zu erzeugen nur mehr die ul tags dazuschreiben etwa so:</p>

<div class="wp_syntax"><div class="code"><pre class="php" style="font-family:monospace;">&lt;ul&gt;
<span style="color: #000000; font-weight: bold;">&lt;?php</span> wp_list_pages<span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'arguments'</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span> <span style="color: #000000; font-weight: bold;">?&gt;</span>
&lt;/ul&gt;</pre></div></div>

<h3>Die richtig verschachtelte Liste </h3>

<div class="wp_syntax"><div class="code"><pre class="php" style="font-family:monospace;">&lt;ul&gt; &lt;li&gt;
  &lt;ul&gt;
  <span style="color: #000000; font-weight: bold;">&lt;?php</span> wp_list_pages<span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'arguments'</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span> <span style="color: #000000; font-weight: bold;">?&gt;</span>
  &lt;/ul&gt;
&lt;/li&gt; &lt;/ul&gt;</pre></div></div>

<h3>Magst Du dieser <strong>Liste keine überschrift </strong>geben, dann sieht dies so aus:</h3>

<div class="wp_syntax"><div class="code"><pre class="php" style="font-family:monospace;">&lt;ul&gt; &lt;li&gt;
  &lt;ul&gt;
      <span style="color: #000000; font-weight: bold;">&lt;?php</span> wp_list_pages<span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'title_li='</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span> <span style="color: #000000; font-weight: bold;">?&gt;</span>
  &lt;/ul&gt;
&lt;/li&gt; &lt;/ul&gt;</pre></div></div>

<h3>Magst Du dieser <strong>Liste eine eigene überschrift </strong>geben, dann sieht dies so aus:</h3>

<div class="wp_syntax"><div class="code"><pre class="php" style="font-family:monospace;">&lt;ul&gt; &lt;li&gt;
  &lt;ul&gt;
  &lt;li&gt;&lt;h3&gt;Deine eigene überschrift&lt;/h3&gt;&lt;/li&gt;
  <span style="color: #000000; font-weight: bold;">&lt;?php</span> wp_list_pages<span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'title_li='</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span> <span style="color: #000000; font-weight: bold;">?&gt;</span>
  &lt;/ul&gt;
&lt;/li&gt; &lt;/ul&gt;</pre></div></div>

<h3>Magst Du dieser <strong>Liste eine automatisch erstellte überschrift  &#8220;Seiten&#8221;</strong> geben, dann sieht dies so aus:</h3>

<div class="wp_syntax"><div class="code"><pre class="php" style="font-family:monospace;">&lt;ul&gt; &lt;li&gt;
  &lt;ul&gt;
  <span style="color: #000000; font-weight: bold;">&lt;?php</span> wp_list_pages<span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'title_li=&lt;h3&gt;'</span> <span style="color: #339933;">.</span> __<span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'Pages'</span><span style="color: #009900;">&#41;</span> <span style="color: #339933;">.</span> <span style="color: #0000ff;">'&lt;/h3&gt;'</span> <span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span> <span style="color: #000000; font-weight: bold;">?&gt;</span>
  &lt;/ul&gt;
&lt;/li&gt; &lt;/ul&gt;</pre></div></div>

<h3>Den Link  zu <strong>Deinem Blog  &#8211; also &#8220;Home&#8221; automatisch</strong> mit anzeigen:</h3>

<div class="wp_syntax"><div class="code"><pre class="php" style="font-family:monospace;">&lt;ul&gt;&lt;li&gt;
   &lt;ul&gt;
      &lt;li&gt; <span style="color: #000000; font-weight: bold;">&lt;?</span> php bloginfo <span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'name'</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span> <span style="color: #000000; font-weight: bold;">?&gt;</span>
     &lt;/li&gt;
     <span style="color: #000000; font-weight: bold;">&lt;?php</span> wp_list_pages<span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'title_li='</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span> <span style="color: #000000; font-weight: bold;">?&gt;</span>
    &lt;/ul&gt;
&lt;/li&gt;&lt;/ul&gt;</pre></div></div>

<h3>Statischen Seiten:  <strong><a name="deine" class="invisible"></a>Reihenfolge &auml;ndern</strong>.</h3>
<p>Oft erstellt man statische Seiten und erkennt, dass man die Reihelfolge in der sie erscheinen nicht mag. Vor allem dann , wenn man eine horizontale Liste daraus gemacht hat. WP bietet Dir die  Möglichkeit  &#8220;Deine Reihenfolge&#8221; im  <a href="#pages" title="Reihenfolge im Admincenter &auml;ndern">Admincenter </a> zu erstellen  und <a href="#argumente " title="Template Tags Argumente">Template Tags Argumente</a>, um die statischen Seiten dann genauso anzuzeigen.</p>
<ol>
<li>1. Neue Seite erstellen:<a name="pages" class="incisible"></a><br />Admincenter==> Schreiben==> Seite schreiben==> <small>unterhalb des Texteingabefeldes: </small>Seiteneinstellungen==>Reihenfolge: Hier die Nummer eintragen!</li>
<li>2. Bereits veröffentlichte Seiten neu ordnen:<br />
Admincenter==> Verwalten==>Seiten==> Bearbeiten==> <small>unterhalb des Texteingabefeldes: </small>Seiteneinstellungen==>Reihenfolge: Hier die Nummer eintragen!==>hinauf scrollen und &#8220;Seite bearbeiten&#8221; anklicken.</li>
</ol>
<h3>Dies ist jetzt <strong>Deine Reihenfolge</strong> und diese magst Du ja auch angezeigt bekommen.</h3>
<p>Statische Seiten:<a name="argumente" class="invisible"></a><strong>Deine Reihenfolge anzeigen</strong>:</p>

<div class="wp_syntax"><div class="code"><pre class="php" style="font-family:monospace;">&lt;ul&gt;&lt;li&gt;
  &lt;ul&gt;
  <span style="color: #000000; font-weight: bold;">&lt;?php</span> wp_list_pages<span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'sort_column=menu_order'</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span> <span style="color: #000000; font-weight: bold;">?&gt;</span>
  &lt;/ul&gt;
&lt;/li&gt;&lt;/ul&gt;</pre></div></div>

<h3>Kombination von: <strong>Deine Reihenfolge und automatisch erstellte überschrift</strong> &#8220;Seiten&#8221;:</h3>

<div class="wp_syntax"><div class="code"><pre class="php" style="font-family:monospace;">&lt;ul&gt;&lt;li&gt;
  &lt;ul&gt;
  <span style="color: #000000; font-weight: bold;">&lt;?php</span> wp_list_pages<span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'sort_column=menu_order&amp;title_li=&lt;h3&gt;'</span> <span style="color: #339933;">.</span> __<span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'Pages'</span><span style="color: #009900;">&#41;</span> <span style="color: #339933;">.</span> <span style="color: #0000ff;">'&lt;/h3&gt;'</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span> <span style="color: #000000; font-weight: bold;">?&gt;</span>
  &lt;/ul&gt;
&lt;/li&gt;&lt;/ul&gt;</pre></div></div>

<h3> Statische Seiten nach deren Erstelldatum anzeigen </h3>

<div class="wp_syntax"><div class="code"><pre class="php" style="font-family:monospace;">&lt;ul&gt;&lt;li&gt;
  &lt;ul&gt;
  <span style="color: #000000; font-weight: bold;">&lt;?php</span> wp_list_pages<span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'sort_column=post_date&amp;show_date=created'</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span> <span style="color: #000000; font-weight: bold;">?&gt;</span>
  &lt;/ul&gt;
&lt;/li&gt;&lt;/ul&gt;</pre></div></div>

<h3>Kombination von: <strong>Erstelldatum und eigene überschrift</strong>:</h3>

<div class="wp_syntax"><div class="code"><pre class="php" style="font-family:monospace;">&lt;ul&gt; &lt;li&gt;
  &lt;ul&gt;
  &lt;li&gt;&lt;h3&gt;Deine eigene überschrift&lt;/h3&gt;&lt;/li&gt;
  <span style="color: #000000; font-weight: bold;">&lt;?php</span> wp_list_pages<span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'sort_column=post_date&amp;show_date=created&amp;title_li='</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span> <span style="color: #000000; font-weight: bold;">?&gt;</span>
  &lt;/u&gt;
&lt;/li&gt; &lt;/ul&gt;</pre></div></div>

<h3>Du magst <strong>zwei statische Seiten ganz woanders als die anderen</strong>  anzeigen -also zwei von der normalen Anzeige ausschlie&#223;en (exclude auf English):</h3>
<p>Dazu benötigst Du die <strong>ID &#8211; Identifikationsnummer  &#8211; dieser beiden Seiten</strong>. Diese findest Du:</p>
<p>Admincenter==>Verwalten==>Seiten==>Seiten Verwaltung==>mit der Maus über den Titel fahren und in der Statuszeile des Browsers die ID auslesen.<br />
In meinem Beispiel mag ich die Seiten mit der ID 4 und 5 woanders anzeigen:</p>

<div class="wp_syntax"><div class="code"><pre class="php" style="font-family:monospace;">&lt;ul&gt;&lt;li&gt;
  &lt;ul&gt;
  <span style="color: #000000; font-weight: bold;">&lt;?php</span> wp_list_pages<span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'exclude=4,5'</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span> <span style="color: #000000; font-weight: bold;">?&gt;</span>
  &lt;/ul&gt;
&lt;/li&gt;&lt;/ul&gt;</pre></div></div>

<h3>Kombination: <strong>Seiten mit der ID 4 und 5 ausschlie&#223;en und <a href="#deine" title="Deine Reihenfolge erstellen">Deine Reihenfolge</a> und eigene überschrift:</strong> Schlie&#223;t man Seiten aus, die auch Unterseiten haben, dann sind auch die Unterseiten ausgeschlossen!</h3>

<div class="wp_syntax"><div class="code"><pre class="php" style="font-family:monospace;">&lt;ul&gt; &lt;li&gt;
  &lt;ul&gt;
  &lt;li&gt;&lt;h3&gt;Deine eigene überschrift&lt;/h3&gt;&lt;/li&gt;
  <span style="color: #000000; font-weight: bold;">&lt;?php</span> wp_list_pages<span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'exclude=4,5&amp;sort_column=menu_order&amp;title_li='</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span> <span style="color: #000000; font-weight: bold;">?&gt;</span>
  &lt;/u&gt;
&lt;/li&gt; &lt;/ul&gt;</pre></div></div>

<h3>Seiten anhand ihrer ID einschlie&#223;en. Eigene Ordnung und keine überschrift</h3>
<p>Mag man nur bestimmte Seiten angezeigt haben, dann kann man seit WP 2.3.1 include nutzen. Dies zeigt aber keine Unterseiten an, wenn eine Seite solche hätte!</p>

<div class="wp_syntax"><div class="code"><pre class="php" style="font-family:monospace;">&lt;ul&gt; &lt;li&gt;
  &lt;ul&gt;
  &lt;li&gt;&lt;h3&gt;Deine eigene überschrift&lt;/h3&gt;&lt;/li&gt;
  <span style="color: #000000; font-weight: bold;">&lt;?php</span> wp_list_pages<span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'include=4,5&amp;sort_column=menu_order&amp;title_li='</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span> <span style="color: #000000; font-weight: bold;">?&gt;</span>
  &lt;/u&gt;
&lt;/li&gt; &lt;/ul&gt;</pre></div></div>

<p>Die offiziellen Angaben dieser Template Tags Spielereien findest Du <a href="http://codex.wordpress.org/Template_Tags/wp_list_pages" title="Externer Link:wordpress codex">im engl. Codex </a>.</p>
<h3>Artikelhistorie</h3>
<p>Erstveröffentlichung:August 30, 2005 @ 13:32<br />
Update: Dezember 2007<br />
Update: 30.03.08</p>
<div class="sign">.. wenn Dir dies half &#8211; freue ich mich über ein Bookmark bei einem Social Dienst <img src='http://www.texto.de/wp-includes/images/smilies/icon_wink.gif' alt=';-)' class='wp-smiley' /> <br />..bei weiteren Fragen frage ruhig und viel Spa&#223; damit.</div>
<hr /><small>Copyright &copy; 2011<br /> This feed is for personal, non-commercial use only. <br /> The use of this feed on other websites breaches copyright. If this content is not in your news reader, it makes the page you are viewing an infringement of the copyright. Original article:  <a href="http://www.texto.de/wp_list_pages-spielereien-41/" >texto.de</a> (Digital Fingerprint:  textoakamts[texto.de])</small><hr />]]></content:encoded>
			<wfw:commentRss>http://www.texto.de/wp_list_pages-spielereien-41/feed/</wfw:commentRss>
		<slash:comments>62</slash:comments>
		</item>
		<item>
		<title>2 Quick Tipps: Navigation der statischen Seiten aufteilen</title>
		<link>http://www.texto.de/navigation-der-statischen-seiten-aufteilen-379/</link>
		<comments>http://www.texto.de/navigation-der-statischen-seiten-aufteilen-379/#comments</comments>
		<pubDate>Sat, 16 Feb 2008 11:01:37 +0000</pubDate>
		<dc:creator>texto</dc:creator>
				<category><![CDATA[Tipps und Tricks]]></category>
		<category><![CDATA[navigation]]></category>
		<category><![CDATA[sidebar]]></category>

		<guid isPermaLink="false">http://www.texto.de/texto/2-quick-tipps-navigation-der-statischen-seiten-aufteilen/</guid>
		<description><![CDATA[Mag man die Navigation der statischen Seiten aufteilen kann man nicht auf vorgegebene Template Tags zurückgreifen. Oben die Hauptseiten, beim Klick auf eine Hauptseite die Unterseiten anzeigen. ]]></description>
			<content:encoded><![CDATA[<p><span class="caplize">S</span>o hie und da mag man die Anzeige der statischen Seiten aufteilen. Oben die &#8220;Parent&#8221; Seiten, in einer Sidebar die &#8220;Kinder&#8221; Seiten auch Subpages genannt.   Hier einfach die &#8220;Codeschnippsel&#8221; wie ich das nenne, um dies zu bewerkstelligen:</p>
<h3>Subpages nur anzeigen, wenn auch welche da sind.</h3>

<div class="wp_syntax"><div class="code"><pre class="php" style="font-family:monospace;"><span style="color: #000000; font-weight: bold;">&lt;?php</span> <span style="color: #b1b100;">if</span><span style="color: #009900;">&#40;</span>wp_list_pages<span style="color: #009900;">&#40;</span><span style="color: #0000ff;">&quot;child_of=&quot;</span><span style="color: #339933;">.</span><span style="color: #000088;">$post</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">ID</span><span style="color: #339933;">.</span><span style="color: #0000ff;">&quot;&amp;echo=0&quot;</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span> <span style="color: #000000; font-weight: bold;">?&gt;</span>
 &lt;ul&gt;
 <span style="color: #000000; font-weight: bold;">&lt;?php</span> wp_list_pages<span style="color: #009900;">&#40;</span><span style="color: #0000ff;">&quot;title_li=&amp;child_of=&quot;</span><span style="color: #339933;">.</span><span style="color: #000088;">$post</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">ID</span><span style="color: #339933;">.</span><span style="color: #0000ff;">&quot;&amp;sort_column=menu_order&amp;show_date=modified&amp;date_format=<span style="color: #006699; font-weight: bold;">$date_format</span>&quot;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span><span style="color: #000000; font-weight: bold;">?&gt;</span> 
 &lt;/ul&gt;
<span style="color: #000000; font-weight: bold;">&lt;?php</span> <span style="color: #009900;">&#125;</span> <span style="color: #000000; font-weight: bold;">?&gt;</span></pre></div></div>

<p><span id="more-379"></span></p>
<h3>Subpages anzeigen, auch wenn man auf eine Subpage geklickt hat</h3>

<div class="wp_syntax"><div class="code"><pre class="php" style="font-family:monospace;"><span style="color: #000000; font-weight: bold;">&lt;?php</span>
<span style="color: #b1b100;">if</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$post</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">post_parent</span><span style="color: #009900;">&#41;</span>
<span style="color: #000088;">$children</span> <span style="color: #339933;">=</span> wp_list_pages<span style="color: #009900;">&#40;</span><span style="color: #0000ff;">&quot;title_li=&amp;child_of=&quot;</span><span style="color: #339933;">.</span><span style="color: #000088;">$post</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">post_parent</span><span style="color: #339933;">.</span><span style="color: #0000ff;">&quot;&amp;echo=0&quot;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span> <span style="color: #b1b100;">else</span>
<span style="color: #000088;">$children</span> <span style="color: #339933;">=</span> wp_list_pages<span style="color: #009900;">&#40;</span><span style="color: #0000ff;">&quot;title_li=&amp;child_of=&quot;</span><span style="color: #339933;">.</span><span style="color: #000088;">$post</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">ID</span><span style="color: #339933;">.</span><span style="color: #0000ff;">&quot;&amp;echo=0&quot;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
<span style="color: #b1b100;">if</span> <span style="color: #009900;">&#40;</span><span style="color: #000088;">$children</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span> <span style="color: #000000; font-weight: bold;">?&gt;</span>
&lt;ul&gt;
<span style="color: #000000; font-weight: bold;">&lt;?php</span> <span style="color: #b1b100;">echo</span> <span style="color: #000088;">$children</span><span style="color: #339933;">;</span> <span style="color: #000000; font-weight: bold;">?&gt;</span>
&lt;/ul&gt;
<span style="color: #000000; font-weight: bold;">&lt;?php</span> <span style="color: #009900;">&#125;</span> <span style="color: #000000; font-weight: bold;">?&gt;</span></pre></div></div>

<h3>Widgets in der Sidebar</h3>
<p>Wer Widgets in der Sidebar nutzt muss dafür ein Textwidget nutzen und braucht ein Plugin, das das <a href="http://bluesome.net/post/2005/08/18/50/" title="PHP Exec">Ausführen von PHP</a> erlaubt. Aber Achtung diese Plugins stellen für den unbedarften Nutzer eine Gefahr dar! </p>
<h3>Wie merke ich mir diese Quick Tipps für die Navigation</h3>
<p>Bookmarken bei einem der Social Dienste hilft da ungemein.</p>
<div class="sign">&#8230;&#8230;&#8230; und das Weitersagen ist ausdrücklichst erlaubt;)</div>
<hr /><small>Copyright &copy; 2011<br /> This feed is for personal, non-commercial use only. <br /> The use of this feed on other websites breaches copyright. If this content is not in your news reader, it makes the page you are viewing an infringement of the copyright. Original article:  <a href="http://www.texto.de/navigation-der-statischen-seiten-aufteilen-379/" >texto.de</a> (Digital Fingerprint:  textoakamts[texto.de])</small><hr />]]></content:encoded>
			<wfw:commentRss>http://www.texto.de/navigation-der-statischen-seiten-aufteilen-379/feed/</wfw:commentRss>
		<slash:comments>21</slash:comments>
		</item>
		<item>
		<title>verschiedene Links je Kategorie die Sidebar in WP</title>
		<link>http://www.texto.de/verschiedene-links-je-kategorie-die-sidebar-in-wp-127/</link>
		<comments>http://www.texto.de/verschiedene-links-je-kategorie-die-sidebar-in-wp-127/#comments</comments>
		<pubDate>Fri, 07 Dec 2007 07:50:45 +0000</pubDate>
		<dc:creator>texto</dc:creator>
				<category><![CDATA[WordPress Theme]]></category>
		<category><![CDATA[navigation]]></category>
		<category><![CDATA[sidebar]]></category>
		<category><![CDATA[template-tag]]></category>

		<guid isPermaLink="false">http://www.texto.de/texto/verschiedene-links-je-kategorie-die-sidebar-in-wp/</guid>
		<description><![CDATA[Die Sidebar in WP kann sehr individuell gestaltet werden. Template Tags zb wp_list_bookmarks   und die if Abfrage via PHP, Linkkategorien, und die Kategorien liefern dazu das Werkzeug.]]></description>
			<content:encoded><![CDATA[<p><span class="caplize">I</span>ch wollte bei einem meiner Blogs, dass beim Aufruf einer Kategorie jeweils andere Links angezeigt werden. Ebenso soll bei gewissen statischen Seiten ganz eigene Links in der Sidebar erscheinen, und sogar bei einzelnen Artikel kann man so völlig unterschiedliche Link-Hinweise geben.</p>
<p>Erstens, weil ich elendslange Linklisten nicht mag, zweitens, weil ich die themenrelevanten Links bei der jeweiligen Kategorie,Seite, Artikel  hervorheben mag und Drittens, weil ich einfach wissen wollte wie dies geht.</p>
<div class="eyecatch">
<p>Im Dezember 2007 wurde dieser <strong>Artikel erneuert</strong>, weil get links nicht mehr verwendet werden sollte und ich nun all diese Neuerungen mit eingebaut habe. </p>
<p><strong>&raquo;&raquo;</strong> War der Artikel für Dich hilfreich freue ich mich über einen Link oder einen Bookmark bei Mr.Wong, Yigg.de usw&#8230; <img src='http://www.texto.de/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> </p>
</div>
<p><strong> Widgets</strong> verwenden und individuelle Linkkategorien ist möglich. Wie erkläre ich ganz am Ende des <span id="more-127"></span>Artikels. </p>
<p>Die  Blog <strong>Kategorien</strong> hei&#223;en:</p>
<ol>
<li>Bloggen</li>
<li>Privat</li>
<li>Galerie</li>
</ol>
<p>bei der statischen Seite *About* sollen eigene Links erscheinen und beim Artikel mit dem Title *danke* ebenso. <img src='http://www.texto.de/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> </p>
<h3>Die Linkkategorien erstellen, benennen und die IDs merken</h3>
<p>Im Admincenter==>Linka ==><strong>Link Kategorien</strong></p>
<p>Dort findet man bereits Kategorien, die so hei&#223;en wie die Kategorien des Blogs. </p>
<p>Man kann dort auch neue Linkkategorien erstellen. </p>
<p>Für die statische Seite *About* nannte ich die Linkkategorie ebenfalls *About*, für den einzelnen Artikel, erstellte ich die Linkkategorie *Danke*.</p>
<p><span class="left">Es ist für den Durch und überblick sehr sinnvoll Linkkategorien absolut unverwechselbar und wiedererkennbar zu benennen.  Nenn ich die Linkkategorie für die Seite *About* Freunde, wei&#223; ich nach einem Monat nicht mehr wo diese Kategorie denn erscheint. </span></p>
<p>Da man ja jeder Linkkategorie eine eigene überschrift geben kann, ist dies so viel besser. </p>
<h3>den Namen der Linkkategorie und die dazugehörige ID notieren</h3>
<ol>
<li>Bloggen == Linkkategorie ID 3</li>
<li>Privat == Linkkategorie ID 4</li>
<li>Galerie == Linkkategorie ID 5</li>
<li>About==>Linkategorie= ID 9</li>
<li>Danke==>Linkkategorie =ID 10</li>
</ol>
<p>&raquo; Benutzer von Widget bitte nach unten scrollen!</p>
<p>Jetzt öffnete ich die sidebar.php mit einem Editor meiner Wahl, richtete mir die <a href="http://www.texto.de/texto/verschachtelte-listen-und-die-sidebar-in-wp/" title="Verschachtelte Liste in der Sidebar">verschachtelte Liste</a> so her, damit sie immer richtiges  <abbr title=" Hyper Text Markup Language">html</abbr> anzeigt, egal was ich damit mache und au&#223;erdem löschte ich  den template tag</p>

<div class="wp_syntax"><div class="code"><pre class="php" style="font-family:monospace;"><span style="color: #000000; font-weight: bold;">&lt;?php</span> wp_list_bookmarks<span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span> <span style="color: #000000; font-weight: bold;">?&gt;</span></pre></div></div>

<h3>Wenn &#8230;dann &#8230; </h3>

<div class="wp_syntax"><div class="code"><pre class="php" style="font-family:monospace;"><span style="color: #000000; font-weight: bold;">&lt;?php</span> <span style="color: #666666; font-style: italic;">/* wenn das  bloggen ist */</span> <span style="color: #b1b100;">if</span> <span style="color: #009900;">&#40;</span> is_category<span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'bloggen'</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span> <span style="color: #000000; font-weight: bold;">?&gt;</span>
&lt;ul&gt;&lt;li&gt;&lt;h2&gt;zum Thema&lt;/h2&gt;&lt;/li&gt;
<span style="color: #000000; font-weight: bold;">&lt;?php</span> wp_list_bookmarks<span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'category=3&amp;categorize=0&amp;show_description=&amp;title_before=&amp;title_after&amp;title_li=&amp;category_before=&amp;category_after='</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span> <span style="color: #000000; font-weight: bold;">?&gt;</span>
&nbsp;
&lt;/ul&gt;
<span style="color: #000000; font-weight: bold;">&lt;?php</span> <span style="color: #009900;">&#125;</span> <span style="color: #000000; font-weight: bold;">?&gt;</span></pre></div></div>

<p>Einzeln erkl&auml;rt:</p>

<div class="wp_syntax"><div class="code"><pre class="php" style="font-family:monospace;"><span style="color: #000000; font-weight: bold;">&lt;?php</span></pre></div></div>

<p>Damit wei&#223; PHP: ich muss was tun.</p>

<div class="wp_syntax"><div class="code"><pre class="php" style="font-family:monospace;"><span style="color: #666666; font-style: italic;">/*wenn das bloggen ist*/</span></pre></div></div>

<p>Dies ist ein Kommentar für PHP. Solche Kommentare sind ebenfalls für den überblick absolut nötig. Monate sp&auml;ter, wei&#223; man sonst garantiert nicht mehr was man denn wollte, wenn der Kommentar fehlt.</p>

<div class="wp_syntax"><div class="code"><pre class="php" style="font-family:monospace;"><span style="color: #b1b100;">if</span><span style="color: #009900;">&#40;</span>is_category<span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'bloggen'</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span></pre></div></div>

<p>Dies hei&#223;t ausgesprochen:<br />
Wenn ist Kategorie Bloggen. [;)]</p>

<div class="wp_syntax"><div class="code"><pre class="php" style="font-family:monospace;"><span style="color: #009900;">&#123;</span> <span style="color: #000000; font-weight: bold;">?&gt;</span></pre></div></div>

<p>PHP mach mal kurz Pause.;)</p>

<div class="wp_syntax"><div class="code"><pre class="php" style="font-family:monospace;">&lt;ul&gt;&lt;li&gt;&lt;h2&gt;zum Thema&lt;/h2&gt;&lt;/li&gt;
<span style="color: #000000; font-weight: bold;">&lt;?php</span> wp_list_bookmarks<span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'category=3&amp;categorize=0&amp;show_description=&amp;title_before=&amp;title_after&amp;title_li=&amp;category_before=&amp;category_after='</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span> <span style="color: #000000; font-weight: bold;">?&gt;</span>
&lt;/ul&gt;</pre></div></div>

<p>zeige Linkkategorie mit der ID3,  zeige die Links einfach zwischen li und /li ohne den Namen der Linkkategorie.</p>

<div class="wp_syntax"><div class="code"><pre class="php" style="font-family:monospace;"><span style="color: #000000; font-weight: bold;">&lt;?php</span> <span style="color: #009900;">&#125;</span> <span style="color: #000000; font-weight: bold;">?&gt;</span></pre></div></div>

<p>PHP Deine Arbeit ist getan.</p>
<p>Diese if-Anweisung wiederholte ich für jede einzelne meiner Blog Kategorien.</p>

<div class="wp_syntax"><div class="code"><pre class="php" style="font-family:monospace;"><span style="color: #000000; font-weight: bold;">&lt;?php</span> <span style="color: #666666; font-style: italic;">/* wenn das  privat ist */</span> <span style="color: #b1b100;">if</span> <span style="color: #009900;">&#40;</span> is_category<span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'privat'</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span> <span style="color: #000000; font-weight: bold;">?&gt;</span>
&lt;ul&gt;&lt;li&gt;&lt;h2&gt;zum Thema&lt;/h2&gt;&lt;/li&gt;
<span style="color: #000000; font-weight: bold;">&lt;?php</span> wp_list_bookmarks<span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'category=4&amp;categorize=0&amp;show_description=&amp;title_before=&amp;title_after&amp;title_li=&amp;category_before=&amp;category_after='</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span> <span style="color: #000000; font-weight: bold;">?&gt;</span>&lt;/ul&gt;
<span style="color: #000000; font-weight: bold;">&lt;?php</span> <span style="color: #009900;">&#125;</span> <span style="color: #000000; font-weight: bold;">?&gt;</span></pre></div></div>

<p>und</p>

<div class="wp_syntax"><div class="code"><pre class="php" style="font-family:monospace;"><span style="color: #000000; font-weight: bold;">&lt;?php</span> <span style="color: #666666; font-style: italic;">/* wenn das  galerie ist */</span> <span style="color: #b1b100;">if</span> <span style="color: #009900;">&#40;</span> is_category<span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'galerie'</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span> <span style="color: #000000; font-weight: bold;">?&gt;</span>
&lt;ul&gt;&lt;li&gt;&lt;h2&gt;zum Thema&lt;/h2&gt;&lt;/li&gt;
<span style="color: #000000; font-weight: bold;">&lt;?php</span> wp_list_bookmarks<span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'category=5&amp;categorize=0&amp;show_description=&amp;title_before=&amp;title_after&amp;title_li=&amp;category_before=&amp;category_after='</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span> <span style="color: #000000; font-weight: bold;">?&gt;</span>
&lt;/ul&gt;
<span style="color: #000000; font-weight: bold;">&lt;?php</span> <span style="color: #009900;">&#125;</span> <span style="color: #000000; font-weight: bold;">?&gt;</span></pre></div></div>

<p>Für die statische Seite about sieht dies so aus.</p>

<div class="wp_syntax"><div class="code"><pre class="php" style="font-family:monospace;"><span style="color: #000000; font-weight: bold;">&lt;?php</span> <span style="color: #666666; font-style: italic;">/* wenn page about */</span> <span style="color: #b1b100;">if</span> <span style="color: #009900;">&#40;</span> is_page<span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'about'</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span> <span style="color: #000000; font-weight: bold;">?&gt;</span>
&lt;ul&gt;&lt;li&gt;&lt;h2&gt;zum Thema&lt;/h2&gt;&lt;/li&gt;
<span style="color: #000000; font-weight: bold;">&lt;?php</span> wp_list_bookmarks<span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'category=9&amp;categorize=0&amp;show_description=&amp;title_before=&amp;title_after&amp;title_li=&amp;category_before=&amp;category_after='</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span> <span style="color: #000000; font-weight: bold;">?&gt;</span>
&lt;/ul&gt;
<span style="color: #000000; font-weight: bold;">&lt;?php</span> <span style="color: #009900;">&#125;</span> <span style="color: #000000; font-weight: bold;">?&gt;</span></pre></div></div>

<p>Für den Artikel mit dem Titel Danke so:</p>

<div class="wp_syntax"><div class="code"><pre class="php" style="font-family:monospace;"><span style="color: #000000; font-weight: bold;">&lt;?php</span> <span style="color: #666666; font-style: italic;">/* wenn single danke */</span> <span style="color: #b1b100;">if</span> <span style="color: #009900;">&#40;</span> is_single<span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'danke'</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span> <span style="color: #000000; font-weight: bold;">?&gt;</span>
&lt;ul&gt;&lt;li&gt;&lt;h2&gt;zum Thema&lt;/h2&gt;&lt;/li&gt;
<span style="color: #000000; font-weight: bold;">&lt;?php</span> wp_list_bookmarks<span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'category=9&amp;categorize=0&amp;show_description=&amp;title_before=&amp;title_after&amp;title_li=&amp;category_before=&amp;category_after='</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span> <span style="color: #000000; font-weight: bold;">?&gt;</span>
&lt;/ul&gt;
<span style="color: #000000; font-weight: bold;">&lt;?php</span> <span style="color: #009900;">&#125;</span> <span style="color: #000000; font-weight: bold;">?&gt;</span></pre></div></div>

<p><strong>Achtung:</strong> Die Codeteile bitte nicht einfach kopieren, sondern selber tippen. Beim Kopieren entstehen manchmal Fehler.</p>
<p>Fertig!</p>
<h3>Widgets verwenden und dennoch ganz spezielle Links je Sidebar ist auch ohne Plugin möglich.</h3>
<p>Allerdings erscheinen die Linkkategorien dann am Ende der Sidebar. Nicht einfach irgendwo mittendrin.</p>
<p><strong>Vorbereitung: </strong>Wenn die Blogroll mit Widgets angezeigt wurde, dies aus den Widgets entfernen.</p>
<p>Im default Theme /Kubrick von WordPress steht ganz unten in der Sidebar.php folgendes</p>

<div class="wp_syntax"><div class="code"><pre class="php" style="font-family:monospace;"><span style="color: #000000; font-weight: bold;">&lt;?php</span> <span style="color: #b1b100;">endif</span><span style="color: #339933;">;</span> <span style="color: #000000; font-weight: bold;">?&gt;</span>
		&lt;/ul&gt;
	&lt;/div&gt;</pre></div></div>

<p>das endif beendet die Widgetfunktionstüchtigkeit. Das /ul beendet die verschachtelte Liste.</p>
<p>Das /div beendet die &#8220;Schachtel&#8221; Sidebar. <img src='http://www.texto.de/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> </p>
<p>Wenn Du jetzt nach dem letzten /ul und vor dem /div obige Codebeispiele einträgst, kannst Du Widgets UND individuelle Linkkategorien je Kategorie, je statische Seite, je Artikel verwenden.</p>
<p>Sollte Deine Sidebar ein wenig anders aussehen, dann auf alle Fälle nach dem *endif*. </p>
<p>Alles vor dem endif wird bei der Verwendung von Widgets nicht angezeigt!</p>
<p>So einfach ist es die Sidebar des Blogs aufzur&auml;umen. <img src='http://www.texto.de/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' />  Gerne beantworte ich Fragen zum Thema.</p>
<p><strong>&raquo;&raquo;</strong> War der Artikel für Dich hilfreich freue ich mich über einen Link oder einen Bookmark bei Mr.Wong, Yigg.de usw&#8230; <img src='http://www.texto.de/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> </p>
<h3>Artikelhistorie</h3>
<p>Erstveröffentlichung am 23. Dezember 2005</p>
<p>den Originaltext gelöscht der 1. Veröffentlichung, weil er absolut nicht mehr verwendet werden sollte.</p>
<div class="sign"> &#8230;  if is kaffehaus get texto kaffee, steht jetzt am Programm .   <img src="/wp-images/smilies/icon_confused.gif" alt="Kaffeetrinkender Smilie" width="27" height="21" /></div>
<hr /><small>Copyright &copy; 2011<br /> This feed is for personal, non-commercial use only. <br /> The use of this feed on other websites breaches copyright. If this content is not in your news reader, it makes the page you are viewing an infringement of the copyright. Original article:  <a href="http://www.texto.de/verschiedene-links-je-kategorie-die-sidebar-in-wp-127/" >texto.de</a> (Digital Fingerprint:  textoakamts[texto.de])</small><hr />]]></content:encoded>
			<wfw:commentRss>http://www.texto.de/verschiedene-links-je-kategorie-die-sidebar-in-wp-127/feed/</wfw:commentRss>
		<slash:comments>20</slash:comments>
		</item>
		<item>
		<title>My Link Order in Deutsch &#8211; Links und  Linkkategorien in der Sidebar ordnen</title>
		<link>http://www.texto.de/my-link-order-in-deutsch-links-und-linkkategorien-in-der-sidebar-ordnen-340/</link>
		<comments>http://www.texto.de/my-link-order-in-deutsch-links-und-linkkategorien-in-der-sidebar-ordnen-340/#comments</comments>
		<pubDate>Fri, 15 Jun 2007 19:37:43 +0000</pubDate>
		<dc:creator>texto</dc:creator>
				<category><![CDATA[Tipps und Tricks]]></category>
		<category><![CDATA[navigation]]></category>
		<category><![CDATA[sidebar]]></category>
		<category><![CDATA[wordpress-plugins]]></category>

		<guid isPermaLink="false">http://www.texto.de/texto/my-link-order-in-deutsch-links-und-linkkategorien-in-der-sidebar-ordnen/</guid>
		<description><![CDATA[Du magst die Linkkategorien ganz individuell ordnen. Du magst die Links in den einzelnen Linkkategorien ganz individuell ordnen. Das WordPress Plugin My Link Order ermöglicht dies. Hier die deutsche übersetzung.]]></description>
			<content:encoded><![CDATA[<p><span class="caplize">D</span>ie Links in der Sidebar individuell zu ordnen war vor diesem WordPress Plugin eine Odysee. Den Codex rauf und runter gelesen. Verzweifelt an den Template Tags,<a href="http://codex.wordpress.org/Template_Tags#Link_tags" title="Externer Link:Template tags für Links"> get_links</a> gibt das einfach nicht her. Du kannst eventuell genug PHP, um Dir selber was zu coden, doch dies macht die Sache nicht einfacher.  Oder Du magst <strong>WordPress als CMS</strong> einsetzen und die Leute für die Du dies machst, möchten alles &#8211; aber niemals so ein WordPress template auch nur einmal aufmachen.</p>
<p>&gt;&gt; neue Version übersetzt:<strong>MyLinkorder für WordPress 2.1.3 und alle höheren WordPress Versionen ganz am Ende des Artikels!</strong></p>
<p>My Link Order, ein WordPress Plugin von<a href="http://geekyweekly.com/" title="Geek Weekly"> Geek</a> (er nennt sich selber so <img src='http://www.texto.de/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' />  ) schafft da Abhilfe<span id="more-340"></span>.</p>
<p><strong>Achtung</strong>: dieses WordPress Plugin muss bei einem Update von WordPress eventuell erneuert werden. </p>
<ol>
<li><a href="http://www.texto.de/count/downloadcounter.php?stwc_cz=1&amp;stwc_id=10" title="MyLinkorder 2.1.3">My Link Order</a> </li>
<li>Entpacken.</li>
<li>Im Ordner mylinkorder-2-0-5-de ist der Ordner mylinkorder. Nur diesen hochladen nach wp-content/plugins/mylinkorder.</li>
<li>Admincenter==>Plugins==>aktivieren.</li>
<li>Admincenter==>Links==>Links ordnen.</li>
<li>Dort den Anweisungen folgen.</li>
</ol>
<p>Zwei gro&#223;e Screenshots dieses Plugins: <a href="http://www.texto.de/wp-images/1206/my-link-order.gif" title="Sctreenshot des Plugins My Link Order ">Kategorien</a>  <a href="http://www.texto.de/wp-images/1206/my-link-order-2.gif" title="Sctreenshot 2 des Plugins My Link Order ">Links</a> .</p>
<h3>Template Tag damit dieses WP Plugin arbeiten kann</h3>
<p>Es muss dort wo die Link Kategorien erscheinen sollen &#8211;zu 97% in der Sidebar.php &#8212;  stehen:</p>

<div class="wp_syntax"><div class="code"><pre class="php" style="font-family:monospace;"><span style="color: #000000; font-weight: bold;">&lt;?php</span> get_links_list<span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span> <span style="color: #000000; font-weight: bold;">?&gt;</span></pre></div></div>

<p>Dieser template tag kann aber nur per Name oder per ID ordnen. </p>
<h3>MyLinkorder für WordPress 2.1 und höher</h3>
<ol>
<li><a href="http://www.texto.de/count/downloadcounter.php?stwc_cz=1&amp;stwc_id=11" title="MyLinkorder 2.1.3">MyLinkorder</a>2.1.3</li>
<li>Entpacken.</li>
<li>Die Datei:mylinkorder.php in das Pluginverzeichnis wp-content/plugins/.</li>
<li>Aktivieren.</li>
<li>Adminenter==>Blogroll==>MyLinkorder</li>
</ol>
<h3>Template vorbereiten.</h3>

<div class="wp_syntax"><div class="code"><pre class="php" style="font-family:monospace;"><span style="color: #000000; font-weight: bold;">&lt;?php</span> wp_list_bookmarks<span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'orderby=order&amp;category_orderby=order'</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span><span style="color: #000000; font-weight: bold;">?&gt;</span></pre></div></div>

<p>Diesen template Tag musst Du verwenden,weitere Parameter kannst Du anfügen.</p>
<p>Ich habe dieses WordPress Plugin &#8220;My Link Order&#8221; nur übersetzt. Sollte etwas nicht funktionieren, bitte bei My Link Order nachfragen. Es ist mir zeitlich einfach unmöglich fremde Plugins zu supporten. Ich ersuche Euch um Verst&auml;ndnis dafür.</p>
<h3>Artikelversionen:</h3>
<p>Erstmals veröffentlicht am 15.12.06 gegen 13.01.</p>
<p>Update am 11.03.07 neue Version des Plugins übersetzt.<br />
Update am 15. 06.07 neue  Version übersetzt.</p>
<div class="sign"> Ordnen, schlichten und dies so einfach,CMS WordPress her I come <img src='http://www.texto.de/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' />  </div>
<hr /><small>Copyright &copy; 2011<br /> This feed is for personal, non-commercial use only. <br /> The use of this feed on other websites breaches copyright. If this content is not in your news reader, it makes the page you are viewing an infringement of the copyright. Original article:  <a href="http://www.texto.de/my-link-order-in-deutsch-links-und-linkkategorien-in-der-sidebar-ordnen-340/" >texto.de</a> (Digital Fingerprint:  textoakamts[texto.de])</small><hr />]]></content:encoded>
			<wfw:commentRss>http://www.texto.de/my-link-order-in-deutsch-links-und-linkkategorien-in-der-sidebar-ordnen-340/feed/</wfw:commentRss>
		<slash:comments>13</slash:comments>
		</item>
		<item>
		<title>wp_list_bookmarks &#8211; &gt; 12 Spielereien mit dem neuen template tag in WP 2.1-pimp your sidebar</title>
		<link>http://www.texto.de/wp_list_bookmarks-spielereien-template-tag-wp-21-sidebar-371/</link>
		<comments>http://www.texto.de/wp_list_bookmarks-spielereien-template-tag-wp-21-sidebar-371/#comments</comments>
		<pubDate>Wed, 07 Feb 2007 20:19:20 +0000</pubDate>
		<dc:creator>texto</dc:creator>
				<category><![CDATA[Tipps und Tricks]]></category>
		<category><![CDATA[navigation]]></category>
		<category><![CDATA[sidebar]]></category>
		<category><![CDATA[template]]></category>
		<category><![CDATA[template-tag]]></category>

		<guid isPermaLink="false">http://www.texto.de/texto/wp_list_bookmarks-spielereien-template-tag-wp-21-sidebar/</guid>
		<description><![CDATA[WP 2.1 kombiniert Linkkategorien mit den Kategorien für Artikel. Was kann man mit wp_list_bookmarks alles machen. Worauf muss man bei wp_list_bookmarks achten und wie nutzt man dies für eine individuelle  Art der Linkverwaltung und somit der Sidebar und Navigation.]]></description>
			<content:encoded><![CDATA[<p><span class="caplize">D</span>ie Sidebar individuell zu gestalten liegt vielen am Herzen. WordPress 2.1 bietet dafür einen neuen template tag (<a href="http://codex.wordpress.org/Template_Tags/wp_list_bookmarks" title="Externer Link zum Codex englisch">wp_list_bookmarks</a>) für die Links  und da dieser noch sehr unbekannt ist und au&#223;erdem jede Menge Möglichkeiten bietet &#8211; hier zig Möglichkeiten was man damit alles machen kann.</p>
<p>Es wird ein langer Artikel, weil viel code;) Jede Möglichkeit ist als überschrift gekennzeichnet und ich empfehle Dir lies zuerst die überschriften, dann such Dir das aus, was Du haben magst. Wie immer habe ich keine Ahnung, ob copy and paste bei den Codebeispielen funktioniert. Schlimmstenfalls musst Du abtippen. <img src='http://www.texto.de/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> </p>
<div class="eyecatch">
<p>get_links funktioniert auch bei WP 2.1 doch an alle, die von WP 2.0 irgendwas umgestiegen sind: Die IDs der Kategorien haben sich ge&auml;ndert:</p>
<p>Admincenter==>Verwaltung==>Kategorien==> dort findest du die neuen IDs Deiner alten Linkkategorien!</p>
</div>
<p><span class="firstletter">A</span>u&#223;erdem zeige ich auch immer den erzeugten Quelltext an und bei den ersten Beispielen steht dabei, was für css IDs und classes zur Gestaltung zur Verfügung stehen. Wenn dies sich wiederholt verweise ich auf die Beispiele. </p>
<h3>wp_list_bookmarks</h3>
<p><strong>Nur kurz was alles so kommt: </strong></p>
<p>Alle Linkkategorien anzeigen. Alle Links aus jeder Kategorie anzeigen und die rotieren lassen. (random links). Nur eine bestimmte Anzahl anzeigen lassen, Links nicht mit Text, sondern Bild (Button) anzeigen, Rss Feeds Links, Links aus der Kategorie Y anzeigen lassen. Links mit überschrift, Links ohne überschrift <abbr title="und so weiter "><span class="abbr" title="und so weiter">usw.</span></abbr>..<span id="more-371"></span>.</p>
<h3>0 Was kann wp_list_bookmarks alles-ein bisschen Theorie </h3>

<div class="wp_syntax"><div class="code"><pre class="php" style="font-family:monospace;"><span style="color: #000000; font-weight: bold;">&lt;?php</span> wp_list_bookmarks<span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'argumente'</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span> <span style="color: #000000; font-weight: bold;">?&gt;</span></pre></div></div>

<p>Dies bedeutet: Der template tag wp list bookmarks ist mit vielen Argumenten nutzbar. Die Argumente stehen zwischen Hochkommata und werden mit einem &amp; verbunden/aneinandergereiht.</p>
<p>Wenn was nicht funktioniert war vielleicht blo&#223; die Anordnung der Argumente falsch. <img src='http://www.texto.de/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' />  </p>
<h3>0. a Welche Argumente versteht wp_list_bookmarks aller ?</h3>
<p>Die Argumente, die dieser template tag aller versteht und kann:</p>

<div class="wp_syntax"><div class="code"><pre class="php" style="font-family:monospace;"><span style="color: #000088;">$defaults</span> <span style="color: #339933;">=</span> <span style="color: #990000;">array</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'orderby'</span> <span style="color: #339933;">=&gt;</span> <span style="color: #0000ff;">'name'</span><span style="color: #339933;">,</span> <span style="color: #0000ff;">'order'</span> <span style="color: #339933;">=&gt;</span> <span style="color: #0000ff;">'ASC'</span><span style="color: #339933;">,</span> <span style="color: #0000ff;">'limit'</span> <span style="color: #339933;">=&gt;</span> <span style="color: #339933;">-</span><span style="color: #cc66cc;">1</span><span style="color: #339933;">,</span> <span style="color: #0000ff;">'category'</span> <span style="color: #339933;">=&gt;</span> <span style="color: #0000ff;">''</span><span style="color: #339933;">,</span>
<span style="color: #0000ff;">'category_name'</span> <span style="color: #339933;">=&gt;</span> <span style="color: #0000ff;">''</span><span style="color: #339933;">,</span> <span style="color: #0000ff;">'hide_invisible'</span> <span style="color: #339933;">=&gt;</span> <span style="color: #cc66cc;">1</span><span style="color: #339933;">,</span> <span style="color: #0000ff;">'show_updated'</span> <span style="color: #339933;">=&gt;</span> <span style="color: #cc66cc;">0</span><span style="color: #339933;">,</span> <span style="color: #0000ff;">'echo'</span> <span style="color: #339933;">=&gt;</span> <span style="color: #cc66cc;">1</span><span style="color: #339933;">,</span>
<span style="color: #0000ff;">'categorize'</span> <span style="color: #339933;">=&gt;</span> <span style="color: #cc66cc;">1</span><span style="color: #339933;">,</span> <span style="color: #0000ff;">'title_li'</span> <span style="color: #339933;">=&gt;</span> __<span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'Lesezeichen'</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">,</span> <span style="color: #0000ff;">'title_before'</span> <span style="color: #339933;">=&gt;</span> <span style="color: #0000ff;">'&lt;h2&gt;'</span><span style="color: #339933;">,</span> <span style="color: #0000ff;">'title_after'</span> <span style="color: #339933;">=&gt;</span> <span style="color: #0000ff;">'&lt;/h2&gt;'</span><span style="color: #339933;">,</span>
<span style="color: #0000ff;">'category_orderby'</span> <span style="color: #339933;">=&gt;</span> <span style="color: #0000ff;">'name'</span><span style="color: #339933;">,</span> <span style="color: #0000ff;">'category_order'</span> <span style="color: #339933;">=&gt;</span> <span style="color: #0000ff;">'ASC'</span><span style="color: #339933;">,</span> <span style="color: #0000ff;">'class'</span> <span style="color: #339933;">=&gt;</span> <span style="color: #0000ff;">'linkcat'</span><span style="color: #339933;">,</span>
<span style="color: #0000ff;">'category_before'</span> <span style="color: #339933;">=&gt;</span> <span style="color: #0000ff;">'&lt;li id=&quot;%id&quot; class=&quot;%class&quot;&gt;'</span><span style="color: #339933;">,</span> <span style="color: #0000ff;">'category_after'</span> <span style="color: #339933;">=&gt;</span> <span style="color: #0000ff;">'&lt;/li&gt;'</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span></pre></div></div>

<p>Und jetzt praktische Beispiele mit wp_list_bookmarks. </p>
<h3>1. Drei verschiedene  Links, die in vier Kategorien gespeichert sind -Standardergebnis des wp_list_bookmarks</h3>
<p>Folgendes in das  Template der Sidebar (sidebar.php) schreiben:</p>

<div class="wp_syntax"><div class="code"><pre class="php" style="font-family:monospace;">&lt;ul&gt;&lt;--die ul habe ich dazugeschrieben--&gt;
&nbsp;
<span style="color: #000000; font-weight: bold;">&lt;?php</span> wp_list_bookmarks<span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span> <span style="color: #000000; font-weight: bold;">?&gt;</span>
&nbsp;
&lt;/ul&gt;</pre></div></div>

<p>Dies ergibt dann das:</p>
<dl class="right" style="width:210;">
<dt> wp_list_bookmark Standardergebnis&nbsp;</dt>
<dd><img src="http://www.texto.de/wp-images/0207/blogroll-00.gif" alt=" Kategorientitel und darunter die dazugehörigen Links" width="193" height="270" /></dd>
</dl>
<p>Titel der Kategorie  1<br />
Link 1<br />
Titel der Kategorie  2<br />
Link 2<br />
Titel der Kategorie  3<br />
Link 3<br />
Titel der Kategorie  4<br />
Link 3<br class="clear" /></p>
<h3>1.a Welchen Quelltext (html) erzeugt wp_list_bookmarks in der Standardeinstellung</h3>
<p>Ohne die von mir erg&auml;nzten ul :</p>

<div class="wp_syntax"><div class="code"><pre class="html4strict" style="font-family:monospace;"><span style="color: #009900;">&lt;<span style="color: #000000; font-weight: bold;">li</span> <span style="color: #000066;">id</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;linkcat-6&quot;</span> <span style="color: #000066;">class</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;linkcat&quot;</span>&gt;&lt;<span style="color: #000000; font-weight: bold;">h2</span>&gt;</span>Blogroll<span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><span style="color: #000000; font-weight: bold;">h2</span>&gt;</span>
	<span style="color: #009900;">&lt;<span style="color: #000000; font-weight: bold;">ul</span>&gt;&lt;<span style="color: #000000; font-weight: bold;">li</span>&gt;</span>Matt<span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><span style="color: #000000; font-weight: bold;">li</span>&gt;</span>
	<span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><span style="color: #000000; font-weight: bold;">ul</span>&gt;&lt;<span style="color: #66cc66;">/</span><span style="color: #000000; font-weight: bold;">li</span>&gt;</span>
<span style="color: #009900;">&lt;<span style="color: #000000; font-weight: bold;">li</span> <span style="color: #000066;">id</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;linkcat-9&quot;</span> <span style="color: #000066;">class</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;linkcat&quot;</span>&gt;&lt;<span style="color: #000000; font-weight: bold;">h2</span>&gt;</span>meine Websites<span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><span style="color: #000000; font-weight: bold;">h2</span>&gt;</span>
	<span style="color: #009900;">&lt;<span style="color: #000000; font-weight: bold;">ul</span>&gt;&lt;<span style="color: #000000; font-weight: bold;">li</span>&gt;&lt;<span style="color: #000000; font-weight: bold;">a</span> <span style="color: #000066;">href</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;http://www.texto.de/&quot;</span> <span style="color: #000066;">rel</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;me&quot;</span> <span style="color: #000066;">title</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;code is poetry&quot;</span>&gt;</span>Texto<span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><span style="color: #000000; font-weight: bold;">a</span>&gt;&lt;<span style="color: #66cc66;">/</span><span style="color: #000000; font-weight: bold;">li</span>&gt;</span>
	<span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><span style="color: #000000; font-weight: bold;">ul</span>&gt;&lt;<span style="color: #66cc66;">/</span><span style="color: #000000; font-weight: bold;">li</span>&gt;</span>
<span style="color: #009900;">&lt;<span style="color: #000000; font-weight: bold;">li</span> <span style="color: #000066;">id</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;linkcat-1&quot;</span> <span style="color: #000066;">class</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;linkcat&quot;</span>&gt;&lt;<span style="color: #000000; font-weight: bold;">h2</span>&gt;</span>Nicht kategorisiert<span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><span style="color: #000000; font-weight: bold;">h2</span>&gt;</span>
	<span style="color: #009900;">&lt;<span style="color: #000000; font-weight: bold;">ul</span>&gt;&lt;<span style="color: #000000; font-weight: bold;">li</span>&gt;&lt;<span style="color: #000000; font-weight: bold;">a</span> <span style="color: #000066;">href</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;http://www.webdesign-in.de/&quot;</span> <span style="color: #000066;">rel</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;me&quot;</span> <span style="color: #000066;">title</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;ausprobieren&quot;</span>&gt;</span>ich<span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><span style="color: #000000; font-weight: bold;">a</span>&gt;&lt;<span style="color: #66cc66;">/</span><span style="color: #000000; font-weight: bold;">li</span>&gt;</span>
	<span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><span style="color: #000000; font-weight: bold;">ul</span>&gt;&lt;<span style="color: #66cc66;">/</span><span style="color: #000000; font-weight: bold;">li</span>&gt;</span>
<span style="color: #009900;">&lt;<span style="color: #000000; font-weight: bold;">li</span> <span style="color: #000066;">id</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;linkcat-2&quot;</span> <span style="color: #000066;">class</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;linkcat&quot;</span>&gt;&lt;<span style="color: #000000; font-weight: bold;">h2</span>&gt;</span>Test2<span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><span style="color: #000000; font-weight: bold;">h2</span>&gt;</span>
	<span style="color: #009900;">&lt;<span style="color: #000000; font-weight: bold;">ul</span>&gt;&lt;<span style="color: #000000; font-weight: bold;">li</span>&gt;&lt;<span style="color: #000000; font-weight: bold;">a</span> <span style="color: #000066;">href</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;http://www.webdesign-in.de/&quot;</span> <span style="color: #000066;">rel</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;me&quot;</span> <span style="color: #000066;">title</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;ausprobieren&quot;</span>&gt;</span>ich<span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><span style="color: #000000; font-weight: bold;">a</span>&gt;&lt;<span style="color: #66cc66;">/</span><span style="color: #000000; font-weight: bold;">li</span>&gt;</span>
	<span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><span style="color: #000000; font-weight: bold;">ul</span>&gt;&lt;<span style="color: #66cc66;">/</span><span style="color: #000000; font-weight: bold;">li</span>&gt;</span></pre></div></div>

<ol>
<li>Die css class linkcat zur Gestaltung steht zur Verfügung.
</li>
<li>Die Kategorien sind alphabetisch von A-Z geordnet.
</li>
<li>Die verschachtelte Liste der Sidebar von WordPress wird erzeugt.
</li>
<li>Die Kategorientitel sind in der überschrift h2 verpackt.
</li>
<li>Die IDs der Kategorien wird ebenfalls erzeugt: linkcat-2,linkcat-1 etc. Auch dies kann man zur Gestaltung nutzen, wenn man mag.
</li>
<li>Rel=me oder so gehört zum <a href="http://gmpg.org/xfn/11" title="netzwerke bilden">http://gmpg.org/xfn/11</a> Netzwerk, dort einfach nachlesen wieso warum und so <img src='http://www.texto.de/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> .
</li>
</ol>
<h3>2. Alle Links anzeigen, egal in welcher Kategorie, mit überschrift:Lesezeichen</h3>

<div class="wp_syntax"><div class="code"><pre class="php" style="font-family:monospace;">&lt;ul&gt;&lt;--die ul habe ich dazugeschrieben--&gt;
&nbsp;
<span style="color: #000000; font-weight: bold;">&lt;?php</span> wp_list_bookmarks<span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'categorize=0'</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span> <span style="color: #000000; font-weight: bold;">?&gt;</span>
&nbsp;
&lt;/ul&gt;</pre></div></div>

<dl class="left" style="width:155;">
<dt> Alle Links ohne Kategorie<br />Lesezeichen</dt>
<dd><img src="http://www.texto.de/wp-images/0207/blogroll-01.gif" alt="Alle Links anzeigen, egal in welcher Kategorie, mit überschrift:Lesezeichen" width="149" height="114" /></dd>
</dl>
<p>Lesezeichen<br />
Link 1<br />
Link 2<br />
Link 3<br class="clear" /></p>
<h3>2.a Der dabei erzeugte Quelltext (html) ist:</h3>

<div class="wp_syntax"><div class="code"><pre class="html4strict" style="font-family:monospace;"><span style="color: #009900;">&lt;<span style="color: #000000; font-weight: bold;">li</span> <span style="color: #000066;">id</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;linkuncat&quot;</span> <span style="color: #000066;">class</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;linkcat&quot;</span>&gt;&lt;<span style="color: #000000; font-weight: bold;">h2</span>&gt;</span>Lesezeichen<span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><span style="color: #000000; font-weight: bold;">h2</span>&gt;</span>
	<span style="color: #009900;">&lt;<span style="color: #000000; font-weight: bold;">ul</span>&gt;&lt;<span style="color: #000000; font-weight: bold;">li</span>&gt;&lt;<span style="color: #000000; font-weight: bold;">a</span> <span style="color: #000066;">href</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;http://www.webdesign-in.de/&quot;</span> <span style="color: #000066;">rel</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;me&quot;</span> <span style="color: #000066;">title</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;ausprobieren&quot;</span>&gt;</span>ich<span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><span style="color: #000000; font-weight: bold;">a</span>&gt;&lt;<span style="color: #66cc66;">/</span><span style="color: #000000; font-weight: bold;">li</span>&gt;</span>
<span style="color: #009900;">&lt;<span style="color: #000000; font-weight: bold;">li</span>&gt;</span>Matt<span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><span style="color: #000000; font-weight: bold;">li</span>&gt;</span>
<span style="color: #009900;">&lt;<span style="color: #000000; font-weight: bold;">li</span>&gt;&lt;<span style="color: #000000; font-weight: bold;">a</span> <span style="color: #000066;">href</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;http://www.texto.de/&quot;</span> <span style="color: #000066;">rel</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;me&quot;</span> <span style="color: #000066;">title</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;code is poetry&quot;</span>&gt;</span>Texto<span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><span style="color: #000000; font-weight: bold;">a</span>&gt;&lt;<span style="color: #66cc66;">/</span><span style="color: #000000; font-weight: bold;">li</span>&gt;</span>
	<span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><span style="color: #000000; font-weight: bold;">ul</span>&gt;&lt;<span style="color: #66cc66;">/</span><span style="color: #000000; font-weight: bold;">li</span>&gt;</span></pre></div></div>

<ul>
<li>Die css ID linkuncat und die css class linkcat werden erzeugt und stehen zur Gestaltung zur Verfügung.
</li>
<li>Lesezeichen steht wieder zwischen h2.
</li>
<li>&#8220;Rel&#8221; wird ebenfalls dargestellt.</li>
</li>
<li>Die Links sind alphabetisch von A-Z geordnet.</li>
</ul>
<h3>3. Alle Links anzeigen, egal in welcher Kategorie, mit eigener überschrift.</h3>

<div class="wp_syntax"><div class="code"><pre class="php" style="font-family:monospace;">&lt;ul&gt;&lt;--die ul habe ich dazugeschrieben--&gt;
<span style="color: #000000; font-weight: bold;">&lt;?php</span> wp_list_bookmarks<span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'categorize=0&amp;title_li=eigene überschrift'</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span> <span style="color: #000000; font-weight: bold;">?&gt;</span> 
&lt;/ul&gt;</pre></div></div>

<h3>3.a Der dabei erzeugte Quelltext (html) ist:</h3>
<p>Absolut dasselbe wie bei 2.a oberhalb <img src='http://www.texto.de/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> </p>
<h3>4. Alle Links anzeigen, egal in welcher Kategorie, mit eigener überschrift  und rotieren lassen.</h3>

<div class="wp_syntax"><div class="code"><pre class="php" style="font-family:monospace;">&lt;ul&gt;&lt;--die ul habe ich dazugeschrieben--&gt;
<span style="color: #000000; font-weight: bold;">&lt;?php</span> wp_list_bookmarks<span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'categorize=0&amp;orderby=rand&amp;title_li=eigene überschrift'</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span> <span style="color: #000000; font-weight: bold;">?&gt;</span> 
&lt;/ul&gt;</pre></div></div>

<h3>4.a Der dabei erzeugte Quelltext (html) ist:</h3>
<p>Absolut dasselbe wie bei 2.a oberhalb <img src='http://www.texto.de/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> </p>
<h3>5. Links ordnen mag ich.</h3>
<p>Mit</p>

<div class="wp_syntax"><div class="code"><pre class="php" style="font-family:monospace;">orderby<span style="color: #339933;">=</span><span style="color: #990000;">rand</span></pre></div></div>

<p>wird das Rotieren angegeben. </p>
<p>Du kannst auch noch nach id ( die ID des Links),  url,name,target,description (das ist der title), owner (das ist der User, der den Link gespeichert hat),rating (wenn Du links bewertest), updated (wenn bei einem Link Neues kam),rel,notes(Du kannst ja zu jedem Link Notizen dazuschreiben),rss, length (die L&auml;nge des Linknamens, kürzere zu l&auml;ngere Namen ), ordnen. </p>
<p>Beispiele:</p>

<div class="wp_syntax"><div class="code"><pre class="php" style="font-family:monospace;">orderby=id
Im template tag sieht das dann so aus:
<span style="color: #000000; font-weight: bold;">&lt;?php</span> wp_list_bookmarks<span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'categorize=0&amp;orderby=id&amp;title_li=eigene überschrift'</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span> <span style="color: #000000; font-weight: bold;">?&gt;</span></pre></div></div>

<p>oder</p>

<div class="wp_syntax"><div class="code"><pre class="php" style="font-family:monospace;">orderby=target
Im template tag sieht dies dann so aus:
<span style="color: #000000; font-weight: bold;">&lt;?php</span> wp_list_bookmarks<span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'categorize=0&amp;orderby=target&amp;title_li=eigene überschrift'</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span> <span style="color: #000000; font-weight: bold;">?&gt;</span></pre></div></div>

<p>Nach zwei Kriterien zu ordnen ist nicht möglich. </p>
<h3>6. Links nach Kategorien anzeigen, aber pro Kategorie maximal 2 Links.</h3>

<div class="wp_syntax"><div class="code"><pre class="php" style="font-family:monospace;">&lt;ul&gt;&lt;--die ul habe ich dazugeschrieben--&gt;
<span style="color: #000000; font-weight: bold;">&lt;?php</span> wp_list_bookmarks<span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'limit=2'</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span> <span style="color: #000000; font-weight: bold;">?&gt;</span> 
&lt;/ul&gt;</pre></div></div>

<h3>6.a Der dabei erzeugte Quelltext (html) ist:</h3>
<p>Absolut derselbe wie bei Beispiel 2a weiter oben.</p>
<h3>7. Links nach Kategorien geordnet, pro Kategorie maximal 2 Links und die Beschreibung zum Link anzeigen.</h3>
<dl class="right" style="width:197px;">
<dt>show_description<br />title Attribut</dt>
<dd><img src="http://www.texto.de/wp-images/0207/blogroll-02.gif" alt=" Beschreibung also title Attribut des Links wird angezeigt" width="193" height="270" /></dd>
</dl>

<div class="wp_syntax"><div class="code"><pre class="php" style="font-family:monospace;">&lt;ul&gt;&lt;--die ul habe ich dazugeschrieben--&gt;
<span style="color: #000000; font-weight: bold;">&lt;?php</span> wp_list_bookmarks<span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'limit=2&amp;show_description=1'</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span> <span style="color: #000000; font-weight: bold;">?&gt;</span> 
&lt;/ul&gt;</pre></div></div>

<p><br class="clear" /></p>
<h3>7.a Der dabei erzeugte Quelltext (html) ist:</h3>

<div class="wp_syntax"><div class="code"><pre class="html4strict" style="font-family:monospace;"><span style="color: #009900;">&lt;<span style="color: #000000; font-weight: bold;">li</span> <span style="color: #000066;">id</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;linkcat-6&quot;</span> <span style="color: #000066;">class</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;linkcat&quot;</span>&gt;&lt;<span style="color: #000000; font-weight: bold;">h2</span>&gt;</span>Blogroll<span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><span style="color: #000000; font-weight: bold;">h2</span>&gt;</span>
	<span style="color: #009900;">&lt;<span style="color: #000000; font-weight: bold;">ul</span>&gt;&lt;<span style="color: #000000; font-weight: bold;">li</span>&gt;</span>Matt 
ebend er<span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><span style="color: #000000; font-weight: bold;">li</span>&gt;&lt;<span style="color: #66cc66;">/</span><span style="color: #000000; font-weight: bold;">ul</span>&gt;&lt;<span style="color: #66cc66;">/</span><span style="color: #000000; font-weight: bold;">li</span>&gt;</span>
<span style="color: #009900;">&lt;<span style="color: #000000; font-weight: bold;">li</span> <span style="color: #000066;">id</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;linkcat-9&quot;</span> <span style="color: #000066;">class</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;linkcat&quot;</span>&gt;&lt;<span style="color: #000000; font-weight: bold;">h2</span>&gt;</span>meine Websites<span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><span style="color: #000000; font-weight: bold;">h2</span>&gt;</span>
	<span style="color: #009900;">&lt;<span style="color: #000000; font-weight: bold;">ul</span>&gt;&lt;<span style="color: #000000; font-weight: bold;">li</span>&gt;&lt;<span style="color: #000000; font-weight: bold;">a</span> <span style="color: #000066;">href</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;http://www.texto.de/&quot;</span> <span style="color: #000066;">rel</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;me&quot;</span> <span style="color: #000066;">title</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;code is poetry&quot;</span>&gt;</span>Texto<span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><span style="color: #000000; font-weight: bold;">a</span>&gt;</span>
code is poetry<span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><span style="color: #000000; font-weight: bold;">li</span>&gt;</span>
<span style="color: #009900;">&lt;<span style="color: #000000; font-weight: bold;">li</span>&gt;&lt;<span style="color: #000000; font-weight: bold;">a</span> <span style="color: #000066;">href</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;http://www.esistkeinurlaub.de&quot;</span> <span style="color: #000066;">rel</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;me&quot;</span> <span style="color: #000066;">title</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;Einfach mal weg&quot;</span>&gt;</span>Urlaub<span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><span style="color: #000000; font-weight: bold;">a</span>&gt;</span>
Einfach mal weg<span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><span style="color: #000000; font-weight: bold;">li</span>&gt;</span>
	<span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><span style="color: #000000; font-weight: bold;">ul</span>&gt;&lt;<span style="color: #66cc66;">/</span><span style="color: #000000; font-weight: bold;">li</span>&gt;</span></pre></div></div>

<p><strong>Achtung:</strong> Haben die Links (a, a:link, a:visited etc)  in der style.css ein display block angegeben, wird die Description- das title Attribut- automatisch in einer neuen Zeile darunter angezeigt!</p>
<h3>8. Nur Links aus der Kategorie 9</h3>
<dl class="right" style="width:190px;">
<dt>Links aus Kat 9<br />Kat Name als überschrift</dt>
<dd><img src="http://www.texto.de/wp-images/0207/blogroll-03.gif" alt="Nur Links aus einer bestimmten Kategorie" width="190" height="103" /></dd>
</dl>

<div class="wp_syntax"><div class="code"><pre class="php" style="font-family:monospace;">&lt;ul&gt;&lt;--die ul habe ich dazugeschrieben--&gt;
<span style="color: #000000; font-weight: bold;">&lt;?php</span> wp_list_bookmarks<span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'category=9'</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span> <span style="color: #000000; font-weight: bold;">?&gt;</span> 
&lt;/ul&gt;</pre></div></div>

<p><br class="clear" /></p>
<h3>8.a Der dabei erzeugte Quelltext (html) ist:</h3>
<p>Absolut derselbe wie bei Beispiel 2a weiter oben.</p>
<h3>9. Links nach Kategorien geordnet, aber nur die Kategorien mit der ID 9 und 6</h3>

<div class="wp_syntax"><div class="code"><pre class="php" style="font-family:monospace;">&lt;ul&gt;&lt;--die ul habe ich dazugeschrieben--&gt;
<span style="color: #000000; font-weight: bold;">&lt;?php</span> wp_list_bookmarks<span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'category=6,9'</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span> <span style="color: #000000; font-weight: bold;">?&gt;</span> 
&lt;/ul&gt;</pre></div></div>

<p><strong>Achtung:</strong> Die IDs aufsteigend angeben.</p>
<p><strong>Achtung:</strong> Anstatt der Kategorie IDs könnte man auch den Namen der Kategorie (category_name) angeben, doch dies hat bis jetzt bei mir noch nicht funktioniert. </p>
<p>Sollte ich diesbezüglich etwas in Erfahrung bringen, erg&auml;nze ich diesen Artikel. </p>
<h3>9.a Der dabei erzeugte Quelltext (html) ist:</h3>
<p>Du wei&#223;t es bereits: <img src='http://www.texto.de/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' />  ==>Absolut derselbe wie bei Beispiel 2a weiter oben.</p>
<h3>10. Zeige mir die Bilder /Buttons statt Linktexte und die Beschreibung (title Attribut)</h3>
<dl class="right" style="width:210;">
<dt>Buttons statt Text<br />kein Button da kommt Text</dt>
<dd><img src="http://www.texto.de/wp-images/0207/blogroll-04.gif" alt="Zeigt Buttons mit Beschreibung" width="193" height="270" /></dd>
</dl>

<div class="wp_syntax"><div class="code"><pre class="php" style="font-family:monospace;">&lt;ul&gt;&lt;--die ul habe ich dazugeschrieben--&gt;
<span style="color: #000000; font-weight: bold;">&lt;?php</span> wp_list_bookmarks<span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'show_images=1&amp;show_description=1'</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span> <span style="color: #000000; font-weight: bold;">?&gt;</span> 
&lt;/ul&gt;</pre></div></div>

<p><br class="clear"/></p>
<p><strong>Achtung:</strong> Wie am Bild erkennbar ist. Wurde kein Button zum Link gespeichert, dann kommt automatisch der Linktext!</p>
<h3>10.a Der dabei erzeugte Quelltext (html) ist:</h3>
<p>An und für sich derselbe wie bei 2.a nur sind auch noch die Pfade zu den Buttons sichtbar. Wobei  &#8220;img&#8221; keine eigene css class zugewiesen wird.</p>
<h3>11. Zeige die Links aus Kategorie 9, gib den Links eine eigene css class,  ohne title Attribut, geordnet nach deren URL</h3>
<p>Das ist eines der Beispiele aus dem Codex, da das Original Beispiel derzeit falsches html erzeugt, habe ich es so abge&auml;ndert, dass es passt.</p>

<div class="wp_syntax"><div class="code"><pre class="php" style="font-family:monospace;">&lt;ul&gt;&lt;--die ul habe ich dazugeschrieben--&gt;
<span style="color: #000000; font-weight: bold;">&lt;?php</span> wp_list_bookmarks<span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'categorize=1&amp;category=9&amp;before=&lt;li class=&quot;eigene&quot;&gt;&amp;after=&lt;/li&gt;&amp;show_description=0&amp;orderby=url'</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span> <span style="color: #000000; font-weight: bold;">?&gt;</span>
&lt;/ul&gt;</pre></div></div>

<p><strong>Achtung:</strong> Ich bin mir unsicher, ob dies so funktioniert, obwohl es im Codex steht. </p>
<h3>11. a der dabei erzeugte Quelltext (html) ist:</h3>

<div class="wp_syntax"><div class="code"><pre class="html4strict" style="font-family:monospace;"><span style="color: #009900;">&lt;<span style="color: #000000; font-weight: bold;">li</span> <span style="color: #000066;">id</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;linkcat-9&quot;</span> <span style="color: #000066;">class</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;linkcat&quot;</span>&gt;&lt;<span style="color: #000000; font-weight: bold;">h2</span>&gt;</span>meine Websites<span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><span style="color: #000000; font-weight: bold;">h2</span>&gt;</span>
	<span style="color: #009900;">&lt;<span style="color: #000000; font-weight: bold;">ul</span>&gt;&lt;<span style="color: #000000; font-weight: bold;">li</span> <span style="color: #000066;">class</span><span style="color: #66cc66;">=</span>\<span style="color: #ff0000;">&quot;eigene\&quot;</span>&gt;&lt;<span style="color: #000000; font-weight: bold;">a</span> <span style="color: #000066;">href</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;http://www.esistkeinurlaub.de&quot;</span> <span style="color: #000066;">rel</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;me&quot;</span> <span style="color: #000066;">title</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;Einfach mal weg&quot;</span>&gt;</span>Urlaub<span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><span style="color: #000000; font-weight: bold;">a</span>&gt;&lt;<span style="color: #66cc66;">/</span><span style="color: #000000; font-weight: bold;">li</span>&gt;</span>
<span style="color: #009900;">&lt;<span style="color: #000000; font-weight: bold;">li</span> <span style="color: #000066;">class</span><span style="color: #66cc66;">=</span>\<span style="color: #ff0000;">&quot;eigene\&quot;</span>&gt;&lt;<span style="color: #000000; font-weight: bold;">a</span> <span style="color: #000066;">href</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;http://www.texto.de/&quot;</span> <span style="color: #000066;">rel</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;me&quot;</span> <span style="color: #000066;">title</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;code is poetry&quot;</span>&gt;</span>Texto<span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><span style="color: #000000; font-weight: bold;">a</span>&gt;&lt;<span style="color: #66cc66;">/</span><span style="color: #000000; font-weight: bold;">li</span>&gt;</span>
	<span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><span style="color: #000000; font-weight: bold;">ul</span>&gt;&lt;<span style="color: #66cc66;">/</span><span style="color: #000000; font-weight: bold;">li</span>&gt;</span></pre></div></div>

<p>Man mag ja nur eine eigene css class für was haben, damit man es eigens gestalten kann. </p>
<p>Ich würde auf die eigene css class verzichten alles mit before und after weglassen und dafür in der style.css diese li folgenderma&#223;en ansprechen:</p>

<div class="wp_syntax"><div class="code"><pre class="html4strict" style="font-family:monospace;">ul li.linkcat ul li</pre></div></div>

<h3>12. Ich brauche keine Titel, keine verschachtelte Liste wie geht denn das?</h3>
<p>Dies fragte sich Olafb im WordPress-Deutschland.org Forum:</p>
<p>Dieses Html wollte er haben:</p>

<div class="wp_syntax"><div class="code"><pre class="html4strict" style="font-family:monospace;"><span style="color: #009900;">&lt;<span style="color: #000000; font-weight: bold;">div</span> <span style="color: #000066;">class</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;boxhead&quot;</span>&gt;</span> 
<span style="color: #009900;">&lt;<span style="color: #000000; font-weight: bold;">h2</span>&gt;</span>Links<span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><span style="color: #000000; font-weight: bold;">h2</span>&gt;</span> 
<span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><span style="color: #000000; font-weight: bold;">div</span>&gt;</span> 
<span style="color: #009900;">&lt;<span style="color: #000000; font-weight: bold;">ul</span> <span style="color: #000066;">class</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;MeineKlasse&gt;</span></span> 
<span style="color: #009900;">&lt;<span style="color: #000000; font-weight: bold;">li</span>&gt;</span>...hier die Links....<span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><span style="color: #000000; font-weight: bold;">li</span>&gt;</span> 
<span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><span style="color: #000000; font-weight: bold;">ul</span>&gt;</span> <span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><span style="color: #000000; font-weight: bold;">li</span>&gt;</span> <span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><span style="color: #000000; font-weight: bold;">div</span>&gt;</span></pre></div></div>

<p>Zwei Lösungen eine von Olafb und eine von Jeriko, wenn man weniger Kategorien hat.</p>
<p>Alle Parameter leeren hei&#223;t das Zauberwort, dies sieht dann so aus:</p>

<div class="wp_syntax"><div class="code"><pre class="php" style="font-family:monospace;"><span style="color: #000000; font-weight: bold;">&lt;?php</span> wp_list_bookmarks<span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'orderby=rand&amp;categorize=0&amp;title_before=&amp;title_after&amp;title_li=&amp;category_before=&amp;category_after= '</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span> 
<span style="color: #000000; font-weight: bold;">?&gt;</span></pre></div></div>

<p>die zweite Lösung von Jeriko, bei nur einer vorhandenen Kategorie:</p>

<div class="wp_syntax"><div class="code"><pre class="php" style="font-family:monospace;"><span style="color: #000000; font-weight: bold;">&lt;?php</span> wp_list_bookmarks<span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'title_li=&amp;category=0&amp;categorize=0'</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span> <span style="color: #000000; font-weight: bold;">?&gt;</span></pre></div></div>

<p> Funktioniert was nicht, &auml;ndert sich was, habe ich die allerneuesten Urideen, dann editier ich den Artikel. <img src='http://www.texto.de/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> </p>
<p>Hast Du noch Ideen etc, Fragen, Erkenntnisse etc. dann schreibe hier einen Kommentar. über Rückmeldung freu ich mich immer. </p>
<div class="sign">Wenn es Dir geholfen hat, dann sag es ruhig weiter. <img src='http://www.texto.de/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' />  </div>
<hr /><small>Copyright &copy; 2011<br /> This feed is for personal, non-commercial use only. <br /> The use of this feed on other websites breaches copyright. If this content is not in your news reader, it makes the page you are viewing an infringement of the copyright. Original article:  <a href="http://www.texto.de/wp_list_bookmarks-spielereien-template-tag-wp-21-sidebar-371/" >texto.de</a> (Digital Fingerprint:  textoakamts[texto.de])</small><hr />]]></content:encoded>
			<wfw:commentRss>http://www.texto.de/wp_list_bookmarks-spielereien-template-tag-wp-21-sidebar-371/feed/</wfw:commentRss>
		<slash:comments>35</slash:comments>
		</item>
		<item>
		<title>Statische Seiten in einem Drop Down Menü- WP Plugin von Zelic</title>
		<link>http://www.texto.de/statische-seiten-drop-down-plugin-deutsch-271/</link>
		<comments>http://www.texto.de/statische-seiten-drop-down-plugin-deutsch-271/#comments</comments>
		<pubDate>Tue, 17 Oct 2006 18:35:03 +0000</pubDate>
		<dc:creator>texto</dc:creator>
				<category><![CDATA[Tipps und Tricks]]></category>
		<category><![CDATA[navigation]]></category>
		<category><![CDATA[sidebar]]></category>
		<category><![CDATA[wordpress-plugins]]></category>

		<guid isPermaLink="false">http://www.texto.de/texto/statische-seiten-drop-down-plugin-deutsch/</guid>
		<description><![CDATA[Du magst Drop Down Menüs in Deiner Sidebar von WordPress haben. Zelic machte ein Plugin dafür. Zelic Drop Down Pages. Hier die Anleitung auf Deutsch. ]]></description>
			<content:encoded><![CDATA[<p><span class="caplize">S</span>tatische Seiten in WordPress sind beliebt. Doch irgendwann wird die Liste sehr lang. Du bist ein Fan von Drop Down Menüs und magst so eines anbieten.  Dafür gibt es von <a href="http://zeligplanet.altervista.org/2006/08/wordpress-plugin-zelig-dropdown-pages/" title="Externer Link:zelic Drop Down Pages">Zelic Drop Down Pages</a>.  Seine Anleitung ist auf Englisch und da ich wei&#223;, dass dies einige nicht so gern haben, hier die deutsche Anleitung.  </p>
<dl class="left">
<dt><img src="http://www.texto.de/wp-images/1006/zeli-drop-pages.gif" alt=" Die Drop Down Liste des Plugins" height="209" width="205" /></dt>
<dd>Zelic Drop Down Pages im Einsatz &nbsp;</dd>
</dl>
<p><span class="firstletter">A</span>u&#223;erdem habe ich auch dieses WordPress Plugin für statische Seiten mit dem <a href="http://www.texto.de/texto/statische-seiten-bequem-im-admincenter-ausschliessen-page-link-manager/" title="Zelic Drop Down mit Link Manager nutzen">Link Manager Plugin</a>[Code Beispiel 3 ] kompatibel gemacht und wenn Du Dir jetzt den Link Manager bei mir holst  ist alles vorbereitet.</p>
<p>Das Plugin von Zelic liefert XHTML aus und ob es auch mit anderen Versionen als WordPress 2.04 aufw&auml;rts kompatibel ist hat er nicht getestet und ich auch nicht.;) <br class="clear" /></p>
<p><span id="more-271"></span></p>
<h3>Beispiele für Zelic Drop Down Pages</h3>

<div class="wp_syntax"><div class="code"><pre class="php" style="font-family:monospace;"><span style="color: #000000; font-weight: bold;">&lt;?php</span> zelig_dropdown_pages<span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'boxwidth=120'</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span> <span style="color: #000000; font-weight: bold;">?&gt;</span></pre></div></div>

<p>Setzt die Breite der Box auf 120px.</p>

<div class="wp_syntax"><div class="code"><pre class="php" style="font-family:monospace;"><span style="color: #000000; font-weight: bold;">&lt;?php</span> zelig_dropdown_pages<span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'sort_column=menu_order&amp;sort_order=DESC'</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span> <span style="color: #000000; font-weight: bold;">?&gt;</span></pre></div></div>

<p>Zeigt die statischen Seiten genau in umgekehrter Reihenfolge als im Admincenter bestimmt. Kann für &#8220;floatende&#8221; Designs oft von Vorteil sein.</p>

<div class="wp_syntax"><div class="code"><pre class="php" style="font-family:monospace;"><span style="color: #000000; font-weight: bold;">&lt;?php</span> zelig_dropdown_pages<span style="color: #009900;">&#40;</span>depth<span style="color: #339933;">=</span><span style="color: #cc66cc;">1</span><span style="color: #339933;">&amp;</span>title_li<span style="color: #339933;">=</span>Section <span style="color: #cc66cc;">1</span><span style="color: #0000ff;">'); ?&gt;</span></pre></div></div>

<p>Zeigt die Unterseiten bis zur 1. Ebene und gibt der Box die überschrift &#8220;Section1.</p>
<table summary="Diese Tabelle zeigt die Möglichkeiten der Parameter des Zelic Drop Down Pages Plugins auf" id="drop">
<caption>Zelic Drop Down Pages alle Parameter im überblick</caption>
<colgroup>
<col width="6%" />
<col width="6%" />
<col width="50%" /></colgroup>
<thead>
<tr>
<th>Parameter</th>
<th>Values <br />(Möglichkeiten)</th>
<th>Beschreibung</th>
<th>Default</th>
</tr>
</thead>
<tfoot>
<tr>
<td colspan="4">Danke an Zelic</td>
</tr>
</tfoot>
<tbody>
<tr class="drop">
<td>child_of</td>
<td>integer</td>
<td>zeigt nur die Unterseiten  an (nutzt dazu die ID der Seite)</td>
<td>0<br />(zeigt alle an)</td>
</tr>
<tr class="drop1">
<td>sort_column</td>
<td>post_title<br />menu_order<br />post_date<br />post_modified<br />ID<br />post_author<br />post_name
</td>
<td>sortiert die Seite folgenderma&#223;en:<br />
post_title (alphabetisch nach dem Titel)<br />
menu_order (so wie Du es unter Admincenter ==>Schreiben==> Seite rechts unten eingestellt hast)<br />
post_date (nach dem Erstelldatum)<br />
post_modified (nach dem Datum der letzten &#196;nderung)<br />
ID (nach der ID der Seiten)<br />
post_author (nach der ID der Autoren)<br />
post_name (anphabetisch nach dem Post Slug (das ist die URL))
</td>
<td>post_title</td>
</tr>
<tr class="drop">
<td>sort_order</td>
<td>ASC<br />DESC</td>
<td>ASC (von unten nach oben)<br />
DESC (von iben nach unten)</td>
<td>ASC</td>
</tr>
<tr class="drop1">
<td>exclude</td>
<td>die IDs getrennt mit Koma</td>
<td>es ist wichtig die IDs in aufsteigender Reihenfolge anzugeben 1,2,5,6&#8230;</td>
<td>&nbsp;</td>
</tr>
<tr class="drop">
<td>depth</td>
<td>integer</td>
<td>dies gibt an wieviele Unterseiten angezeigt werden. Ob die Unterseite der Unterseite auch noch oder nicht mehr. Funktioniert aber nur entweder alle oder keine. -1 keine Unterseite.</td>
<td>0<br />(zeigt alle Unterseiten an)</td>
</tr>
<tr class="drop1">
<td>title_li</td>
<td>string</td>
<td>meist steht dort &#8220;Seiten&#8221; man kann aber auch einen eigenen Text hernehmen</td>
<td>&nbsp;</td>
</tr>
<tr class="drop">
<td>boxwidth</td>
<td>integer</td>
<td>Das ist ein neuer Parameter, damit kannst Du die Breite der Box in px angeben. Gibst Du nichts an wird die Box so breit wie der l&auml;ngste Titel einer statischen Seite</td>
<td>0 </td>
</tr>
</tbody>
</table>
<div class="sign"> ..grrr wordpress kennt keine richtige Tabelle, da muss ich wieder unmögliche  br eleminieren, aber das Plugin tut seine Dienste gut <img src='http://www.texto.de/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> </div>
<hr /><small>Copyright &copy; 2011<br /> This feed is for personal, non-commercial use only. <br /> The use of this feed on other websites breaches copyright. If this content is not in your news reader, it makes the page you are viewing an infringement of the copyright. Original article:  <a href="http://www.texto.de/statische-seiten-drop-down-plugin-deutsch-271/" >texto.de</a> (Digital Fingerprint:  textoakamts[texto.de])</small><hr />]]></content:encoded>
			<wfw:commentRss>http://www.texto.de/statische-seiten-drop-down-plugin-deutsch-271/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
		<item>
		<title>Fold Page List deutsch &#8211; aufklappbare Seitennavigation</title>
		<link>http://www.texto.de/fold-page-list-deutsch-aufklappbare-seitennavigation-254/</link>
		<comments>http://www.texto.de/fold-page-list-deutsch-aufklappbare-seitennavigation-254/#comments</comments>
		<pubDate>Sun, 08 Oct 2006 15:46:25 +0000</pubDate>
		<dc:creator>texto</dc:creator>
				<category><![CDATA[Tipps und Tricks]]></category>
		<category><![CDATA[navigation]]></category>
		<category><![CDATA[sidebar]]></category>
		<category><![CDATA[wordpress-cms]]></category>
		<category><![CDATA[wordpress-plugins]]></category>

		<guid isPermaLink="false">http://www.texto.de/texto/fold-page-list-aufklappbare-seitennavigation/</guid>
		<description><![CDATA[Fold Page List von Rob Schumann bietet eine einfache Möglichkeit viele statische Seiten mit Unterseiten anzuzeigen. Darüberhinaus bieter dieses Plugin viele zus&#228;tzliche CSS classes, um alle  Zust&#228;nde einer solchen dynamischen Navigation zu gestalten. Hier die deutsche Anleitung.]]></description>
			<content:encoded><![CDATA[<p><span class="caplize">P</span>age Fold List erzeugt eine dynamische Seitennavigation und alle Möglichkeiten der wp-list-pages Spielereien bleiben dabei erhalten. Es bietet viele zus&auml;tzliche CSS classes und es bietet die Möglichkeit auch die Unterseiten einer Unterseite mit einem Klick auf die Hauptseite anzuzeigen oder eben nicht. </p>
<p>Die englische Erkl&auml;rung und den Download des Plugins findest Du auf <a href="http://www.webspaceworks.com/resources/wordpress/30/" title="Externer Link:Fold Page List">Rob Schumanns Seite</a>. Dieses Plugin ist mit Garett Page Link Manager absolut <a href="http://www.texto.de/texto/statische-seiten-bequem-im-admincenter-ausschliessen-page-link-manager/" title="statiche Seiten bequem im Admincenter verwalten.">kompatibel</a>.</p>
<ul>
<li>Einfach herunterladen. </li>
<li>Entpacken.</li>
<li> In den Ordner wp-content/plugins/ hochladen.</li>
<li> Aktivieren.</li>
<li>Die sidebar.php Deines Themes öffnen nach wp-list-pages suchen und dies mit<br />
nanchfolgendem Code ersetzen, je nachdem was Du magst.</li>
</ul>
<p>1. Möglichkeit<span id="more-254"></span>:</p>
<p>ohne Link Manager Plugin</p>

<div class="wp_syntax"><div class="code"><pre class="php" style="font-family:monospace;"><span style="color: #000000; font-weight: bold;">&lt;?php</span> wswwpx_fold_page_list<span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'title_li=&lt;h2&gt;Seiten&lt;/h2&gt;'</span><span style="color: #339933;">,</span><span style="color: #0000ff;">'true'</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span> <span style="color: #000000; font-weight: bold;">?&gt;</span></pre></div></div>

<p>mit Link Manager Plugin</p>

<div class="wp_syntax"><div class="code"><pre class="php" style="font-family:monospace;"><span style="color: #000000; font-weight: bold;">&lt;?php</span> gdm_wswwpx_fold_page_list<span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'title_li=&lt;h2&gt;Seiten&lt;/h2&gt;'</span><span style="color: #339933;">,</span><span style="color: #0000ff;">'true'</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span> <span style="color: #000000; font-weight: bold;">?&gt;</span></pre></div></div>

<dl class="left" style="width:160px;">
<dt><img src="http://www.texto.de/wp-images/1006/fold-page-list-unterseite-u.gif" alt=" eine Seite mit einer Unterseite, die wiederum eine Unterseite hat angeklickt" height="92" width="147" /></dt>
<dd>alle Unterseiten einer Seite sind sofort sichtbar.&nbsp;</dd>
</dl>
<p>Ganz egal welche Funktionen der wp-list-pages Du nimmst, wenn Du danach ein Koma setzt und unter den Hochkommata true schreibst, dann faltet Fold Page List alle Unterseiten einer Seite auf.<br class="clear" /></p>
<p>2. Möglichkeit:</p>
<p>ohne Link Manager Plugin</p>

<div class="wp_syntax"><div class="code"><pre class="php" style="font-family:monospace;"><span style="color: #000000; font-weight: bold;">&lt;?php</span> wswwpx_fold_page_list<span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'title_li=&lt;h2&gt;Seiten&lt;/h2&gt;'</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span> <span style="color: #000000; font-weight: bold;">?&gt;</span></pre></div></div>

<p>mit Link Manager Plugin</p>

<div class="wp_syntax"><div class="code"><pre class="php" style="font-family:monospace;"><span style="color: #000000; font-weight: bold;">&lt;?php</span> gdm_wswwpx_fold_page_list<span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'title_li=&lt;h2&gt;Seiten&lt;/h2&gt;'</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span> <span style="color: #000000; font-weight: bold;">?&gt;</span></pre></div></div>

<dl class="left" style="width:160px;">
<dt><img src="http://www.texto.de/wp-images/1006/fold-page-list-unterseite.gif" alt=" eine Seite mit einer Unterseite angeklickt" height="92" width="147" /></dt>
<dd>Die Seite zeigt nur die erste Unterseite an.&nbsp;</dd>
</dl>
<p>Möchtest Du nicht, dass etwaige Unterseiten einer Unterseite gleich sichtbar sind, dann lasse einfach das &#8216;true&#8217; weg. <br class="clear" /></p>
<p>Nachfolgend die unterschiedlichen CSS classes des Plugins.</p>
<h3>Page Fold List aktiviert &#8211; Quelltext der Startseite</h3>
<dl class="center" style="width:160px;">
<dt><img src="http://www.texto.de/wp-images/1006/fold-page-list-start.gif" alt=" Quelltext bei Aktivierung des Plugins Fold Page Menu" height="92" width="147" /></dt>
<dd> Fold Page List aktiviert aber noch keine Seite angeklickt&nbsp;</dd>
</dl>

<div class="wp_syntax"><div class="code"><pre class="php" style="font-family:monospace;"><span style="color: #339933;">&lt;</span>ul<span style="color: #339933;">&gt;</span>
    <span style="color: #339933;">&lt;</span>li id<span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;pagenav&quot;</span><span style="color: #339933;">&gt;&lt;</span>h2<span style="color: #339933;">&gt;</span>Seiten<span style="color: #339933;">&lt;/</span>h2<span style="color: #339933;">&gt;</span>
        <span style="color: #339933;">&lt;</span>ul<span style="color: #339933;">&gt;&lt;</span>li <span style="color: #000000; font-weight: bold;">class</span><span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;page_item&quot;</span><span style="color: #339933;">&gt;&lt;</span>a href<span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;..&gt;eine Seite ohne Unterseite&lt;/a&gt;
                &lt;/li&gt;
             &lt;li class=&quot;</span>page_item page_folder<span style="color: #0000ff;">&quot;&gt;&lt;a href=&quot;</span><span style="color: #339933;">..&gt;</span>eine Seite mit Unterseite<span style="color: #339933;">&lt;/</span>a<span style="color: #339933;">&gt;</span>
                 <span style="color: #339933;">&lt;/</span>li<span style="color: #339933;">&gt;</span>
             <span style="color: #339933;">&lt;</span>li <span style="color: #000000; font-weight: bold;">class</span><span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;page_item&quot;</span><span style="color: #339933;">&gt;&lt;</span>a href<span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;..&gt;eine Seite ohne Unterseite&lt;/a&gt;
                  &lt;/li&gt;
                   usw...
       &lt;/ul&gt;
    &lt;/li&gt;
&lt;/ul&gt;</span></pre></div></div>

<p>Die <strong>id pagenav</strong> und die <strong>class page_item</strong> macht WordPress von sich aus immer. </p>
<p>Es ist anhand der zus&auml;tzlichen <strong>css class page_folder</strong> ersichtlich, dass das Plugin von sich aus erkennt , ob eine Seite eine Unterseite hat oder nicht. Somit sind diese Seiten mit Unterseiten auch anders gestaltbar. </p>
<h3>Page Fold List beim Klick auf eine Seite mit Unterseite</h3>
<dl class="center" style="width:160px;">
<dt><img src="http://www.texto.de/wp-images/1006/fold-page-list-unterseite.gif" alt=" eine Seite mit einer Unterseite angeklickt" height="92" width="147" /></dt>
<dd>eine Seite angeklickt , die  eine Unterseite hat, die keine weitere Unterseite mehr hat.&nbsp;</dd>
</dl>

<div class="wp_syntax"><div class="code"><pre class="php" style="font-family:monospace;"><span style="color: #339933;">&lt;</span>ul<span style="color: #339933;">&gt;&lt;</span>li id<span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;pagenav&quot;</span><span style="color: #339933;">&gt;&lt;</span>h2<span style="color: #339933;">&gt;</span>Seiten<span style="color: #339933;">&lt;/</span>h2<span style="color: #339933;">&gt;</span>
         <span style="color: #339933;">&lt;</span>ul<span style="color: #339933;">&gt;&lt;</span>li <span style="color: #000000; font-weight: bold;">class</span><span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;page_item&quot;</span><span style="color: #339933;">&gt;&lt;</span>a href<span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;...&gt;Seite ohne Unterseite&lt;/a&gt;
                      &lt;/li&gt;
                 &lt;li class=&quot;</span>page_item page_folder<span style="color: #0000ff;">&quot;&gt;&lt;a href=&quot;</span><span style="color: #339933;">....&gt;</span>Seite mit Unterseite<span style="color: #339933;">&lt;/</span>a<span style="color: #339933;">&gt;</span>
                       <span style="color: #339933;">&lt;/</span>li<span style="color: #339933;">&gt;</span>
                 <span style="color: #339933;">&lt;</span>li <span style="color: #000000; font-weight: bold;">class</span><span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;page_item&quot;</span><span style="color: #339933;">&gt;&lt;</span>a href<span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;...&gt;Seite ohne Unterseite&lt;/a&gt;
                       &lt;/li&gt;
                &lt;li class=&quot;</span>page_item current_page_item page_folder<span style="color: #0000ff;">&quot;&gt;&lt;a href=&quot;</span><span style="color: #339933;">..</span><span style="color: #0000ff;">&quot;&gt;aktivierte Seite mit Unterseite&lt;/a&gt;
&nbsp;
                    &lt;ul&gt;
	                 &lt;li class=&quot;</span>page_item<span style="color: #0000ff;">&quot;&gt;&lt;a href=&quot;</span><span style="color: #339933;">..&gt;</span>Unterseite ohne weitere Unterseite<span style="color: #339933;">&lt;/</span>a<span style="color: #339933;">&gt;</span>
	                   <span style="color: #339933;">&lt;/</span>li<span style="color: #339933;">&gt;</span>
                   <span style="color: #339933;">&lt;/</span>ul<span style="color: #339933;">&gt;</span>
             <span style="color: #339933;">&lt;/</span>li<span style="color: #339933;">&gt;</span>
        <span style="color: #339933;">&lt;/</span>ul<span style="color: #339933;">&gt;</span>
    <span style="color: #339933;">&lt;/</span>li<span style="color: #339933;">&gt;</span>
<span style="color: #339933;">&lt;/</span>ul<span style="color: #339933;">&gt;</span></pre></div></div>

<p>Die CSS class <strong> current_page_item</strong> macht WordPress immer. Damit sind die aktivierten Seiten gestaltbar. </p>
<h3>Page Fold List beim Klick auf eine Seite mit Unterseite, die wiederum eine Unterseite hat. </h3>
<dl class="center" style="width:160px;">
<dt><img src="http://www.texto.de/wp-images/1006/fold-page-list-unterseite-u.gif" alt=" eine Seite mit einer Unterseite, die wiederum eine Unterseite hat angeklickt" height="92" width="147" /></dt>
<dd>eine Seite angeklickt , die eine Unterseite hat, die eine weitere Unterseite  hat.&nbsp;</dd>
</dl>

<div class="wp_syntax"><div class="code"><pre class="php" style="font-family:monospace;"><span style="color: #339933;">&lt;</span>ul<span style="color: #339933;">&gt;&lt;</span>li id<span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;pagenav&quot;</span><span style="color: #339933;">&gt;&lt;</span>h2<span style="color: #339933;">&gt;</span>Seiten<span style="color: #339933;">&lt;/</span>h2<span style="color: #339933;">&gt;</span>
         <span style="color: #339933;">&lt;</span>ul<span style="color: #339933;">&gt;&lt;</span>li <span style="color: #000000; font-weight: bold;">class</span><span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;page_item&quot;</span><span style="color: #339933;">&gt;&lt;</span>a href<span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;..&gt;Seite ohne weiter Unterseite&lt;/a&gt;
                  &lt;/li&gt;
               &lt;li class=&quot;</span>page_item current_page_ancestor page_folder<span style="color: #0000ff;">&quot;&gt;&lt;a href=&quot;</span><span style="color: #339933;">...</span> <span style="color: #339933;">&gt;</span>Seite mit Unterseite<span style="color: #339933;">,</span> <span style="color: #990000;">die</span> wiederum eine Unterseite hat<span style="color: #339933;">&lt;/</span>a<span style="color: #339933;">&gt;</span>
                   <span style="color: #339933;">&lt;</span>ul<span style="color: #339933;">&gt;</span>
	             <span style="color: #339933;">&lt;</span>li <span style="color: #000000; font-weight: bold;">class</span><span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;page_item current_page_item page_folder&quot;</span><span style="color: #339933;">&gt;&lt;</span>a href<span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;...&gt;Unterseite , die eine Unterseite hat&lt;/a&gt;
&nbsp;
	                &lt;ul&gt;
		            &lt;li class=&quot;</span>page_item<span style="color: #0000ff;">&quot;&gt;&lt;a href=&quot;</span><span style="color: #339933;">..&gt;</span>Unterseite der Unterseite<span style="color: #339933;">&lt;/</span>a<span style="color: #339933;">&gt;</span>
		              <span style="color: #339933;">&lt;/</span>li<span style="color: #339933;">&gt;</span>
	                <span style="color: #339933;">&lt;/</span>ul<span style="color: #339933;">&gt;</span>
	           <span style="color: #339933;">&lt;/</span>li<span style="color: #339933;">&gt;</span>
               <span style="color: #339933;">&lt;/</span>ul<span style="color: #339933;">&gt;</span>
           <span style="color: #339933;">&lt;/</span>li<span style="color: #339933;">&gt;</span>
           <span style="color: #339933;">&lt;</span>li <span style="color: #000000; font-weight: bold;">class</span><span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;page_item&quot;</span><span style="color: #339933;">&gt;&lt;</span>a href<span style="color: #339933;">=..&gt;</span>Seite ohne Unterseite<span style="color: #339933;">&lt;/</span>a<span style="color: #339933;">&gt;</span>
               <span style="color: #339933;">&lt;/</span>li<span style="color: #339933;">&gt;</span>
     <span style="color: #339933;">&lt;/</span>ul<span style="color: #339933;">&gt;</span>
  <span style="color: #339933;">&lt;/</span>li<span style="color: #339933;">&gt;</span>
<span style="color: #339933;">&lt;/</span>ul<span style="color: #339933;">&gt;</span></pre></div></div>

<p>Fold Page List fügt zur &#8220;Mutterseite&#8221; der beiden Unterseiten die CSS class <strong>current_page_ancestor</strong> dazu, somit ist auch dieser &#8220;Zustand&#8221; gestaltbar. </p>
<p><span class="caplize">F</span>azit mit diesem Plugin Fold Page List ist nicht nur die Sidebar aufger&auml;umt und er überblick bewahrt, sondern es stehen für die verschiedenen Zust&auml;nde der jeweils aktivierten Seiten eigene css classes zur Verfügung und ermöglichen somit eine höchst einfallsreiche und individuelle Gestaltung.  Da hat ein CSS Freak programmiert. Ich finde dies einfach sehr, sehr gut. <img src='http://www.texto.de/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /> </p>
<div class="sign">viel Spa&#223; mit der Seiten- Navigation </div>
<hr /><small>Copyright &copy; 2011<br /> This feed is for personal, non-commercial use only. <br /> The use of this feed on other websites breaches copyright. If this content is not in your news reader, it makes the page you are viewing an infringement of the copyright. Original article:  <a href="http://www.texto.de/fold-page-list-deutsch-aufklappbare-seitennavigation-254/" >texto.de</a> (Digital Fingerprint:  textoakamts[texto.de])</small><hr />]]></content:encoded>
			<wfw:commentRss>http://www.texto.de/fold-page-list-deutsch-aufklappbare-seitennavigation-254/feed/</wfw:commentRss>
		<slash:comments>50</slash:comments>
		</item>
		<item>
		<title>Fold Page Menu &#8211; aufklappbare Seitennavigation</title>
		<link>http://www.texto.de/fold-page-menu-aufklappbare-seitennavigation-251/</link>
		<comments>http://www.texto.de/fold-page-menu-aufklappbare-seitennavigation-251/#comments</comments>
		<pubDate>Sun, 08 Oct 2006 00:48:41 +0000</pubDate>
		<dc:creator>texto</dc:creator>
				<category><![CDATA[Tipps und Tricks]]></category>
		<category><![CDATA[navigation]]></category>
		<category><![CDATA[sidebar]]></category>
		<category><![CDATA[wordpress-cms]]></category>
		<category><![CDATA[wordpress-plugins]]></category>

		<guid isPermaLink="false">http://www.texto.de/texto/fold-page-menu-aufklappbare-seitennavigation/</guid>
		<description><![CDATA[Du hast viele statische Seiten und auch viele Unterseiten und das Menü in der Sidebar wurde Dir zu lang. Abhilfe schafft hier das WordPress Plugin Fold Page Menü. Hier die Anleitung in Deutsch.]]></description>
			<content:encoded><![CDATA[<p><span class="caplize">F</span>old <a href="http://www.mealldubh.org/index.php/software/fold_page_menus/" title="Externer Link:Fold Page Menü aufklappbare Seitennavigation">Page Menu</a>  von John McCreesh klappt Seiten und ihre dazugehörigen Unterseiten auf und zu. <a href="http://www.texto.de/texto/statische-seiten-bequem-im-admincenter-ausschliessen-page-link-manager/#comment-1809" title="nepf seine Nachfrage"> nepf</a> erw&auml;hnte es in einen Kommentar und prompt wurde ich per Email danach gefragt &#8211; also hier ist die deutschsprachige Anleitung für dieses einfache und so fantastische Plugin.;) <br class="clear" /></p>
<dl class="center" style="width:480px;">
<dt><img src="http://www.texto.de/wp-images/1006/fold-page-menus.gif" alt=" Fold Page Menu aktiv oder nicht" height="288" width="475" /></dt>
<dd>Fold Page Menu aktiv und nicht aktiv. &nbsp;</dd>
</dl>
<p><br class="clear" /></p>
<ol>
<li>WordPress Plugin Download:<br /> <a href="http://www.texto.de/count/downloadcounter.php?stwc_cz=1&amp;stwc_id=7" title="Fold Page Menu als zip Datei ">Fold Page Menu</a>.</li>
<li>Entpacken:wp-content/themes/plugins/ hochladen.</li>
<li>Sidebar.php mit einem Editor Deiner Wahl öffnen.</li>
<li>Untenstehenden Code &auml;ndern.</li>
<li>Speichern. Fertig.</li>
</ol>
<h3>Sidebar für Fold Page Menu vorbereiten</h3>
<p>Dieses Plugin wie hier beschrieben eingefügt ergibt<span id="more-251"></span> auch keine Fehlermeldung, wenn es deaktiviert wird.</p>

<div class="wp_syntax"><div class="code"><pre class="php" style="font-family:monospace;">&nbsp;
<span style="color: #000000; font-weight: bold;">&lt;?php</span> <span style="color: #b1b100;">if</span> <span style="color: #009900;">&#40;</span><span style="color: #990000;">function_exists</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'fold_page_menus'</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span> <span style="color: #000000; font-weight: bold;">?&gt;</span>
<span style="color: #000000; font-weight: bold;">&lt;?php</span> wp_list_pages<span style="color: #009900;">&#40;</span>fold_page_menus<span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">.</span><span style="color: #0000ff;">'title_li=&lt;h2&gt;Seiten&lt;/h2&gt;'</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span> <span style="color: #000000; font-weight: bold;">?&gt;</span>
<span style="color: #000000; font-weight: bold;">&lt;?php</span> <span style="color: #009900;">&#125;</span> <span style="color: #b1b100;">else</span> <span style="color: #009900;">&#123;</span> <span style="color: #000000; font-weight: bold;">?&gt;</span>
<span style="color: #000000; font-weight: bold;">&lt;?php</span> wp_list_pages<span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'title_li=&lt;h2&gt;Seiten&lt;/h2&gt;'</span> <span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span> <span style="color: #000000; font-weight: bold;">?&gt;</span>
<span style="color: #000000; font-weight: bold;">&lt;?php</span> <span style="color: #009900;">&#125;</span> <span style="color: #000000; font-weight: bold;">?&gt;</span></pre></div></div>

<p>Dieses Plugin akzeptiert alle Einstellungen die man mit wp-list-pages machen kann. </p>
<p>N&auml;here Information findest Du bei meinen wp-list-pages Spielereien.</p>
<div class="sign"> <img src='http://www.texto.de/wp-includes/images/smilies/icon_wink.gif' alt=';-)' class='wp-smiley' /> </div>
<hr /><small>Copyright &copy; 2011<br /> This feed is for personal, non-commercial use only. <br /> The use of this feed on other websites breaches copyright. If this content is not in your news reader, it makes the page you are viewing an infringement of the copyright. Original article:  <a href="http://www.texto.de/fold-page-menu-aufklappbare-seitennavigation-251/" >texto.de</a> (Digital Fingerprint:  textoakamts[texto.de])</small><hr />]]></content:encoded>
			<wfw:commentRss>http://www.texto.de/fold-page-menu-aufklappbare-seitennavigation-251/feed/</wfw:commentRss>
		<slash:comments>14</slash:comments>
		</item>
		<item>
		<title>horizontale Liste gestalten</title>
		<link>http://www.texto.de/horizontale-liste-gestalten-151/</link>
		<comments>http://www.texto.de/horizontale-liste-gestalten-151/#comments</comments>
		<pubDate>Tue, 07 Feb 2006 18:36:22 +0000</pubDate>
		<dc:creator>texto</dc:creator>
				<category><![CDATA[Tipps und Tricks]]></category>
		<category><![CDATA[navigation]]></category>
		<category><![CDATA[sidebar]]></category>
		<category><![CDATA[template]]></category>
		<category><![CDATA[WebDesign]]></category>

		<guid isPermaLink="false">http://www.texto.de/?p=151</guid>
		<description><![CDATA[Wie stellt man eine Liste, geordnet oder ungeordnet, horiziontal dar und nicht immer nur vertikal.]]></description>
			<content:encoded><![CDATA[<p>In einem Kommentar bei den wp list pages Spielereien fragt <a href="http://www.texto.de/texto/wp_list_pages-spielereien/#comment-291" title="Horizontale Liste">Laurent</a> wie man so eine Liste horizontal darstellen kann.</p>
<p>Ganz einfach ist dies nicht zu beantworten, weil es auf den Grundaufbau des jeweiligen Cascading Style Sheet ankommt, aber meist führt folgender Weg zum <span id="more-151"></span>Ziel:</p>

<div class="wp_syntax"><div class="code"><pre class="php" style="font-family:monospace;">[Schritt 1]&lt;/div&gt;&lt;!--das ist das div des headers, das geschlossen werden muss.--&gt;
[Schritt 2]&lt;div id=&quot;menu&quot;&gt;
[Schritt 3]&lt;ul&gt;
 [Schritt 4]  <span style="color: #000000; font-weight: bold;">&lt;?php</span> wp_list_pages<span style="color: #339933;">..............</span>
<span style="color: #009900;">&#91;</span>Schritt <span style="color: #cc66cc;">5</span><span style="color: #009900;">&#93;</span><span style="color: #339933;">&lt;/</span>ul<span style="color: #339933;">&gt;</span>
<span style="color: #009900;">&#91;</span>Schritt <span style="color: #cc66cc;">6</span><span style="color: #009900;">&#93;</span><span style="color: #339933;">&lt;/</span>div<span style="color: #339933;">&gt;&lt;!--</span> id menu end<span style="color: #339933;">--&gt;</span></pre></div></div>

<p>Erkl&auml;rung:</p>
<ol>
<li>Schritt 1:<br />Die Liste sollte unterhalb des Headers erscheinen, daher erweist es sich oft als gut, den Header vorher zuzumachen.</li>
<li>Schritt 2:<br />Ich nehme eine id, weil eine class oft nicht die &#8220;Macht&#8221; hat. Der Name &#8220;menu&#8221; ist willkürlich ausgesucht, kann auch anders genannt werden.</li>
<li>Schritt 3:<br /> Für eine horizontale Liste ist es einfacher keine verschachtelte Liste zu nehmen. Der template tag wp_list_pages erzeugt die &#8220;li&#8221; selber, also müssen nur die fehlenden ul nachgereicht werden.</li>
<li>Schritt 4:<br /> Der template tag, welcher auch immer für Dein Anliegen passt.</li>
<li>Schritt 5 und 6:<br />
Alles was man &#8220;aufgemacht&#8221; hat muss man wieder &#8220;zumachen&#8221;.</li>
</ol>
<p>In die style.css Deines Themes kommt dann folgendes:</p>

<div class="wp_syntax"><div class="code"><pre class="php" style="font-family:monospace;"><span style="color: #009900;">&#91;</span><span style="color: #cc66cc;">1</span><span style="color: #009900;">&#93;</span> <span style="color: #666666; font-style: italic;">#menu  ul {position:relative; top:10px!important;top:15px; padding:0; margin:0% 3% 0% 0%; }
</span><span style="color: #009900;">&#91;</span><span style="color: #cc66cc;">2</span><span style="color: #009900;">&#93;</span> <span style="color: #666666; font-style: italic;">#menu ul li {display:inline; margin:0 1px; }
</span><span style="color: #009900;">&#91;</span><span style="color: #cc66cc;">3</span><span style="color: #009900;">&#93;</span> <span style="color: #666666; font-style: italic;">#menu  li {padding:2px 10px;}
</span><span style="color: #009900;">&#91;</span><span style="color: #cc66cc;">4</span><span style="color: #009900;">&#93;</span> <span style="color: #666666; font-style: italic;">#menu  li:hover {padding:2px 10px;}
</span><span style="color: #009900;">&#91;</span><span style="color: #cc66cc;">5</span><span style="color: #009900;">&#93;</span> <span style="color: #666666; font-style: italic;">#menu  a:hover {background-color:transparent;}</span></pre></div></div>

<ul>
<li>[1] die beiden Angaben bei top:&#8230;. sind einmal für den Internet Explorer und einmal für Firefox, Mozilla, Opera. Der Internet Explorer zeigt Abst&auml;nde anders als die anderen Browser an. Versteht dieses !important aber überhaupt nicht. So kann man dies nutzen zwei Angaben für ein und dieselbe Sache zu machen.  Ob die 10px reichen oder zuviel sind, kann man allgemein nicht sagen.</li>
<li>[2] wichtig ist dieses display inline , denn dieses inline macht aus der an und für sich vertikalen Liste eine horizontale. Die margin Angaben sind wiederum nicht allgemein bestimmbar.</li>
<li>[3] Padding ist der Innenabstand, man sollte padding Werte bei einer horizontalen Liste angeben, damit der Abstand auch links und rechts gut aussieht und benutzbar bleibt. Zu eng erschwert das Draufklicken, wenn man zB. ein ungeübter Maus und Internetnutzer ist.</li>
<li>[4] Gibt man dem li einen hover Effekt- der ist sichtbar, wenn man mit der Maus drüber f&auml;hrt, erleichtert dies ebenfalls das Draufklicken und man hat au&#223;erdem mehr Gestaltungsmöglichkeiten.</li>
<li>Es geht um Links, die sollte man &#8211; wenn es irgendwie geht, so wie die anderen Links auf der Website gestalten. Da man aber manchmal ein Hintergrundbild verwendet oder die Farbe beim Drüberfahren mit der Maus nicht passt oder die horizontale Liste am Ende des Headerbildes erscheinen soll, kann man die Links in dieser horizontalen Liste anpassen.</li>
</ul>
<p>Ich wei&#223;, sehr allgemein diese Tipps, aber ohne mehr über die Website zu wissen, wo diese horizontale Liste hin soll, kann ich nur spekulieren und sehr allgemein erkl&auml;ren.</p>
<p>Bei Fragen, einfach die Kommentarfunktion nutzen und meist haben viele andere auch Fragen und sind sehr froh, wenn sich jemand zu fragen getraut . <img src='http://www.texto.de/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /> </p>
<div class="sign">&#8230;gut erholt aus dem Urlaub zurück <img src='http://www.texto.de/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' />  </div>
<p><strong>edit:09.02.06</strong><br />
Ich antworte hier, weil in den Kommentaren zuwenig html erlaubt ist -aus Sicherheitsgründen.;)</p>

<div class="wp_syntax"><div class="code"><pre class="php" style="font-family:monospace;">&nbsp;
 <span style="color: #666666; font-style: italic;">#menu  ul {position:relative; top:10px!important;top:15px; padding:0; margin:0% 3% 0% 0%; }
</span><span style="color: #666666; font-style: italic;">#menu ul li.page_item {display:inline; margin:0 1px; }
</span> <span style="color: #666666; font-style: italic;">#menu  li {padding:2px 10px;}
</span> <span style="color: #666666; font-style: italic;">#menu  li:hover {padding:2px 10px;}
</span> <span style="color: #666666; font-style: italic;">#menu  a:hover {background-color:transparent;}
</span><span style="color: #666666; font-style: italic;">#menu li {	list-style-type: none;
</span>	list<span style="color: #339933;">-</span>style<span style="color: #339933;">-</span>image<span style="color: #339933;">:</span>none<span style="color: #339933;">;</span><span style="color: #009900;">&#125;</span></pre></div></div>

<p>mit dem list style type none verbietest Du die Bullets mit list style image etwaige Bildchen, die Du vielleicht woanders in einer Liste hast anstatt der Bullets.</p>
<p><strong>Die Zwischenstriche:</strong><br />
1. Möglichkeit -in allen Browsern sichtbar:<br />
Du verwendest nicht den template tag wp_list_pages, sondern verlinkst selber jede Seite.</p>

<div class="wp_syntax"><div class="code"><pre class="php" style="font-family:monospace;"><span style="color: #339933;">&lt;</span>div id<span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;menu&quot;</span><span style="color: #339933;">&gt;</span>
<span style="color: #339933;">&lt;</span>ul<span style="color: #339933;">&gt;&lt;</span>li<span style="color: #339933;">&gt;</span> a href<span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;deinedomain.de/.....&quot;</span> title<span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;.....&quot;</span><span style="color: #339933;">&gt;</span>Blubsch<span style="color: #339933;">&lt;/</span>a<span style="color: #339933;">&gt;&lt;/</span>li<span style="color: #339933;">&gt;</span>
<span style="color: #339933;">&lt;/</span>ul<span style="color: #339933;">&gt;&lt;/</span>div<span style="color: #339933;">&gt;</span></pre></div></div>

<p>Nachteil: ist aufw&auml;ndig.</p>
<p>2.Möglichkeit: der Internet Explorer zeigt dies nicht an, Browser schon.;)</p>
<p>Du schreibst in die style.css folgendes dazu:</p>

<div class="wp_syntax"><div class="code"><pre class="php" style="font-family:monospace;">&nbsp;
<span style="color: #666666; font-style: italic;">#menu ul li:before{
</span>	 content<span style="color: #339933;">:</span><span style="color: #0000ff;">&quot;\|&quot;</span><span style="color: #339933;">;</span>
	 text<span style="color: #339933;">-</span>align<span style="color: #339933;">:</span>center<span style="color: #339933;">;</span>
&nbsp;
<span style="color: #009900;">&#125;</span></pre></div></div>

<p>lg</p>
<hr /><small>Copyright &copy; 2011<br /> This feed is for personal, non-commercial use only. <br /> The use of this feed on other websites breaches copyright. If this content is not in your news reader, it makes the page you are viewing an infringement of the copyright. Original article:  <a href="http://www.texto.de/horizontale-liste-gestalten-151/" >texto.de</a> (Digital Fingerprint:  textoakamts[texto.de])</small><hr />]]></content:encoded>
			<wfw:commentRss>http://www.texto.de/horizontale-liste-gestalten-151/feed/</wfw:commentRss>
		<slash:comments>9</slash:comments>
		</item>
	</channel>
</rss>

