<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" media="screen" href="/~d/styles/rss2full.xsl"?><?xml-stylesheet type="text/css" media="screen" href="http://feeds.feedburner.com/~d/styles/itemcontent.css"?><rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:sy="http://purl.org/rss/1.0/modules/syndication/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0" version="2.0">

<channel>
	<title>Guru 2.0 › 3.0</title>
	
	<link>http://www.guru-20.info</link>
	<description>Der Blog für alle die Spass am Web und Design haben...</description>
	<lastBuildDate>Wed, 21 Jul 2010 16:58:10 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.1</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="self" type="application/rss+xml" href="http://feeds.feedburner.com/Guru20" /><feedburner:info uri="guru20" /><atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="hub" href="http://pubsubhubbub.appspot.com/" /><feedburner:emailServiceId>Guru20</feedburner:emailServiceId><feedburner:feedburnerHostname>http://feedburner.google.com</feedburner:feedburnerHostname><item>
		<title>kurze Info</title>
		<link>http://feedproxy.google.com/~r/Guru20/~3/7pQ2yQiuO44/</link>
		<comments>http://www.guru-20.info/2010/07/21/kurze-info/#comments</comments>
		<pubDate>Wed, 21 Jul 2010 16:58:10 +0000</pubDate>
		<dc:creator>Guru 2.0</dc:creator>
				<category><![CDATA[Aus dem Leben]]></category>
		<category><![CDATA[Information]]></category>

		<guid isPermaLink="false">http://www.guru-20.info/?p=3605</guid>
		<description>Da ich im Moment wieder mal an einer Arbeit für mein Studium schreibe, muss ich leider das Daily Code Poem auf ein &amp;#8220;Almost&amp;#8221; Daily Code Poem umändern. Aber keine Sorge in 14 Tagen geht es wieder rund  
Auch die Auflösung des Gewinnspiels kommt erst am Wochenende. Ihr versteht das sicher, aber manchmal hat man [...]
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/VrmDtkPWPGCfVSmvp7SyyRBc-Lg/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/VrmDtkPWPGCfVSmvp7SyyRBc-Lg/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/VrmDtkPWPGCfVSmvp7SyyRBc-Lg/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/VrmDtkPWPGCfVSmvp7SyyRBc-Lg/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/Guru20/~4/7pQ2yQiuO44" height="1" width="1"/&gt;</description>
		<wfw:commentRss>http://www.guru-20.info/2010/07/21/kurze-info/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		<feedburner:origLink>http://www.guru-20.info/2010/07/21/kurze-info/?utm_source=rss&amp;utm_medium=rss&amp;utm_campaign=kurze-info</feedburner:origLink></item>
		<item>
		<title>Daily Code Poem #42</title>
		<link>http://feedproxy.google.com/~r/Guru20/~3/9ckdD3c4ra0/</link>
		<comments>http://www.guru-20.info/2010/07/17/daily-code-poem-42/#comments</comments>
		<pubDate>Sat, 17 Jul 2010 17:00:36 +0000</pubDate>
		<dc:creator>Guru 2.0</dc:creator>
				<category><![CDATA[CSS]]></category>
		<category><![CDATA[Code Poem]]></category>
		<category><![CDATA[fix]]></category>
		<category><![CDATA[Fusszeile]]></category>
		<category><![CDATA[Position]]></category>

		<guid isPermaLink="false">http://www.guru-20.info/?p=3603</guid>
		<description>Kann ich die Fusszeile immer am unteren Bildschirmrand behalten, egal wo der Benutzer hinscrollt?
Klar! Mit einem kleinen CSS geht das:


?View Code CSS1
2
3
4
5
6
7
8
#footer &amp;#123;
    position: fixed;
    left: 0px;
    bottom: 0px;
    height: 64px;
    width: 100%;
    background: #E0E0E0;
&amp;#125;

Zusatzinformationen:

