<?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; WordPress Theme</title>
	<atom:link href="http://www.texto.de/category/wordpress-theme/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>Theme Check überprüfe Dein Theme</title>
		<link>http://www.texto.de/theme-check-ueberpruefe-dein-theme-1320/</link>
		<comments>http://www.texto.de/theme-check-ueberpruefe-dein-theme-1320/#comments</comments>
		<pubDate>Tue, 15 Nov 2011 20:18:02 +0000</pubDate>
		<dc:creator>texto</dc:creator>
				<category><![CDATA[WordPress Theme]]></category>
		<category><![CDATA[WordPress Quick Tipps]]></category>
		<category><![CDATA[WordPress Themes]]></category>

		<guid isPermaLink="false">http://www.texto.de/?p=1320</guid>
		<description><![CDATA[mit dem Plugin WP Theme Check, kannst du dein WordPress Theme ganz einfach überprüfen. ]]></description>
			<content:encoded><![CDATA[<dl class="left" style="width:215px;">
<dt>&nbsp;</dt>
<dd><img  src="http://www.texto.de/wp-images/wordpress-menschen.jpg" alt="WordPress-der Mensch dahinter" width="200" height="124" /></dd>
</dl>
<p>  <span class="caplize">D</span>u hast Dein Theme liebgewonnen oder Du überlegst Dir ein neues Theme zu nutzen. Mit dem WP Plugin Theme Check kannst Du ganz leicht überprüfen, ob es auch den WordPress Standards entspricht. </p>
<h3>Was prüft Theme Check</h3>
<p>Es prüft die Theme Guidelines, die es auf wordpress.org/extend/themes seit geraumer Zeit gibt==> <a href="http://codex.wordpress.org/Theme_Review" title="Theme Review">Theme Review</a>.</p>
<p><span id="more-1320"></span></p>
<p>Download: <a href="http://wordpress.org/extend/plugins/theme-check/" title="Theme Check">Theme Check</a>.<br />
Aktivieren und via Admin nutzen.</p>
<div class="sign">Gäb es diese Qualität auch bei den WP Plugins blieb uns oft Kopfzerbrechen erspart <img src="http://www.texto.de/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/theme-check-ueberpruefe-dein-theme-1320/" >texto.de</a> (Digital Fingerprint:  textoakamts[texto.de])</small><hr />]]></content:encoded>
			<wfw:commentRss>http://www.texto.de/theme-check-ueberpruefe-dein-theme-1320/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Loop &#8211; hör einfach mal wieder auf &#8230;</title>
		<link>http://www.texto.de/loop-hoer-einfach-mal-wieder-auf-1305/</link>
		<comments>http://www.texto.de/loop-hoer-einfach-mal-wieder-auf-1305/#comments</comments>
		<pubDate>Sat, 05 Nov 2011 06:50:32 +0000</pubDate>
		<dc:creator>texto</dc:creator>
				<category><![CDATA[Tipps und Tricks]]></category>
		<category><![CDATA[loop]]></category>
		<category><![CDATA[WordPress Quick Tipps]]></category>

		<guid isPermaLink="false">http://www.texto.de/?p=1305</guid>
		<description><![CDATA[Ein Loop holt alle benötigten Daten für einen Artikel oder eine Seiten aus der WordPress Datenbank. Doch wie beendet man diese Schleife so, damit man mehrere Loops verwenden kann. Hier die Lösung.]]></description>
			<content:encoded><![CDATA[<dl class="left" style="width:260px;">
<dt>&nbsp;</dt>
<dd><img  src="http://www.texto.de/wp-images/loop-wordpress-mts.gif" alt="WordPress Loop in Action viele Beispiele" width="250" height="250" /></dd>
</dl>
<p>Du möchtest mehrere Loops in einem Template nutzen. Doch beim Ausprobieren erkanntest Du, dass die sich gegenseitig beeinflussen können.  Dies passiert, wenn man einen Loop nicht befiehlt &#8220;aufzuhören&#8221;. </p>
<p>Dazu bietet WP mehrere Möglichkeiten, wie wann welche gut hilft, erklärt Fantastisch einfach    Jeff Starr. </p>
<p>  <span id="more-1305"></span></p>
<blockquote><p>
wp_reset_postdata() -> am besten nach individuellen oder mehrfachen Loops mit  WP_Query<br />
wp_reset_query() -> am besten nach  query_posts oder nach einem individuellen Loop<br />
rewind_posts() -> am besten, wenn man dasselbe query öfter auf einer Seitenutzen mag<br />
<small>einfache Übersetzung ist von mir .. Original bei:</small><br />
<cite><a href="http://digwp.com/2011/09/3-ways-to-reset-the-wordpress-loop/#article-summary " title="Loops beenden">Jeff Starr</a></cite></p></blockquote>
<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/loop-hoer-einfach-mal-wieder-auf-1305/" >texto.de</a> (Digital Fingerprint:  textoakamts[texto.de])</small><hr />]]></content:encoded>
			<wfw:commentRss>http://www.texto.de/loop-hoer-einfach-mal-wieder-auf-1305/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Statische Seite X zeigt Beitr&#228;ge von Kategorie Y an.</title>
		<link>http://www.texto.de/statische-seite-x-zeigt-beitraege-von-kategorie-y-an-170/</link>
		<comments>http://www.texto.de/statische-seite-x-zeigt-beitraege-von-kategorie-y-an-170/#comments</comments>
		<pubDate>Thu, 03 Nov 2011 22:37:14 +0000</pubDate>
		<dc:creator>texto</dc:creator>
				<category><![CDATA[Tipps und Tricks]]></category>
		<category><![CDATA[loop]]></category>
		<category><![CDATA[template]]></category>
		<category><![CDATA[wordpress-cms]]></category>

		<guid isPermaLink="false">http://www.texto.de/?p=170</guid>
		<description><![CDATA[Update 2011: Neue Technik. Ich mag Beitr&#228;ge einer bestimmten Kategorie nur anzeigen, wenn man auf einer bestimmten statischen Seite ist. Dies kann man in WordPress leicht lösen.]]></description>
			<content:encoded><![CDATA[<dl class="left" style="width:260px;">
<dt>&nbsp;</dt>
<dd><img  src="http://www.texto.de/wp-images/loop-wordpress-mts.gif" alt="WordPress Loop in Action viele Beispiele" width="250" height="250" /></dd>
</dl>
<p><span class="caplize">A</span>ngefragt wurde ich, wie man es in WordPress schafft, dass man beim Aufrufen der statischen Seite X soundsoviele Beitr&auml;ge aus der Kategorie Y angezeigt bekommt.  </p>
<div class="eyecatch">Diese Anfrage kam im Februar 2006 und daher veröffentlichte ich am 1. März 2006 das erste Mal diesen Artikel. Heute habe ich ihn komplett neu geschrieben und trage damit den veränderten Möglichkeiten in WordPress Rechnung. </div>
<p>Als Vorbereitung für diese Lösung musst Du:</p>
<ol>
<li>Admincenter//Dashboard==>Seiten==>ID der Seite suchen und merken.
</li>
<li>Admincenter//Dashboard==>Artikel==>Kategorien==>ID der Kategorie suchen und merken.
</li>
</ol>
<p>In meinem Beispiel ist die ID der Seite 9.<br />
Die ID der Kategorie ist 3.<br />
Eingetragen habe ich es in meiner sidebar.php.</p>
<h3>ein benutzerdefinierter Loop &#8211; beeinflusst der auch andere </h3>
<p>Diese Lösung funktioniert vor dem normalen Loop und nach dem normalen Loop und wie immer habe ich eine sehr einfache Erklärung mit dabei. <img src='http://www.texto.de/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' />   Und ich kanns nicht oft genug erwähnen. Dieser Loop beeinflusst andere Loops nicht! </p>
<p><span id="more-170"></span></p>
<p> Direkt in die page.php kann man dies schreiben.</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>is_page<span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'9'</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span> <span style="color: #666666; font-style: italic;">// ID der gewünschten Seite ?&gt;</span>
&nbsp;
<span style="color: #000000; font-weight: bold;">&lt;?php</span>
<span style="color: #000000; font-weight: bold;">global</span> <span style="color: #000088;">$post</span><span style="color: #339933;">;</span>
<span style="color: #000088;">$tmp_post</span> <span style="color: #339933;">=</span> <span style="color: #000088;">$post</span><span style="color: #339933;">;</span>
<span style="color: #000088;">$args</span> <span style="color: #339933;">=</span> <span style="color: #990000;">array</span><span style="color: #009900;">&#40;</span> <span style="color: #0000ff;">'numberposts'</span> <span style="color: #339933;">=&gt;</span> <span style="color: #cc66cc;">6</span><span style="color: #339933;">,</span> <span style="color: #0000ff;">'offset'</span><span style="color: #339933;">=&gt;</span> <span style="color: #cc66cc;">3</span><span style="color: #339933;">,</span> <span style="color: #0000ff;">'category'</span> <span style="color: #339933;">=&gt;</span> <span style="color: #cc66cc;">6</span> <span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
<span style="color: #000088;">$myposts</span> <span style="color: #339933;">=</span> get_posts<span style="color: #009900;">&#40;</span> <span style="color: #000088;">$args</span> <span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
<span style="color: #b1b100;">foreach</span><span style="color: #009900;">&#40;</span> <span style="color: #000088;">$myposts</span> <span style="color: #b1b100;">as</span> <span style="color: #000088;">$post</span> <span style="color: #009900;">&#41;</span> <span style="color: #339933;">:</span> setup_postdata<span style="color: #009900;">&#40;</span><span style="color: #000088;">$post</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span> <span style="color: #000000; font-weight: bold;">?&gt;</span>
&nbsp;
<span style="color: #000000; font-weight: bold;">&lt;?php</span> the_time<span style="color: #009900;">&#40;</span>__<span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'d.m.:'</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span> <span style="color: #000000; font-weight: bold;">?&gt;</span>&lt;a href=&quot;<span style="color: #000000; font-weight: bold;">&lt;?php</span> the_permalink<span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span> <span style="color: #000000; font-weight: bold;">?&gt;</span>&quot; rel=&quot;bookmark&quot; title=&quot;  <span style="color: #000000; font-weight: bold;">&lt;?php</span> the_title<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>&quot;&gt;<span style="color: #000000; font-weight: bold;">&lt;?php</span> the_title<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>&lt;/a&gt;.
&nbsp;
<span style="color: #000000; font-weight: bold;">&lt;?php</span> <span style="color: #b1b100;">endforeach</span><span style="color: #339933;">;</span>  <span style="color: #000088;">$post</span> <span style="color: #339933;">=</span> <span style="color: #000088;">$tmp_post</span><span style="color: #339933;">;</span> <span style="color: #000000; font-weight: bold;">?&gt;</span> 
&nbsp;
 &lt;/ul&gt;
&nbsp;
<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>Erkl&auml;rung</strong>:</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;">if</span> <span style="color: #009900;">&#40;</span>is_page<span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'9'</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span> <span style="color: #666666; font-style: italic;">// ID der gewünschten Seite ?&gt;</span></pre></div></div>

<p>Das heißt ausgesprochen:<br />
Wenn es die Seite mit der ID 9 ist, dann&#8230;</p>
<p>Das &lt;ul&gt; öffnet die ungeordnete Liste, in der ich die Beitr&auml;ge anzeigen lassen mag => logisch kannst Du das ändern.</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: #000000; font-weight: bold;">global</span> <span style="color: #000088;">$post</span><span style="color: #339933;">;</span>
<span style="color: #000088;">$tmp_post</span> <span style="color: #339933;">=</span> <span style="color: #000088;">$post</span><span style="color: #339933;">;</span>
<span style="color: #000088;">$args</span> <span style="color: #339933;">=</span> <span style="color: #990000;">array</span><span style="color: #009900;">&#40;</span> <span style="color: #0000ff;">'numberposts'</span> <span style="color: #339933;">=&gt;</span> <span style="color: #cc66cc;">6</span><span style="color: #339933;">,</span> <span style="color: #0000ff;">'offset'</span><span style="color: #339933;">=&gt;</span> <span style="color: #cc66cc;">3</span><span style="color: #339933;">,</span> <span style="color: #0000ff;">'category'</span> <span style="color: #339933;">=&gt;</span> <span style="color: #cc66cc;">6</span> <span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
<span style="color: #000088;">$myposts</span> <span style="color: #339933;">=</span> get_posts<span style="color: #009900;">&#40;</span> <span style="color: #000088;">$args</span> <span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
<span style="color: #b1b100;">foreach</span><span style="color: #009900;">&#40;</span> <span style="color: #000088;">$myposts</span> <span style="color: #b1b100;">as</span> <span style="color: #000088;">$post</span> <span style="color: #009900;">&#41;</span> <span style="color: #339933;">:</span> setup_postdata<span style="color: #009900;">&#40;</span><span style="color: #000088;">$post</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>Meine Erklärungen sind meist sehr bildhaft <img src='http://www.texto.de/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> </p>
<p>Liebes WordPress, du glaubst zwar jetzt gehts um eine Seite, doch ich gebe dir nun den Befehl zeige Artikel an,<br />
und zwar 6 (numberposts), aber nicht die ersten 3 (offset) und zwar nur aus der Kategorie mit der ID 6.</p>
<p>Und hole alles was zu einem Artikel dazugehört aus der Datenbank raus (setup_postdata). </p>
<p class="eingerueckt">===>  Du könntest also auch Autoren, benutzerdefinierte Felder etc anzeigen lassen. </p>
<p>Jetzt wird angegeben wie die Beitr&auml;ge aussehen sollen:</p>

<div class="wp_syntax"><div class="code"><pre class="php" style="font-family:monospace;">&nbsp;
&lt;li&gt;<span style="color: #000000; font-weight: bold;">&lt;?php</span> the_time<span style="color: #009900;">&#40;</span>__<span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'d.m.:'</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span> <span style="color: #000000; font-weight: bold;">?&gt;</span>&lt;a href=&quot;<span style="color: #000000; font-weight: bold;">&lt;?php</span> the_permalink<span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span> <span style="color: #000000; font-weight: bold;">?&gt;</span>&quot; rel=&quot;bookmark&quot; title=&quot; <span style="color: #000000; font-weight: bold;">&lt;?php</span> the_title<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>&quot;&gt;<span style="color: #000000; font-weight: bold;">&lt;?php</span> the_title<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>&lt;/a&gt;.&lt;/li&gt;</pre></div></div>

<p>Hier hast Du freie Wahl. Ich lasse zuerst das Datum anzeigen, dann nur den Link zum Beitrag.<br />
Packe dann alles zwischen die &lt;li&gt; und &lt;/li&gt;, damit die Liste richtig wird.   </p>
<h3> alles bis zum &#8220;more-tag&#8221;&#8230;. </h3>

<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: #000000; font-weight: bold;">global</span> <span style="color: #000088;">$more</span><span style="color: #339933;">;</span>
<span style="color: #000088;">$more</span> <span style="color: #339933;">=</span> <span style="color: #cc66cc;">0</span><span style="color: #339933;">;</span>
the_content<span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'Weiterlesen'</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>den Loop   beenden &#8211; so damit er andere Loops nicht stört</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;">endforeach</span><span style="color: #339933;">;</span>  <span style="color: #000088;">$post</span> <span style="color: #339933;">=</span> <span style="color: #000088;">$tmp_post</span><span style="color: #339933;">;</span> <span style="color: #000000; font-weight: bold;">?&gt;</span></pre></div></div>

<p>Dies ist wichtig, damit WordPress wei&#223;, es muss nicht mehr weiterarbeiten. (endforeach) und dies beendet den Loop komplett, sodass weitere Loops nicht von diesem beeinflusst werden  ( $ post = $ tmp_post )</p>
<p>Abfrage, ob man auf der richtigen Seite ist mag auch beendet werden&#8230;.</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: #009900;">&#125;</span> <span style="color: #000000; font-weight: bold;">?&gt;</span></pre></div></div>

<p>Schlie&#223;t den ganzen Komplex, der mit if&#8230;. anfing.</p>
<p><strong>Artikelhistorie:</strong></p>
<p>Erstveröffentlichung: 01. März 2006 19:59<br />
Update: 3.11.2011</p>
<p>Viel Spa&#223; beim Ausprobieren. </p>
<div class="sign"> bei Fragen einfach fragen..</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-seite-x-zeigt-beitraege-von-kategorie-y-an-170/" >texto.de</a> (Digital Fingerprint:  textoakamts[texto.de])</small><hr />]]></content:encoded>
			<wfw:commentRss>http://www.texto.de/statische-seite-x-zeigt-beitraege-von-kategorie-y-an-170/feed/</wfw:commentRss>
		<slash:comments>31</slash:comments>
		</item>
		<item>
		<title>Tags in Spalten anzeigen -Multi Column Tag Map</title>
		<link>http://www.texto.de/tags-in-spalten-anzeigen-multi-column-tag-map-1310/</link>
		<comments>http://www.texto.de/tags-in-spalten-anzeigen-multi-column-tag-map-1310/#comments</comments>
		<pubDate>Tue, 11 Oct 2011 20:54:04 +0000</pubDate>
		<dc:creator>texto</dc:creator>
				<category><![CDATA[Tipps und Tricks]]></category>
		<category><![CDATA[wordpress-plugins]]></category>

		<guid isPermaLink="false">http://www.texto.de/?p=1310</guid>
		<description><![CDATA[Tags, Schlagwörter in frei wählbaren Spalten anzeigen. Dieses Plugin schafft nicht nur Ordnung, sondern auch unsere Umlaute. ]]></description>
			<content:encoded><![CDATA[<dl class="left" style="width:360px;">
<dt> &nbsp;</dt>
<dd><img src="http://www.texto.de/wp-images/1011/multi-column-tag.jpg" alt=" multi column tag map" width="350" height="274" /></dd>
</dl>
<p><span class="caplize">M</span>anchmal hat man viele Tags, Schlagworte und nicht jeder mag diese in einer &#8220;Wolke&#8221; präsentieren. Wunderbar alphabetisch geordnet kann das WP Plugin <strong> Multi Column Tag Map</strong> dies ändern. Man kann die Anzahl der Spalten wählen. </p>
<p>Live ansehen kannst Du es Dir hier auf meiner <a href="http://www.texto.de/tags-stichwoerter/" title="Tags Stichwörter in Spalten">Tag Seite</a>. </p>
<p>Plugin Autor ist <a href="http://tugbucket.net" title="Tugbucket.net">Alan Jackson</a>, und ich mag mich ganz herzlichst bei ihm bedanken, weil er es schaffte, dass dieses tolle Plugin auch unsere Umlaute korrekt darstellt und er die Möglichkeit schuf, dass man Tags aus der Anzeige auch ausschließen kann.</p>
<p><span id="more-1310"></span></p>
<p>Ich finde es immer wieder faszinierned, wie er auf die Kommentare in<a href="http://tugbucket.net/wordpress/wordpress-plugin-multi-column-tag-map" title="Multi Column Tag"> seinem Blog</a> einging und zu erforschen suchte wie er helfen kann. </p>
<p>Ist ja nicht so einfach, wenn man English spricht Worte wie &#8220;Österreich, Ätsch oder üblicherweise zu erforschen, damit man eine alphabetisch korrekte Tagliste auch für unsere Sprache programmieren kann.  </p>
<ol>
<li>
Download von wordpress.org => <a href="http://wordpress.org/extend/plugins/multi-column-tag-map/" title="Multi Column Tag map Alan ">Multi Column Tag map</a>.
</li>
<li>Entpacken, hochladen, aktivieren => nutzen.
</li>
<li>oder via Dashboard suchen und aktivieren.
</li>
</ol>
<h3>Multi Column Tag Map Shortcode</h3>
<p>Den Shortcode zeig ich hier nur wegendes Überblicks mehrzeilig.</p>

<div class="wp_syntax"><div class="code"><pre class="php" style="font-family:monospace;">&nbsp;
<span style="color: #009900;">&#91;</span>mctagmap columns<span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;3&quot;</span> 
more<span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;more &amp;amp#187;&quot;</span> 
hide<span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;no&quot;</span> 
num_show<span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;4&quot;</span> 
toggle<span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;«&quot;</span> 
show_empty<span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;yes&quot;</span> 
name_divider<span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;|&quot;</span> 
tag_count<span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;yes&quot;</span><span style="color: #009900;">&#93;</span></pre></div></div>

<p><b>Welche Parameter kennt dieser Shortcode</b></p>
<ul>
<li>
    columns = 2 (possible values: 1-5) man kann 2 -5 Spalten nutzen
   </li>
<li> hide = no (possible values: yes or no)  hat man ganz viele Artikel pro Tag, kann man hier einstellen, ob man welche unter einem &#8220;Mehr &#8221; Button verstecken mag
</li>
<li>    num_show = 5  => wieviele Artikel pro Tag sollen angezeigt ewrden
 </li>
<li>   more = View more  => dann sinnvoll, wenn man sehr viele Artikel hat und bei hide=yes hat
   </li>
<li> toggle = no (possible values: &#8216;YOUR TEXT&#8217; or no) => auf und zuklappen ja nein
   </li>
<li> show_empty = no (possible values: yes or no) => leere &#8220;Buchstaben zeigen&#8221;
   </li>
<li> name_divider = |  => wie mag man die einzelnen Artikel trennen
  </li>
<li>  tag_count = no (possible values: yes or no)  => Anzahl der Artikel pro Tag anzeigen ja, nein,
  </li>
<li>  exclude =  => eine Koma getrennte Liste der Tag IDs , die man nicht anzeigen mag.  die IDs müssen aufsteigend sortiert sein.
</li>
</ul>
<p><b>Danke an den Plugin Autor geht ganz einfach </b></p>
<p>Nutzt Du Alan Jacksons  Plugin Multi Column Tag map, dann sei so nett und surf zur <a href="http://wordpress.org/extend/plugins/multi-column-tag-map/" title="Voten für das Plugin bitte">Downloadseite</a> und vote dort für sein Plugin, dies macht Unterschied auf wordpress.org und es ist sowas wie ein kostenfreies Danke an jemand, der sein Können zur Verfügung stellt. </p>
<div class="sign"><img src="http://www.texto.de/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/tags-in-spalten-anzeigen-multi-column-tag-map-1310/" >texto.de</a> (Digital Fingerprint:  textoakamts[texto.de])</small><hr />]]></content:encoded>
			<wfw:commentRss>http://www.texto.de/tags-in-spalten-anzeigen-multi-column-tag-map-1310/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Templates machen das Leben einfacher &#8211;  vergiss query_posts</title>
		<link>http://www.texto.de/templates-machen-das-leben-einfacher-vergiss-query_posts-1302/</link>
		<comments>http://www.texto.de/templates-machen-das-leben-einfacher-vergiss-query_posts-1302/#comments</comments>
		<pubDate>Thu, 06 Oct 2011 20:21:41 +0000</pubDate>
		<dc:creator>texto</dc:creator>
				<category><![CDATA[Tipps und Tricks]]></category>
		<category><![CDATA[loop]]></category>
		<category><![CDATA[template]]></category>

		<guid isPermaLink="false">http://www.texto.de/?p=1302</guid>
		<description><![CDATA[query_posts verändert die Ausgabe des Standard Loops. Individuelle Templates können sehr oft query_posts ersetzen. Hier einige Tipps dazu. ]]></description>
			<content:encoded><![CDATA[<dl class="left" style="width:260px;">
<dt>&nbsp;</dt>
<dd><img  src="http://www.texto.de/wp-images/loop-wordpress-mts.gif" alt="WordPress Loop in Action viele Beispiele" width="250" height="250" /></dd>
</dl>
<p><span class="caplize">H</span>ierarchie all überall auch in der WordPress Welt <img src='http://www.texto.de/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> .<br />
Für den Redakteur soll die Profilseite schon anders aussehen, als für den Autor. query_posts author=6</p>
<p>Und meine Portfolio Kategorie hat sich ein ganz eigenes Aussehen einfach verdient! query_posts cat=345</p>
<p>In all meiner Auflistung der Musiker (mittels custom taxonomien) ist mir Britney einfach was schöneres wert&#8230;. usw.   query_posts   array    &#8216;musiker&#8217; => &#8216;britney&#8217; </p>
<p>Immer wenn es darum geht eine bestimmte Ausnahme in der Darstellung zu machen sehe ich dann Konstrukte mit Loops. <strong>query_posts</strong> ist da allgemein sehr beliebt.</p>
<p>Man sucht sich in den diversen loop.php Dateien kreuz und quer, sucht verzweifelt nach if-Schleifen, die aber doch if-Abfragen sind und kennt sich schlussendlich selbst nicht mehr aus. Haare werden Grau, Falten beginnen die Nasenwurzel zu zieren&#8230;</p>
<p>Und das alles nur wegen <b>query_posts</b>. Ich bin ja strikt dafür dies aus dem Codex zu entfernen. Ratzefatz weg damit, denn was macht dieser so offensichtlich einfache Loop.  </p>
<p><span id="more-1302"></span></p>
<h3>Was macht  query_posts</h3>
<p>zb</p>

<div class="wp_syntax"><div class="code"><pre class="php" style="font-family:monospace;">query_posts<span style="color: #009900;">&#40;</span> author<span style="color: #339933;">=</span><span style="color: #cc66cc;">5</span> <span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
get_header<span style="color: #009900;">&#40;</span> <span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
<span style="color: #b1b100;">while</span><span style="color: #009900;">&#40;</span> have_posts<span style="color: #009900;">&#40;</span> <span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#41;</span> <span style="color: #339933;">:</span> the_post<span style="color: #009900;">&#40;</span> <span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
<span style="color: #b1b100;">endwhile</span><span style="color: #339933;">;</span>
get_footer<span style="color: #009900;">&#40;</span> <span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span></pre></div></div>

<blockquote><p>
query_posts ist die einfachste Art die Standard Ausgabe der Artikel pro URL zu ändern.<br />
zb Archiv, Kategorie, Tagseite, Startseite, Einzelansicht eines Artikels.</p>
<p><cite>Codex zu <a href="http://codex.wordpress.org/Function_Reference/query_posts" title="Codex">query_posts</a></cite></p></blockquote>
<p>Ja, es ist die einfachste Art, doch es zerstört nachhaltigst die natürliche   Ordnung in WordPress. </p>
<p class="eingerueckt">Nutzt Du <strong>query_posts</strong> veränderst Du die gesamte Standardausgabe der Artikel: Angefangen von den template tags bishin zu den globalen Variablen. </p>
<p>=> die meisten verzweifeln , weil dann die Pagination /Weiterblätterei nicht mehr funktioniert.<br />
=> die wenigsten erkennen, dass query_posts immer 2 queries macht. Stichwort: Performance Deines Blogs.</p>
<p><b>Tipp </b>==> Nutze <strong>query_posts</strong> nur, wenn   Dir wirklich absolut und überhaupt keine Alternative mehr einfällt.  Und das ist so selten der Fall.<br />
Und wenn Du es schon nutzt, dann setz den Loop wieder zurück mit wp_reset_query( ) . </p>
<h3>Wie kannst Du query_posts umgehen.</h3>
<p><span class="firstletter">1.</span><br />
Für die Redakteuren eine wunderbare Profilseite: <strong>author-{nickname}.php</strong> oder <strong>author-id.php</strong>.</p>
<p class="eingerueckt">Keiner hat 100derte von Redakteure in seiner WP Installation, diese paar Templates sind schneller erstellt, als stundenlanges suchen nach query_posts Lösungen. </p>
<p><span class="firstletter">2.</span><br />
Für die Portfolio Kategorie ein eigenes Aussehen: <strong>category-slugname.php</strong> oder <strong>category-id.php</strong>. </p>
<p><span class="firstletter">2a.</span><br />
Ist Dein Portfolio ein <strong>custom post type</strong>, dann  <strong>archive-{post_type}.php</strong>  =><strong> archive-portfolio.php</strong> und für die Einzelansichten <strong>single-{post_type}.php</strong> =><strong> single-portfolio.php</strong>.</p>
<p><span class="firstletter">3.</span><br />
Für Deine Britney aus der custom Taxonomie:<strong> taxonomy-{taxonomy}-{term}.php</strong></p>
<p>Ist die Taxonomie Musiker und der Slug der Taxonomie ist britney, dann findet WP auch <strong>taxonomy-musiker-britney.php</strong></p>
<p><b>Fazit:</b> Bevor Du krampfhaft versuchst alles in einem template unterzubringen nutze die <a href="http://www.texto.de/update-cheat-cheet-wp-template-hierarchie-909/" title="Template Hierarchy">Template Hierarchie</a> von WordPress voll aus und Du hast</p>
<p>1. mehr Überblick in deinem ThemeOrdner und<br />
2. weniger Chance je query_posts nutzen zu wollen. <img src='http://www.texto.de/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' />  </p>
<div class="sign"> ich hab es lieber einfacher, denn dreimal ums Eck gedacht..  <img src="http://www.texto.de/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/templates-machen-das-leben-einfacher-vergiss-query_posts-1302/" >texto.de</a> (Digital Fingerprint:  textoakamts[texto.de])</small><hr />]]></content:encoded>
			<wfw:commentRss>http://www.texto.de/templates-machen-das-leben-einfacher-vergiss-query_posts-1302/feed/</wfw:commentRss>
		<slash:comments>9</slash:comments>
		</item>
		<item>
		<title>Content is King:  Textauszeichnung für Dich, Nerds und den SEO</title>
		<link>http://www.texto.de/content-is-king-textauszeichnung-1284/</link>
		<comments>http://www.texto.de/content-is-king-textauszeichnung-1284/#comments</comments>
		<pubDate>Fri, 30 Sep 2011 15:52:24 +0000</pubDate>
		<dc:creator>texto</dc:creator>
				<category><![CDATA[WordPress Theme]]></category>
		<category><![CDATA[Content-Präsentation]]></category>

		<guid isPermaLink="false">http://www.texto.de/?p=1284</guid>
		<description><![CDATA[Content is King. Texten für das Internet ist in vieler Munde. Nutze Textauszeichnungen, um Deine Leser zu verwöhnen, um die Wichtigkeit Deines Inhaltes darzustellen und auch um die Suchmaschine zu erfreuen - und zwar in genau dieser Reihenfolge. ]]></description>
			<content:encoded><![CDATA[<dl class="left" style="width:320px;">
<dt></dt>
<dd><img src="http://www.texto.de/wp-images/0911/html-textauszeichnung.png" alt=" Textauszeichnung mit Editor oder html" width="300" height="320" /></dd>
</dl>
<p><span class="caplize">C</span>ontent is King tönt es derzeit in allen Blogs und Websites.<em> Haste keinen guten Inhalt wirste bei Google nicht mehr gefunden.</em> </p>
<p>So sehr ich das bejahe, so sehr muss ich feststellen, dass meist die besten Content Lieferanten ihre eigenen Inhalte mehr als stiefmütterlich behandeln. <strong>Textauszeichnung </strong>ist immer noch unbekannt.  </p>
<p>Dass man Überschriften verwenden sollte, haben mal SEOs gesagt, da war mal was, so genau weiß mans nicht, aber man nutzt sie. Schaden solls ja nicht&#8230;. </p>
<p><br class="clear" /></p>
<p class="eingerueckt">Texten für das Internet ist schon nicht ganz einfach, weiß man doch, dass Inhalte nur mehr gescannt werden. Kurz, knackig, voller Gefühl und dennoch wissenschaftlich ernst, all das sollen unsere Texte sein. </p>
<p>Es ist aber auch verdammt gut, wenn sie gut lesbar sind, da les ich dann auch bis zum Seitenende und vielleicht sogar 2-3 Artikel von Deiner Webseite <small>[Stichwort: Bouncerate] </small>.</p>
<p>Hier nun ein paar ganz einfache und sofort umsetzbare Tipps, wie auch Du Deinen guten Content lesbar machen kannst. Und somit &#8220;content is king&#8221; auch sichtbar wird. </p>
<p><span id="more-1284"></span></p>
<h3>einfache Textgestaltung</h3>
<p><span class="firstletter">1.</span><br />
Nutze line-height, damit die Zeilen mehr Abstand haben. </p>
<p   class="cleart" ><span class="firstletter">2.</span><br />
 <img src="http://www.texto.de/wp-images/2011/09/einruecken.png" alt="Text einruecken Icon " title="Text einruecken" width="65" height="32" class="alignleft size-full wp-image-1285" />Rücke hie und da Sätze einfach ein. Selbst der TinyMCE bietet Dir dies..</p>
<p    class="cleart"   ><span class="firstletter">3.</span><br />
<img src="http://www.texto.de/wp-images/2011/09/bunt-machen.png" alt="bunt-machen  icon" title="bunt-machen" width="154" height="146" class="alignleft size-full wp-image-1286" />  Nutze Farben, um mir Anhaltspunkte zu geben. </p>
<p  class="cleart"   ><span class="firstletter">4.</span><br />
Nutze blockquote die HTML Auszeichnung für Zitate. </p>
<blockquote><p>In this last example, the small element is marked as being important small print.</p>
<p>&lt;p&gt;&lt;strong&gt;&lt;small&gt;Continued use of this service will result in a kiss.&lt;/small&gt;&lt;/strong&gt;&lt;/p&gt;</p>
<p><cite><a href="http://www.whatwg.org/specs/web-apps/current-work/multipage/text-level-semantics.html" title="HTML Semantik">HTML Living Standard </a></cite></p></blockquote>
<h3>Textgestaltung für Nerds</h3>
<p><span class="firstletter">1. </span><br />
&lt;strong&gt; bedeutet: wichtig.  </p>
<p class="eingerueckt">&lt;strong&gt; &lt;strong&gt;Halt!!!!!!&lt;/strong&gt; &lt;/strong&gt; ist dann am Wichtigsten.</p>
<p><span class="firstletter">2.</span><br />
&lt;small&gt; bedeutet: unwichtig  </p>
<p class="eingerueckt">&lt;strong&gt;&lt;small&gt; Tee   &lt;small&gt;&lt;/strong&gt; bedeutet: am Unwichtigsten. </p>
<p>mehr davon steht hier:  <cite><a href="http://www.whatwg.org/specs/web-apps/current-work/multipage/text-level-semantics.html" title="HTML Semantik"><strong>HTML Living Standard</strong> </a></cite>.</p>
<h3>Textgestaltung für SEOs</h3>
<p class="infobox">Google kann HTML  perfekt lesen. </p>
<p><span class="firstletter">1.</span><br />
&lt;h1&gt;&lt;small&gt;wichtige Überschrift aus designgründen kleiner gemacht&lt;/small&gt;&lt;/h1&gt;</p>
<p>Bedeutet: Diese Überschrift ist unwichtig. </p>
<p><span class="firstletter">2.</span><br />
I&#8217;m a  &lt;span class=&#8221;coloroftheking&#8221;&gt;H&lt;/span&gt;ero </p>
<p>Liest Google als  &#8220;H&#8221; und &#8220;ero&#8221;, weil jeder HTML Tag ein neues Wort für Google ist. <cite><a href="http://www.google.com/support/forum/p/webmasters/thread?tid=0812ec77e8fc7038&#038;hl=de" title="Google und Keys">Behaupt nicht nur ich</a></cite></p>
<div class="sign"><img src="http://www.texto.de/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/content-is-king-textauszeichnung-1284/" >texto.de</a> (Digital Fingerprint:  textoakamts[texto.de])</small><hr />]]></content:encoded>
			<wfw:commentRss>http://www.texto.de/content-is-king-textauszeichnung-1284/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>Gesucht und (noch) nicht gefunden</title>
		<link>http://www.texto.de/gesucht-und-noch-nicht-gefunden-1266/</link>
		<comments>http://www.texto.de/gesucht-und-noch-nicht-gefunden-1266/#comments</comments>
		<pubDate>Fri, 23 Sep 2011 06:35:44 +0000</pubDate>
		<dc:creator>texto</dc:creator>
				<category><![CDATA[Tipps und Tricks]]></category>
		<category><![CDATA[WordPress Quick Tipps]]></category>
		<category><![CDATA[wordpress-plugins]]></category>

		<guid isPermaLink="false">http://www.texto.de/?p=1266</guid>
		<description><![CDATA[Wie findet man $wp-query und Profilbilder und wie integriert man WP in eine bestehende Homepage , das Plugin SearchMeter verhilft  zu mehr Benutzerfreundlichkeit.]]></description>
			<content:encoded><![CDATA[<dl  class="left" style="width:260px;">
<dt>&nbsp;</dt>
<dd><img src="http://www.texto.de/wp-images/suche-texto-mts.jpg" alt="gesucht und nicht gefunden auf texto.de " width="250" height="250" /></dd>
</dl>
<p><span class="caplize">I</span>ch nutze bereits sehr lange das Plugin <a href="http://thunderguy.com/semicolon/wordpress/search-meter-wordpress-plugin/" title="Search Meter">Search Meter</a>, es zeigt mir an, wonach hier auf der Texto.de gesucht wurde. Und das besondere daran ist, dass ich sofort sehe was jemand suchte, aber nicht fand.  Gut, wenn ich hier keine T-Shirts anbiete, dann ist dem so und dann wird man hier auch kaum je was dazu finden.  <img src='http://www.texto.de/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> </p>
<p>Dieser Tage fand ich aber Suchanfragen, die ich gern beantworte:</p>
<p><span id="more-1266"></span></p>
<h3>Gesucht und nicht gefunden: $wp-query</h3>
<p>Hier empfehl ich entweder nach my-query zu suchen oder einfach die Tag/Schlagwort Übersichtsseite:<a href="http://www.texto.de/tag/loop/" title="WP Query ist die Suche nach einem WP Loop"> Loop </a>.  Da findest Du all die vielen WP queries, die ich irgendwann mal im Einsatz hatte, oder habe.</p>
<h3>&#8220;Profilbild bei Kommentaren&#8221; wurde so auch nicht gefunden. </h3>
<p>Hmm ich hoff ich merk mir das, doch meist nenne ich &#8220;Profilbilder&#8221; &#8220;Avatare&#8221; oder &#8220;Gravatare&#8221;. </p>
<p>Da fallen mir folgende Artikel hier auf der Texto.de ein:</p>
<ul>
<li><a href="http://www.texto.de/quick-tipp-autor-bei-kommentaren-hervorheben-611/" title="Autor bei Kommentaren">Autor bei Kommentaren hervorheben</a>.
</li>
<li><a href="http://www.texto.de/autoren-und-ihre-profilseite-in-wp-1216/" title="Autoren und Profilseite">Autoren und ihre Profilseite</a>.
</li>
<li><a href="http://www.texto.de/wp-27-kommentare-individuell-avatar-uvm-691/" title="Kommentare ändern">Kommentare ändern</a></li>
</ul>
<h3>WordPress in bestehende Seite integrieren => das ist komplexer</h3>
<p>Ich habe dazu noch nichts geschrieben, weil es meiner Meinung dazu keine &#8220;Allerweltslösung&#8221; gibt.<br />
Weil WP in eine bestehende Homepage zu integrieren meist die Frage nach einer Lösung ist, aber das Problem dahinter nicht beschreibt;)</p>
<p>Soll man bei einem Klick auf X dann WP sehen?<br />
Soll die vorhandene Navigation ganz erhalten bleiben?<br />
Soll es nur einen Adminbereich geben?</p>
<p>Um diese Frage zu beantworten brauchst das Problem &#8211; nicht die Lösung &#8220;Integration&#8221;.</p>
<div class="sign">
Solltest Du zu allen Suchanfragen mehr dazu wissen wollen, einfach hier via Kommentare fragen.<img src="http://www.texto.de/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/gesucht-und-noch-nicht-gefunden-1266/" >texto.de</a> (Digital Fingerprint:  textoakamts[texto.de])</small><hr />]]></content:encoded>
			<wfw:commentRss>http://www.texto.de/gesucht-und-noch-nicht-gefunden-1266/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Thumbs- Bilder anzeigen, obwohl the_excerpt verwendet wird</title>
		<link>http://www.texto.de/thumbs-bilder-anzeigen-obwohl-the_excerpt-verwendet-wird-1260/</link>
		<comments>http://www.texto.de/thumbs-bilder-anzeigen-obwohl-the_excerpt-verwendet-wird-1260/#comments</comments>
		<pubDate>Tue, 20 Sep 2011 13:03:08 +0000</pubDate>
		<dc:creator>texto</dc:creator>
				<category><![CDATA[Tipps und Tricks]]></category>
		<category><![CDATA[template-tag]]></category>
		<category><![CDATA[Youtube-PodCast-Bilder]]></category>

		<guid isPermaLink="false">http://www.texto.de/?p=1260</guid>
		<description><![CDATA[Wie zeigt man Thumbs /Bilder an, wenn man the_excerpt in einem WordPress Theme Template nutzt. Mithilfe der Artikelbilder, einer eigens geschriebenen Funktion und bei beiden zeige ich auf, was man anzeigen kann, wenn es mal gar kein Bild gibt. ]]></description>
			<content:encoded><![CDATA[<dl class="left" style="width:160px;">
<dt> Show Thumbs&nbsp;</dt>
<dd><img src="http://www.texto.de/wp-images/0911/show-thumbs.gif" alt=" Show Thumbs in WordPress" width="145" height="142" /></dd>
</dl>
<p><span class="caplize">I</span>ch wurde von Ramona  per Email gefragt wie man denn<strong> Thumbs auf der Suchergebnisseite</strong> anzeigt. Also nehm ich an, dass bei diesem WP Theme die Suchergebnisinhalte mit <strong>the_excerpt</strong> angezeigt werden, weil man dort keine Bilder sieht. </p>
<p>Nun das kommt drauf an, verwendet man wirklich bei jedem Artikel ein sogenanntes &#8220;<strong>Artikelbild</strong>&#8221; oder hat man das nicht immer gemacht.  Es gibt ja auch Blogs, da gab es diese Artikelbilder noch gar nicht. Außerdem kann es sein, dass ein Artikel vielleicht gar kein Bild hat. Weder im Artikel noch ein Artikelbild.  Und bei manchmal tausenden von Artikeln mag man wirklich nicht alle kontrollieren. Zumindest kenn ich kaum jemand, der das gern macht <img src='http://www.texto.de/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> </p>
<p>Daher zeige ich hier in diesem Artikel. Eine Lösung, wenn es lauter Artikelbilder gibt. Eine Lösung, wenn es Bilder gibt, aber keine Artikelbilder und beide Lösungen mit einer FallbackLösung, wenn mal kein Bild da sein sollte. </p>
<p><span id="more-1260"></span></p>
<p>Geschickt ist es, wenn man ein Standardbild default.jpg im Ordner &#8220;images&#8221; des jeweiligen Themes platziert. Dies sollte die Größe der Thumbs haben, das erspart &#8220;Bandbreite&#8221;. </p>
<h3>Thumbs anzeigen mit Artikelbild </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;">//das muss in den loop</span>
<span style="color: #b1b100;">if</span><span style="color: #009900;">&#40;</span>has_post_thumbnail<span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
the_post_thumbnail<span style="color: #009900;">&#40;</span><span style="color: #990000;">array</span><span style="color: #009900;">&#40;</span><span style="color: #cc66cc;">150</span><span style="color: #339933;">,</span><span style="color: #cc66cc;">120</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">,</span> <span style="color: #990000;">array</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">&quot;class&quot;</span> <span style="color: #339933;">=&gt;</span> <span style="color: #0000ff;">&quot;alignright post_thumbnail&quot;</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
<span style="color: #009900;">&#125;</span> <span style="color: #b1b100;">else</span> <span style="color: #009900;">&#123;</span>
<span style="color: #b1b100;">echo</span> <span style="color: #0000ff;">''</span><span style="color: #339933;">;</span>
<span style="color: #009900;">&#125;</span>
<span style="color: #000000; font-weight: bold;">?&gt;</span></pre></div></div>

<p>Im Theme TwentyTen Eleven muss man in allen Templates, die mit content anfangen nach dem Platz suchen,<br />
weil die search.php die alle nimmt je nachdem, unter welchem Postformat ein Artikel gespeichert wurde.<br />
Also diesen obigen Code gleich nach&#8230; einfügen.</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> is_search<span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#41;</span> <span style="color: #339933;">:</span> <span style="color: #666666; font-style: italic;">// Only display Excerpts for Search ?&gt;</span></pre></div></div>

<h3>Lösung ohne Artikelbilder catch that image</h3>
<p>Man kann ja auch das erste Bild aus einem Artikel holen und dieses dort anzeigen lassen wo man mag.</p>
<p>Folgender Code gehört in die<strong> functions.php </strong>des verwendeten Themes:</p>

<div class="wp_syntax"><div class="code"><pre class="php" style="font-family:monospace;">&nbsp;
<span style="color: #666666; font-style: italic;">//hole das erste Bild oder ein StandardBild</span>
<span style="color: #000000; font-weight: bold;">function</span> catch_that_image<span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
<span style="color: #000000; font-weight: bold;">global</span> <span style="color: #000088;">$post</span><span style="color: #339933;">,</span> <span style="color: #000088;">$posts</span><span style="color: #339933;">;</span>
<span style="color: #000088;">$first_img</span> <span style="color: #339933;">=</span> <span style="color: #0000ff;">''</span><span style="color: #339933;">;</span>
<span style="color: #990000;">ob_start</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
<span style="color: #990000;">ob_end_clean</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
<span style="color: #000088;">$output</span> <span style="color: #339933;">=</span> <span style="color: #990000;">preg_match_all</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'/&lt;img.+src=[\'&quot;]([^\'&quot;]+)[\'&quot;].*&gt;/i'</span><span style="color: #339933;">,</span> <span style="color: #000088;">$post</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">post_content</span><span style="color: #339933;">,</span> <span style="color: #000088;">$matches</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
<span style="color: #000088;">$first_img</span> <span style="color: #339933;">=</span> <span style="color: #000088;">$matches</span> <span style="color: #009900;">&#91;</span><span style="color: #cc66cc;">1</span><span style="color: #009900;">&#93;</span> <span style="color: #009900;">&#91;</span><span style="color: #cc66cc;">0</span><span style="color: #009900;">&#93;</span><span style="color: #339933;">;</span>
<span style="color: #000088;">$huch</span><span style="color: #339933;">=</span>get_bloginfo<span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'template_directory'</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
<span style="color: #666666; font-style: italic;">// no image found display default image instead</span>
<span style="color: #b1b100;">if</span><span style="color: #009900;">&#40;</span><span style="color: #990000;">empty</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$first_img</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#123;</span> <span style="color: #000088;">$first_img</span> <span style="color: #339933;">=</span> <span style="color: #0000ff;">&quot;<span style="color: #006699; font-weight: bold;">$huch</span>/images/default.jpg&quot;</span><span style="color: #339933;">;</span> <span style="color: #009900;">&#125;</span> <span style="color: #b1b100;">return</span> <span style="color: #000088;">$first_img</span><span style="color: #339933;">;</span> <span style="color: #009900;">&#125;</span></pre></div></div>

<p>Im Template holt man dieses Bild dann so:</p>

<div class="wp_syntax"><div class="code"><pre class="php" style="font-family:monospace;">&nbsp;
&lt;img class=&quot;alignleft&quot; src=&quot;<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;">'catch_that_image'</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#123;</span><span style="color: #b1b100;">echo</span> catch_that_image<span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span><span style="color: #009900;">&#125;</span> <span style="color: #000000; font-weight: bold;">?&gt;</span>&quot; alt=&quot;&quot; width=&quot;150&quot; height=&quot;120&quot; /&gt;</pre></div></div>

<p>Mag man dieses Bild verlinken-zb mit dem Permalink zum Artikel, dann so:</p>

<div class="wp_syntax"><div class="code"><pre class="php" style="font-family:monospace;">&nbsp;
&lt;a class=&quot;bilderlink&quot; href=&quot;<span style="color: #000000; font-weight: bold;">&lt;?php</span> the_permalink<span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span> <span style="color: #000000; font-weight: bold;">?&gt;</span>&quot;   title=&quot;<span style="color: #000000; font-weight: bold;">&lt;?php</span>   the_title_attribute <span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span> <span style="color: #000000; font-weight: bold;">?&gt;</span>&quot;&gt;
&lt;img class=&quot;alignleft&quot; src=&quot;<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;">'catch_that_image'</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#123;</span><span style="color: #b1b100;">echo</span> catch_that_image<span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span><span style="color: #009900;">&#125;</span> <span style="color: #000000; font-weight: bold;">?&gt;</span>&quot; alt=&quot;&quot; width=&quot;150&quot; height=&quot;120&quot; /&gt;&lt;/a&gt;</pre></div></div>

<p>Selbstverständlich kannst Du das html und die CSS Klassen nach deinem Belieben ändern. </p>
<div class="sign"> <img src="http://www.texto.de/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/thumbs-bilder-anzeigen-obwohl-the_excerpt-verwendet-wird-1260/" >texto.de</a> (Digital Fingerprint:  textoakamts[texto.de])</small><hr />]]></content:encoded>
			<wfw:commentRss>http://www.texto.de/thumbs-bilder-anzeigen-obwohl-the_excerpt-verwendet-wird-1260/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Netzfundstücke &#8211; Linktipps für PodCast und Theme Entwickler</title>
		<link>http://www.texto.de/netzfundstuecke-linktipps-fuer-podcast-und-theme-entwickler-1255/</link>
		<comments>http://www.texto.de/netzfundstuecke-linktipps-fuer-podcast-und-theme-entwickler-1255/#comments</comments>
		<pubDate>Mon, 19 Sep 2011 05:35:33 +0000</pubDate>
		<dc:creator>texto</dc:creator>
				<category><![CDATA[Tipps und Tricks]]></category>
		<category><![CDATA[Youtube-PodCast-Bilder]]></category>

		<guid isPermaLink="false">http://www.texto.de/?p=1255</guid>
		<description><![CDATA[WordPress Linktipps für Theme Entwickler: Stichwort ID der Kategorien, Seiten,Artiklen, Tags etc   und Arbeitsvereinfachung für  PodCast und Youtube Videos. ]]></description>
			<content:encoded><![CDATA[<dl  class="left" style="width:"260px;">
<dt>WP Fundst&uuml;cke</dt>
<dd><img src="http://www.texto.de/wp-images/wordpress-community.jpg" alt="WP Community " width="250" height="250" /></dd>
</dl>
<p>  Ich sammelte einige Linktipps, die für Theme Entwickler, Podcaster und Youtube Fans hilfreich sein können. </p>
<h3>für Theme Entwickler -Stichwort ID</h3>
<p>Wer ein WP Theme entwickelt braucht oftmals die ID einer Kategorie, einer Seite.<br />
Aber oftmals sind es soviele Kategorien oder Seiten, dass es nervt im Backend ewigst zu &#8220;blättern&#8221;. </p>
<p><span id="more-1255"></span></p>
<p>Diese beiden mysql Abfragen bringen Dir die ID ins Frontend und somit hat man sehr rasch einen guten Überblick und erspart sich die Suche.<br />
Zur Verfügung gestellt hat dies Zen, aus Malaysia und zwar => <a href="http://zenverse.net/list-all-categories-pages-id-in-wordpress/" title="Hot to list all categories pages and their id in wordpress">hier</a>.</p>
<p>Ich erstell dazu eine statische Seite und Druck mir das Ergebnis als .pdf aus. Ist sehr praktisch. </p>
<h3>Stichwort IDs anzeigen im Backend</h3>
<p><a href="https://plus.google.com/u/0/108247393312648439727/about" title="Klaus Scharwächter">Klaus</a> machte mich auf ein sehr ressourcenschonendes WP Plugin aufmerksam, dass die IDs im Backend anzeigt. Plugin Autor ist <a href="http://sivel.net/wordpress/" title="Sivel.net Matt Martz">Matt Martz</a>, herunterladen kann man das Plugin Simple Show IDs <a href="http://wordpress.org/extend/plugins/simply-show-ids/" title="Simply Show IDs">hier</a>.</p>
<h3>PodCast und Video auf Youtube</h3>
<p>Für alle PodCaster, die auch ein  Video auf Youtube haben und die es nervt dieses manuell freizuschalten, wenn der PodCast online ging. Dafür schrieb <a href="http://andre.fm/online-marketing/wordpress-plugin-youtube-activator/" title="Andres Youtube Activator.">Andre</a> ein WP Plugin.<br />
Herunterladen kannst Du es hier:<a href="http://wordpress.org/extend/plugins/youtube-activator-11/" title="Youtube Activator"> Youtube Activator</a>.  Da ich derzeit keine PodCasts veröffentliche habe ich es auch nicht getestet. </p>
<h3>PodCast Plugin</h3>
<p>Einer meiner Kunden nutzt <a href="http://wordpress.org/extend/plugins/powerpress/" title="PodPress">PodPress</a> und ist hoch zufrieden damit. </p>
<p>Wenn Du zu den Themen weitere Linktipps hast=> nur her damit, aber bitte verstehe Kommentare mit Links landen vorerst in der Moderationsschleife. </p>
<div class="sign"> <img src="http://www.texto.de/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/netzfundstuecke-linktipps-fuer-podcast-und-theme-entwickler-1255/" >texto.de</a> (Digital Fingerprint:  textoakamts[texto.de])</small><hr />]]></content:encoded>
			<wfw:commentRss>http://www.texto.de/netzfundstuecke-linktipps-fuer-podcast-und-theme-entwickler-1255/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Anzahl der Kategorien oder Tags anzeigen</title>
		<link>http://www.texto.de/anzahl-der-kategorien-oder-tags-anzeigen-1256/</link>
		<comments>http://www.texto.de/anzahl-der-kategorien-oder-tags-anzeigen-1256/#comments</comments>
		<pubDate>Sun, 18 Sep 2011 14:20:49 +0000</pubDate>
		<dc:creator>texto</dc:creator>
				<category><![CDATA[Tipps und Tricks]]></category>
		<category><![CDATA[Anzahl von xyz anzeigen]]></category>
		<category><![CDATA[WordPress Quick Tipps]]></category>

		<guid isPermaLink="false">http://www.texto.de/?p=1256</guid>
		<description><![CDATA[Anzahl von xyz anzeigen -wie zeigt man die Anzahl der Kategorien und der Tags in WordPress an. ]]></description>
			<content:encoded><![CDATA[<dl class="left" style="width:185px;">
<dt>&nbsp;</dt>
<dd><img  src="http://www.texto.de/wp-images/wordpress-functions.jpg" alt="WordPress-Templates Funktionen" width="170" height="170" /></dd>
</dl>
<p>  <span class="caplize">H</span>ie und da schlägt ja der Statistik Wahn zu. Wieviele Artikel hier, wieviele dort und wieviele Kategorien gibts überhaupt. Ach ja und die Tags nicht zu vergessen.</p>
<p>Manchmal mag man die Anzahl der Kategorien in einem WP wissen und wieviele Tags man schlussendlich vergeben hat, wäre doch auch wunderbar herzuzeigen.  Hier Zwei schnelle Lösungen, deren Ausgabe Du nach Deinen Wünschen ändern kannst. </p>
<p><span id="more-1256"></span></p>
<p>Es ist egal wo Du dies anzeigst. Magst Du es in einem Artikel ausgeben brauchst Du das Plugin Exec PHP und solltest nicht den Editor dazu verwenden <img src='http://www.texto.de/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' />  </p>
<h3>Anzahl der Kategorien</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: #000088;">$numberofcats</span> <span style="color: #339933;">=</span> wp_count_terms<span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'category'</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
&nbsp;
<span style="color: #b1b100;">if</span> <span style="color: #009900;">&#40;</span><span style="color: #cc66cc;">0</span> <span style="color: #339933;">!=</span> <span style="color: #000088;">$numberofcats</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
&nbsp;
        <span style="color: #b1b100;">echo</span> <span style="color: #0000ff;">'&lt;p&gt;Anzahl Kategorien: '</span><span style="color: #339933;">.</span><span style="color: #990000;">number_format</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$numberofcats</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">.</span><span style="color: #0000ff;">'&lt;/p&gt;'</span><span style="color: #339933;">;</span>
&nbsp;
<span style="color: #009900;">&#125;</span>
<span style="color: #000000; font-weight: bold;">?&gt;</span></pre></div></div>

<h3>Anzahl der Tags /Schlagworte</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: #000088;">$numberoftags</span> <span style="color: #339933;">=</span> wp_count_terms<span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'post_tag'</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
&nbsp;
<span style="color: #b1b100;">if</span> <span style="color: #009900;">&#40;</span><span style="color: #cc66cc;">0</span> <span style="color: #339933;">!=</span> <span style="color: #000088;">$numberoftags</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
&nbsp;
        <span style="color: #b1b100;">echo</span> <span style="color: #0000ff;">'&lt;p&gt;Anzahl Tags: '</span><span style="color: #339933;">.</span><span style="color: #990000;">number_format</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$numberoftags</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">.</span><span style="color: #0000ff;">'&lt;/p&gt;'</span><span style="color: #339933;">;</span>
&nbsp;
<span style="color: #009900;">&#125;</span>
<span style="color: #000000; font-weight: bold;">?&gt;</span></pre></div></div>

<h3>Weiterführende  Links</h3>
<ol>
<li><a href="http://codex.wordpress.org/Function_Reference/wp_count_terms" title="Codex WP">Codex</a>
</li>
<li>und ich habe da mehrere Kategorien, Taxonomien und möchte <a href="http://wordpress.stackexchange.com/questions/23995/query-multiple-taxonomy-and-show-post-count" title="Taxonomie Count">anzeigen wieviele Produkte </a>sind wo drin.
</li>
<li><a href="http://www.texto.de/wordpress-anzahl-der-artikel-ausgeben-901/" title="Anzahl der Artikel ausgeben">Anzahl der Artikel</a> ausgeben.
</li>
<li>Anzahl der Kommentare ausgeben findest Du bei <a href="http://bueltge.de/summe-der-kommentare-in-wordpress/742/" title="Anzahl der Kommentare ">Frank</a>.
</li>
<li><a href="http://www.wpmods.com/list-terms-custom-taxonomy/" title="List Terms of a custom taxonomy">List Terms of a Custom Taxonomy</a>
</li>
</ol>
<div class="sign"> <img src='http://www.texto.de/wp-includes/images/smilies/icon_wink.gif' alt=';-)' class='wp-smiley' />   und ich freue mich über eine große Anzahl von +1 und Tweets und ==>  <img src="http://www.texto.de/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/anzahl-der-kategorien-oder-tags-anzeigen-1256/" >texto.de</a> (Digital Fingerprint:  textoakamts[texto.de])</small><hr />]]></content:encoded>
			<wfw:commentRss>http://www.texto.de/anzahl-der-kategorien-oder-tags-anzeigen-1256/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

