<?xml version="1.0"?>
<?xml-stylesheet type="text/css" href="http://www.wiki.domenii.eu/w/skins/common/feed.css?270"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="ro">
		<id>http://www.wiki.domenii.eu/w/index.php?action=history&amp;feed=atom&amp;title=Wordpress_comments</id>
		<title>Wordpress comments - Revizia istoricului</title>
		<link rel="self" type="application/atom+xml" href="http://www.wiki.domenii.eu/w/index.php?action=history&amp;feed=atom&amp;title=Wordpress_comments"/>
		<link rel="alternate" type="text/html" href="http://www.wiki.domenii.eu/w/index.php?title=Wordpress_comments&amp;action=history"/>
		<updated>2026-04-18T19:20:01Z</updated>
		<subtitle>Revizia istoricului pentru această pagină de pe wiki</subtitle>
		<generator>MediaWiki 1.16.2</generator>

	<entry>
		<id>http://www.wiki.domenii.eu/w/index.php?title=Wordpress_comments&amp;diff=881&amp;oldid=prev</id>
		<title>WikiAdmin: /* Codul pentru comments.php */</title>
		<link rel="alternate" type="text/html" href="http://www.wiki.domenii.eu/w/index.php?title=Wordpress_comments&amp;diff=881&amp;oldid=prev"/>
				<updated>2009-01-13T13:14:39Z</updated>
		
		<summary type="html">&lt;p&gt;&lt;span class=&quot;autocomment&quot;&gt;Codul pentru comments.php&lt;/span&gt;&lt;/p&gt;
&lt;a href=&quot;http://www.wiki.domenii.eu/w/index.php?title=Wordpress_comments&amp;amp;diff=881&amp;amp;oldid=880&quot;&gt;Arată diferențele&lt;/a&gt;</summary>
		<author><name>WikiAdmin</name></author>	</entry>

	<entry>
		<id>http://www.wiki.domenii.eu/w/index.php?title=Wordpress_comments&amp;diff=880&amp;oldid=prev</id>
		<title>WikiAdmin la 13 ianuarie 2009 13:14</title>
		<link rel="alternate" type="text/html" href="http://www.wiki.domenii.eu/w/index.php?title=Wordpress_comments&amp;diff=880&amp;oldid=prev"/>
				<updated>2009-01-13T13:14:11Z</updated>
		
		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;a href=&quot;http://www.wiki.domenii.eu/w/index.php?title=Wordpress_comments&amp;amp;diff=880&amp;amp;oldid=879&quot;&gt;Arată diferențele&lt;/a&gt;</summary>
		<author><name>WikiAdmin</name></author>	</entry>

	<entry>
		<id>http://www.wiki.domenii.eu/w/index.php?title=Wordpress_comments&amp;diff=879&amp;oldid=prev</id>
		<title>WikiAdmin: /* Codul pentru comments.php */</title>
		<link rel="alternate" type="text/html" href="http://www.wiki.domenii.eu/w/index.php?title=Wordpress_comments&amp;diff=879&amp;oldid=prev"/>
				<updated>2009-01-13T13:09:02Z</updated>
		
		<summary type="html">&lt;p&gt;&lt;span class=&quot;autocomment&quot;&gt;Codul pentru comments.php&lt;/span&gt;&lt;/p&gt;