Daily Code Poem [...]
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/yc69pKH_Eko1a-uCbKizUyRiYkk/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/yc69pKH_Eko1a-uCbKizUyRiYkk/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/yc69pKH_Eko1a-uCbKizUyRiYkk/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/yc69pKH_Eko1a-uCbKizUyRiYkk/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/Guru20/~4/9ckdD3c4ra0" height="1" width="1"/&gt;</description>
		<wfw:commentRss>http://www.guru-20.info/2010/07/17/daily-code-poem-42/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://www.guru-20.info/2010/07/17/daily-code-poem-42/?utm_source=rss&amp;utm_medium=rss&amp;utm_campaign=daily-code-poem-42</feedburner:origLink></item>
		<item>
		<title>Daily Code Poem #41</title>
		<link>http://feedproxy.google.com/~r/Guru20/~3/iUvM4_2GErM/</link>
		<comments>http://www.guru-20.info/2010/07/16/daily-code-poem-41/#comments</comments>
		<pubDate>Fri, 16 Jul 2010 17:00:59 +0000</pubDate>
		<dc:creator>Guru 2.0</dc:creator>
				<category><![CDATA[CSS]]></category>
		<category><![CDATA[Cache]]></category>
		<category><![CDATA[Code Poem]]></category>
		<category><![CDATA[Image]]></category>
		<category><![CDATA[PreLoader]]></category>

		<guid isPermaLink="false">http://www.guru-20.info/?p=3599</guid>
		<description>Wie kann ich Bilder mit CSS laden um sie später bereits aus dem Cache verwenden zu können?
Dazu brauchst du nur einen versteckten/unsichtbaren Tag:


?View Code CSS1
2
3
4
5
6
7
8
9
10
11
#imgLoader &amp;#123;
      width: 0px;
      height: 0px;
      display: inline;
      background-image: url&amp;#40;../images/pic01.png&amp;#41;;
  [...]
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/xLcFFK3g3gT8xqaB_lHTgdLI3qA/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/xLcFFK3g3gT8xqaB_lHTgdLI3qA/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/xLcFFK3g3gT8xqaB_lHTgdLI3qA/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/xLcFFK3g3gT8xqaB_lHTgdLI3qA/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/Guru20/~4/iUvM4_2GErM" height="1" width="1"/&gt;</description>
		<wfw:commentRss>http://www.guru-20.info/2010/07/16/daily-code-poem-41/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://www.guru-20.info/2010/07/16/daily-code-poem-41/?utm_source=rss&amp;utm_medium=rss&amp;utm_campaign=daily-code-poem-41</feedburner:origLink></item>
		<item>
		<title>Daily Code Poem #40</title>
		<link>http://feedproxy.google.com/~r/Guru20/~3/ryOsxGU8ufE/</link>
		<comments>http://www.guru-20.info/2010/07/13/daily-code-poem-40/#comments</comments>
		<pubDate>Tue, 13 Jul 2010 09:30:19 +0000</pubDate>
		<dc:creator>Guru 2.0</dc:creator>
				<category><![CDATA[Development]]></category>
		<category><![CDATA[Code Poem]]></category>
		<category><![CDATA[eigene Felder]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[WordPress]]></category>

		<guid isPermaLink="false">http://www.guru-20.info/?p=3596</guid>
		<description>Ich verwenden in meinem WordPress-Blog benutzerdefinierte Felder. Nun will ich diese in den Posts anzeigen lassen. Aber natürlich nur, falls ich eines dieser Felder auch definiert habe.
Dazu musst Du dein Template anpassen:

Innerhalb des Loops kannst Du folgendes eintragen und die Ausgabe wird nur erzeugt, falls Du das Feld beim Post angelegt hast.

?View Code PHP1
2
3
4
5
6
7
&amp;#60; ?php
 [...]
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/h0nWvw8AuZ6X0U4RsHmxv-Vr7kc/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/h0nWvw8AuZ6X0U4RsHmxv-Vr7kc/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/h0nWvw8AuZ6X0U4RsHmxv-Vr7kc/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/h0nWvw8AuZ6X0U4RsHmxv-Vr7kc/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/Guru20/~4/ryOsxGU8ufE" height="1" width="1"/&gt;</description>
		<wfw:commentRss>http://www.guru-20.info/2010/07/13/daily-code-poem-40/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://www.guru-20.info/2010/07/13/daily-code-poem-40/?utm_source=rss&amp;utm_medium=rss&amp;utm_campaign=daily-code-poem-40</feedburner:origLink></item>
		<item>
		<title>Daily Code Poem #39</title>
		<link>http://feedproxy.google.com/~r/Guru20/~3/L2sV3mRO8WE/</link>
		<comments>http://www.guru-20.info/2010/07/12/daily-code-poem-39/#comments</comments>
		<pubDate>Mon, 12 Jul 2010 09:30:23 +0000</pubDate>
		<dc:creator>Guru 2.0</dc:creator>
				<category><![CDATA[Development]]></category>
		<category><![CDATA[Hilf mir!]]></category>
		<category><![CDATA[Admin Passwort]]></category>
		<category><![CDATA[Code Poem]]></category>
		<category><![CDATA[SQL]]></category>
		<category><![CDATA[WordPress]]></category>

		<guid isPermaLink="false">http://www.guru-20.info/?p=3593</guid>
		<description>Ich habe das Administrator-Passwort für meinen WordPress-Blog vergessen! Was soll ich jetzt machen?
