<?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; Texte</title>
	<atom:link href="http://www.texto.de/tag/texte/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>Einfach mal weg &#8211; und Plugins für statische Seiten Navi</title>
		<link>http://www.texto.de/einfach-mal-weg-und-plugins-fuer-statische-seiten-navi-677/</link>
		<comments>http://www.texto.de/einfach-mal-weg-und-plugins-fuer-statische-seiten-navi-677/#comments</comments>
		<pubDate>Sat, 15 Nov 2008 07:58:28 +0000</pubDate>
		<dc:creator>texto</dc:creator>
				<category><![CDATA[WP-News]]></category>
		<category><![CDATA[Texte]]></category>

		<guid isPermaLink="false">http://www.texto.de/?p=677</guid>
		<description><![CDATA[Eine Woche bin ich unterwegs in fernen Landen und das noch dazu ohne Internet. Doch zum Abschied gibt es noch 2 Links zu seltenen Plugins für statische Seiten. ]]></description>
			<content:encoded><![CDATA[<dl  class="left" style="width:210px;">
<dt></dt>
<dd><img src="/wp-images/smilies/mts-weltkugel.jpg" alt="Weltkugel by mts" width="209" height="208" /></dd>
</dl>
<p>  Zuerst eine Meldung in eigener Sache. Ab Heute bin ich eine ganze Woche einfach mal weg und dies auch noch ohne Internet. Fragen, Hilfe kann ich erst ab 24.11.08 wieder geben. So ersuch ich um Geduld.<br class="clear"/></p>
<p><span class="caplize">S</span>tatische Seiten sind sehr beliebt, wenn man WordPress als reines CMS nutzt.  Doch wie findet man die sub-page, wie die child-page? Hier 2 WordPress Plugins , die <span id="more-677"></span>gut weiterhelfen.</p>
<h3>Is_child</h3>
<p> fragt dieses Plugin und jeder, der eine tolle Navigation selber erstellen mag, freut sich über diese Feststellung oder Frage sicherlich. <a href="http://www.matteoionescu.com/wordpress/is_child-wordpress-plugin/" title="Is_child WP Plugin">Is-Child WP Plugin</a>.</p>
<h3>Is_subpage</h3>
<p>erfragt jenes WP Plugin und bietet daher auch einiges an Gestaltungsmöglichkeiten damit.<a href="http://www.schloebe.de/wordpress/is-subpage-of-plugin/" title="Is_subpage"> Is_subpage</a>.</p>
<p>Viel Freud damit und Danke an die Coder.  </p>
<div class="sign"><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/einfach-mal-weg-und-plugins-fuer-statische-seiten-navi-677/" >texto.de</a> (Digital Fingerprint:  textoakamts[texto.de])</small><hr />]]></content:encoded>
			<wfw:commentRss>http://www.texto.de/einfach-mal-weg-und-plugins-fuer-statische-seiten-navi-677/feed/</wfw:commentRss>
		<slash:comments>7</slash:comments>
		</item>
		<item>
		<title>Kommentarverwaltung WP 2.7 kein Link zum Artikel</title>
		<link>http://www.texto.de/kommentarverwaltung-wp27-link-artikel-672/</link>
		<comments>http://www.texto.de/kommentarverwaltung-wp27-link-artikel-672/#comments</comments>
		<pubDate>Fri, 14 Nov 2008 13:41:31 +0000</pubDate>
		<dc:creator>texto</dc:creator>
				<category><![CDATA[WP-Admin]]></category>
		<category><![CDATA[Texte]]></category>

		<guid isPermaLink="false">http://www.texto.de/?p=672</guid>
		<description><![CDATA[Die Kommentarverwaltung in WP 2.7 ist gut, doch es gibt keinen Link zum Artikel wo der Kommentar geschrieben wurde. Es gibt nur einen Edit Link zum Artikel. Doch wozu sollt ich den Artikel editieren, wenn ich mir die Kommentare dort ansehen mag? Jeriko schrieb ein Mini Plugin dafür.]]></description>
			<content:encoded><![CDATA[<dl class="left" style="width:220px;">
<dt> nur der Edit Link zum Artikel&nbsp;</dt>
<dd><img src="http://www.texto.de/wp-images/1108/kommentarverwaltung.gif" alt=" Kein Link in WP 2.7 zum Artikel" width="212" height="158" /></dd>
</dl>
<p><span class="caplize">E</span>inige nutzen bereits WordPress 2.7 Beta 1 oder WP 2.7 Beta 2. Klickt man da auf die Kommentarverwaltung hat man keinen Link zum Artikel wo die Kommentare sind. Man hat nur einen Link zum Editieren des Artikels. Doch wozu sollt ich einen Artikel editieren, wenn ich  mir dessen Kommentare  in ihrer Gesamtheit ansehen mag. <img src='http://www.texto.de/wp-includes/images/smilies/zwinker.gif' alt=':zwinker:' class='wp-smiley' /> <br class="clear" /></p>
<p>Dies fiel auch Jeriko auf und er schrieb <span id="more-672"></span>ein <a href="http://forum.wordpress-deutschland.org/plugins-und-widgets/42099-wordpress-2-7-recent-comments-um-aktionen-erweitern.html" title="Plugin von Jeriko">Quick und Dirty Plugin</a> dafür.</p>
<p>Folgenden Code in einen Texteditor kopieren. Als vptc.php abspeichern. In den Pluginordner wp-content/plugins/ hochladen.</p>
<p>Im Adminbereich aktivieren und schon gibt es einen Link <!--more-->direkt zum Artikel. </p>
<p>Dank geht an Jeriko <img src='http://www.texto.de/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> </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;">/*
Plugin Name: View Post To Comment
Plugin URI: -
Description: Adds a link to view the associated post to a comment in the frontend
Author: Jeriko
Version: 1.0
Author URI: http://www.i-jeriko.de
*/</span>
&nbsp;
<span style="color: #000000; font-weight: bold;">function</span> view_post_to_comment<span style="color: #009900;">&#40;</span><span style="color: #000088;">$actions</span><span style="color: #339933;">,</span> <span style="color: #000088;">$comment</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
    <span style="color: #000088;">$comment</span> <span style="color: #339933;">=</span> <span style="color: #000088;">$GLOBALS</span><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">'comment'</span><span style="color: #009900;">&#93;</span><span style="color: #339933;">;</span>
&nbsp;
    <span style="color: #000088;">$postlink</span> <span style="color: #339933;">=</span> get_permalink<span style="color: #009900;">&#40;</span><span style="color: #000088;">$comment</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">comment_post_ID</span><span style="color: #009900;">&#41;</span> <span style="color: #339933;">.</span> <span style="color: #0000ff;">&quot;#comment-&quot;</span> <span style="color: #339933;">.</span> <span style="color: #000088;">$comment</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">comment_ID</span><span style="color: #339933;">;</span>
    <span style="color: #000088;">$posttitle</span> <span style="color: #339933;">=</span> get_the_title<span style="color: #009900;">&#40;</span><span style="color: #000088;">$comment</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">comment_post_ID</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
&nbsp;
    <span style="color: #000088;">$actions</span><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">'viewpost'</span><span style="color: #009900;">&#93;</span> <span style="color: #339933;">=</span> <span style="color: #0000ff;">&quot;&lt;a href='http://www.texto.de/' title='<span style="color: #006699; font-weight: bold;">$posttitle</span>'&gt;View post&lt;/a&gt;&quot;</span><span style="color: #339933;">;</span>
&nbsp;
    <span style="color: #b1b100;">return</span> <span style="color: #000088;">$actions</span><span style="color: #339933;">;</span>
<span style="color: #009900;">&#125;</span>
&nbsp;
add_filter<span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'comment_row_actions'</span><span style="color: #339933;">,</span><span style="color: #0000ff;">'view_post_to_comment'</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>Und hier sieht man wo der Link zum Artikel zu finden ist:</p>
<dl class="center" style="width:300px;">
<dt> Link zum Artikel&nbsp;</dt>
<dd><img src="http://www.texto.de/wp-images/1108/kommentarverwaltung-plugin.gif" alt=" KeinLink in WP 2.7 zum Artikel" width="279" height="69" /></dd>
</dl>
<div class="sign"> Dank geht an Jeriko <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/kommentarverwaltung-wp27-link-artikel-672/" >texto.de</a> (Digital Fingerprint:  textoakamts[texto.de])</small><hr />]]></content:encoded>
			<wfw:commentRss>http://www.texto.de/kommentarverwaltung-wp27-link-artikel-672/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>WP 2.7 Kommentare via CSS gestalten &#8211; neues CSS  für Themes  nötig</title>
		<link>http://www.texto.de/wp-27-kommentare-via-css-gestalten-neues-css-fuer-themes-noetig-670/</link>
		<comments>http://www.texto.de/wp-27-kommentare-via-css-gestalten-neues-css-fuer-themes-noetig-670/#comments</comments>
		<pubDate>Sat, 08 Nov 2008 22:12:38 +0000</pubDate>
		<dc:creator>texto</dc:creator>
				<category><![CDATA[WordPress Theme]]></category>
		<category><![CDATA[Texte]]></category>

		<guid isPermaLink="false">http://www.texto.de/?p=670</guid>
		<description><![CDATA[WP 2.7 macht einige neue CSS class nötig. Wer vor allem seine Themes in offizielle Theme Browser geben mag, muß dies sicher berücksichtigen und threaded comments bedürfen anderer classes. ]]></description>
			<content:encoded><![CDATA[<dl class="left" style="width:270px;">
<dt> Threaded Comments&nbsp;</dt>
<dd><img src="http://www.texto.de/wp-images/1108/threaded-comments.gif" alt=" So sehen threaded comments aus" width="267" height="347" /></dd>
</dl>
<p> Ich bin bekennend ein <abbr title="Cascading Style Sheet"><span class="abbr" title="Cascading Style Sheet">CSS</span></abbr> Freak. Doch manchmal gibt es Dinge, die mich leicht nachdenklich machen. <img src='http://www.texto.de/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> </p>
<p>Nun WP 2.7 bietet  threaded comments an. Also Kommentare bei denen man so wie früher bei den alten Foren direkt untereinander diskutieren kann.  Wie tief &#8211; dies kann der Blog Besitzer einstellen.<br class="clear" /></p>
<p><span class="firstletter">E</span>tliches an CSS class wird angeboten, um diese threaded Kommentare und normale Kommentare zu gestalten. </p>
<p>Ich liste mal alles auf was so an CSS classes möglich ist. Dann gibt es unten zuerst den Quellcode von 3 Kommentaren.  Und dann den Quellcode von 3 Kommentaren mit einem *threaded* Kommentar. </p>
<p>Wer <strong>*sein* html für die Kommentare</strong> nutzen mag, findet bei Jeriko die Anleitung dazu. html Struktur der Kommentare bei WP 2.7 ändern. . Wobei ich zu bedenken gäb, dass dies bei threaded Kommentare gut überlegt sein sollte <img src='http://www.texto.de/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> </p>
<h3>CSS class um Kommentare in WP 2.7 zu gestalten.</h3>
<p>Nachstehendes ist direkt in die style.css kopierbar. Ich habe sehr viele CSS Kommentare <span id="more-670"></span>dazugeschrieben, um zu erklären  was was macht.</p>

<div class="wp_syntax"><div class="code"><pre class="css" style="font-family:monospace;"><span style="color: #808080; font-style: italic;">/* fuer die Kommentarliste an sich*/</span>
ol<span style="color: #6666ff;">.commentlist</span><span style="color: #00AA00;">&#123;</span><span style="color: #00AA00;">&#125;</span>
&nbsp;
<span style="color: #808080; font-style: italic;">/*folgende class stehen zur Gestaltung des li bereit */</span>
&nbsp;
<span style="color: #6666ff;">.comment</span> <span style="color: #00AA00;">&#123;</span><span style="color: #00AA00;">&#125;</span>
<span style="color: #6666ff;">.byuser</span> <span style="color: #00AA00;">&#123;</span><span style="color: #00AA00;">&#125;</span>
<span style="color: #6666ff;">.comment-author-admin</span> <span style="color: #00AA00;">&#123;</span><span style="color: #00AA00;">&#125;</span>
<span style="color: #6666ff;">.bypostauthor</span> <span style="color: #00AA00;">&#123;</span><span style="color: #00AA00;">&#125;</span>
&nbsp;
<span style="color: #808080; font-style: italic;">/* class um die li der 1 Ebene zu gestalten*/</span>
<span style="color: #6666ff;">.depth-1</span><span style="color: #00AA00;">&#123;</span><span style="color: #00AA00;">&#125;</span>
&nbsp;
<span style="color: #808080; font-style: italic;">/*hat man Kind Kommentare gibt es dann noch soviel wie man eben braucht */</span>
<span style="color: #6666ff;">.depth-2</span><span style="color: #00AA00;">&#123;</span><span style="color: #00AA00;">&#125;</span>
<span style="color: #6666ff;">.depth-3</span><span style="color: #00AA00;">&#123;</span><span style="color: #00AA00;">&#125;</span>
&nbsp;
<span style="color: #808080; font-style: italic;">/* folgende gestalten das li abwechselnd, wenn man mag*/</span>
<span style="color: #808080; font-style: italic;">/* erstes li*/</span>
<span style="color: #6666ff;">.even</span> <span style="color: #00AA00;">&#123;</span><span style="color: #00AA00;">&#125;</span>
<span style="color: #6666ff;">.thread-even</span><span style="color: #00AA00;">&#123;</span><span style="color: #00AA00;">&#125;</span>
<span style="color: #808080; font-style: italic;">/* zweites li*/</span>
<span style="color: #6666ff;">.odd</span> <span style="color: #00AA00;">&#123;</span><span style="color: #00AA00;">&#125;</span>
<span style="color: #6666ff;">.alt</span> <span style="color: #00AA00;">&#123;</span><span style="color: #00AA00;">&#125;</span>
<span style="color: #6666ff;">.thread-odd</span> <span style="color: #00AA00;">&#123;</span><span style="color: #00AA00;">&#125;</span>
<span style="color: #6666ff;">.thread-alt</span><span style="color: #00AA00;">&#123;</span><span style="color: #00AA00;">&#125;</span>
&nbsp;
&nbsp;
&nbsp;
<span style="color: #808080; font-style: italic;">/*---ende der class fuer die li---*/</span>
&nbsp;
<span style="color: #808080; font-style: italic;">/* fuer die Darstellung des Kommentarautors die class des divs*/</span>
<span style="color: #6666ff;">.comment-author</span> <span style="color: #00AA00;">&#123;</span><span style="color: #00AA00;">&#125;</span>
<span style="color: #6666ff;">.vcard</span><span style="color: #00AA00;">&#123;</span><span style="color: #00AA00;">&#125;</span>
&nbsp;
<span style="color: #6666ff;">.comment-author</span> cite<span style="color: #00AA00;">&#123;</span><span style="color: #00AA00;">&#125;</span>
<span style="color: #6666ff;">.vcard</span> cite<span style="color: #00AA00;">&#123;</span><span style="color: #00AA00;">&#125;</span>
&nbsp;
<span style="color: #6666ff;">.comment-author</span> cite a<span style="color: #00AA00;">&#123;</span><span style="color: #00AA00;">&#125;</span>
<span style="color: #6666ff;">.vcard</span> cite a<span style="color: #00AA00;">&#123;</span><span style="color: #00AA00;">&#125;</span>
&nbsp;
<span style="color: #808080; font-style: italic;">/* fuer den Avatar*/</span>
img<span style="color: #6666ff;">.avatar</span><span style="color: #00AA00;">&#123;</span><span style="color: #00AA00;">&#125;</span>
<span style="color: #808080; font-style: italic;">/*---ende der class fuer den Autor---*/</span>
&nbsp;
<span style="color: #808080; font-style: italic;">/*fuer die  Zeit wann der Kommentar geschrieben wurde und den Bearbeitungslink die class des divs*/</span>
<span style="color: #6666ff;">.comment-meta</span> <span style="color: #00AA00;">&#123;</span><span style="color: #00AA00;">&#125;</span>
<span style="color: #6666ff;">.commentmetadata</span><span style="color: #00AA00;">&#123;</span><span style="color: #00AA00;">&#125;</span>
&nbsp;
<span style="color: #6666ff;">.comment-meta</span> a<span style="color: #00AA00;">&#123;</span><span style="color: #00AA00;">&#125;</span>
<span style="color: #6666ff;">.commentmetadata</span>  a<span style="color: #00AA00;">&#123;</span><span style="color: #00AA00;">&#125;</span>
&nbsp;
<span style="color: #808080; font-style: italic;">/*---ende der Meta Daten---*/</span>
&nbsp;
<span style="color: #808080; font-style: italic;">/*Kommentartext  */</span>
&nbsp;
ol<span style="color: #6666ff;">.commentlist</span> p<span style="color: #00AA00;">&#123;</span><span style="color: #00AA00;">&#125;</span>
&nbsp;
<span style="color: #808080; font-style: italic;">/*---ende des Kommentartextes ---*/</span>
&nbsp;
<span style="color: #808080; font-style: italic;">/*Reply Link ist auch in einem div*/</span>
<span style="color: #6666ff;">.reply</span><span style="color: #00AA00;">&#123;</span><span style="color: #00AA00;">&#125;</span>
<span style="color: #6666ff;">.reply</span> a<span style="color: #00AA00;">&#123;</span><span style="color: #00AA00;">&#125;</span>
&nbsp;
<span style="color: #808080; font-style: italic;">/*---ende Reply Link---*/</span>
&nbsp;
&nbsp;
<span style="color: #808080; font-style: italic;">/*Kindkommentare sind in einer ul Liste*/</span>
&nbsp;
ol<span style="color: #6666ff;">.commentlist</span> ul<span style="color: #6666ff;">.children</span><span style="color: #00AA00;">&#123;</span><span style="color: #00AA00;">&#125;</span> <span style="color: #808080; font-style: italic;">/*ul.children gibt es auch in der sidebar-aufpassen*/</span>
&nbsp;
<span style="color: #808080; font-style: italic;">/*------alle oben genannten class wiederholen sich auch unter ul children------*/</span></pre></div></div>

<p>Dies bedeutet man hat sehr viele Möglichkeiten, kann jedoch niemals alle nutzen. Weniger class gestalten als angeboten ist nötig, weil sonst gar nichts mehr geht.</p>
<p>Nur ul.children generell festzulegen kann sich mit der Anzeige in der Sidebar gewaltigst beißen, daher sollte man hier die Hierarchie genau festlegen.</p>
<p><span class="firstletter">A</span>ußerdem bitte darauf achten, dass 5 Tiefen bei den Kommentaren eventuell gar nicht mehr wirklich lesbar wird, wenn man ein Design hat, dass wenig Platz bietet &#8211; und es ja Menschen gibt, die via PDA Dein Blog lesen wollen <img src='http://www.texto.de/wp-includes/images/smilies/zwinker.gif' alt=':zwinker:' class='wp-smiley' />  .</p>
<h3>Bei Fragen einfach Fragen und hier noch das HTML zum Ansehen. </h3>
<h3>3Kommentare bei threaded comments in WP 2.7 ohne *Kind Kommentar*</h3>

<div class="wp_syntax"><div class="code"><pre class="html4strict" style="font-family:monospace;">&nbsp;
<span style="color: #009900;">&lt;<span style="color: #000000; font-weight: bold;">ol</span> <span style="color: #000066;">class</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;commentlist&quot;</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;comment byuser comment-author-admin bypostauthor even thread-even depth-1&quot;</span> <span style="color: #000066;">id</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;comment-36&quot;</span>&gt;</span>				     
    <span style="color: #009900;">&lt;<span style="color: #000000; font-weight: bold;">div</span> <span style="color: #000066;">id</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;div-comment-36&quot;</span>&gt;</span>				       
      <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;comment-author vcard&quot;</span>&gt;</span>		         
        <span style="color: #009900;">&lt;<span style="color: #000000; font-weight: bold;">img</span> <span style="color: #000066;">alt</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">''</span> <span style="color: #000066;">src</span><span style="color: #66cc66;">=</span>  http:<span style="color: #66cc66;">//</span>www.texto.de<span style="color: #66cc66;">/</span><span style="color: #ff0000;">'avatar avatar-32'</span> <span style="color: #000066;">height</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">'32'</span> <span style="color: #000066;">width</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">'32'</span> <span style="color: #66cc66;">/</span>&gt;</span>		         
        <span style="color: #009900;">&lt;<span style="color: #000000; font-weight: bold;">cite</span>&gt;</span>admin  <span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><span style="color: #000000; font-weight: bold;">cite</span>&gt;</span> Says:		       
      <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;">div</span> <span style="color: #000066;">class</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;comment-meta commentmetadata&quot;</span>&gt;</span>        
        <span style="color: #009900;">&lt;<span style="color: #000000; font-weight: bold;">a</span> <span style="color: #000066;">href</span><span style="color: #66cc66;">=</span> &gt;</span>November 9th, 2008 bei 00:08<span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><span style="color: #000000; font-weight: bold;">a</span>&gt;</span><span style="color: #ddbb00;">&amp;nbsp;&amp;nbsp;</span>         
        <span style="color: #009900;">&lt;<span style="color: #000000; font-weight: bold;">a</span> <span style="color: #000066;">href</span><span style="color: #66cc66;">=</span>  <span style="color: #000066;">title</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;Kommentar bearbeiten&quot;</span>&gt;</span>edit<span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><span style="color: #000000; font-weight: bold;">a</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;">p</span>&gt;</span>dritter kommentar  auch noch keine dazwischen kommentare weil ichs brauche       
      <span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><span style="color: #000000; font-weight: bold;">p</span>&gt;</span>		       
      <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;reply&quot;</span>&gt;</span>		         
        <span style="color: #009900;">&lt;<span style="color: #000000; font-weight: bold;">a</span> <span style="color: #000066;">rel</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">'nofollow'</span> <span style="color: #000066;">href</span><span style="color: #66cc66;">=</span>   <span style="color: #000066;">onclick</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">'return addComment.moveForm(&quot;div-comment-36&quot;, &quot;36&quot;, &quot;respond&quot;)'</span>&gt;</span>Reply<span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><span style="color: #000000; font-weight: bold;">a</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: #66cc66;">/</span><span style="color: #000000; font-weight: bold;">div</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: #000000; font-weight: bold;">li</span> <span style="color: #000066;">class</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;comment byuser comment-author-admin bypostauthor odd alt thread-odd thread-alt depth-1&quot;</span> <span style="color: #000066;">id</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;comment-35&quot;</span>&gt;</span>				     
    <span style="color: #009900;">&lt;<span style="color: #000000; font-weight: bold;">div</span> <span style="color: #000066;">id</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;div-comment-35&quot;</span>&gt;</span>				       
      <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;comment-author vcard&quot;</span>&gt;</span>		         
        <span style="color: #009900;">&lt;<span style="color: #000000; font-weight: bold;">img</span> <span style="color: #000066;">alt</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">''</span> <span style="color: #000066;">src</span><span style="color: #66cc66;">=</span> http:<span style="color: #66cc66;">//</span>www.texto.de<span style="color: #66cc66;">/</span><span style="color: #ff0000;">' class='</span>avatar avatar-<span style="color: #cc66cc;">32</span><span style="color: #ff0000;">' height='</span><span style="color: #cc66cc;">32</span><span style="color: #ff0000;">' width='</span><span style="color: #cc66cc;">32</span><span style="color: #ff0000;">' /&gt;</span></span>		         
        <span style="color: #009900;">&lt;<span style="color: #000000; font-weight: bold;">cite</span>&gt;</span>admin <span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><span style="color: #000000; font-weight: bold;">cite</span>&gt;</span> Says:		       
      <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;">div</span> <span style="color: #000066;">class</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;comment-meta commentmetadata&quot;</span>&gt;</span>        
        <span style="color: #009900;">&lt;<span style="color: #000000; font-weight: bold;">a</span> <span style="color: #000066;">href</span><span style="color: #66cc66;">=</span> &gt;</span>November 9th, 2008 bei 00:07<span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><span style="color: #000000; font-weight: bold;">a</span>&gt;</span><span style="color: #ddbb00;">&amp;nbsp;&amp;nbsp;</span>         
        <span style="color: #009900;">&lt;<span style="color: #000000; font-weight: bold;">a</span> <span style="color: #000066;">href</span><span style="color: #66cc66;">=</span>  <span style="color: #000066;">title</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;Kommentar bearbeiten&quot;</span>&gt;</span>edit<span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><span style="color: #000000; font-weight: bold;">a</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;">p</span>&gt;</span>zweiter kommentar  nix threaded  hier solang es geht       
      <span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><span style="color: #000000; font-weight: bold;">p</span>&gt;</span>		       
      <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;reply&quot;</span>&gt;</span>		         
        <span style="color: #009900;">&lt;<span style="color: #000000; font-weight: bold;">a</span> <span style="color: #000066;">rel</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">'nofollow'</span> <span style="color: #000066;">href</span><span style="color: #66cc66;">=</span>  <span style="color: #000066;">onclick</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">'return addComment.moveForm(&quot;div-comment-35&quot;, &quot;35&quot;, &quot;respond&quot;)'</span>&gt;</span>Reply<span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><span style="color: #000000; font-weight: bold;">a</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: #66cc66;">/</span><span style="color: #000000; font-weight: bold;">div</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: #000000; font-weight: bold;">li</span> <span style="color: #000066;">class</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;comment byuser comment-author-admin bypostauthor even thread-even depth-1&quot;</span> <span style="color: #000066;">id</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;comment-34&quot;</span>&gt;</span>				     
    <span style="color: #009900;">&lt;<span style="color: #000000; font-weight: bold;">div</span> <span style="color: #000066;">id</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;div-comment-34&quot;</span>&gt;</span>				       
      <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;comment-author vcard&quot;</span>&gt;</span>		         
        <span style="color: #009900;">&lt;<span style="color: #000000; font-weight: bold;">img</span> <span style="color: #000066;">alt</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">''</span> <span style="color: #000066;">src</span><span style="color: #66cc66;">=</span>   http:<span style="color: #66cc66;">//</span>www.texto.de<span style="color: #66cc66;">/</span><span style="color: #ff0000;">'avatar avatar-32'</span> <span style="color: #000066;">height</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">'32'</span> <span style="color: #000066;">width</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">'32'</span> <span style="color: #66cc66;">/</span>&gt;</span>		         
        <span style="color: #009900;">&lt;<span style="color: #000000; font-weight: bold;">cite</span>&gt;</span>admin  <span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><span style="color: #000000; font-weight: bold;">cite</span>&gt;</span> Says:		       
      <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;">div</span> <span style="color: #000066;">class</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;comment-meta commentmetadata&quot;</span>&gt;</span>        
        <span style="color: #009900;">&lt;<span style="color: #000000; font-weight: bold;">a</span> <span style="color: #000066;">href</span><span style="color: #66cc66;">=</span> &gt;</span>November 9th, 2008 bei 00:07<span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><span style="color: #000000; font-weight: bold;">a</span>&gt;</span><span style="color: #ddbb00;">&amp;nbsp;&amp;nbsp;</span>         
        <span style="color: #009900;">&lt;<span style="color: #000000; font-weight: bold;">a</span> <span style="color: #000066;">href</span><span style="color: #66cc66;">=</span>  <span style="color: #000066;">title</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;Kommentar bearbeiten&quot;</span>&gt;</span>edit<span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><span style="color: #000000; font-weight: bold;">a</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;">p</span>&gt;</span>erster  kommentar keine threaded       
      <span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><span style="color: #000000; font-weight: bold;">p</span>&gt;</span>		       
      <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;reply&quot;</span>&gt;</span>		         
        <span style="color: #009900;">&lt;<span style="color: #000000; font-weight: bold;">a</span> <span style="color: #000066;">rel</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">'nofollow'</span> <span style="color: #000066;">href</span><span style="color: #66cc66;">=</span>  <span style="color: #000066;">onclick</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">'return addComment.moveForm(&quot;div-comment-34&quot;, &quot;34&quot;, &quot;respond&quot;)'</span>&gt;</span>Reply<span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><span style="color: #000000; font-weight: bold;">a</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: #66cc66;">/</span><span style="color: #000000; font-weight: bold;">div</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;">ol</span>&gt;</span></pre></div></div>

<h3>3Kommentare bei threaded comments in WP 2.7 mit  *Kind Kommentar*</h3>

<div class="wp_syntax"><div class="code"><pre class="html4strict" style="font-family:monospace;">&nbsp;
&nbsp;
<span style="color: #009900;">&lt;<span style="color: #000000; font-weight: bold;">ol</span> <span style="color: #000066;">class</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;commentlist&quot;</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;comment byuser comment-author-admin bypostauthor even thread-even depth-1&quot;</span> <span style="color: #000066;">id</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;comment-36&quot;</span>&gt;</span>				          
    <span style="color: #009900;">&lt;<span style="color: #000000; font-weight: bold;">div</span> <span style="color: #000066;">id</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;div-comment-36&quot;</span>&gt;</span>				              
      <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;comment-author vcard&quot;</span>&gt;</span>		                  
        <span style="color: #009900;">&lt;<span style="color: #000000; font-weight: bold;">img</span> <span style="color: #000066;">alt</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">''</span> <span style="color: #000066;">src</span><span style="color: #66cc66;">=</span>  http:<span style="color: #66cc66;">//</span>www.texto.de<span style="color: #66cc66;">/</span><span style="color: #ff0000;">'avatar avatar-32'</span> <span style="color: #000066;">height</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">'32'</span> <span style="color: #000066;">width</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">'32'</span> <span style="color: #66cc66;">/</span>&gt;</span>		                  
        <span style="color: #009900;">&lt;<span style="color: #000000; font-weight: bold;">cite</span>&gt;</span>admin   <span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><span style="color: #000000; font-weight: bold;">cite</span>&gt;</span> Says:		              
      <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;">div</span> <span style="color: #000066;">class</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;comment-meta commentmetadata&quot;</span>&gt;</span>                 
        <span style="color: #009900;">&lt;<span style="color: #000000; font-weight: bold;">a</span> <span style="color: #000066;">href</span><span style="color: #66cc66;">=</span> &gt;</span>November 9th, 2008 bei 00:08<span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><span style="color: #000000; font-weight: bold;">a</span>&gt;</span><span style="color: #ddbb00;">&amp;nbsp;&amp;nbsp;</span>                  
        <span style="color: #009900;">&lt;<span style="color: #000000; font-weight: bold;">a</span> <span style="color: #000066;">href</span><span style="color: #66cc66;">=</span>  <span style="color: #000066;">title</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;Kommentar bearbeiten&quot;</span>&gt;</span>edit<span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><span style="color: #000000; font-weight: bold;">a</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;">p</span>&gt;</span>dritter kommentar  auch noch keine dazwischen kommentare weil ichs brauche              
      <span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><span style="color: #000000; font-weight: bold;">p</span>&gt;</span>		              
      <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;reply&quot;</span>&gt;</span>		                  
        <span style="color: #009900;">&lt;<span style="color: #000000; font-weight: bold;">a</span> <span style="color: #000066;">rel</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">'nofollow'</span> <span style="color: #000066;">href</span><span style="color: #66cc66;">=</span>   <span style="color: #000066;">onclick</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">'return addComment.moveForm(&quot;div-comment-36&quot;, &quot;36&quot;, &quot;respond&quot;)'</span>&gt;</span>Reply<span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><span style="color: #000000; font-weight: bold;">a</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: #66cc66;">/</span><span style="color: #000000; font-weight: bold;">div</span>&gt;</span>	   <span style="color: #808080; font-style: italic;">&lt;!--end of div-comment-36--&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;">'children'</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;comment byuser comment-author-admin bypostauthor odd alt depth-2&quot;</span> <span style="color: #000066;">id</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;comment-37&quot;</span>&gt;</span>				
        <span style="color: #009900;">&lt;<span style="color: #000000; font-weight: bold;">div</span> <span style="color: #000066;">id</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;div-comment-37&quot;</span>&gt;</span>				
          <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;comment-author vcard&quot;</span>&gt;</span>		
            <span style="color: #009900;">&lt;<span style="color: #000000; font-weight: bold;">img</span> <span style="color: #000066;">alt</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">''</span> <span style="color: #000066;">src</span><span style="color: #66cc66;">=</span> http:<span style="color: #66cc66;">//</span>www.texto.de<span style="color: #66cc66;">/</span><span style="color: #ff0000;">'  class='</span>avatar avatar-<span style="color: #cc66cc;">32</span><span style="color: #ff0000;">' height='</span><span style="color: #cc66cc;">32</span><span style="color: #ff0000;">' width='</span><span style="color: #cc66cc;">32</span><span style="color: #ff0000;">' /&gt;</span></span>		
            <span style="color: #009900;">&lt;<span style="color: #000000; font-weight: bold;">cite</span>&gt;</span>admin <span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><span style="color: #000000; font-weight: bold;">cite</span>&gt;</span> Says:		
          <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;">div</span> <span style="color: #000066;">class</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;comment-meta commentmetadata&quot;</span>&gt;</span>
            <span style="color: #009900;">&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;&gt;</span></span>November 9th, 2008 bei 00:29<span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><span style="color: #000000; font-weight: bold;">a</span>&gt;</span><span style="color: #ddbb00;">&amp;nbsp;&amp;nbsp;</span>     
            <span style="color: #009900;">&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/wp-27-kommentare-via-css-gestalten-neues-css-fuer-themes-noetig-670/&quot;</span>Kommentar bearbeiten<span style="color: #ff0000;">&quot;&gt;</span></span>edit<span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><span style="color: #000000; font-weight: bold;">a</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;">p</span>&gt;</span>Ich bin ein Kind Kommentar
          <span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><span style="color: #000000; font-weight: bold;">p</span>&gt;</span>		
          <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;reply&quot;</span>&gt;</span>		
            <span style="color: #009900;">&lt;<span style="color: #000000; font-weight: bold;">a</span> <span style="color: #000066;">rel</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">'nofollow'</span> <span style="color: #000066;">href</span><span style="color: #66cc66;">=</span> <span style="color: #000066;">onclick</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">'return addComment.moveForm(&quot;div-comment-37&quot;, &quot;37&quot;, &quot;respond&quot;)'</span>&gt;</span>Reply<span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><span style="color: #000000; font-weight: bold;">a</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: #66cc66;">/</span><span style="color: #000000; font-weight: bold;">div</span>&gt;</span>	<span style="color: #808080; font-style: italic;">&lt;!--end of div-comment-37--&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;">ul</span>&gt;</span>	  <span style="color: #808080; font-style: italic;">&lt;!--end of ul children--&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: #000000; font-weight: bold;">li</span> <span style="color: #000066;">class</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;comment byuser comment-author-admin bypostauthor odd alt thread-odd thread-alt depth-1&quot;</span> <span style="color: #000066;">id</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;comment-35&quot;</span>&gt;</span>				          
    <span style="color: #009900;">&lt;<span style="color: #000000; font-weight: bold;">div</span> <span style="color: #000066;">id</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;div-comment-35&quot;</span>&gt;</span>				              
      <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;comment-author vcard&quot;</span>&gt;</span>		                  
        <span style="color: #009900;">&lt;<span style="color: #000000; font-weight: bold;">img</span> <span style="color: #000066;">alt</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">''</span> <span style="color: #000066;">src</span><span style="color: #66cc66;">=</span> http:<span style="color: #66cc66;">//</span>www.texto.de<span style="color: #66cc66;">/</span><span style="color: #ff0000;">'   avatar avatar-32'</span> <span style="color: #000066;">height</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">'32'</span> <span style="color: #000066;">width</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">'32'</span> <span style="color: #66cc66;">/</span>&gt;</span>		                  
        <span style="color: #009900;">&lt;<span style="color: #000000; font-weight: bold;">cite</span>&gt;</span>admin  <span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><span style="color: #000000; font-weight: bold;">cite</span>&gt;</span> Says:		              
      <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;">div</span> <span style="color: #000066;">class</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;comment-meta commentmetadata&quot;</span>&gt;</span>                 
        <span style="color: #009900;">&lt;<span style="color: #000000; font-weight: bold;">a</span> <span style="color: #000066;">href</span><span style="color: #66cc66;">=</span> &gt;</span>November 9th, 2008 bei 00:07<span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><span style="color: #000000; font-weight: bold;">a</span>&gt;</span><span style="color: #ddbb00;">&amp;nbsp;&amp;nbsp;</span>                  
        <span style="color: #009900;">&lt;<span style="color: #000000; font-weight: bold;">a</span> <span style="color: #000066;">href</span><span style="color: #66cc66;">=</span>  <span style="color: #000066;">title</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;Kommentar bearbeiten&quot;</span>&gt;</span>edit<span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><span style="color: #000000; font-weight: bold;">a</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;">p</span>&gt;</span>zweiter kommentar  nix threaded  hier solang es geht              
      <span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><span style="color: #000000; font-weight: bold;">p</span>&gt;</span>		              
      <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;reply&quot;</span>&gt;</span>		                  
        <span style="color: #009900;">&lt;<span style="color: #000000; font-weight: bold;">a</span> <span style="color: #000066;">rel</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">'nofollow'</span> <span style="color: #000066;">href</span><span style="color: #66cc66;">=</span>  <span style="color: #000066;">onclick</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">'return addComment.moveForm(&quot;div-comment-35&quot;, &quot;35&quot;, &quot;respond&quot;)'</span>&gt;</span>Reply<span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><span style="color: #000000; font-weight: bold;">a</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: #66cc66;">/</span><span style="color: #000000; font-weight: bold;">div</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: #000000; font-weight: bold;">li</span> <span style="color: #000066;">class</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;comment byuser comment-author-admin bypostauthor even thread-even depth-1&quot;</span> <span style="color: #000066;">id</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;comment-34&quot;</span>&gt;</span>				          
    <span style="color: #009900;">&lt;<span style="color: #000000; font-weight: bold;">div</span> <span style="color: #000066;">id</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;div-comment-34&quot;</span>&gt;</span>				              
      <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;comment-author vcard&quot;</span>&gt;</span>		                  
        <span style="color: #009900;">&lt;<span style="color: #000000; font-weight: bold;">img</span> <span style="color: #000066;">alt</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">''</span> <span style="color: #000066;">src</span><span style="color: #66cc66;">=</span>   http:<span style="color: #66cc66;">//</span>www.texto.de<span style="color: #66cc66;">/</span><span style="color: #ff0000;">'  avatar avatar-32'</span> <span style="color: #000066;">height</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">'32'</span> <span style="color: #000066;">width</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">'32'</span> <span style="color: #66cc66;">/</span>&gt;</span>		                  
        <span style="color: #009900;">&lt;<span style="color: #000000; font-weight: bold;">cite</span>&gt;</span>admin  <span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><span style="color: #000000; font-weight: bold;">cite</span>&gt;</span> Says:		              
      <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;">div</span> <span style="color: #000066;">class</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;comment-meta commentmetadata&quot;</span>&gt;</span>                 
        <span style="color: #009900;">&lt;<span style="color: #000000; font-weight: bold;">a</span> <span style="color: #000066;">href</span><span style="color: #66cc66;">=</span> &gt;</span>November 9th, 2008 bei 00:07<span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><span style="color: #000000; font-weight: bold;">a</span>&gt;</span><span style="color: #ddbb00;">&amp;nbsp;&amp;nbsp;</span>                  
        <span style="color: #009900;">&lt;<span style="color: #000000; font-weight: bold;">a</span> <span style="color: #000066;">href</span><span style="color: #66cc66;">=</span>  <span style="color: #000066;">title</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;Kommentar bearbeiten&quot;</span>&gt;</span>edit<span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><span style="color: #000000; font-weight: bold;">a</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;">p</span>&gt;</span>erster  kommentar keine threaded              
      <span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><span style="color: #000000; font-weight: bold;">p</span>&gt;</span>		              
      <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;reply&quot;</span>&gt;</span>		                  
        <span style="color: #009900;">&lt;<span style="color: #000000; font-weight: bold;">a</span> <span style="color: #000066;">rel</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">'nofollow'</span> <span style="color: #000066;">href</span><span style="color: #66cc66;">=</span>  <span style="color: #000066;">onclick</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">'return addComment.moveForm(&quot;div-comment-34&quot;, &quot;34&quot;, &quot;respond&quot;)'</span>&gt;</span>Reply<span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><span style="color: #000000; font-weight: bold;">a</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: #66cc66;">/</span><span style="color: #000000; font-weight: bold;">div</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;">ol</span>&gt;</span></pre></div></div>

<div class="sign"> das ist eine CSS Orgie &#8211; ob hilfreich bin ich mir nicht so ganz sicher <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/wp-27-kommentare-via-css-gestalten-neues-css-fuer-themes-noetig-670/" >texto.de</a> (Digital Fingerprint:  textoakamts[texto.de])</small><hr />]]></content:encoded>
			<wfw:commentRss>http://www.texto.de/wp-27-kommentare-via-css-gestalten-neues-css-fuer-themes-noetig-670/feed/</wfw:commentRss>
		<slash:comments>24</slash:comments>
		</item>
		<item>
		<title>Anpassung des Themes an WP 2.7 &#8211; die Kommentare</title>
		<link>http://www.texto.de/anpassung-des-themes-an-wp-27-die-kommentare-659/</link>
		<comments>http://www.texto.de/anpassung-des-themes-an-wp-27-die-kommentare-659/#comments</comments>
		<pubDate>Mon, 03 Nov 2008 13:00:44 +0000</pubDate>
		<dc:creator>texto</dc:creator>
				<category><![CDATA[WordPress Theme]]></category>
		<category><![CDATA[Texte]]></category>

		<guid isPermaLink="false">http://www.texto.de/?p=659</guid>
		<description><![CDATA[Du hast ein WP Theme, dass Du sehr gerne magst. Du magst es aber auch mit WP 2.7 nutzen und vor allem die Threaded Kommentare hättest Du gern. Hier eine Anleitung wie Du die threaded Kommentare in Deinem bestehenden Theme nutzen kannst. ]]></description>
			<content:encoded><![CDATA[<dl class="left" style="width:270px;">
<dt> Threaded Comments&nbsp;</dt>
<dd><img src="http://www.texto.de/wp-images/1108/threaded-comments.gif" alt=" So sehen threaded comments aus" width="267" height="347" /></dd>
</dl>
<p><span class="firstletter">W</span>P 2.7 bietet die Möglichkeit der threaded Kommentare. Dies bedeutet, dass man direkt zu einem Kommentar antworten kann.  Im Adminbereich kann man einstellen wie &#8220;tief&#8221; -also wie oft man auf einen Kommentar antworten kann. Ob man dieses Feature der threaded comments überhaupt nutzen mag.  Außerdem bietet WP 2.7 auch das &#8220;Blättern&#8221; bei Kommentaren an. Ich gebe allerdings zu bedenken, dass dies viel internen doppelten Content erzeugt.</p>
<p>Wie auch immer die <strong>comments.php für das WP 2.7 </strong>sieht völlig anders aus, als alle bisherigen und außerdem <strong>muß man in der comments.php</strong> was ändern, selbst wenn man die threaded Kommentare nicht nutzen mag. Sonst funktionieren die Cookies nicht mehr.<br class="clear"/></p>
<p><strong>Achtung: </strong>diese Anpassungen <span id="more-659"></span>funktionieren nur mit WP 2.7! </p>
<p><span class="firstletter">W</span>ie man WP Themes auch für WP Versionen VOR WP 2.7 nutzbar macht <abbr title="und verschiedenes mehr"><span class="abbr" title="und verschiedenes mehr">uvm.</span></abbr> bringe ich in  anderen Artikeln &#8211; sonst wirds zu lang und unübersichtlich.</p>
<p>Ändert sich noch was bis zur Veröffentlichung erneuere ich diesen Artikel, daher empfehle ich per <a href="http://www.texto.de/feed/" title="Feed abonnieren"><strong>RSS Feed zu abonnieren</strong></a>, dann bleibst Du einfach am Ball der Neuigkeiten <img src='http://www.texto.de/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' />  </p>
<h3>Header.php für Kommentare vorbereiten</h3>
<p>Öffne die header.php Deines Themes und tippe oberhalb von  wp_head() :</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_singular<span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#41;</span> wp_enqueue_script<span style="color: #009900;">&#40;</span> <span style="color: #0000ff;">'comment-reply'</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>comments.php an das WP 2.7 anpassen</h3>
<p>Ganz oben in der comments.php  muß man alles bis zu *ab hier kannst Du editieren* austauschen &#8211; dies solltest Du auch machen, wenn Du die threaded Kommentare nicht haben magst.</p>
<p>Der neue Code lautet:</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: #009933; font-style: italic;">/**
  */</span>
&nbsp;
<span style="color: #666666; font-style: italic;">// Do not delete these lines</span>
<span style="color: #b1b100;">if</span> <span style="color: #009900;">&#40;</span><span style="color: #339933;">!</span><span style="color: #990000;">empty</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$_SERVER</span><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">'SCRIPT_FILENAME'</span><span style="color: #009900;">&#93;</span><span style="color: #009900;">&#41;</span> <span style="color: #339933;">&amp;&amp;</span> <span style="color: #0000ff;">'comments.php'</span> <span style="color: #339933;">==</span> <span style="color: #990000;">basename</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$_SERVER</span><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">'SCRIPT_FILENAME'</span><span style="color: #009900;">&#93;</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span>
<span style="color: #990000;">die</span> <span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'Please do not load this page directly. Thanks!'</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
<span style="color: #b1b100;">if</span> <span style="color: #009900;">&#40;</span> post_password_required<span style="color: #009900;">&#40;</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;p class=&quot;nocomments&quot;&gt;  <span style="color: #000000; font-weight: bold;">&lt;?php</span> _e<span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'Sorry, you must be logged in to post a comment.'</span><span style="color: #339933;">,</span><span style="color: #0000ff;">'mtsjourney'</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span> <span style="color: #000000; font-weight: bold;">?&gt;</span>&lt;/p&gt;
<span style="color: #000000; font-weight: bold;">&lt;?php</span>
<span style="color: #b1b100;">return</span><span style="color: #339933;">;</span>	<span style="color: #009900;">&#125;</span>  <span style="color: #000000; font-weight: bold;">?&gt;</span> 
&nbsp;
&lt;!-- You can start editing here.--&gt;</pre></div></div>

<p>Unschwer zu erkennen, dies ist aus meinem Theme Journey, <img src='http://www.texto.de/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> </p>
<p>post_password_required ist neu und erzeugt in WP Versionen vor WP 2.7 Fehler!</p>
<h3>Der Kommentar Loop wurde ganz neu in WP 2.7</h3>
<p>Folgendes</p>

<div class="wp_syntax"><div class="code"><pre class="php" style="font-family:monospace;">&lt;!-- You can start editing here.--&gt;
 <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;">$comments</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>mußt Du mit untenstehenden Code ersetzen.</p>

<div class="wp_syntax"><div class="code"><pre class="php" style="font-family:monospace;">&lt;!-- You can start editing here.--&gt;
<span style="color: #000000; font-weight: bold;">&lt;?php</span> <span style="color: #b1b100;">if</span> <span style="color: #009900;">&#40;</span> have_comments<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></pre></div></div>

<h3>Anzeige eines Kommentars ist ohne programmieren nur mehr per CSS änderbar:</h3>
<p>Folgendes erzeugt die Kommentare.</p>

<div class="wp_syntax"><div class="code"><pre class="php" style="font-family:monospace;">&lt;ol class=&quot;commentlist&quot;&gt;
<span style="color: #000000; font-weight: bold;">&lt;?php</span> wp_list_comments<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;/ol&gt;</pre></div></div>

<p>D.h. all die anderen divs etc, die eventuell bis dato in Deinem Theme waren sind so nicht mehr nutzbar!   <strong>Änderungen im CSS und Hilfen</strong> dazu bringe ich auch &#8211; doch nicht gleich alles auf einmal <img src='http://www.texto.de/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> </p>
<h3>Weiterblättern bei den Kommentaren</h3>
<p>Die Angaben für das HTML und CSS kannst Du hier nach Deinem Gusto ändern.<br />
Ebenso, ob Du dies oberhalb der Kommentare oder unterhalb oder 2mal anzeigen magst.</p>

<div class="wp_syntax"><div class="code"><pre class="php" style="font-family:monospace;">&lt;div class=&quot;navigation&quot;&gt;
&lt;div class=&quot;alignleft&quot;&gt;<span style="color: #000000; font-weight: bold;">&lt;?php</span> previous_comments_link<span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span> <span style="color: #000000; font-weight: bold;">?&gt;</span>&lt;/div&gt;
&lt;div class=&quot;alignright&quot;&gt;<span style="color: #000000; font-weight: bold;">&lt;?php</span> next_comments_link<span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span> <span style="color: #000000; font-weight: bold;">?&gt;</span>&lt;/div&gt;
&lt;/div&gt;</pre></div></div>

<h3>Abfragen, ob Kommentare da oder nein blieben gleich</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;">else</span> <span style="color: #339933;">:</span> <span style="color: #666666; font-style: italic;">// wenn es noch keine Kommentare gibt ?&gt;</span>
&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: #0000ff;">'open'</span> <span style="color: #339933;">==</span> <span style="color: #000088;">$post</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">comment_status</span><span style="color: #009900;">&#41;</span> <span style="color: #339933;">:</span> <span style="color: #000000; font-weight: bold;">?&gt;</span>
&lt;!-- Kommentare erlaubt aber es ist noch keiner da. --&gt;
&lt;p&gt;dein Text&lt;/p&gt;
<span style="color: #000000; font-weight: bold;">&lt;?php</span> <span style="color: #b1b100;">else</span> <span style="color: #339933;">:</span> <span style="color: #666666; font-style: italic;">// comments are closed ?&gt;</span>
<span style="color: #339933;">&lt;!--</span> wenn <span style="color: #990000;">die</span> Kommentare geschlossen sind<span style="color: #339933;">.</span> <span style="color: #339933;">--&gt;</span>
<span style="color: #339933;">&lt;</span>p<span style="color: #339933;">&gt;</span>dein Text<span style="color: #339933;">&lt;/</span>p<span style="color: #339933;">&gt;</span>		
<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;!--ende der kommentar ja nein abfrage--&gt;
<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;!--ende der abfrage gibt es kommentare--&gt;</pre></div></div>

<h3>Textarea  kontrollieren</h3>
<p>Die <strong>Textarea</strong> sollte unbedingt die<strong> id comment</strong> haben. </p>
<p>Dort wo Du stehen hast: Schreibe mir, oder &#8220;Lass einen Kommentar da&#8221; gehört noch</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;cancel-comment-reply&quot;</span><span style="color: #339933;">&gt;</span>
<span style="color: #339933;">&lt;</span> ?php cancel_comment_reply_link<span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span> <span style="color: #000000; font-weight: bold;">?&gt;</span>
<span style="color: #339933;">&lt;/</span>div<span style="color: #339933;">&gt;</span></pre></div></div>

<p>Damit kann man so man doch nicht kommentieren mag, dies wieder rückgängig machen.</p>
<p>Meist hat ein Theme irgendwo einen Anker mit für &#8220;respond&#8221;.</p>

<div class="wp_syntax"><div class="code"><pre class="php" style="font-family:monospace;"><span style="color: #339933;">&lt;</span>a name<span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;respond&quot;</span> id<span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;respond&quot;</span><span style="color: #339933;">&gt;&lt;/</span>a<span style="color: #339933;">&gt;</span></pre></div></div>

<p>Gibt es diesen Anker, dann löschen, denn:</p>
<p>WP 2.7 Kommentarform <strong>muß zwischen div id respond sein</strong>, sonst funktioniert das Kommentieren einfach nicht.</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><span style="color: #0000ff;">'open'</span> <span style="color: #339933;">==</span> <span style="color: #000088;">$post</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">comment_status</span><span style="color: #009900;">&#41;</span> <span style="color: #339933;">:</span> <span style="color: #000000; font-weight: bold;">?&gt;</span>
&nbsp;
&lt;div id=&quot;respond&quot;&gt;</pre></div></div>

<p>Dieses div schließt Du hier:</p>

<div class="wp_syntax"><div class="code"><pre class="php" style="font-family:monospace;">&lt;/form&gt;
&lt;/div&gt;&lt;!--id respond end--&gt;
<span style="color: #000000; font-weight: bold;">&lt;?php</span> <span style="color: #b1b100;">endif</span><span style="color: #339933;">;</span> <span style="color: #666666; font-style: italic;">// If registration required and not logged in ?&gt;</span></pre></div></div>

<h3>Threaded Kommentare brauchen  eine Möglichkeit der Zuordnung</h3>
<p>Damit WP weiß wo es welchen Kommentar anzeigen muß braucht es eine Zuordnungshilfe. Bis dato war ja klar: Untereinander <img src='http://www.texto.de/wp-includes/images/smilies/zwinker.gif' alt=':zwinker:' class='wp-smiley' />  </p>
<p>Nun muß WP wissen: Ah der Kommentar von Milli Musterfrau gehört zum Kommentar von H.Mustermann <img src='http://www.texto.de/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> </p>
<p>Damit dies geschieht, mußt Du beim &#8220;Kommentar senden&#8221;- Button was  ändern: </p>
<p>Das da:</p>

<div class="wp_syntax"><div class="code"><pre class="php" style="font-family:monospace;">&lt;input name=&quot;submit&quot; type=&quot;submit&quot; id=&quot;submit&quot; tabindex=&quot;6&quot; value=&quot;<span style="color: #000000; font-weight: bold;">&lt;?php</span> _e<span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'Submit'</span><span style="color: #339933;">,</span><span style="color: #0000ff;">'mtsjourney'</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span><span style="color: #000000; font-weight: bold;">?&gt;</span>&quot; /&gt;
&nbsp;
&lt;input type=&quot;hidden&quot; id=&quot;none&quot; name=&quot;comment_post_ID&quot; value=&quot;<span style="color: #000000; font-weight: bold;">&lt;?php</span> <span style="color: #b1b100;">echo</span> <span style="color: #000088;">$id</span><span style="color: #339933;">;</span> <span style="color: #000000; font-weight: bold;">?&gt;</span>&quot; /&gt;</pre></div></div>

<p>wird zu:</p>

<div class="wp_syntax"><div class="code"><pre class="php" style="font-family:monospace;">&lt;input name=&quot;submit&quot; type=&quot;submit&quot; id=&quot;submit&quot; tabindex=&quot;6&quot; value=&quot;<span style="color: #000000; font-weight: bold;">&lt;?php</span> _e<span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'Submit'</span><span style="color: #339933;">,</span><span style="color: #0000ff;">'mtsjourney'</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span><span style="color: #000000; font-weight: bold;">?&gt;</span>&quot; /&gt;
&nbsp;
<span style="color: #000000; font-weight: bold;">&lt;?php</span> comment_id_fields<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>Geplante Artikel für die nächsten Tage hier auf Texto.de</h3>
<ol>
<li><del>Wie trennt man Kommentare von den Pings und Trackbacks in WP 2.7.</del></li>
<li>Wie ändert man die Ausgabe der Kommentare in WP 2.7.</li>
<li>Welche CSS Mittel habe ich zum <a href="http://www.texto.de/texto/wp-27-kommentare-via-css-gestalten-neues-css-fuer-themes-noetig/" title="CSS für die neuen Kommentare">Gestalten von Kommentaren in WP 2.7.</a>.</li>
<li>Wie macht man ein WP Theme sowohl für WP 2.7 wie für vorherige WP Versionen nutzbar.</li>
<li>Wie zählt man Kommentare und Trackbacks /Pings getrennt in WP 2.7.</li>
</ol>
<div class="eyecatch">
<p>Edit: Wie trennt man Pings und Kommentare gibt es fantastisch einfach erklärt bei Jeriko .</p>
</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/anpassung-des-themes-an-wp-27-die-kommentare-659/" >texto.de</a> (Digital Fingerprint:  textoakamts[texto.de])</small><hr />]]></content:encoded>
			<wfw:commentRss>http://www.texto.de/anpassung-des-themes-an-wp-27-die-kommentare-659/feed/</wfw:commentRss>
		<slash:comments>19</slash:comments>
		</item>
		<item>
		<title>Quick Tipp: Autor bei Kommentaren hervorheben</title>
		<link>http://www.texto.de/quick-tipp-autor-bei-kommentaren-hervorheben-611/</link>
		<comments>http://www.texto.de/quick-tipp-autor-bei-kommentaren-hervorheben-611/#comments</comments>
		<pubDate>Wed, 09 Jul 2008 08:28:19 +0000</pubDate>
		<dc:creator>texto</dc:creator>
				<category><![CDATA[Tipps und Tricks]]></category>
		<category><![CDATA[Texte]]></category>
		<category><![CDATA[WordPress Quick Tipps]]></category>

		<guid isPermaLink="false">http://www.texto.de/texto/quick-tipp-autor-bei-kommentaren-hervorheben/</guid>
		<description><![CDATA[Den Autor bei Kommentaren hervorheben ist bei vielen beliebt. Hier ein Quick Tipp wie man dies auch bei einem Redaktionssystem gut erledigen kann, ganz ohne Plugin.]]></description>
			<content:encoded><![CDATA[<p><span class="caplize">D</span>en Autor bei Kommentaren hervorheben ist nicht nur ein Gimmick, sondern viele schätzen es auf einen Blick die Kommentare des Autors zu finden. Oft nutzen Plugins dafür aber die Emailadresse eines Autors. Nun hat man aber so hie und da doch viele Autoren und mag dennoch deren Kommentare hervorheben oder man mag für so eine einfache Sache kein Plugin.</p>
<p>Mein Quick Tipp hilft auch Theme Designer, die dieses Fetaure <span id="more-611"></span>anbieten können, ohne auf ein Plugin verweisen zu müssen oder gar zu implementieren. </p>
<div class="eyecatch">
<p>2.11. 08 Achtung: all diese Quick Tipps gelten nur für die WP Versionen von WP 2.3.3 bis WP 2.6.3 &#8211; WP 2.7. funktioniert anders und bekommt eigene Artikel, wenn die aktuelle Version heraußen ist, weil sich derzeit vieles noch ändert.</p>
</div>
<h3>Autor bei Kommentaren hervorheben</h3>
<p>Dazu braucht es die comments.php des verwendeten Themes und einen Texteditor nach Wahl.</p>
<p>Mein Codebeispiel ist aus dem default_de WP Theme, findet sich jedoch in 90% aller Themes wieder. Außerdem kann man die Abfrage auch anderorts nutzen. </p>
<p>Diese Zeile suchen:</p>

<div class="wp_syntax"><div class="code"><pre class="php" style="font-family:monospace;">&lt;li <span style="color: #000000; font-weight: bold;">&lt;?php</span> <span style="color: #b1b100;">echo</span> <span style="color: #000088;">$oddcomment</span><span style="color: #339933;">;</span> <span style="color: #000000; font-weight: bold;">?&gt;</span>id=&quot;comment-<span style="color: #000000; font-weight: bold;">&lt;?php</span> comment_ID<span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span> <span style="color: #000000; font-weight: bold;">?&gt;</span>&quot;&gt;</pre></div></div>

<p>So abändern:</p>

<div class="wp_syntax"><div class="code"><pre class="php" style="font-family:monospace;">&lt;li <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;">$comment</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">user_id</span> <span style="color: #339933;">==</span> <span style="color: #000088;">$post</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">post_author</span><span style="color: #009900;">&#41;</span>
<span style="color: #009900;">&#123;</span><span style="color: #b1b100;">echo</span> <span style="color: #0000ff;">'class=&quot;mine&quot;'</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: #000088;">$oddcomment</span><span style="color: #339933;">;</span> <span style="color: #009900;">&#125;</span> <span style="color: #000000; font-weight: bold;">?&gt;</span>  id=&quot;comment-<span style="color: #000000; font-weight: bold;">&lt;?php</span> comment_ID<span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span> <span style="color: #000000; font-weight: bold;">?&gt;</span> &quot;&gt;</pre></div></div>

<p>Dies bedeutet ganz vereinfacht erklärt:</p>
<p>Liebes PHP, es geht um Kommentare [comment], wenn der Kommentierende die User ID des Artikelschreibers  hat [user_id   post post_author] dann gib [echo]  &#8220;class=&#8221;mine&#8221; zurück, sonst gib die Variable oddcoment zurück. </p>
<p>Oddcomment zählt die &#8220;li&#8221;, einmal liefert es keine css class zurück, einmal class=&#8221;alt&#8221;. So kann man die Kommentare mit abwechselnden Farben gestalten.</p>
<h3>Die CSS class für das &#8220;Autor hervorheben&#8221; Beispiel</h3>
<p>In die style.css:</p>

<div class="wp_syntax"><div class="code"><pre class="php" style="font-family:monospace;"><span style="color: #339933;">.</span>mine<span style="color: #009900;">&#123;</span>damit gestaltet man Autoren Kommentare<span style="color: #009900;">&#125;</span>
&nbsp;
<span style="color: #339933;">.</span>alt<span style="color: #009900;">&#123;</span>damit kann man jeden <span style="color: #cc66cc;">2</span><span style="color: #339933;">.</span>ten Kommentar gestalten<span style="color: #009900;">&#125;</span></pre></div></div>

<p>So nun habe ich den Quick Ipp veröffentlicht und werde hoffentlich bald Zeit haben auch hier meine Kommentare besser findbar zu machen. </p>
<div class="sign">
Weitersagen ausdrücklicht erlaubt und hat es geholfen freu ich mich über einen Link oder Social Bookmark <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/quick-tipp-autor-bei-kommentaren-hervorheben-611/" >texto.de</a> (Digital Fingerprint:  textoakamts[texto.de])</small><hr />]]></content:encoded>
			<wfw:commentRss>http://www.texto.de/quick-tipp-autor-bei-kommentaren-hervorheben-611/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
		<item>
		<title>Quick Tipps: Kommentar Icon nur, wenn es Kommentare gibt</title>
		<link>http://www.texto.de/quick-tipps-kommentar-icon-nur-wenn-es-kommentare-gibt-595/</link>
		<comments>http://www.texto.de/quick-tipps-kommentar-icon-nur-wenn-es-kommentare-gibt-595/#comments</comments>
		<pubDate>Mon, 12 May 2008 07:46:23 +0000</pubDate>
		<dc:creator>texto</dc:creator>
				<category><![CDATA[Tipps und Tricks]]></category>
		<category><![CDATA[Texte]]></category>
		<category><![CDATA[WordPress Quick Tipps]]></category>

		<guid isPermaLink="false">http://www.texto.de/texto/quick-tipps-kommentar-icon-nur-wenn-es-kommentare-gibt/</guid>
		<description><![CDATA[Du magst einen Kommentar Icon anzeigen, aber nur, wenn es Kommentare gibt. Sonst sollte ein Text erscheinen oder auch mal gar nichts.]]></description>
			<content:encoded><![CDATA[<p><span class="caplize">D</span>u hättest gerne einen Icon  auf der Startseite, wenn es bereits Kommentare gibt, sonst soll  gar nichts erscheinen oder eben ein frei wählbarer Text.</p>
<h3>Zeige dies an, wenn es Kommentare gibt, jenes wenn keine da sind</h3>
<p>Grundcode:</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><span style="color: #000088;">$post</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">comment_count</span> <span style="color: #339933;">&gt;</span> <span style="color: #cc66cc;">0</span><span style="color: #009900;">&#41;</span> <span style="color: #339933;">:</span>
  Kommentare vorhanden
<span style="color: #b1b100;">else</span> <span style="color: #339933;">:</span>
  Keine Kommentare
<span style="color: #b1b100;">endif</span><span style="color: #339933;">;</span>  
<span style="color: #000000; font-weight: bold;">?&gt;</span></pre></div></div>

<p><strong>Beispiel 1:</strong> Zeige ein Bild an, wenn<span id="more-595"></span> es Kommentare gibt, sonst schreibe &#8220;Keine Kommentare&#8221;.</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><span style="color: #000088;">$post</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">comment_count</span> <span style="color: #339933;">&gt;</span> <span style="color: #cc66cc;">0</span><span style="color: #009900;">&#41;</span> <span style="color: #339933;">:</span>
  <span style="color: #b1b100;">echo</span><span style="color: #0000ff;">''</span><span style="color: #339933;">;</span>
<span style="color: #b1b100;">else</span> <span style="color: #339933;">:</span>
  <span style="color: #b1b100;">echo</span> <span style="color: #0000ff;">'Keine Kommentare'</span><span style="color: #339933;">;</span>
<span style="color: #b1b100;">endif</span><span style="color: #339933;">;</span><span style="color: #000000; font-weight: bold;">?&gt;</span></pre></div></div>

<p><strong>Beispiel 2:</strong> Zeige ein Bild an, wenn es Kommentare gibt, sind keine da, dann  mache gar nichts.</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><span style="color: #000088;">$post</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">comment_count</span> <span style="color: #339933;">&gt;</span> <span style="color: #cc66cc;">0</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span><span style="color: #000000; font-weight: bold;">?&gt;</span>
&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>Fertig!</p>
<h3>Wie merke ich mir diese Quick Tipps für das Kommentar Icon</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 <img src='http://www.texto.de/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> </div>
<p><strong>edit am 17.06.08</strong></p>
<p>in einer Stunde an die 50 Spamkommentare nur in diesem Beitrag &#8211; daher schließe ich hier mal die Kommentare, das ewige Löschen nervt irr, bei Fragen das Emailformular bitte nutzen, danke <img src='http://www.texto.de/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /> </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/quick-tipps-kommentar-icon-nur-wenn-es-kommentare-gibt-595/" >texto.de</a> (Digital Fingerprint:  textoakamts[texto.de])</small><hr />]]></content:encoded>
			<wfw:commentRss>http://www.texto.de/quick-tipps-kommentar-icon-nur-wenn-es-kommentare-gibt-595/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>8 Quick Tipps zu den WordPress Kommentaren und Pings und Trackbacks</title>
		<link>http://www.texto.de/8-quick-tipps-zu-den-wordpress-kommentaren-und-pings-und-trackbacks-540/</link>
		<comments>http://www.texto.de/8-quick-tipps-zu-den-wordpress-kommentaren-und-pings-und-trackbacks-540/#comments</comments>
		<pubDate>Sat, 05 Jan 2008 04:40:27 +0000</pubDate>
		<dc:creator>texto</dc:creator>
				<category><![CDATA[Tipps und Tricks]]></category>
		<category><![CDATA[Texte]]></category>
		<category><![CDATA[WordPress Quick Tipps]]></category>

		<guid isPermaLink="false">http://www.texto.de/texto/8-quick-tipps-zu-den-wordpress-kommentaren-und-pings-und-trackbacks/</guid>
		<description><![CDATA[Du magst Deine WordPress Kommentare in umgekehrter Reihenfolge anzeigen, dann auch anders zählen. Du magst die Kommentare und Pings Trackbacks trennen. Du magst die Kommentare zum WordPress Gästebuch umbauen.  Du magst auch Pings und Trackbacks von nicht WordPress Blogs erhalten. Du magst die WordPress Kommentare einfach zählen. Du magst das Formular vor den Kommentaren haben. 8 Quick Tipps für alle diese Fragen.]]></description>
			<content:encoded><![CDATA[<dl class="left" style="width:460;">
<dt> Kommentare in WordPress gestalten&nbsp;</dt>
<dd><img src="http://www.texto.de/wp-images/0108/8quicktippskommentare.gif" alt=" Kommentare in WordPress gestalten" width="400" height="350" /></dd>
</dl>
<p><span class="caplize">D</span>ie WordPress Kommentare sind eine gute Möglichkeit Dein WordPress Theme ein wenig anders zu gestalten als andere. Gleichzeitig sind die WordPress Kommentare der Quell einiger <a name="fragen">Fragen</a>: <br class="clear" /></p>
<div class="eyecatch">
<p>2.11. 08 Achtung: all diese Quick Tipps gelten nur für die WP Versionen von WP 2.3.3 bis WP 2.6.3 &#8211; WP 2.7. funktioniert anders und bekommt eigene Artikel, wenn die aktuelle Version heraußen ist, weil sich derzeit vieles noch ändert.</p>
</div>
<ol>
<li>Wie dreht man die Anzeige der WordPress Kommentare um? <a href="http://www.texto.de/8-quick-tipps-zu-den-wordpress-kommentaren-und-pings-und-trackbacks-540/#eins" title="Quick Tipp 1"><strong>&raquo;Quick Tipp 1</strong></a></li>
<li> Wie zählt man dann verkehrt?  <a href="http://www.texto.de/8-quick-tipps-zu-den-wordpress-kommentaren-und-pings-und-trackbacks-540/#zwei" title="Quick Tipp 2"><strong>&raquo;Quick Tipp 2</strong></a></li>
<li>Wie kommt es zu den oft sehr gro&#223; dargestellten Zahlen bei den Kommentaren?  <a href="http://www.texto.de/8-quick-tipps-zu-den-wordpress-kommentaren-und-pings-und-trackbacks-540/#drei" title="Quick Tipp 3"><strong>&raquo;Quick Tipp 3</strong></a></li>
<li> Wieso wird auf der statischen Seite kein Kommentarfeld angezeigt, obwohl ich beim Speichern Kommentare erlaubt habe? <a href="http://www.texto.de/8-quick-tipps-zu-den-wordpress-kommentaren-und-pings-und-trackbacks-540/#vier" title="Quick Tipp 4"><strong>&raquo;Quick Tipp 4</strong></a></li>
<li> Wie trennt man die Trackbacks und Pings und Kommentare? <a href="http://www.texto.de/8-quick-tipps-zu-den-wordpress-kommentaren-und-pings-und-trackbacks-540/#fuenf" title="Quick Tipp 5"><strong>&raquo;Quick Tipp 5</strong></a></li>
<li> Kann man mit WordPress ein Gästebuch machen? <a href="http://www.texto.de/8-quick-tipps-zu-den-wordpress-kommentaren-und-pings-und-trackbacks-540/#sechs" title="Quick Tipp 6"><strong>&raquo;Quick Tipp 6</strong></a></li>
<li> Kann man Trackbacks auch ohne Inhalt nur mit der URL anzeigen lassen? <a href="http://www.texto.de/8-quick-tipps-zu-den-wordpress-kommentaren-und-pings-und-trackbacks-540/#sieben" title="Quick Tipp 7"><strong>&raquo;Quick Tipp 7</strong></a></li>
<li>Es kommen keine Trackbacks und Pings an, obwohl ich alles erlaubt habe? <a href="http://www.texto.de/8-quick-tipps-zu-den-wordpress-kommentaren-und-pings-und-trackbacks-540/#acht" title="Quick Tipp 8"><strong>&raquo;Quick Tipp 8</strong></a></li>
</ol>
<p>Und natürlich die ewige Frage:Was sind denn <a href="http://www.texto.de/texto/trackback-pingen-tutorial/" title="Erklärung zu Trackbacks"><strong>Trackbacks und Pings</strong></a> so überhaupt?</p>
<p>Ich bringe hier in diesem Artikel meine Antworten auf all diese Fragen. Verweise, wenn ich es kenne auf einige WordPress Plugins und deren Eigenheiten.</p>
<p>Es ist also viel Code in diesem Artikel, daher ist er lang.  Doch Code ist nun <span id="more-540"></span>Mal nicht kurz;) </p>
<p><a name="eins"><strong>Quick Tipp 1</strong></a></p>
<h3>Wie dreht man die Anzeige der WordPress Kommentare um?</h3>
<p>WordPress Plugin &#8220;<a href="http://www.zyblog.de/wordpress-plugins/reverse-order-comments/" title="Revers Order Comments ">revers order comments</a>&#8221; oder selber machen wie unten erklärt.</p>
<p>Öffne die comments.php des verwendeten WordPress Themes mit einem Texteditor. Sichere Dir vorher die Originaldatei-sicher ist sicher. <img src='http://www.texto.de/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> </p>
<p>Dort suchst Du nach:</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: #000088;">$comments</span><span style="color: #009900;">&#41;</span> <span style="color: #339933;">:</span> <span style="color: #000000; font-weight: bold;">?&gt;</span>
....
Meist eine Anzeige wieviele Kommentare es bereits gibt und 
&nbsp;
meist steht da auch noch
...
&lt;ol class=&quot;commentlist&quot;&gt;
....
&nbsp;
<span style="color: #000000; font-weight: bold;">&lt;?php</span> <span style="color: #b1b100;">foreach</span> <span style="color: #009900;">&#40;</span><span style="color: #000088;">$comments</span> <span style="color: #b1b100;">as</span> <span style="color: #000088;">$comment</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>VOR dem ol class comments und nach if comments tippst Du:</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: #000088;">$comments</span> <span style="color: #339933;">=</span> <span style="color: #990000;">array_reverse</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$comments</span><span style="color: #339933;">,</span> <span style="color: #009900; font-weight: bold;">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>Somit wird der zuletzt geschriebene Kommentar als 1. angezeigt.</p>
<p><span class="right"><a href='#fragen' title='Nach oben'>Top</a></span></p>
<p><a name="zwei"><strong>Quick Tipp 2</strong></a></p>
<h3>Wie zählt man dann verkehrt, wenn die Kommentare umgedreht angezeigt werden?</h3>
<p>Du tippst gleich NACH</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: #000088;">$comments</span> <span style="color: #339933;">=</span> <span style="color: #990000;">array_reverse</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$comments</span><span style="color: #339933;">,</span> <span style="color: #009900; font-weight: bold;">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>


<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;">$count</span> <span style="color: #339933;">=</span> <span style="color: #990000;">count</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$comments</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 Ziffern werden mit:</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;">echo</span> <span style="color: #000088;">$count</span><span style="color: #339933;">;</span> <span style="color: #000000; font-weight: bold;">?&gt;</span></pre></div></div>

<p>angezeigt. Dies kannst Du vor dem Kommentar Autor geben oder ganz woanders hin.  Hier ein Beispiel:</p>

<div class="wp_syntax"><div class="code"><pre class="php" style="font-family:monospace;">&lt;small class=&quot;commentmetadata&quot;&gt;<span style="color: #000000; font-weight: bold;">&lt;?php</span> <span style="color: #b1b100;">echo</span> <span style="color: #000088;">$count</span><span style="color: #339933;">;</span> <span style="color: #000000; font-weight: bold;">?&gt;</span>&lt;a href=&quot;#comment-<span style="color: #000000; font-weight: bold;">&lt;?php</span> comment_ID<span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span> <span style="color: #000000; font-weight: bold;">?&gt;</span>&quot; title=&quot;&quot;&gt;<span style="color: #000000; font-weight: bold;">&lt;?php</span> comment_date<span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'F jS, Y'</span><span style="color: #009900;">&#41;</span> <span style="color: #000000; font-weight: bold;">?&gt;</span> at <span style="color: #000000; font-weight: bold;">&lt;?php</span> comment_time<span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span> <span style="color: #000000; font-weight: bold;">?&gt;</span>&lt;/a&gt; <span style="color: #000000; font-weight: bold;">&lt;?php</span> edit_comment_link<span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'edit'</span><span style="color: #339933;">,</span><span style="color: #0000ff;">'&amp;nbsp;&amp;nbsp;'</span><span style="color: #339933;">,</span><span style="color: #0000ff;">''</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span> <span style="color: #000000; font-weight: bold;">?&gt;</span>&lt;/small&gt;</pre></div></div>

<p>Weiter mit der Zählerei&#8230;</p>
<p>Suche in der comments.php nach</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;">endforeach</span><span style="color: #339933;">;</span> <span style="color: #666666; font-style: italic;">/* end for each comment */</span> <span style="color: #000000; font-weight: bold;">?&gt;</span>
&nbsp;
	&lt;/ol&gt;
&nbsp;
 <span style="color: #000000; font-weight: bold;">&lt;?php</span> <span style="color: #b1b100;">else</span> <span style="color: #339933;">:</span> <span style="color: #666666; font-style: italic;">// this is displayed if there are no comments so far ?&gt;</span></pre></div></div>

<p>und VOR endforeach tippst Du:</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: #000088;">$count</span><span style="color: #339933;">--;</span> <span style="color: #000000; font-weight: bold;">?&gt;</span></pre></div></div>

<p>Fertig ist die verkehrte Zählerei.</p>
<p><span class="right"><a href='#fragen' title='Nach oben'>Top</a></span></p>
<p><a name="drei"><strong>Quick Tipp 3</strong></a></p>
<h3>Wie kommt es zu den oft sehr gro&#223; dargestellten Zahlen bei den Kommentaren?</h3>
<p>Das sind Ziffern, die nicht durch die geordnete Liste ol /ol gemacht werden, sondern durch eigene Zählung mit php.</p>
<p>Abwärts zählen ist unter Quick Tipp 2 erklärt. Aufwärts zählen kommt jetzt.</p>
<p>Suche in der comments.php nach:</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;">foreach</span> <span style="color: #009900;">&#40;</span><span style="color: #000088;">$comments</span> <span style="color: #b1b100;">as</span> <span style="color: #000088;">$comment</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>Gleich darunter tippst Du:</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: #000088;">$count</span><span style="color: #339933;">++;</span> <span style="color: #000000; font-weight: bold;">?&gt;</span></pre></div></div>

<p>Die Ziffern werden mit:</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;">echo</span> <span style="color: #000088;">$count</span><span style="color: #339933;">;</span> <span style="color: #000000; font-weight: bold;">?&gt;</span></pre></div></div>

<p>angezeigt. Dies kannst Du vor dem Kommentar Autor geben oder ganz woanders hin.  Hier ein Beispiel:</p>

<div class="wp_syntax"><div class="code"><pre class="php" style="font-family:monospace;">&lt;small class=&quot;commentmetadata&quot;&gt;<span style="color: #000000; font-weight: bold;">&lt;?php</span> <span style="color: #b1b100;">echo</span> <span style="color: #000088;">$count</span><span style="color: #339933;">;</span> <span style="color: #000000; font-weight: bold;">?&gt;</span>&lt;a href=&quot;#comment-<span style="color: #000000; font-weight: bold;">&lt;?php</span> comment_ID<span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span> <span style="color: #000000; font-weight: bold;">?&gt;</span>&quot; title=&quot;&quot;&gt;<span style="color: #000000; font-weight: bold;">&lt;?php</span> comment_date<span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'F jS, Y'</span><span style="color: #009900;">&#41;</span> <span style="color: #000000; font-weight: bold;">?&gt;</span> at <span style="color: #000000; font-weight: bold;">&lt;?php</span> comment_time<span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span> <span style="color: #000000; font-weight: bold;">?&gt;</span>&lt;/a&gt; <span style="color: #000000; font-weight: bold;">&lt;?php</span> edit_comment_link<span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'edit'</span><span style="color: #339933;">,</span><span style="color: #0000ff;">'&amp;nbsp;&amp;nbsp;'</span><span style="color: #339933;">,</span><span style="color: #0000ff;">''</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span> <span style="color: #000000; font-weight: bold;">?&gt;</span>&lt;/small&gt;</pre></div></div>

<p>Fertig ist die abwärts Zählerei bei den Kommentaren.</p>
<p><span class="right"><a href='#fragen' title='Nach oben'>Top</a></span></p>
<p><a name="vier"><strong>Quick Tipp 4</strong></a></p>
<h3>Wieso wird auf der statischen Seite kein Kommentarfeld angezeigt, obwohl ich beim Speichern Kommentare erlaubt habe?</h3>
<p>Weil dort die Kommentarfunktion offenbar nicht eingebaut ist.</p>
<p>Öffne die page.php des verwendeten WordPress Themes mit einem Texteditor.</p>
<p>Hat Dein WP Theme keine page.php speichere die index.php als page.php ab. <img src='http://www.texto.de/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> </p>
<p>Suche in der page.php nach:</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;">endwhile</span><span style="color: #339933;">;</span> <span style="color: #b1b100;">endif</span><span style="color: #339933;">;</span> <span style="color: #000000; font-weight: bold;">?&gt;</span>
&nbsp;
oder
&nbsp;
<span style="color: #000000; font-weight: bold;">&lt;?php</span> <span style="color: #b1b100;">endwhile</span><span style="color: #339933;">;</span> <span style="color: #b1b100;">else</span><span style="color: #339933;">:</span> <span style="color: #000000; font-weight: bold;">?&gt;</span>
&nbsp;
		&lt;p&gt;Es gibt leider keine Beitr&amp;auml;ge, die deinen Kriterien entsprechen.&lt;/p&gt;
&nbsp;
<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></pre></div></div>

<p>VOR dem tippst Du:</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> comments_template<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>Fertig. Schon hast Du auch Kommentare auf einer statischen Seite.</p>
<p><span class="right"><a href='#fragen' title='Nach oben'>Top</a></span></p>
<p><a name="fuenf"><strong>Quick Tipp 5</strong></a></p>
<h3>Wie trennt man die Trackbacks und Pings und Kommentare</h3>
<p>Öffne die comments.php deines verwendeten WordPress Themes mit einem Texteditor. Sicher Dir vorher die Originaldatei!</p>
<p>Suche dort nach:</p>

<div class="wp_syntax"><div class="code"><pre class="php" style="font-family:monospace;">&lt;ol class=&quot;commentlist&quot;&gt;
&nbsp;
	<span style="color: #000000; font-weight: bold;">&lt;?php</span> <span style="color: #b1b100;">foreach</span> <span style="color: #009900;">&#40;</span><span style="color: #000088;">$comments</span> <span style="color: #b1b100;">as</span> <span style="color: #000088;">$comment</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>Vielleicht steht bei Deinem WordPress Theme noch anders html davor, das kommt auf das Design an. </p>
<p>Auf alle Fälle tippe vor dem:</p>

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

<p>Dann suchst Du weiter unten nach:</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;">else</span> <span style="color: #339933;">:</span> <span style="color: #666666; font-style: italic;">// comments are closed ?&gt;</span>
		<span style="color: #339933;">&lt;!--</span> <span style="color: #b1b100;">If</span> comments are closed<span style="color: #339933;">.</span> <span style="color: #339933;">--&gt;</span>
		<span style="color: #339933;">&lt;</span>p <span style="color: #000000; font-weight: bold;">class</span><span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;nocomments&quot;</span><span style="color: #339933;">&gt;</span>Kommentare derzeit nicht möglich<span style="color: #339933;">.&lt;/</span>p<span style="color: #339933;">&gt;</span>
&nbsp;
	<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>
<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></pre></div></div>

<p>Gleich danach tippst Du</p>

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

<p>Jetzt hast Du einen überblick was alles zu der Anzeige der Kommentare gehört die sogenannten html Kommentare zeigen dies jetzt an.</p>
<p>Du markierst alles vom ersten html Kommentar bis zum zweiten. </p>
<p>Und fügst es  unterhalb von &#8220;kommentare aus&#8221; wieder ein.</p>
<p>In meinem Quick Tipp zeige ich die Trackbacks /Pings oberhalb der Kommentare. Umgekehrt kannst Du es dann selbst. <img src='http://www.texto.de/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> </p>
<p>Der code in der comments.php ist jetzt lang. Du scrollst bis zum 1. html Kommentar &#8220;kommentare&#8221; und benennst den um auf &#8220;trackback&#8221;.</p>

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

<p>Und natürlich änderst Du unten auf &#8220;trackback aus&#8221; <img src='http://www.texto.de/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> </p>
<p>Das muss dann so aussehen:</p>

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

<p>Suche unterhalb von &#8220;trackback&#8221; nach:</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;">foreach</span> <span style="color: #009900;">&#40;</span><span style="color: #000088;">$comments</span> <span style="color: #b1b100;">as</span> <span style="color: #000088;">$comment</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>und tippe gleich darunter:</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>get_comment_type<span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span> <span style="color: #339933;">!=</span> <span style="color: #0000ff;">&quot;comment&quot;</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#123;</span> <span style="color: #000000; font-weight: bold;">?&gt;</span></pre></div></div>

<p>Suche weiter unten aber VOR  &#8220;trackback aus&#8221; nach:</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;">endforeach</span><span style="color: #339933;">;</span> <span style="color: #666666; font-style: italic;">/* end for each comment */</span> <span style="color: #000000; font-weight: bold;">?&gt;</span></pre></div></div>

<p>und tippe oberhalb:</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>Somit werden die Trackbacks und Pings mal gesondert angezeigt.</p>
<p>Jetzt noch die Kommentare alleine:</p>
<p>Suche nach dem html Kommentar &#8220;kommentare&#8221; nach:</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;">foreach</span> <span style="color: #009900;">&#40;</span><span style="color: #000088;">$comments</span> <span style="color: #b1b100;">as</span> <span style="color: #000088;">$comment</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>und tippe gleich unterhalb:</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>get_comment_type<span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span> <span style="color: #339933;">==</span> <span style="color: #0000ff;">&quot;comment&quot;</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#123;</span> <span style="color: #000000; font-weight: bold;">?&gt;</span></pre></div></div>

<p>Scrolle hinunter und suche nach:</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;">endforeach</span><span style="color: #339933;">;</span> <span style="color: #666666; font-style: italic;">/* end for each comment */</span> <span style="color: #000000; font-weight: bold;">?&gt;</span></pre></div></div>

<p>und tippe oberhalb:</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>Schon hast Du  die Kommentare und Pings und Trackbacks getrennt.</p>
<p><span class="right"><a href='#fragen' title='Nach oben'>Top</a></span></p>
<p><a name="sechs"><strong>Quick Tipp 6</strong></a></p>
<h3> Kann man mit WordPress ein Gästebuch machen?</h3>
<p>WordPress Plugin &#8220;<a href="http://www.zyblog.de/wordpress-plugins/reverse-order-comments/" title="Revers Order Comments ">revers order comments</a>&#8221; Dazu gibt es <a href="http://www.zyblog.de/2005/11/11/gaestebuecher-mit-dem-reverse-order-comments-plugin-erstellen/" title="Gästebuch mit reverse Order Comments erstellen.">hier eine Erklärung </a> oder selber machen wie unten erklärt.</p>
<p>Kurze Antwort: Ja. <img src='http://www.texto.de/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> </p>
<p>01 Speichere die page.php oder index.php Deines verwendeten WordPress Themes als friends.php ab. Niemals als guestbook.php danach suchen Spambots sehr gezielt. Du kannst Dich dann der Spameinträge wirklich nicht mehr erwehren. <img src='http://www.texto.de/wp-includes/images/smilies/icon_sad.gif' alt=':(' class='wp-smiley' /> </p>
<p>02 Öffne die friends.php und tippe ganz ganz oben folgendes hinein.</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;">/*
Template Name: Friends
*/</span>
<span style="color: #000000; font-weight: bold;">?&gt;</span></pre></div></div>

<p>Suche in der friends.php nach:</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;">endwhile</span><span style="color: #339933;">;</span> <span style="color: #b1b100;">endif</span><span style="color: #339933;">;</span> <span style="color: #000000; font-weight: bold;">?&gt;</span>
&nbsp;
oder
&nbsp;
<span style="color: #000000; font-weight: bold;">&lt;?php</span> <span style="color: #b1b100;">endwhile</span><span style="color: #339933;">;</span> <span style="color: #b1b100;">else</span><span style="color: #339933;">:</span> <span style="color: #000000; font-weight: bold;">?&gt;</span>
&nbsp;
		&lt;p&gt;Es gibt leider keine Beitr&amp;auml;ge, die deinen Kriterien entsprechen.&lt;/p&gt;
&nbsp;
<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></pre></div></div>

<p>VOR dem tippst Du:</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;">include</span> <span style="color: #009900;">&#40;</span>TEMPLATEPATH <span style="color: #339933;">.</span> <span style="color: #0000ff;">'/comments-friends.php'</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>steht da schon wo</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> comments_template<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>lösche dies.</p>
<p>03 Speichere die comments.php als comments-friends.php ab.</p>
<p>Magst Du die Anzeige der Kommentare in Deinem Gästebuch umdrehen lies Quick Tipp 1. </p>
<p>Lade die friends.php und comments-friends.php in den Themeordner des von Dir verwendeten WP Themes.</p>
<p>wp-content/themes/deintheme/</p>
<p>04 Admincenter==>schreiben==>Seite schreiben.</p>
<p>Als Titel was Du magst. Als Text was Dir beliebt. Rechts suchst Du nach: Diskussion==>entscheide, ob DuTrackbacks und Pings in einem Gästebuch haben magst ja oder nein.</p>
<p>Rechts suchst Du nach: Seiten-Template dort wählst Du &#8220;Friends&#8221; aus.</p>
<p>Speichern, Veröffentlichen und fertig ist Dein WordPress Gästebuch.</p>
<p><span class="right"><a href='#fragen' title='Nach oben'>Top</a></span></p>
<p><a name="sieben"><strong>Quick Tipp 7</strong></a></p>
<h3>Kann man Trackbacks auch ohne Inhalt nur mit der URL anzeigen lassen?</h3>
<p>Ja! Lies und mache alles was in Quick Tipp 5 steht. </p>
<p>Dann lösche alles zwischen den li und /li, damit sie nur mehr so wie gleich unten aussieht. Originaldatei vorher sichern!</p>

<div class="wp_syntax"><div class="code"><pre class="php" style="font-family:monospace;">&lt;li <span style="color: #000000; font-weight: bold;">&lt;?php</span> <span style="color: #b1b100;">echo</span> <span style="color: #000088;">$oddcomment</span><span style="color: #339933;">;</span> <span style="color: #000000; font-weight: bold;">?&gt;</span>id=&quot;comment-<span style="color: #000000; font-weight: bold;">&lt;?php</span> comment_ID<span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span> <span style="color: #000000; font-weight: bold;">?&gt;</span>&quot;&gt;
			&lt;cite&gt;<span style="color: #000000; font-weight: bold;">&lt;?php</span> comment_author_link<span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span> <span style="color: #000000; font-weight: bold;">?&gt;</span>&lt;/cite&gt; 
		&lt;/li&gt;</pre></div></div>

<p>Fertig!</p>
<p><span class="right"><a href='#fragen' title='Nach oben'>Top</a></span></p>
<p><a name="acht"><strong>Quick Tipp 8</strong></a></p>
<h3>Es kommen keine Trackbacks und Pings an, obwohl ich alles erlaubt habe?</h3>
<p><strong>Kontrollcheck:</strong> Du hast Admincenter==>Einstellungen/Optionen/==>Diskussion bei der Frage:</p>
<p>&#8220;Erlaube Link-Benachrichtigungen von anderen Weblogs (Pingbacks und Trackbacks)&#8221; ein Häkchen?</p>
<p>Du hast beim Veröffentlichen eines Beitrages auch niemals bei &#8220;Diskussion&#8221; (auf der rechten Seite) &#8220;erlaube Pings&#8221; das Häkchen gelöscht?</p>
<p>Wenn Ja, dann versuche noch dies:</p>
<p>Öffne die index.php und single.php Deines verwendeten WordPress Themes suche dort nach:</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> the_content<span style="color: #009900;">&#40;</span><span style="color: #0000ff;">&quot;.............</span></pre></div></div>

<p>Tippe gleich darunter: Nicht kopieren! </p>
<p> &lt;!- -&lt;?php trackback_rdf(); ?&gt;- -&gt;</p>
<p>Wenn es auch nicht hilft, kann noch folgendes sein:</p>
<p>Der  Trackback Sender hat zwar die Trackback URL in das Feld gegeben, aber keinen Link im Beitrag -somit frisst jedes halbwegs vernünftige Antispam Plugin so einen Trackback, weil der zu 99,9999999% von Spamern kommt.</p>
<p>Der Trackback Sender hat Probleme zu pingen, da bist Du machtlos.</p>
<p>Weitere Möglichkeiten nehm ich gern in die Sammlung auf. <img src='http://www.texto.de/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> </p>
<h3>Bad Behaviour </h3>
<p><strong>edit am 22.01.08</strong></p>
<p>Bei <a href="http://www.perun.net/2008/01/22/bad-behavior-laesst-pingabcks-nicht-durch/" title="Bad Behavior lä&#223;t Pings nicht durch">Perun</a> las ich soeben, dass es an diesem Plugin liegen könnte,wieso Pings nicht durchkommen.  </p>
<p><strong>Waren diese 8 Quick Tipps oder zumindest einer davon für Dich hilfreich, so freue ich mich über einen Social Bookmark oder über das Weiterezählen. </strong></p>
<p>Bei Fragen, einfach fragen. </p>
<div class="sign"> Viel Spa&#223; mit WordPress. </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/8-quick-tipps-zu-den-wordpress-kommentaren-und-pings-und-trackbacks-540/" >texto.de</a> (Digital Fingerprint:  textoakamts[texto.de])</small><hr />]]></content:encoded>
			<wfw:commentRss>http://www.texto.de/8-quick-tipps-zu-den-wordpress-kommentaren-und-pings-und-trackbacks-540/feed/</wfw:commentRss>
		<slash:comments>34</slash:comments>
		</item>
		<item>
		<title>kostenlose lizenzfreie Fotos</title>
		<link>http://www.texto.de/kostenlose-lizenzfreie-fotos-190/</link>
		<comments>http://www.texto.de/kostenlose-lizenzfreie-fotos-190/#comments</comments>
		<pubDate>Tue, 03 Apr 2007 16:29:13 +0000</pubDate>
		<dc:creator>texto</dc:creator>
				<category><![CDATA[WordPress Theme]]></category>
		<category><![CDATA[Texte]]></category>

		<guid isPermaLink="false">http://www.texto.de/?p=190</guid>
		<description><![CDATA[Wer braucht sie nicht die kostenlosen lizenzfreien Fotos? Vielleicht die Idee für Dein eigenes WordPress Theme.]]></description>
			<content:encoded><![CDATA[<dl style="width:160px;float:left;">
<dt><img src="/wp-images/text/196.jpg" alt="Katzengesicht in Gro&#223;aufnahme" height="113" width="150" /></dt>
<dd>kostenlose lizenzfreie Fotos bei Andihit.net</dd>
</dl>
<p>Du suchst Fotos, die Du auf Deiner Website -in Deinem Weblog- verwenden darfst.  </p>
<p><strong>edit im April 2007 :</strong> Andihit.net erstrahlt im neuen Glanz. <img src='http://www.texto.de/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' />  Nicht nur Bilder können hochgeladen werden, sondern auch sogenannte Chat-Zitate. </p>
<p>Du fotografierst selber gerne und bist bereit Deine Fotos anderen zur Verfügung zu stellen.  </p>
<p><br class="clear" />Andihit.net  bietet <span id="more-190"></span>Dir beides:kostenlose lizenzfreie Fotos und die Möglichkeit Deine Fotos dort zur Verfügung zu stellen. Ein Gegenlink für so ein Foto ist einfach eine Frage der Ehre. <img src='http://www.texto.de/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> </p>
<h3>Artikelversionen</h3>
<p>Erstveröffentlichung: 14.05.06<br />
1. Edit im Februar 2007</p>
<div class="sign">.. aus diesen Fotos kann man gute  <a href="http://www.wallpaperx.de/" title="Hintergrundbilder und Wallpaper">Hintergrundbilder &#038; Wallpaper</a> machen <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/kostenlose-lizenzfreie-fotos-190/" >texto.de</a> (Digital Fingerprint:  textoakamts[texto.de])</small><hr />]]></content:encoded>
			<wfw:commentRss>http://www.texto.de/kostenlose-lizenzfreie-fotos-190/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>knüpft  Codemasters mit Partes Tres  an DTM Race Driver 2 an &#8211; hier ein Review</title>
		<link>http://www.texto.de/knuepft-codemasters-mit-partes-tres-an-dtm-race-driver-2-an-hier-ein-review-362/</link>
		<comments>http://www.texto.de/knuepft-codemasters-mit-partes-tres-an-dtm-race-driver-2-an-hier-ein-review-362/#comments</comments>
		<pubDate>Sun, 21 Jan 2007 09:41:31 +0000</pubDate>
		<dc:creator>texto</dc:creator>
				<category><![CDATA[Lesen]]></category>
		<category><![CDATA[gastautor]]></category>
		<category><![CDATA[Texte]]></category>

		<guid isPermaLink="false">http://www.texto.de/texto/knuepft-codemasters-mit-partes-tres-an-dtm-race-driver-2-an-hier-ein-review/</guid>
		<description><![CDATA[Codemasters mit Partes Tres ist ein tolles Racing-Game. Hier ein Review.]]></description>
			<content:encoded><![CDATA[<p><span class="caplize">V</span>or ein paar J&auml;hrchen brachte<strong> Codemasters mit DTM Race Driver 2</strong> einen perfekten Titel für Rennspielliebhaber, der viele andere Racing-Games in den Schatten stellte. Etliche Fahrzeuge, prima Grafik und Sound machten DTM Race Driver damals zu einer der beliebtesten Racing-Serien. Ob Codemasters mit Partes Tres sich nochmals selbst überbieten kann, erfahrt ihr im folgenden Review:</p>
<p><span class="firstletter">D</span>as Herzstück des Spiels ist hier die &#8220;Welttournee&quot;, in der ihr in die Rolle eines Rennfahrers schlüpft und Rick, euren Manager, kennen lernt. Dieser etwas betagte Herr wird euch w&auml;hrend eurer Karriere begleiten, euch zeigen was man richtig macht und euch auf die Finger hauen, wenn ihr etwas falsches drückt. Neben Rick gibt es natürlich auch den obligatorischen Erzkonkurrenten und die ansehnlichen Boxenluder<span id="more-362"></span>. </p>
<p>In Verbindung mit vielen Rendersequenzen und einer schönen Storyline bietet der Welttournee-Modus die perfekte Motivation für viele Stunden.<br />
Das Schöne an dem Welttournee-Modus ist, dass ihr die komplette Bandbreite des Motorsports durchlauft. Neben den DTM- oder Formel 1-Herausforderungen könnt ihr unter anderem auch die Wüstenrenner der Baja-Serie fahren oder mit riesigen Monsterstrucks über die Off-Road Piste jagen und auch mit tonnenschweren Sattelschlepper über die Strecken heizen. DTM Race Driver 3 bietet hier sehr viel Abwechslung und wenn euch eine von den angebotenen Meisterschaften mal missf&auml;llt, könnt ihr euch eine andere aussuchen, denn es reicht, eine Herausforderung zu gewinnen, um weiterzukommen.</p>
<p><span class="firstletter">W</span>idmen wir uns nun einmal den Rennstrecken und Fahrzeugen. Neben sehr vielen originalgetreuen Pisten, wurde das Flitzer-Arsenal auf 72 lizenzierte Boliden erhöht. So könnt ihr mit DTM-Touring Wagen, Karts, Monstertrucks, Sattelschleppern oder Rennlegenden wie dem Mercedes W 125 Silberpfeil euer fahrerisches Können testen. Hinzu kommt, dass ihr im Spielverlauf euer Auto sehr genau und fein tunen dürft. So könnt ihr begonnen bei dem Antriebsstrang, Stabilisatoren, das Profil und die Gummimischung, Bremskraft, Federung und einiges mehr einstellen und euer Fahrzeug so genau auf euer Fahrverhalten abstimmen. </p>
<p>Die Fahrphysik ist in DTM Race Driver 3 ist auch gut gelungen. Hier muss man feinfühlig mit Gas und Bremse umgehen, damit der Wagen nicht ausbricht oder man im Kiesbett landet. DTM 3 kann hier auch mit Referenzen wie Gran Turismo 4 mithalten. Au&#223;erdem ist die Fahrphysik bei jeder Autoklasse anders. Die Open-Wheels lassen beim Bleifu&#223; schon mal viel Gummi auf der Strecke, die Monsterstrucks heben bei zu viel Gas vorne ab und die Trucks haben einen enorm langen Bremsweg, w&auml;hrend die F1-Boliden schon nach wenigen Sekunden stehen. </p>
<p><span class="firstletter">D</span>es Weiteren gibt es ein sehr genaues Schadensmodell, also ist für naturgetreue Blechverformungen gesorgt: Sch&auml;den beeinflussen sogar Lage des Motors und Gewichtsverteilung auf den Achsen. Wird euer Auto in einem Rennen zu stark besch&auml;digt, müsst ihr dieses wiederholen. So können auch die Reifen nach zu hoher Belastung platzen und der Motor kann wegen eines Fehlers am Kühler versagen. Auch Karosseriesch&auml;den machen sich sofort im Fahrverhalten bemerkbar, au&#223;erdem wird das Auto beim Verbrauchen des Sprits leichter und entsprechend beim Tanken wieder schwerer. Hartgesottene Rennfahrer schalten den &#8220;Pro-Sim-Modus&quot; ein, welcher das Fahrverhalten der Fahrzeuge noch realistischer macht und somit eine echte Herausforderung ist! Die KI ist hier auch gut gelungen, die Fahrer verteidigen ihre Position, dr&auml;ngeln teils ordentlich und machen auch realistisch wirkende Fehler. Hoffen wir, dass die <a href="http://www.planet-playstation.de/" title="Externer Link:Playstation 3">PS3</a>&quot;Version da weitermacht, wo der 3. Teil aufgehört hat.</p>
<p><span class="firstletter">D</span>ie Darstellung der Fahrzeuge und Strecken ist auf der Höhe der Zeit. Hochglanzlack und feinste Spiegeleffekte sind, wie bei anderen Rennspielen, natürlich standard, doch ruckelt es im Spiel nicht und auch die Framerate bleibt selbst bei bis zu 21 Fahrzeugen auf der Strecke stabil &#8211; Dazu kommt die enorme Fernsicht! Die Wiederholungen setzen dem ganzen die Krone auf und verpassen dem Spieler einen Hauch von Live-Erlebnis. Für Buh-Rufe sorgen nur die kargen Cockpits und das notorische Kantenflimmern.</p>
<p>Beim Sound bietet Codemasters ein gro&#223;es Fenster von Motorenger&auml;uschen und Effekten. Auch bei der Hintergrundmusik wird nichts falsch gemacht. Sie ist abwechslungsreich und bietet im sowohl Menü als auch im Rennen eine würzige Mischung.</p>
<p>Mit <strong>DTM Race Driver 3 überbietet Codemasters</strong> sich selbst. Die realistische Fahrphysik, das aufpolierte Schadensmodell und die motivierende Welttournee tragen hier zur authentischen Rennatmosph&auml;re bei. Egal ob ihr eingefleischter Rennfahrer seid, oder gerade erst eure Konsole bekommen habt. DTM Race Driver 3 bietet für jeden Spieler etwas und die vielen Modi und Einstellungen lassen den Spielspa&#223; schier grenzenlos werden. Absolute Kaufempfehlung meinerseits und Daumen sehr weit hoch! Der Titel stellt einen absolut würdigen Vorg&auml;nger für den n&auml;chsten <a href="http://www.planet-playstation.de/" title="Externer Link:Playstation 3">PlayStation 3 </a>Ã¢â‚¬â€œDTM-Titel</p>
<p>Renke Richter, <br />renke_richter{&auml;t}gmx{dot}de</p>
<div class="sign"> &#8230; <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/knuepft-codemasters-mit-partes-tres-an-dtm-race-driver-2-an-hier-ein-review-362/" >texto.de</a> (Digital Fingerprint:  textoakamts[texto.de])</small><hr />]]></content:encoded>
			<wfw:commentRss>http://www.texto.de/knuepft-codemasters-mit-partes-tres-an-dtm-race-driver-2-an-hier-ein-review-362/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Spam wegen Dateiname G&#228;stebuch</title>
		<link>http://www.texto.de/spam-wegen-dateiname-gaestebuch-144/</link>
		<comments>http://www.texto.de/spam-wegen-dateiname-gaestebuch-144/#comments</comments>
		<pubDate>Sat, 21 Jan 2006 08:03:44 +0000</pubDate>
		<dc:creator>texto</dc:creator>
				<category><![CDATA[Tipps und Tricks]]></category>
		<category><![CDATA[Texte]]></category>

		<guid isPermaLink="false">http://www.texto.de/?p=144</guid>
		<description><![CDATA[Spam Spider suchen gezielt nach Dateien, die G&#228;stebuch im Dateinamen haben.]]></description>
			<content:encoded><![CDATA[<p>Ich freute mich sehr über mein G&auml;stebuch. Vor diesem hatte ich hier auf Texto vielleicht einen Spamkommentar pro Monat.  Seit Eröffnung des G&auml;stebuches waren es nicht ganz Zweihundert pro Nacht. Alle im G&auml;stebuch.</p>
<p>Ich &auml;nderte einfach den Dateinamen der statischen Seite für das G&auml;sebuch  und der Spam hört langsam aber stetig auf. </p>
<div class="sign"> ..Spam für tote Internetadressen war es noch dazu .. <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/spam-wegen-dateiname-gaestebuch-144/" >texto.de</a> (Digital Fingerprint:  textoakamts[texto.de])</small><hr />]]></content:encoded>
			<wfw:commentRss>http://www.texto.de/spam-wegen-dateiname-gaestebuch-144/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
	</channel>
</rss>