&lt;a href=&quot;http://www.wiki.domenii.eu/w/index.php?title=Wordpress_comments&amp;amp;diff=879&amp;amp;oldid=878&quot;&gt;Arată diferențele&lt;/a&gt;</summary>
		<author><name>WikiAdmin</name></author>	</entry>

	<entry>
		<id>http://www.wiki.domenii.eu/w/index.php?title=Wordpress_comments&amp;diff=878&amp;oldid=prev</id>
		<title>WikiAdmin la 13 ianuarie 2009 13:08</title>
		<link rel="alternate" type="text/html" href="http://www.wiki.domenii.eu/w/index.php?title=Wordpress_comments&amp;diff=878&amp;oldid=prev"/>
				<updated>2009-01-13T13:08:03Z</updated>
		
		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;a href=&quot;http://www.wiki.domenii.eu/w/index.php?title=Wordpress_comments&amp;amp;diff=878&amp;amp;oldid=859&quot;&gt;Arată diferențele&lt;/a&gt;</summary>
		<author><name>WikiAdmin</name></author>	</entry>

	<entry>
		<id>http://www.wiki.domenii.eu/w/index.php?title=Wordpress_comments&amp;diff=859&amp;oldid=prev</id>
		<title>WikiAdmin la 12 ianuarie 2009 13:07</title>
		<link rel="alternate" type="text/html" href="http://www.wiki.domenii.eu/w/index.php?title=Wordpress_comments&amp;diff=859&amp;oldid=prev"/>
				<updated>2009-01-12T13:07:07Z</updated>
		
		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table style=&quot;background-color: white; color:black;&quot;&gt;
			&lt;col class='diff-marker' /&gt;
			&lt;col class='diff-content' /&gt;
			&lt;col class='diff-marker' /&gt;
			&lt;col class='diff-content' /&gt;
		&lt;tr valign='top'&gt;
		&lt;td colspan='2' style=&quot;background-color: white; color:black;&quot;&gt;←Versiunea anterioară&lt;/td&gt;
		&lt;td colspan='2' style=&quot;background-color: white; color:black;&quot;&gt;Versiunea de la data 12 ianuarie 2009 13:07&lt;/td&gt;
		&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Linia 1:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Linia 1:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;=Count comments - PIMP Wordpress (PHP, CSS)=&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;=Count comments - PIMP Wordpress (PHP, CSS)=&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;nbsp;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;color: red; font-weight: bold; text-decoration: none;&quot;&gt;*&amp;nbsp;  Acum recent cineva ma tragea de urechi pentru ca nu este afisat numarul comentarilor. Bun, m-am pus pe treaba (mai mult imi ia sa scriu postul asta decat sa aplic un count la comentarii) si m-am jucat putin cu '''comments.php''' situat in /wp-content/themes/tema-ta/.&amp;lt;br&amp;gt; In fisierul '''comments.php''' este un ciclu (foreach) care extrage si afiseaza comentarile de la fiecare post. Inaintea ciclului adaugam o variabila cu valoarea 1, in ciclu introducem valoarea count a comentariului de la postul respectiv si inainte de terminarea ciclului (endforeach) adaugam iar variabila cu rol de auto incrementare la fiecare ciclu. Imaginea de mai jos este un demo la modificarea facuta in actiune si [http://scripts.ddumi.com/2008-12-26/php-code/96.html aici este &amp;quot;codul sursa&amp;quot;]. Nu am dat copy/paste la tot ciclul pentru ca unele chestii difera de la tema la tema (wordpress theme).&amp;lt;br&amp;gt;[http://blog.ddumi.com/tutoriale/2008/12/26/count-comments-pimp-wordpress-php-css.html Sursa]&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;[[Categorie:Wordpress]]&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;[[Categorie:Wordpress]]&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>WikiAdmin</name></author>	</entry>

	<entry>
		<id>http://www.wiki.domenii.eu/w/index.php?title=Wordpress_comments&amp;diff=858&amp;oldid=prev</id>
		<title>WikiAdmin la 12 ianuarie 2009 13:06</title>
		<link rel="alternate" type="text/html" href="http://www.wiki.domenii.eu/w/index.php?title=Wordpress_comments&amp;diff=858&amp;oldid=prev"/>
				<updated>2009-01-12T13:06:23Z</updated>
		
		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table style=&quot;background-color: white; color:black;&quot;&gt;
			&lt;col class='diff-marker' /&gt;
			&lt;col class='diff-content' /&gt;
			&lt;col class='diff-marker' /&gt;
			&lt;col class='diff-content' /&gt;
		&lt;tr valign='top'&gt;
		&lt;td colspan='2' style=&quot;background-color: white; color:black;&quot;&gt;←Versiunea anterioară&lt;/td&gt;
		&lt;td colspan='2' style=&quot;background-color: white; color:black;&quot;&gt;Versiunea de la data 12 ianuarie 2009 13:06&lt;/td&gt;
		&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Linia 1:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Linia 1:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;-&lt;/td&gt;&lt;td style=&quot;background: #ffa; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&amp;#160;&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;=Count comments - PIMP Wordpress (PHP, CSS)=&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;[[Categorie:Wordpress]]&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;[[Categorie:Wordpress]]&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>WikiAdmin</name></author>	</entry>

	<entry>
		<id>http://www.wiki.domenii.eu/w/index.php?title=Wordpress_comments&amp;diff=857&amp;oldid=prev</id>
		<title>WikiAdmin: Pagină nouă:   Categorie:Wordpress</title>
		<link rel="alternate" type="text/html" href="http://www.wiki.domenii.eu/w/index.php?title=Wordpress_comments&amp;diff=857&amp;oldid=prev"/>
				<updated>2009-01-12T12:59:59Z</updated>
		
		<summary type="html">&lt;p&gt;Pagină nouă:   &lt;a href=&quot;/w/index.php?title=Categorie:Wordpress&amp;amp;action=edit&amp;amp;redlink=1&quot; class=&quot;new&quot; title=&quot;Categorie:Wordpress (pagină inexistentă)&quot;&gt;Categorie:Wordpress&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;Pagină nouă&lt;/b&gt;&lt;/p&gt;&lt;div&gt;&lt;br /&gt;
&lt;br /&gt;
[[Categorie:Wordpress]]&lt;/div&gt;</summary>
		<author><name>WikiAdmin</name></author>	</entry>

	</feed>