Du brauchst jetzt einen Zugang zur Datenbank (zum Beispiel phpMyAdmin) und kannst dann folgenden SQL-Befehl ausführen:


?View Code SQL1
2
3
4
UPDATE `wp_users` 
  SET `user_pass` = MD5&amp;#40; 'Passwort' &amp;#41; 
  WHERE 
    `wp_users`.`user_login` = 'admin';

Statt Passwort schreibst Du dein neues Passwort [...]
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/xd_YNPGMTph-IpJU7n4ch6JxTaE/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/xd_YNPGMTph-IpJU7n4ch6JxTaE/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/xd_YNPGMTph-IpJU7n4ch6JxTaE/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/xd_YNPGMTph-IpJU7n4ch6JxTaE/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/Guru20/~4/L2sV3mRO8WE" height="1" width="1"/&gt;</description>
		<wfw:commentRss>http://www.guru-20.info/2010/07/12/daily-code-poem-39/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://www.guru-20.info/2010/07/12/daily-code-poem-39/?utm_source=rss&amp;utm_medium=rss&amp;utm_campaign=daily-code-poem-39</feedburner:origLink></item>
		<item>
		<title>Daily Code Poem #38</title>
		<link>http://feedproxy.google.com/~r/Guru20/~3/zFYk3CT6XOI/</link>
		<comments>http://www.guru-20.info/2010/07/11/daily-code-poem-38/#comments</comments>
		<pubDate>Sun, 11 Jul 2010 09:30:45 +0000</pubDate>
		<dc:creator>Guru 2.0</dc:creator>
				<category><![CDATA[Development]]></category>
		<category><![CDATA[Autovervollständigen]]></category>
		<category><![CDATA[Code Poem]]></category>
		<category><![CDATA[Formularfeld]]></category>
		<category><![CDATA[HTML]]></category>
		<category><![CDATA[Mobile]]></category>

		<guid isPermaLink="false">http://www.guru-20.info/?p=3590</guid>
		<description>Immer mehr Benutzer kommen mit einem iPad/iPhone auf meine webSite. Es nervt mich, dass bei den Formularfeldern immer eine Autokorrektur/Autovervollständigen durchgeführt wird. Ausserdem wird immer der erste Buchstabe gross geschrieben. Dass ist gerade beim Benutzernamen nervig. Kann ich das irgendwie abschalten?
Auch das geht mit einem kleinen Trick in HTML:


?View Code HTML1
2
3
4
5
6
7
8
&amp;#60;!-- automatisches vervollstaendigen deaktivieren --&amp;#62;
&amp;#60;input [...]
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/zr8KXXqnZYZFl7c0-2bLSh1gUGU/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/zr8KXXqnZYZFl7c0-2bLSh1gUGU/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/zr8KXXqnZYZFl7c0-2bLSh1gUGU/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/zr8KXXqnZYZFl7c0-2bLSh1gUGU/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/Guru20/~4/zFYk3CT6XOI" height="1" width="1"/&gt;</description>
		<wfw:commentRss>http://www.guru-20.info/2010/07/11/daily-code-poem-38/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://www.guru-20.info/2010/07/11/daily-code-poem-38/?utm_source=rss&amp;utm_medium=rss&amp;utm_campaign=daily-code-poem-38</feedburner:origLink></item>
		<item>
		<title>Daily Code Poem #37</title>
		<link>http://feedproxy.google.com/~r/Guru20/~3/LWxd9DL1mA8/</link>
		<comments>http://www.guru-20.info/2010/07/10/daily-code-poem-37/#comments</comments>
		<pubDate>Sat, 10 Jul 2010 09:30:07 +0000</pubDate>
		<dc:creator>Guru 2.0</dc:creator>
				<category><![CDATA[CSS]]></category>
		<category><![CDATA[Code Poem]]></category>
		<category><![CDATA[Zeilenhöhe]]></category>

		<guid isPermaLink="false">http://www.guru-20.info/?p=3587</guid>
		<description>Sobald ich Text tief- oder hochstelle verändert sich die Zeilenhöhe des Absatzes, kann ich das verhindern?
Klar geht das:

?View Code CSS1
2
3
4
5
6
7
8
sup, sub &amp;#123;
    vertical-align: baseline;
    position: relative;
    top: -0.4em;
&amp;#125;
sub &amp;#123; 
    top: 0.4em; 
&amp;#125;

via Paul Armstrong Designs [EN]
Zusatzinformationen:

Daily Code Poem #25
Daily Code Poem #3
Daily [...]
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/z47FOMKeBmdMs8Nh38viLbEq7f0/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/z47FOMKeBmdMs8Nh38viLbEq7f0/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/z47FOMKeBmdMs8Nh38viLbEq7f0/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/z47FOMKeBmdMs8Nh38viLbEq7f0/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/Guru20/~4/LWxd9DL1mA8" height="1" width="1"/&gt;</description>
		<wfw:commentRss>http://www.guru-20.info/2010/07/10/daily-code-poem-37/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://www.guru-20.info/2010/07/10/daily-code-poem-37/?utm_source=rss&amp;utm_medium=rss&amp;utm_campaign=daily-code-poem-37</feedburner:origLink></item>
		<item>
		<title>Daily Code Poem #36</title>
		<link>http://feedproxy.google.com/~r/Guru20/~3/ivmqmpWcqU0/</link>
		<comments>http://www.guru-20.info/2010/07/09/daily-code-poem-36/#comments</comments>
		<pubDate>Fri, 09 Jul 2010 09:30:27 +0000</pubDate>
		<dc:creator>Guru 2.0</dc:creator>
				<category><![CDATA[CSS]]></category>
		<category><![CDATA[Code Poem]]></category>
		<category><![CDATA[Initiale]]></category>

		<guid isPermaLink="false">http://www.guru-20.info/?p=3584</guid>
		<description>Wie kann ich eine Initiale bei einem Absatz erzeugen?
Mit CSS3 ist das gar kein Problem:


?View Code CSS1
2
3
4
5
6
7
8
9
10
11
12
13
p &amp;#123;
  font-family: Georgia; 
  font-size: 1.2em;
&amp;#125;
p:first-child:first-letter &amp;#123; 
  float: left; 
  color: #CCCCCC; 
  padding-top: 10px; 
  padding-right: 8px; 
  padding-left: 3px; 
  font-family: Georgia; 
  font-size: 2.5em; 
&amp;#125;

Zusatzinformationen:

Daily [...]
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/pxvgUbY_TE9hGl2sRs17bY3uFtY/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/pxvgUbY_TE9hGl2sRs17bY3uFtY/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/pxvgUbY_TE9hGl2sRs17bY3uFtY/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/pxvgUbY_TE9hGl2sRs17bY3uFtY/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/Guru20/~4/ivmqmpWcqU0" height="1" width="1"/&gt;</description>
		<wfw:commentRss>http://www.guru-20.info/2010/07/09/daily-code-poem-36/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://www.guru-20.info/2010/07/09/daily-code-poem-36/?utm_source=rss&amp;utm_medium=rss&amp;utm_campaign=daily-code-poem-36</feedburner:origLink></item>
		<item>
		<title>Daily Code Poem #35</title>
		<link>http://feedproxy.google.com/~r/Guru20/~3/HDV_pEcN1qg/</link>
		<comments>http://www.guru-20.info/2010/07/08/daily-code-poem-35/#comments</comments>
		<pubDate>Thu, 08 Jul 2010 09:30:11 +0000</pubDate>
		<dc:creator>Guru 2.0</dc:creator>
				<category><![CDATA[CSS]]></category>
		<category><![CDATA[Code Poem]]></category>
		<category><![CDATA[Tranpsarenz]]></category>

		<guid isPermaLink="false">http://www.guru-20.info/?p=3581</guid>
		<description>Nochmals ein Code-Schnipsel zur Transparenz. Diesmal die Attribute für alle möglichen Browser:


?View Code CSS1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
.transp50 &amp;#123;
  /* Internet Explorer... */
  /* Version 8 */
  -ms-filter: &amp;#34;progid:DXImageTransform.Microsoft.Alpha(Opacity=50)&amp;#34;;
  /* Version 5 - 7 */
  filter: alpha&amp;#40;opacity=50&amp;#41;;
&amp;#160;
  /* Mozilla (FireFox)... */
  -moz-opacity: 0.5;
&amp;#160;
  /* Safari Version 1.# */
  -khtml-opacity: 0.5;
&amp;#160;
 [...]
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/jXbz0RhU22g33_Z2Gush-10Hy78/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/jXbz0RhU22g33_Z2Gush-10Hy78/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/jXbz0RhU22g33_Z2Gush-10Hy78/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/jXbz0RhU22g33_Z2Gush-10Hy78/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/Guru20/~4/HDV_pEcN1qg" height="1" width="1"/&gt;</description>
		<wfw:commentRss>http://www.guru-20.info/2010/07/08/daily-code-poem-35/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://www.guru-20.info/2010/07/08/daily-code-poem-35/?utm_source=rss&amp;utm_medium=rss&amp;utm_campaign=daily-code-poem-35</feedburner:origLink></item>
		<item>
		<title>Daily Code Poem #34</title>
		<link>http://feedproxy.google.com/~r/Guru20/~3/QN0-8GrI6Tg/</link>
		<comments>http://www.guru-20.info/2010/07/07/daily-code-poem-34/#comments</comments>
		<pubDate>Wed, 07 Jul 2010 09:30:42 +0000</pubDate>
		<dc:creator>Guru 2.0</dc:creator>
				<category><![CDATA[CSS]]></category>
		<category><![CDATA[Development]]></category>
		<category><![CDATA[Autor]]></category>
		<category><![CDATA[Code Poem]]></category>
		<category><![CDATA[Kommentar]]></category>
		<category><![CDATA[WordPress]]></category>

		<guid isPermaLink="false">http://www.guru-20.info/?p=3575</guid>
		<description>Wie kann ich die Kommentare des Autors eines Posts in WordPress hervorheben?
Dazu müssen wir den Kommentar-Loop anpassen und auch einen eigenen CSS-Stil erstellen:

Passen wir zuerst den Loop an:

?View Code HTML1
2
3
4
5
6
7
  &amp;#60;div &amp;#60;?php 
    //Auf die eMail-Adresse des Autors pruefen
    if ($comment-&amp;#62;comment_author_email == &amp;#34;email@example.com&amp;#34;) {
     [...]
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/Di4l2BpFCbA4V6B2WLwnI8kvsJg/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/Di4l2BpFCbA4V6B2WLwnI8kvsJg/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/Di4l2BpFCbA4V6B2WLwnI8kvsJg/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/Di4l2BpFCbA4V6B2WLwnI8kvsJg/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/Guru20/~4/QN0-8GrI6Tg" height="1" width="1"/&gt;</description>
		<wfw:commentRss>http://www.guru-20.info/2010/07/07/daily-code-poem-34/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://www.guru-20.info/2010/07/07/daily-code-poem-34/?utm_source=rss&amp;utm_medium=rss&amp;utm_campaign=daily-code-poem-34</feedburner:origLink></item>
		<item>
		<title>Daily Code Poem #33</title>
		<link>http://feedproxy.google.com/~r/Guru20/~3/F79csI2ILm8/</link>
		<comments>http://www.guru-20.info/2010/07/06/33/#comments</comments>
		<pubDate>Tue, 06 Jul 2010 09:30:48 +0000</pubDate>
		<dc:creator>Guru 2.0</dc:creator>
				<category><![CDATA[Development]]></category>
		<category><![CDATA[Code Poem]]></category>
		<category><![CDATA[geplante Posts]]></category>
		<category><![CDATA[WordPress]]></category>

		<guid isPermaLink="false">http://www.guru-20.info/?p=3571</guid>
		<description>Ich will in WordPress Posts nicht nur planen, sondern nur für einen bestimmten Zeitraum anzeigen. Nach einem definiertem Datum, soll der Post wieder verschwinden. Wie mache ich das?
Dazu brauchst Du einen angepaßten Loop und ein benutzerdefiniertes Feld mit dem Namen expires beim Erstellen des Posts.


?View Code PHP1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
  //Loop-Start
  if &amp;#40;have_posts&amp;#40;&amp;#41;&amp;#41; : while &amp;#40;have_posts&amp;#40;&amp;#41;&amp;#41; [...]
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/1w4l_nBRbhnApn2R_SuaxvUviIM/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/1w4l_nBRbhnApn2R_SuaxvUviIM/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/1w4l_nBRbhnApn2R_SuaxvUviIM/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/1w4l_nBRbhnApn2R_SuaxvUviIM/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/Guru20/~4/F79csI2ILm8" height="1" width="1"/&gt;</description>
		<wfw:commentRss>http://www.guru-20.info/2010/07/06/33/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://www.guru-20.info/2010/07/06/33/?utm_source=rss&amp;utm_medium=rss&amp;utm_campaign=33</feedburner:origLink></item>
		<item>
		<title>Daily Code Poem #32</title>
		<link>http://feedproxy.google.com/~r/Guru20/~3/gCZ7wMpc2WI/</link>
		<comments>http://www.guru-20.info/2010/07/05/daily-code-poem-32/#comments</comments>
		<pubDate>Mon, 05 Jul 2010 09:30:09 +0000</pubDate>
		<dc:creator>Guru 2.0</dc:creator>
				<category><![CDATA[Development]]></category>
		<category><![CDATA[Code Poem]]></category>
		<category><![CDATA[Kommentare]]></category>
		<category><![CDATA[Loop]]></category>
		<category><![CDATA[WordPress]]></category>

		<guid isPermaLink="false">http://www.guru-20.info/?p=3568</guid>
		<description>Meine Kommentarliste gefällt mir nicht, ich hätte gerne einen abwechselnden Stil. Es soll einfach jeder zweite Kommentar einen anderen Hintergrund erhalten, aber ich habe keine Ahung wie das geht!
Dazu brauchst du einen/zwei definierte CSS-Stile und einen geänderten Kommentar-Loop (ab WP 2.7 sollten die Klassen eigentlich automatisch hinzugefügt werden):

Fangen wir mit der CSS-Datei an:

?View Code CSS1
2
3
4
5
6
7
8
9
10
.odd [...]
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/udLrkAUDsh0_Lx7-cmNOtIJMTm4/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/udLrkAUDsh0_Lx7-cmNOtIJMTm4/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/udLrkAUDsh0_Lx7-cmNOtIJMTm4/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/udLrkAUDsh0_Lx7-cmNOtIJMTm4/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/Guru20/~4/gCZ7wMpc2WI" height="1" width="1"/&gt;</description>
		<wfw:commentRss>http://www.guru-20.info/2010/07/05/daily-code-poem-32/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://www.guru-20.info/2010/07/05/daily-code-poem-32/?utm_source=rss&amp;utm_medium=rss&amp;utm_campaign=daily-code-poem-32</feedburner:origLink></item>
		<item>
		<title>Daily Code Poem #31</title>
		<link>http://feedproxy.google.com/~r/Guru20/~3/vpjRsF9KAyA/</link>
		<comments>http://www.guru-20.info/2010/07/04/daily-code-poem-31/#comments</comments>
		<pubDate>Sun, 04 Jul 2010 09:30:11 +0000</pubDate>
		<dc:creator>Guru 2.0</dc:creator>
				<category><![CDATA[Development]]></category>
		<category><![CDATA[Code Poem]]></category>
		<category><![CDATA[geplante Posts]]></category>
		<category><![CDATA[WordPress]]></category>

		<guid isPermaLink="false">http://www.guru-20.info/?p=3565</guid>
		<description>Ich arbeite sehr viel mit geplanten Posts. Ich würde diese zukünftigen Posts gerne meinen Lesern zeigen. Aber es soll nur eine Liste mit Titeln angezeigt werden. Der Post selber darf noch nicht lesbar sein, geht das irgendwie?
Natürlich! Schau dir einfach die folgenden Zeilen an, welche Du an passender Stelle in deinem Template einfügen musst:


?View Code [...]
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/s9WKG_eG77ZftEGDxUG2BDXPfN8/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/s9WKG_eG77ZftEGDxUG2BDXPfN8/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/s9WKG_eG77ZftEGDxUG2BDXPfN8/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/s9WKG_eG77ZftEGDxUG2BDXPfN8/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/Guru20/~4/vpjRsF9KAyA" height="1" width="1"/&gt;</description>
		<wfw:commentRss>http://www.guru-20.info/2010/07/04/daily-code-poem-31/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://www.guru-20.info/2010/07/04/daily-code-poem-31/?utm_source=rss&amp;utm_medium=rss&amp;utm_campaign=daily-code-poem-31</feedburner:origLink></item>
		<item>
		<title>Daily Code Poem #30</title>
		<link>http://feedproxy.google.com/~r/Guru20/~3/Kq94bJc8sNQ/</link>
		<comments>http://www.guru-20.info/2010/07/03/daily-code-poem-30/#comments</comments>
		<pubDate>Sat, 03 Jul 2010 09:30:35 +0000</pubDate>
		<dc:creator>Guru 2.0</dc:creator>
				<category><![CDATA[Design]]></category>
		<category><![CDATA[Code Poem]]></category>
		<category><![CDATA[Copyright-Notiz]]></category>
		<category><![CDATA[WordPress]]></category>

		<guid isPermaLink="false">http://www.guru-20.info/?p=3562</guid>
		<description>Jedes Jahr muss ich den Copyright-Hinweis in der Fusszeile anpassen! Kann ich das nicht automatisieren?
Sicher! Dazu brauchst Du nur folgende Zeile an die passende Stelle in der footer.php einfügen:


?View Code HTML1
Copyright &amp;#38;copy; 2007 - &amp;#60; ?php echo date('Y'); ?&amp;#62; Guru 2.0

Zusatzinformationen:

Daily Code Poem #11
Webseiten drucken!
Daily Code Poem #31
Daily Code Poem #42
Daily Code Poem #21


Copyright &amp;#169; [...]
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/zBJ0IlXdhMRAV8-mDF35h3aJakk/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/zBJ0IlXdhMRAV8-mDF35h3aJakk/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/zBJ0IlXdhMRAV8-mDF35h3aJakk/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/zBJ0IlXdhMRAV8-mDF35h3aJakk/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/Guru20/~4/Kq94bJc8sNQ" height="1" width="1"/&gt;</description>
		<wfw:commentRss>http://www.guru-20.info/2010/07/03/daily-code-poem-30/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://www.guru-20.info/2010/07/03/daily-code-poem-30/?utm_source=rss&amp;utm_medium=rss&amp;utm_campaign=daily-code-poem-30</feedburner:origLink></item>
		<item>
		<title>Daily Code Poem #29</title>
		<link>http://feedproxy.google.com/~r/Guru20/~3/soCWXDtQH5k/</link>
		<comments>http://www.guru-20.info/2010/07/02/daily-code-poem-29/#comments</comments>
		<pubDate>Fri, 02 Jul 2010 09:30:02 +0000</pubDate>
		<dc:creator>Guru 2.0</dc:creator>
				<category><![CDATA[Development]]></category>
		<category><![CDATA[Code Poem]]></category>
		<category><![CDATA[Kommentare]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[WordPress]]></category>

		<guid isPermaLink="false">http://www.guru-20.info/?p=3559</guid>
		<description>Ich will in den Posts in meinem WordPress Blogs Kommentare sperren. Aber nicht für alle Posts, sondern erst für Posts welche ein bestimmtes Alter überschritten haben. Ist das möglich?
Klar geht da! Dazu brauchen wir die Datei functions.php und den Filter von WordPress:


?View Code PHP1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
//Kommentare zeitgesteuert sperren
function NoComment&amp;#40;$posts&amp;#41; &amp;#123;
  //Kommentare sind nur fuer einzelne Posts [...]
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/JUlGwL_177ZNWZxYPAcpNyRr83I/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/JUlGwL_177ZNWZxYPAcpNyRr83I/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/JUlGwL_177ZNWZxYPAcpNyRr83I/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/JUlGwL_177ZNWZxYPAcpNyRr83I/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/Guru20/~4/soCWXDtQH5k" height="1" width="1"/&gt;</description>
		<wfw:commentRss>http://www.guru-20.info/2010/07/02/daily-code-poem-29/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://www.guru-20.info/2010/07/02/daily-code-poem-29/?utm_source=rss&amp;utm_medium=rss&amp;utm_campaign=daily-code-poem-29</feedburner:origLink></item>
	</channel>
</rss>
