<?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>WordPress Hacks &#187; WordPress</title> <atom:link href="http://wordpress-hacks.com/cat/wordpress/feed" rel="self" type="application/rss+xml" /><link>http://wordpress-hacks.com</link> <description>Tips y consejos de WordPress en español</description> <lastBuildDate>Fri, 23 Jul 2010 11:36:18 +0000</lastBuildDate> <language>en</language> <sy:updatePeriod>hourly</sy:updatePeriod> <sy:updateFrequency>1</sy:updateFrequency> <generator>http://wordpress.org/?v=3.0.1</generator> <item><title>You are attempting to log out of Localhost</title><link>http://wordpress-hacks.com/you-are-attempting-to-log-out-of-localhost.php</link> <comments>http://wordpress-hacks.com/you-are-attempting-to-log-out-of-localhost.php#comments</comments> <pubDate>Tue, 03 Nov 2009 05:38:35 +0000</pubDate> <dc:creator>Neri Aispuro</dc:creator> <category><![CDATA[WordPress]]></category> <category><![CDATA[comments.php]]></category> <category><![CDATA[wp_logout_url]]></category><guid
isPermaLink="false">http://wordpress-hacks.com/?p=468</guid> <description><![CDATA[Podrido de leer &#8220;You are attempting to log out of Localhost&#8221; cuando estoy traduciendo algún theme, ¿realmente será tan difícil para un diseñador de themes de WordPress cambiar la vieja función de Logout a la nueva?, teniendo en cuenta que la versión 2.7 de WordPress vio la luz a mediados de Diciembre del 2008, hasta [...]]]></description> <content:encoded><![CDATA[<div><img
class="alignnone size-full wp-image-469" title="You are attempting to log out of Localhost" src="http://wordpress-hacks.com/wp-content/uploads/2009/11/You-are-attempting-to-log-out-of-Localhost.png" alt="You are attempting to log out of Localhost" width="327" height="120" /></div><p>Podrido de leer &#8220;<strong>You are attempting to log out of Localhost</strong>&#8221; cuando estoy traduciendo algún theme, ¿realmente será tan difícil para un diseñador de themes de WordPress cambiar la vieja función de Logout a la nueva?, teniendo en cuenta que la versión 2.7 de WordPress vio la luz a mediados de Diciembre del 2008, hasta el momento de escribir este post los diseñadores han tenido <strong>más de 10 meses</strong> para, simplemente, cambiar una linea de código, y lo peor es que no es un hecho aislado, sino que la mayoría de los themes de wp tienen este problema.</p><p>Cuando veas algo parecido a esto en algún lugar de tu theme (generalmente comments.php):</p><div
class="wp_syntax"><div
class="code"><pre class="php" style="font-family:monospace;"><span style="color: #339933;">/</span>wp<span style="color: #339933;">-</span>login<span style="color: #339933;">.</span>php?action<span style="color: #339933;">=</span>logout</pre></div></div><p>cambialo por:</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> wp_logout_url<span style="color: #009900;">&#40;</span> <span style="color: #000088;">$redirect</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>Para que al salir redireccione a la url donde nos encontrábamos:</p><div
class="wp_syntax"><div
class="code"><pre class="php" style="font-family:monospace;">&lt;a href=&quot;<span style="color: #000000; font-weight: bold;">&lt;?php</span> <span style="color: #b1b100;">echo</span> wp_logout_url<span style="color: #009900;">&#40;</span> get_permalink<span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span> <span style="color: #000000; font-weight: bold;">?&gt;</span>&quot; title=&quot;Logout&quot;&gt;Logout&lt;/a&gt;</pre></div></div>]]></content:encoded> <wfw:commentRss>http://wordpress-hacks.com/you-are-attempting-to-log-out-of-localhost.php/feed</wfw:commentRss> <slash:comments>5</slash:comments> </item> <item><title>WordPress se queda en blanco</title><link>http://wordpress-hacks.com/wordpress-se-queda-en-blanco.php</link> <comments>http://wordpress-hacks.com/wordpress-se-queda-en-blanco.php#comments</comments> <pubDate>Tue, 03 Nov 2009 00:11:17 +0000</pubDate> <dc:creator>Neri Aispuro</dc:creator> <category><![CDATA[WordPress]]></category> <category><![CDATA[option_name]]></category> <category><![CDATA[option_value]]></category> <category><![CDATA[wp_options]]></category><guid
isPermaLink="false">http://wordpress-hacks.com/?p=462</guid> <description><![CDATA[Que WordPress se quede en blanco y no muestre absolutamente nada puede poner paranoico a cualquiera, ya que al quedarse en blanco no nos da pista de nada por lo que no podemos buscar mucha ayuda, hace un par de días cuando estaba terminando la primer parte del nuevo diseño de la parte de Themes [...]]]></description> <content:encoded><![CDATA[<p>Que WordPress se quede en blanco y no muestre absolutamente nada puede poner paranoico a cualquiera, ya que al quedarse en blanco no nos da pista de nada por lo que no podemos buscar mucha ayuda, hace un par de días cuando estaba terminando la primer parte del nuevo diseño de la parte de <a
href="http://themes.wordpress-hacks.com/">Themes WordPress</a> (todavía sin terminar) cuando subí el nuevo theme y lo activé no anduvo más nada, por lo que tuve que bajar la base de datos y buscar las líneas donde nombraba al nuevo theme pensando que si le ponía &#8220;default&#8221; iba a funcionar, por suerte subí la base de datos nuevamente y volvió a funcionar.</p><p>Yo tuve que modificar 2 registros, en la tabla wp_options con el id de opción 48 y 49 en &#8220;option_name&#8221; dice &#8220;template&#8221; y &#8220;stylesheet&#8221; y en &#8220;option_value&#8221; el nombre del theme que había cambiado simplemente reemplacé el nombre por &#8220;default&#8221;, por si alguien no entiende un par de capturas antes y después:</p><p><a
href="http://wordpress-hacks.com/wp-content/uploads/2009/11/antes.png"><img
src="http://wordpress-hacks.com/wp-content/uploads/2009/11/antes-300x28.png" alt="antes" title="antes" width="300" height="28" class="alignnone size-medium wp-image-463" /></a></p><p><a
href="http://wordpress-hacks.com/wp-content/uploads/2009/11/despues.png"><img
src="http://wordpress-hacks.com/wp-content/uploads/2009/11/despues-300x28.png" alt="despues" title="despues" width="300" height="28" class="alignnone size-medium wp-image-464" /></a></p><p>Creo que se entiende, si alguien no entendió avisa <img
src='http://wordpress-hacks.com/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /></p> ]]></content:encoded> <wfw:commentRss>http://wordpress-hacks.com/wordpress-se-queda-en-blanco.php/feed</wfw:commentRss> <slash:comments>10</slash:comments> </item> <item><title>Error al editar los comentarios</title><link>http://wordpress-hacks.com/error-al-editar-los-comentarios.php</link> <comments>http://wordpress-hacks.com/error-al-editar-los-comentarios.php#comments</comments> <pubDate>Mon, 31 Aug 2009 11:37:34 +0000</pubDate> <dc:creator>Neri Aispuro</dc:creator> <category><![CDATA[WordPress]]></category> <category><![CDATA[/wp-includes/comment.php on line 1097]]></category> <category><![CDATA[Db cache]]></category> <category><![CDATA[pingbacks]]></category> <category><![CDATA[Warning: Cannot modify header information]]></category><guid
isPermaLink="false">http://wordpress-hacks.com/?p=429</guid> <description><![CDATA[Hoy vi lo feo que quedaban los comentarios de los pingbacks al ser tan largos, generalmente el nombre del artículo donde nos enlazan, seguido del nombre del sitio. Al listar los comentarios en pocos píxeles de ancho ocupan mucho espacio, asi que decidí dejar solo el nombre del sitio, por ejemplo el último pingback de [...]]]></description> <content:encoded><![CDATA[<div
align="center"><img
src="http://wordpress-hacks.com/wp-content/uploads/2009/08/wordpress-plugins.jpg" alt="wordpress plugins" title="wordpress plugins" width="500" height="134" class="alignnone size-full wp-image-431" /></div><p>Hoy vi lo feo que quedaban los comentarios de los pingbacks al ser tan largos, generalmente el nombre del artículo donde nos enlazan, seguido del nombre del sitio. Al listar los comentarios en pocos píxeles de ancho ocupan mucho espacio, asi que decidí dejar solo el nombre del sitio, por ejemplo el último pingback de <a
href="http://ayudawordpress.com">Ayuda wp</a> era:</p><p>&#8220;Que revisar si hackean tu WordPress | Ayuda WordPress&#8221;</p><p>yo quería que el autor sea solamente &#8220;Ayuda WordPress&#8221;, entonces quise editar el pingback y cuando fuí a guardar me dió el siguiente error:</p><blockquote><p>Warning: array_merge() [function.array-merge]: Argument #1 is not an array in /wp-includes/comment.php on line 1097</p><p>Warning: Cannot modify header information &#8211; headers already sent by (output started at /wp-includes/comment.php:1097) in /wp-includes/pluggable.php on line 865</p></blockquote><p>Por lo que me puse a buscar una posible solución, me costó poco llegar al <a
href="http://wordpress.org/support/topic/285076">soporte de wp</a> y a la respuesta que buscaba.</p><p>El problema ocurre cuando tenemos la última versión de WordPress y el plugin <a
href="http://wordpress.org/extend/plugins/db-cache/">Db cache</a>, por lo que desactivé el plugin, edité el par de pingbacks y lo volví a activar. Bastante raro que pase esto, voy a ver si más tarde veo un poco mejor el error.</p> ]]></content:encoded> <wfw:commentRss>http://wordpress-hacks.com/error-al-editar-los-comentarios.php/feed</wfw:commentRss> <slash:comments>0</slash:comments> </item> <item><title>Warning: implode() [function.implode]: Invalid arguments passed in /wp-includes/post.php on line 1762</title><link>http://wordpress-hacks.com/warning-implode-function-implode-invalid-arguments-passed-in-wp-includespost-php-on-line-1762.php</link> <comments>http://wordpress-hacks.com/warning-implode-function-implode-invalid-arguments-passed-in-wp-includespost-php-on-line-1762.php#comments</comments> <pubDate>Wed, 26 Aug 2009 00:00:24 +0000</pubDate> <dc:creator>Neri Aispuro</dc:creator> <category><![CDATA[WordPress]]></category><guid
isPermaLink="false">http://wordpress-hacks.com/?p=416</guid> <description><![CDATA[Me pasa en todos los sitios cuando voy a editar o agregar una nueva página el siguiente error: Warning: implode() [function.implode]: Invalid arguments passed in /wp-includes/post.php on line 1762 Estuve buscando una solución al error para poder editar las páginas y lo encontré en el foro de WordPress. Hay que abrir el archivo post.php que [...]]]></description> <content:encoded><![CDATA[<p>Me pasa en todos los sitios cuando voy a editar o agregar una nueva página el siguiente error:</p><p><strong>Warning: implode() [function.implode]: Invalid arguments passed in /wp-includes/post.php on line 1762</strong></p><p>Estuve buscando una solución al error para poder editar las páginas y <a
href="http://wordpress.org/support/topic/289261">lo encontré</a> en el foro de WordPress.</p><p>Hay que abrir el archivo <strong>post.php</strong> que está en /wp-includes, ir a la línea 1762 y cambiar esto:</p><div
class="wp_syntax"><table><tr><td
class="line_numbers"><pre>1
</pre></td><td
class="code"><pre class="php" style="font-family:monospace;"><span style="color: #000088;">$check_sql</span> <span style="color: #339933;">=</span> <span style="color: #0000ff;">&quot;SELECT post_name FROM <span style="color: #006699; font-weight: bold;">$wpdb-&gt;posts</span> WHERE post_name = <span style="color: #009933; font-weight: bold;">%s</span> AND post_type IN ( '&quot;</span> <span style="color: #339933;">.</span> <span style="color: #990000;">implode</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">&quot;', '&quot;</span><span style="color: #339933;">,</span> <span style="color: #000088;">$wpdb</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">escape</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$hierarchical_post_types</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span> <span style="color: #339933;">.</span> <span style="color: #0000ff;">&quot;' ) AND ID != <span style="color: #009933; font-weight: bold;">%d</span> AND post_parent = <span style="color: #009933; font-weight: bold;">%d</span> LIMIT 1&quot;</span><span style="color: #339933;">;</span></pre></td></tr></table></div><p>Por lo siguiente:</p><div
class="wp_syntax"><table><tr><td
class="line_numbers"><pre>1
2
3
</pre></td><td
class="code"><pre class="php" style="font-family:monospace;"><span style="color: #000088;">$hierarchical_post_types_string</span> <span style="color: #339933;">=</span> <span style="color: #990000;">implode</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">&quot;', '&quot;</span><span style="color: #339933;">,</span> <span style="color: #000088;">$hierarchical_post_types</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
<span style="color: #000088;">$hierarchical_post_types_string</span> <span style="color: #339933;">=</span> <span style="color: #990000;">addslashes</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$hierarchical_post_types_string</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
<span style="color: #000088;">$check_sql</span> <span style="color: #339933;">=</span> <span style="color: #0000ff;">&quot;SELECT post_name FROM <span style="color: #006699; font-weight: bold;">$wpdb-&gt;posts</span> WHERE post_name = <span style="color: #009933; font-weight: bold;">%s</span> AND post_type IN ( '&quot;</span> <span style="color: #339933;">.</span> <span style="color: #000088;">$hierarchical_post_types_string</span> <span style="color: #339933;">.</span> <span style="color: #0000ff;">&quot;' ) AND ID != <span style="color: #009933; font-weight: bold;">%d</span> AND post_parent = <span style="color: #009933; font-weight: bold;">%d</span> LIMIT 1&quot;</span><span style="color: #339933;">;</span></pre></td></tr></table></div>]]></content:encoded> <wfw:commentRss>http://wordpress-hacks.com/warning-implode-function-implode-invalid-arguments-passed-in-wp-includespost-php-on-line-1762.php/feed</wfw:commentRss> <slash:comments>10</slash:comments> </item> <item><title>¿Dónde comprar themes premium?</title><link>http://wordpress-hacks.com/donde-comprar-themes-premium.php</link> <comments>http://wordpress-hacks.com/donde-comprar-themes-premium.php#comments</comments> <pubDate>Sun, 09 Aug 2009 03:58:12 +0000</pubDate> <dc:creator>Neri Aispuro</dc:creator> <category><![CDATA[WordPress]]></category><guid
isPermaLink="false">http://wordpress-hacks.com/?p=396</guid> <description><![CDATA[Más de una vez me han hecho esta pregunta, asi que voy a poner algunos sitios donde pueden comprar themes premium de WordPress. Nota: algunos enlaces tienen código de referido, ya que gano 0$ con este sitio y lo hago solo porque me gusta, creo que no está mal poner ese par de enlaces una [...]]]></description> <content:encoded><![CDATA[<p>Más de una vez me han hecho esta pregunta, asi que voy a poner algunos sitios donde pueden <strong>comprar themes premium de WordPress</strong>.</p><blockquote><p> <em>Nota:</em> algunos enlaces tienen <strong>código de referido</strong>, ya que gano 0$ con este sitio y lo hago solo porque me gusta, creo que no está mal poner ese par de enlaces una vez, si alguien piensa que esta mal, pulse Alt f4 para recibir ayuda.</p></blockquote><p>Sitios donde pueden comprar un theme premium:</p><p><a
rel="nofollow" href="http://wordpress-hacks.com/ir/themesforest.php">Theme Forest.</p><p><img
class="alignnone size-full wp-image-398" title="Theme Forest" src="http://wordpress-hacks.com/wp-content/uploads/2009/08/TF.jpg" alt="TF" width="180" height="150" /></a></p><p>En <strong>Theme Forest </strong>compré el theme que fué <a
rel="nofollow" href="http://wordpress-hacks.com/resultados-del-sorteo-del-theme-premium.php">premio</a> del <a
rel="nofollow" href="http://wordpress-hacks.com/sorteo-de-un-theme-para-wordpress-premium.php">sorteo</a>, tiene un sistema muy fácil de entender y muy transparente. Tiene themes por la módica suma de 10 u$s, asi que no hay excusas.</p><p><a
rel="nofollow" href="http://wordpress-hacks.com/ir/dathemes.php">DaThemes.</p><p><img
class="alignnone size-medium wp-image-399" title="dathemes" src="http://wordpress-hacks.com/wp-content/uploads/2009/08/dathemes-300x83.png" alt="dathemes" width="300" height="83" /></a></p><p>No tengo mucho para decir de este sitio, solo que sus diseños son <strong>mas caros</strong> que los de Theme Forest, aunque la calidad es mucho mejor, el mínimo son 50 u$s.</p><p><a
rel="nofollow" href="http://wordpress-hacks.com/ir/woothemes.php">Woo Theme.<br
/> <img
src="http://wordpress-hacks.com/wp-content/uploads/2009/08/woothemes.jpg" alt="woo themes" title="woo themes" width="250" height="250" class="alignnone size-full wp-image-400" /></a></p><p>Quien no conoce <strong>Woo Themes</strong>?, creo son los más populares dentro de este mercado de compra y venta de themes, en verdad son unos grandes y nunca he tenido problema alguno con ellos, de hecho este theme es de ellos, al igual que otros themes que he comprado para otros sitios mios.<br
/> Les recomiendo que si tienen poca experiencia para modificar themes y quieran algo sencillo, no compren estos themes, ya que son muy complicados a la hora de personalizar, ya que tienen mucho código propio.<br
/> Nota: También ofrecen Themes gratuitos, ferticidio hace un tiempo hizo una lista donde pueden encontrar los <a
href="http://ferticidio.com/themes-free-de-woo-themes">Themes Free de Woo Themes</a>, que no tienen nada que envidiar a los pagos.</p><p><a
rel="nofollow" href="http://wordpress-hacks.com/ir/studiopress.php">Studio Press.<br
/> <img
src="http://wordpress-hacks.com/wp-content/uploads/2009/08/studiopress.png" alt="studiopress" title="studiopress" width="250" height="250" class="alignnone size-full wp-image-406" /></a></p><p><strong>Studio Press</strong> fué creado por Craig Tuller, pero ahora es una fusión con lo que alguna vez fué la linea de themes Revolution y Revolution two de Brian Gardner, junto con varios grandes en la materia como Joost o Rebecca.</p><p><a
href="http://www.organizedthemes.com/">Organized Themes</a>.</p><p><img
src="http://wordpress-hacks.com/wp-content/uploads/2009/08/ot.png" alt="ot" title="ot" width="206" height="140" class="alignnone size-full wp-image-407" /></p><p>En <strong>organized themes</strong> pueden encontrar themes baratos, aunque tiene muy pocos disponibles.</p><p><a
href="http://ithemes.com">Ithemes</a>.</p><p><img
src="http://wordpress-hacks.com/wp-content/uploads/2009/08/ithemes-300x109.png" alt="ithemes" title="ithemes" width="300" height="109" class="alignnone size-medium wp-image-408" /></p><p>Ithemes tiene excelentes diseños, aunque muy caros para mi gusto, el más barato cuesta 80 u$s, que por ese dinero me hago hacer uno personalizado. Pero si quieren gastar en un buen theme es una buena opción ithemes.</p> ]]></content:encoded> <wfw:commentRss>http://wordpress-hacks.com/donde-comprar-themes-premium.php/feed</wfw:commentRss> <slash:comments>4</slash:comments> </item> <item><title>Warning: preg_match() [function.preg-match]: Compilation failed: unrecognized character after</title><link>http://wordpress-hacks.com/warning-preg_match-functionpreg-match-compilation-failed-unrecognized-character-after.php</link> <comments>http://wordpress-hacks.com/warning-preg_match-functionpreg-match-compilation-failed-unrecognized-character-after.php#comments</comments> <pubDate>Thu, 28 May 2009 00:53:10 +0000</pubDate> <dc:creator>Neri Aispuro</dc:creator> <category><![CDATA[WordPress]]></category> <category><![CDATA[function.preg-match]]></category> <category><![CDATA[Warning preg_match()]]></category> <category><![CDATA[Wp-Syntax]]></category><guid
isPermaLink="false">http://wordpress-hacks.com/?p=319</guid> <description><![CDATA[Ayer actualizé el plugin Wp-Syntax en los blogs donde lo uso. (para los que no saben que es, es lo que muestra el código en colores.) Resulta que hace minutos, entro a un post de este blog, y veo que dice: Warning: preg_match() [function.preg-match]: Compilation failed: unrecognized character after (?&#60; at offset 3 in (ruta)/html/wp-content/plugins/wp-syntax/geshi/geshi.php [...]]]></description> <content:encoded><![CDATA[<p
style="text-align: center;"><img
class="size-full wp-image-324 aligncenter" title="error wp syntax" src="http://wordpress-hacks.com/wp-content/uploads/2009/05/error-wp-syntax.png" alt="error wp syntax" width="591" height="115" /></p><p>Ayer actualizé el plugin <strong>Wp-Syntax</strong> en los blogs donde lo uso. (para los que no saben que es, es lo que muestra el código en colores.)</p><p>Resulta que hace minutos, entro a un post de este blog, y veo que dice:</p><p><strong>Warning</strong>:  preg_match() [function.preg-match]: Compilation failed: unrecognized character after (?&lt; at offset 3 in <strong>(ruta)/html/wp-content/plugins/wp-syntax/geshi/geshi.php</strong> on line <strong>2132</strong></p><p><span
style="text-decoration: line-through;">Parece ser un problema con los sitios alojados en <a
href="http://mediatemple.net">Media Temple</a>, seguramente alla que tocar el php.ini para permitir alguna función, pero como no tengo ganas de andar tocando eso,</span></p><p>Mientras escribo el post, veo que en <a
href="http://tengoun.com.ar">tengoun</a>, también da ese problema, y aún no esta en media temple.</p><p>Me bajé <a
href="http://wordpress.org/extend/plugins/wp-syntax/download/">la versión anterior del plugin</a>, la <strong>0.9.5</strong>, desactive la última que habia instalado, borré las carpetas y activé.Parece que se solucionó el problema, lo voy a dejar así hasta que vea otra alternativa para que funcione.<br
/> Si tienen ideas, pueden dejarlas <img
src='http://wordpress-hacks.com/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /></p> ]]></content:encoded> <wfw:commentRss>http://wordpress-hacks.com/warning-preg_match-functionpreg-match-compilation-failed-unrecognized-character-after.php/feed</wfw:commentRss> <slash:comments>1</slash:comments> </item> <item><title>Resultados del sorteo del Theme Premium</title><link>http://wordpress-hacks.com/resultados-del-sorteo-del-theme-premium.php</link> <comments>http://wordpress-hacks.com/resultados-del-sorteo-del-theme-premium.php#comments</comments> <pubDate>Mon, 11 May 2009 19:21:39 +0000</pubDate> <dc:creator>Neri Aispuro</dc:creator> <category><![CDATA[WordPress]]></category> <category><![CDATA[Sorteo]]></category> <category><![CDATA[Theme premium WordPress]]></category><guid
isPermaLink="false">http://wordpress-hacks.com/?p=236</guid> <description><![CDATA[Hace un par de días, inicie un concurso por un theme premium de WordPress y fue inesperado el resultado, mas de 70 personas se sumaron, en total 73. Antes de dar a conocer el ganador del theme, me gustaría agradecer a todos los que se sumaron y difundieron el sorteo, ya sea mediante Twitter o [...]]]></description> <content:encoded><![CDATA[<p
style="text-align: center;"><img
class="size-medium wp-image-249 aligncenter" title="Sorteo" src="http://wordpress-hacks.com/wp-content/uploads/2009/05/sorteo-300x219.jpg" alt="Sorteo" width="300" height="219" /></p><p>Hace un par de días, inicie un <a
href="http://wordpress-hacks.com/sorteo-de-un-theme-para-wordpress-premium.php">concurso por un theme premium de WordPress</a> y fue inesperado el resultado, mas de 70 personas se sumaron, en total 73.</p><p>Antes de dar a conocer el ganador del theme, me gustaría agradecer a todos los que se sumaron y difundieron el sorteo, ya sea mediante Twitter o haciendo un post en su blog, más abajo la lista de todos <img
src='http://wordpress-hacks.com/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> .</p><p><strong>El ganador</strong> del theme premium de WordPress es:</p><p>El inscripto #16 &#8211; Boloo, de <a
href="http://mecongratula.es">Me congratula</a>.<br
/> <strong>Felicitaciones!</strong></p><p>El sorteo, como había dicho antes, lo realize mediante Random.org, pero lo que hize que no estaba planeado, es un video del momento del sorteo, ya saben, por si algún retrasado mental jode <img
src='http://wordpress-hacks.com/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> .<br
/> Quien quiera,puede ver el video <a
rel="nofollow" href="http://wordpress-hacks.com/wp-content/uploads/2009/05/sorteo-wp-hacks.zip">descargándolo</a> (1mb y algo).</p><p>Lista de todos los Participantes:</p><p>Eduardo N. Fortes &#8211; <a
href="http://www.edufortes.com.ar"/>Sitio</a><br
/> Gabriel &#8211; <a
href="http://www.divaguetaz.com"/>Sitio</a><br
/> Guty &#8211; <a
href="http://dalgrev.com.ar"/>Sitio</a><br
/> RareGaZz &#8211; <a
href="http://www.raregazz.com"/>Sitio</a><br
/> Garlock &#8211; <a
href="http://www.garlockpersonal.blogspot.com"/>Sitio</a><br
/> Hernan &#8211; <a
href="http://www.codigogeek.com"/>Sitio</a><br
/> Abby &#8211; <a
href="http://elblogdeabby.blogspot.com"/>Sitio</a><br
/> Flavio &#8211; <a
href="http://flavioa.com"/>Sitio</a><br
/> Xyborg &#8211; <a
href="http://www.martinaberastegue.com"/>Sitio</a><br
/> Braulio &#8211; <a
href="http://braulioaquino.com"/>Sitio</a><br
/> Francesc &#8211; <a
href="http://www.francescjosep.net"/>Sitio</a><br
/> Nebel &#8211; <a
href="http://puntodelta.net"/>Sitio</a><br
/> Pk_JoA &#8211; <a
href="http://frikiorgulloso.com"/>Sitio</a><br
/> Anfetas &#8211; <a
href="http://www.anfetaminico.net"/>Sitio</a><br
/> Mario &#8211; <a
href="http://www.frozzer.com"/>Sitio</a><br
/> Boloo &#8211; <a
href="http://mecongratula.es"/>Sitio</a><br
/> Muadib &#8211; <a
href="http://blog.emtorres.com.ar"/>Sitio</a><br
/> exactlimon &#8211; <a
href="http://www.exactlimon.com"/>Sitio</a><br
/> rogeliorabbit &#8211; <a
href="http://www.blumbablog.com"/>Sitio</a><br
/> Albertma &#8211; <a
href="http://desenchufados.soygik.com"/>Sitio</a><br
/> martin &#8211; <a
href="http://www.unpocogeek.com"/>Sitio</a><br
/> Samuel &#8211; <a
href="http://samuemx.diezpesitos.com"/>Sitio</a><br
/> Jorje Rojas &#8211; <a
href="http://www.piurifa.com"/>Sitio</a><br
/> elcarpo &#8211; <a
href="http://democraciachina.com.ar"/>Sitio</a><br
/> Marv3x &#8211; <a
href="http://www.10puntos.info"/>Sitio</a><br
/> nadie007 &#8211; <a
href="http://www.nadie007.com"/>Sitio</a><br
/> Holanda &#8211; <a
href="http://twitter.com/holandita>Twitter</a><br
/> Paula &#8211;<br
/> Juditas666 &#8211; <a
href="http://www.judastechnologies.com"/>Sitio</a><br
/> Gabriel &#8211; <a
href="http://grblog.net"/>Sitio</a><br
/> Mauro &#8211; <a
href="http://misfotosecuencias.com.ar"/>Sitio</a><br
/> GoRhY &#8211; <a
href="http://www.gorhy.com"/>Sitio</a><br
/> Matias &#8211; <a
href="http://matts.com.ar"/>Sitio</a><br
/> Juan Carlos &#8211; <a
href="http://www.tecnotas.com"/>Sitio</a><br
/> Dondado &#8211; <a
href="http://www.dondado.es"/>Sitio</a><br
/> Xavi &#8211; <a
href="http://www.sopayaso.com"/>Sitio</a><br
/> Juanito &#8211; <a
href="http://juampablog.com.ar"/>Sitio</a><br
/> Mazcue &#8211; <a
href="http://www.mazcue.com.ar"/>Sitio</a><br
/> Illi.Pro &#8211; <a
href="http://www.illi-pro.com"/>Sitio</a><br
/> Daniel &#8211; <a
href="http://soycachanilla.com"/>Sitio</a><br
/> JuanK &#8211; <a
href="http://www.blooging.net"/>Sitio</a><br
/> Enrique &#8211; <a
href="http://www.itexa.com.ar"/>Sitio</a><br
/> Deoese &#8211; <a
href="http://www.deoese.com.ar"/>Sitio</a><br
/> Rodolfo Augsburger &#8211; <a
href="http://nosoygeek.com"/>Sitio</a><br
/> Gastón &#8211; <a
href="http://www.urbanation.com.ar"/>Sitio</a><br
/> Lucas &#8211;<br
/> Daniel Ruiz &#8211;<br
/> Sebastián &#8211; <a
href="http://unmundobinario.com"/>Sitio</a><br
/> elteto &#8211; <a
href="http://www.e-abaco.net"/>Sitio</a><br
/> Magdiel Silva &#8211; <a
href="http://www.mads.com.br"/>Sitio</a><br
/> AlbaTroX &#8211; <a
href="http://albatroxcronopio.blogspot.com"/>Sitio</a><br
/> Amattajm &#8211; <a
href="http://www.amattajm.com.ar"/>Sitio</a><br
/> dobleseis &#8211;<br
/> Nightwalker &#8211; <a
href="http://www.pandoraz.com.ar"/>Sitio</a><br
/> Abel &#8211; <a
href="http://www.imageral.com"/>Sitio</a><br
/> Araque &#8211; <a
href="http://www.araquebelagua.com"/>Sitio</a><br
/> Emiliano &#8211; <a
href="http://okhagamoslo.com.ar"/>Sitio</a><br
/> Martín &#8211; <a
href="http://volteck.net"/>Sitio</a><br
/> Cristian &#8211; <a
href="http://ediciondehoy.com.ar"/>Sitio</a><br
/> Jose Dueñas &#8211; <a
href="http://www.joseduenas.com"/>Sitio</a><br
/> TecnoBITA &#8211; <a
href="http://www.tecnobita.com"/>Sitio</a><br
/> ejner69 &#8211; <a
href="http://elotroyo.co.cc"/>Sitio</a><br
/> Pol &#8211; <a
href="http://www.polgoma.com"/>Sitio</a><br
/> Alberto Navarro &#8211; <a
href="http://www.comohacer.eu"/>Sitio</a><br
/> Mauro &#8211; <a
href="http://www.zorzer.com.ar"/>Sitio</a><br
/> Elyager &#8211; <a
href="http://guitarristageek.com"/>Sitio</a><br
/> Solio &#8211; <a
href="http://ideaslibres.net"/>Sitio</a><br
/> soyNacho &#8211; <a
href="http://soynacho.wordpress.com"/>Sitio</a><br
/> kozmica &#8211; <a
href="http://www.kozmica.com"/>Sitio</a><br
/> MomiaBlanca &#8211; <a
href="http://www.videojuegosvirtuales.com"/>Sitio</a><br
/> Carlitos &#8211; <a
href="http://johzone.com"/>Sitio</a><br
/> Daniel Marinez &#8211; <a
href="http://serpientelibre.com"/>Sitio</a><br
/> Javier Neri &#8211; <a
href="http://www.achingao.com"/>Sitio</a></p><p><a
href="http://wordpress-hacks.com/wp-content/uploads/2009/05/sorteo-wp-hacks.txt">Lista de los inscriptos</a>, más los tweets y/o posts que daban una chance más.</p><p><a
href="http://wordpress-hacks.com/wp-content/uploads/2009/05/lista-final-wp-hacks.txt">Lista que se sorteó</a>.<br
/> <a
href="http://wordpress-hacks.com/wp-content/uploads/2009/05/lista-sorteo-wp-hacks.txt">Lista completa de los resultados</a>.</p><p>Gracias a los que hicieron los posts:<br
/> <a
href="http://grblog.net/ganate-un-theme-premium-en-wordpress-hacks/">Gabriel</a>.<br
/> <a
href="http://nosoygeek.com/2009/05/gana-un-theme-para-wp-premium/">Rodolfo Augsburger</a>.<br
/> <a
href="http://dalgrev.com.ar/2009/05/concurso-en-wordpress-hacks/">Guty</a>.<br
/> <a
href="http://yougeek.net/%C2%BFalguien-quiere-un-theme-premium/">Solio</a>.<br
/> <a
href="http://albatroxcronopio.blogspot.com/2009/05/sorteo-de-un-theme-para-wordpress.html">AlbaTroX</a>.</p><p>Ya me pongo en contacto con el ganador, y más tarde actualizaré el post diciendo que theme eligió. <strong>Muchas gracias a todos</strong>, y, seguramente más adelante esté organizando algún otro concurso.</p><h3>Actualización:</h3><p>Ayer luego del sorteo me puse en contacto con el ganador, quién respondió al rato, y finalmente hoy, me pasó el nombre del theme elegido.<br
/> El Theme elegido es el <a
href="http://themeforest.net/item/my-wordpress/39678">My WordPress</a> (<a
href="http://themeforest.net/theme_previews/39678-my-wordpress">capturas</a>) (<a
href="http://themeforest.net/item/my-wordpress/full_screen_preview/39678">Demo</a>)</p><p><a
rel="nofollow" href="http://wordpress-hacks.com/wp-content/uploads/2009/05/recibo.png"><img
src="http://wordpress-hacks.com/wp-content/uploads/2009/05/recibo-150x137.png" alt="recibo" title="recibo" width="150" height="137" class="alignnone size-thumbnail wp-image-254" /></a> &#8211; <a
rel="nofollow" href="http://wordpress-hacks.com/wp-content/uploads/2009/05/recibo2.png"><img
src="http://wordpress-hacks.com/wp-content/uploads/2009/05/recibo2-150x150.png" alt="recibo2" title="recibo2" width="150" height="150" class="alignnone size-thumbnail wp-image-255" /></a></p><p>El Ganador ya lo recibió, asi que queda cerrado el tema, gracias nuevamente a tod@s por sumarse <img
src='http://wordpress-hacks.com/wp-includes/images/smilies/icon_biggrin.gif' alt=':D' class='wp-smiley' /> .</p> ]]></content:encoded> <wfw:commentRss>http://wordpress-hacks.com/resultados-del-sorteo-del-theme-premium.php/feed</wfw:commentRss> <slash:comments>11</slash:comments> </item> <item><title>Sorteo de un Theme para WordPress Premium</title><link>http://wordpress-hacks.com/sorteo-de-un-theme-para-wordpress-premium.php</link> <comments>http://wordpress-hacks.com/sorteo-de-un-theme-para-wordpress-premium.php#comments</comments> <pubDate>Sat, 09 May 2009 18:12:48 +0000</pubDate> <dc:creator>Neri Aispuro</dc:creator> <category><![CDATA[WordPress]]></category> <category><![CDATA[Sorteo]]></category> <category><![CDATA[Theme premium WordPress]]></category><guid
isPermaLink="false">http://wordpress-hacks.com/?p=230</guid> <description><![CDATA[Recien se me ocurrió la idea de sortear un theme premium para WordPress y varios dijeron que se sumaban, asi que acá vamos. Condiciones y demás para que todo quede claro: Las inscripciones son mediante un comentario en este artículo. Lo único que me importa que sea correcto es el campo del e-mail, ya que [...]]]></description> <content:encoded><![CDATA[<p><img
src="http://wordpress-hacks.com/wp-content/uploads/2009/05/theme-forest.png" alt="theme forest" title="theme forest" width="524" height="335" class="alignnone size-full wp-image-232" /></p><p>Recien se me ocurrió la idea de sortear un theme premium para WordPress y varios dijeron que se sumaban, asi que acá vamos.</p><p><strong>Condiciones y demás para que todo quede claro:</strong></p><p>Las inscripciones son mediante <strong>un comentario en este artículo</strong>.<br
/> Lo único que me importa que sea correcto es el campo del e-mail, ya que ese será el medio de contacto para avisar a quien gane.<br
/> La inscripción va a finalizar el lunes 11 de mayo a las 12 del mediodía aproximadamente -hora Argentina-, o cuando yo diga en un comentario que se cerró la inscripción.<br
/> Si todo sale bien, lo voy a sortear el mismo lunes en random.org, mediante una lista, que llevará el orden de cada comentario, el que primero comente tendra el #1 y así sucesivamente.NO voy a hacer ningún video, solo un par de capturas de pantalla.</p><p><strong>Requisitos para participar:</strong><br
/> Tener una dirección de mail válida<br
/> Aceptar las condiciones previamente escritas.</p><p><strong>Opcionales:</strong><br
/> Como me interesa promocionar un poco este blog, quién hable del sorteo en su blog, o twitee algo sobre este sorteo indicando esta url, tendrá una posibilidad más de ganar el theme, ya que le voy a asignar otro número.</p><p><strong>Premio:</strong><br
/> Como escribí en el título, se trata de un theme de WordPress premium, el mismo deberá ser elegido libremente por el ganador del sorteo, en la página <a
href="http://themeforest.net/category/wordpress">ThemeForest.Net</a>.</p><p><strong>Después:</strong><br
/> Luego del sorteo, voy a hacer un post en este sitio indicando quién fue el ganador, y además poniendo la lista de participantes con los enlaces a sus sitios en forma de agradecimiento.<br
/> Voy a enviar un Mail al ganador, pidiendo que me indique cual theme quiere como premio, con un plazo máximo de respuesta de 72 horas, en caso de no tener noticias del ganador, lo volveré a sortear.</p><p>Creo que queda todo claro, si aún hay dudas, las dejan en los comentarios, creo que es bastante sencillo.</p><p>Suerte, y gracias por Participar</p> ]]></content:encoded> <wfw:commentRss>http://wordpress-hacks.com/sorteo-de-un-theme-para-wordpress-premium.php/feed</wfw:commentRss> <slash:comments>83</slash:comments> </item> <item><title>Pasar WordPress a Español modificando el locale.php</title><link>http://wordpress-hacks.com/pasar-wordpress-a-espanol-modificando-el-localephp.php</link> <comments>http://wordpress-hacks.com/pasar-wordpress-a-espanol-modificando-el-localephp.php#comments</comments> <pubDate>Sat, 09 May 2009 16:40:17 +0000</pubDate> <dc:creator>Neri Aispuro</dc:creator> <category><![CDATA[WordPress]]></category> <category><![CDATA[Fecha en WordPress]]></category> <category><![CDATA[WordPress en Español]]></category><guid
isPermaLink="false">http://wordpress-hacks.com/?p=226</guid> <description><![CDATA[Actualización: para los que tienen WordPress 3, el locale.php correcto para pasar las fechas de wp a español pueden encontrarlo en WordPress 3, fechas en español. En todos los sitios que tengo, tengo la instalación original de Wp, en inglés, Lo unico que cambio es el locale.php (el archivo que contiene las fechas) por uno [...]]]></description> <content:encoded><![CDATA[<p><span
style="color: #ff0000;">Actualización: para los que tienen WordPress 3, el locale.php correcto para pasar las fechas de wp a español pueden encontrarlo en <a
href="http://wordpress-hacks.com/wordpress-3-fechas-en-espanol.php">WordPress 3, fechas en español</a>.</span></p><p>En todos los sitios que tengo, tengo la instalación original de Wp, en inglés, Lo unico que cambio es el <strong>locale.php</strong> (el archivo que contiene las fechas) por uno traducido que tengo.Esto es para que las fechas no se vean en inglés.<br
/> Tal vez a muchos le sirva, asi que se los subo en un .txt, lo van a tener que renombrar a .php y subirlo a la carpeta /wp-includes, o sino crean un nuevo documento en texto plano, copian el código de más abajo, lo pegan y le ponen locale.php.</p><div
class="wp_syntax"><table><tr><td
class="line_numbers"><pre>1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
</pre></td><td
class="code"><pre class="php" style="font-family:monospace;"><span style="color: #000000; font-weight: bold;">&lt;?php</span>
<span style="color: #000000; font-weight: bold;">class</span> WP_Locale <span style="color: #009900;">&#123;</span>
&nbsp;
	<span style="color: #000000; font-weight: bold;">var</span> <span style="color: #000088;">$weekday</span><span style="color: #339933;">;</span>
&nbsp;
	<span style="color: #000000; font-weight: bold;">var</span> <span style="color: #000088;">$weekday_initial</span><span style="color: #339933;">;</span>
&nbsp;
	<span style="color: #000000; font-weight: bold;">var</span> <span style="color: #000088;">$weekday_abbrev</span><span style="color: #339933;">;</span>
&nbsp;
	<span style="color: #000000; font-weight: bold;">var</span> <span style="color: #000088;">$month</span><span style="color: #339933;">;</span>
&nbsp;
	<span style="color: #000000; font-weight: bold;">var</span> <span style="color: #000088;">$month_abbrev</span><span style="color: #339933;">;</span>
&nbsp;
	<span style="color: #000000; font-weight: bold;">var</span> <span style="color: #000088;">$meridiem</span><span style="color: #339933;">;</span>
&nbsp;
	<span style="color: #000000; font-weight: bold;">var</span> <span style="color: #000088;">$text_direction</span> <span style="color: #339933;">=</span> <span style="color: #0000ff;">'ltr'</span><span style="color: #339933;">;</span>
&nbsp;
	<span style="color: #000000; font-weight: bold;">var</span> <span style="color: #000088;">$locale_vars</span> <span style="color: #339933;">=</span> <span style="color: #990000;">array</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'text_direction'</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
&nbsp;
	<span style="color: #000000; font-weight: bold;">function</span> init<span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
		<span style="color: #000088;">$this</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">weekday</span><span style="color: #009900;">&#91;</span><span style="color: #cc66cc;">0</span><span style="color: #009900;">&#93;</span> <span style="color: #339933;">=</span> __<span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'Domingo'</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
		<span style="color: #000088;">$this</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">weekday</span><span style="color: #009900;">&#91;</span><span style="color: #cc66cc;">1</span><span style="color: #009900;">&#93;</span> <span style="color: #339933;">=</span> __<span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'Lunes'</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
		<span style="color: #000088;">$this</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">weekday</span><span style="color: #009900;">&#91;</span><span style="color: #cc66cc;">2</span><span style="color: #009900;">&#93;</span> <span style="color: #339933;">=</span> __<span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'Martes'</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
		<span style="color: #000088;">$this</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">weekday</span><span style="color: #009900;">&#91;</span><span style="color: #cc66cc;">3</span><span style="color: #009900;">&#93;</span> <span style="color: #339933;">=</span> __<span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'Miercoles'</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
		<span style="color: #000088;">$this</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">weekday</span><span style="color: #009900;">&#91;</span><span style="color: #cc66cc;">4</span><span style="color: #009900;">&#93;</span> <span style="color: #339933;">=</span> __<span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'Jueves'</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
		<span style="color: #000088;">$this</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">weekday</span><span style="color: #009900;">&#91;</span><span style="color: #cc66cc;">5</span><span style="color: #009900;">&#93;</span> <span style="color: #339933;">=</span> __<span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'Viernes'</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
		<span style="color: #000088;">$this</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">weekday</span><span style="color: #009900;">&#91;</span><span style="color: #cc66cc;">6</span><span style="color: #009900;">&#93;</span> <span style="color: #339933;">=</span> __<span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'Sabado'</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
&nbsp;
		<span style="color: #000088;">$this</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">weekday_initial</span><span style="color: #009900;">&#91;</span>__<span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'Domingo'</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#93;</span>    <span style="color: #339933;">=</span> __<span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'S_Domingo_initial'</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
		<span style="color: #000088;">$this</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">weekday_initial</span><span style="color: #009900;">&#91;</span>__<span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'Lunes'</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#93;</span>    <span style="color: #339933;">=</span> __<span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'M_Lunes_initial'</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
		<span style="color: #000088;">$this</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">weekday_initial</span><span style="color: #009900;">&#91;</span>__<span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'Martes'</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#93;</span>   <span style="color: #339933;">=</span> __<span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'T_Martes_initial'</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
		<span style="color: #000088;">$this</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">weekday_initial</span><span style="color: #009900;">&#91;</span>__<span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'Miercoles'</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#93;</span> <span style="color: #339933;">=</span> __<span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'W_Miercoles_initial'</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
		<span style="color: #000088;">$this</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">weekday_initial</span><span style="color: #009900;">&#91;</span>__<span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'Jueves'</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#93;</span>  <span style="color: #339933;">=</span> __<span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'T_Jueves_initial'</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
		<span style="color: #000088;">$this</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">weekday_initial</span><span style="color: #009900;">&#91;</span>__<span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'Viernes'</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#93;</span>    <span style="color: #339933;">=</span> __<span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'F_Viernes_initial'</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
		<span style="color: #000088;">$this</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">weekday_initial</span><span style="color: #009900;">&#91;</span>__<span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'Sabado'</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#93;</span>  <span style="color: #339933;">=</span> __<span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'S_Sabado_initial'</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
&nbsp;
		<span style="color: #b1b100;">foreach</span> <span style="color: #009900;">&#40;</span><span style="color: #000088;">$this</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">weekday_initial</span> <span style="color: #b1b100;">as</span> <span style="color: #000088;">$weekday_</span> <span style="color: #339933;">=&gt;</span> <span style="color: #000088;">$weekday_initial_</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
			<span style="color: #000088;">$this</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">weekday_initial</span><span style="color: #009900;">&#91;</span><span style="color: #000088;">$weekday_</span><span style="color: #009900;">&#93;</span> <span style="color: #339933;">=</span> <span style="color: #990000;">preg_replace</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'/_.+_initial$/'</span><span style="color: #339933;">,</span> <span style="color: #0000ff;">''</span><span style="color: #339933;">,</span> <span style="color: #000088;">$weekday_initial_</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
		<span style="color: #009900;">&#125;</span>
&nbsp;
&nbsp;
		<span style="color: #000088;">$this</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">weekday_abbrev</span><span style="color: #009900;">&#91;</span>__<span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'Domingo'</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#93;</span>    <span style="color: #339933;">=</span> __<span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'Dom'</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
		<span style="color: #000088;">$this</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">weekday_abbrev</span><span style="color: #009900;">&#91;</span>__<span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'Lunes'</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#93;</span>    <span style="color: #339933;">=</span> __<span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'Lun'</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
		<span style="color: #000088;">$this</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">weekday_abbrev</span><span style="color: #009900;">&#91;</span>__<span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'Martes'</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#93;</span>   <span style="color: #339933;">=</span> __<span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'Mar'</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
		<span style="color: #000088;">$this</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">weekday_abbrev</span><span style="color: #009900;">&#91;</span>__<span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'Miercoles'</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#93;</span> <span style="color: #339933;">=</span> __<span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'Mie'</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
		<span style="color: #000088;">$this</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">weekday_abbrev</span><span style="color: #009900;">&#91;</span>__<span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'Jueves'</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#93;</span>  <span style="color: #339933;">=</span> __<span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'Jue'</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
		<span style="color: #000088;">$this</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">weekday_abbrev</span><span style="color: #009900;">&#91;</span>__<span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'Viernes'</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#93;</span>    <span style="color: #339933;">=</span> __<span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'Vie'</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
		<span style="color: #000088;">$this</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">weekday_abbrev</span><span style="color: #009900;">&#91;</span>__<span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'Sabado'</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#93;</span>  <span style="color: #339933;">=</span> __<span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'Sab'</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
&nbsp;
&nbsp;
		<span style="color: #000088;">$this</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">month</span><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">'01'</span><span style="color: #009900;">&#93;</span> <span style="color: #339933;">=</span> __<span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'Enero'</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
		<span style="color: #000088;">$this</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">month</span><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">'02'</span><span style="color: #009900;">&#93;</span> <span style="color: #339933;">=</span> __<span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'Febrero'</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
		<span style="color: #000088;">$this</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">month</span><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">'03'</span><span style="color: #009900;">&#93;</span> <span style="color: #339933;">=</span> __<span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'Marzo'</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
		<span style="color: #000088;">$this</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">month</span><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">'04'</span><span style="color: #009900;">&#93;</span> <span style="color: #339933;">=</span> __<span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'Abril'</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
		<span style="color: #000088;">$this</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">month</span><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">'05'</span><span style="color: #009900;">&#93;</span> <span style="color: #339933;">=</span> __<span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'Mayo'</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
		<span style="color: #000088;">$this</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">month</span><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">'06'</span><span style="color: #009900;">&#93;</span> <span style="color: #339933;">=</span> __<span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'Junio'</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
		<span style="color: #000088;">$this</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">month</span><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">'07'</span><span style="color: #009900;">&#93;</span> <span style="color: #339933;">=</span> __<span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'Julio'</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
		<span style="color: #000088;">$this</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">month</span><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">'08'</span><span style="color: #009900;">&#93;</span> <span style="color: #339933;">=</span> __<span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'Agosto'</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
		<span style="color: #000088;">$this</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">month</span><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">'09'</span><span style="color: #009900;">&#93;</span> <span style="color: #339933;">=</span> __<span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'Septiembre'</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
		<span style="color: #000088;">$this</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">month</span><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">'10'</span><span style="color: #009900;">&#93;</span> <span style="color: #339933;">=</span> __<span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'Octubre'</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
		<span style="color: #000088;">$this</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">month</span><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">'11'</span><span style="color: #009900;">&#93;</span> <span style="color: #339933;">=</span> __<span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'Noviembre'</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
		<span style="color: #000088;">$this</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">month</span><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">'12'</span><span style="color: #009900;">&#93;</span> <span style="color: #339933;">=</span> __<span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'Diciembre'</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
&nbsp;
&nbsp;
		<span style="color: #000088;">$this</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">month_abbrev</span><span style="color: #009900;">&#91;</span>__<span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'Enero'</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#93;</span> <span style="color: #339933;">=</span> __<span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'Ene_Enero_abbreviation'</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
		<span style="color: #000088;">$this</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">month_abbrev</span><span style="color: #009900;">&#91;</span>__<span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'Febrero'</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#93;</span> <span style="color: #339933;">=</span> __<span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'Feb_Febrero_abbreviation'</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
		<span style="color: #000088;">$this</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">month_abbrev</span><span style="color: #009900;">&#91;</span>__<span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'Marzo'</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#93;</span> <span style="color: #339933;">=</span> __<span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'Mar_Marzo_abbreviation'</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
		<span style="color: #000088;">$this</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">month_abbrev</span><span style="color: #009900;">&#91;</span>__<span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'Abril'</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#93;</span> <span style="color: #339933;">=</span> __<span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'Abr_Abril_abbreviation'</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
		<span style="color: #000088;">$this</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">month_abbrev</span><span style="color: #009900;">&#91;</span>__<span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'Mayo'</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#93;</span> <span style="color: #339933;">=</span> __<span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'Mayo_Mayo_abbreviation'</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
		<span style="color: #000088;">$this</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">month_abbrev</span><span style="color: #009900;">&#91;</span>__<span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'Junio'</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#93;</span> <span style="color: #339933;">=</span> __<span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'Jun_Junio_abbreviation'</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
		<span style="color: #000088;">$this</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">month_abbrev</span><span style="color: #009900;">&#91;</span>__<span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'Julio'</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#93;</span> <span style="color: #339933;">=</span> __<span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'Jul_Julio_abbreviation'</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
		<span style="color: #000088;">$this</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">month_abbrev</span><span style="color: #009900;">&#91;</span>__<span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'Agosto'</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#93;</span> <span style="color: #339933;">=</span> __<span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'Ago_Agosto_abbreviation'</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
		<span style="color: #000088;">$this</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">month_abbrev</span><span style="color: #009900;">&#91;</span>__<span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'Septiembre'</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#93;</span> <span style="color: #339933;">=</span> __<span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'Sep_Septiembre_abbreviation'</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
		<span style="color: #000088;">$this</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">month_abbrev</span><span style="color: #009900;">&#91;</span>__<span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'Octubre'</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#93;</span> <span style="color: #339933;">=</span> __<span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'Oct_Octubre_abbreviation'</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
		<span style="color: #000088;">$this</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">month_abbrev</span><span style="color: #009900;">&#91;</span>__<span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'Noviembre'</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#93;</span> <span style="color: #339933;">=</span> __<span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'Nov_Noviembre_abbreviation'</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
		<span style="color: #000088;">$this</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">month_abbrev</span><span style="color: #009900;">&#91;</span>__<span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'Diciembre'</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#93;</span> <span style="color: #339933;">=</span> __<span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'Dic_Diciembre_abbreviation'</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
&nbsp;
		<span style="color: #b1b100;">foreach</span> <span style="color: #009900;">&#40;</span><span style="color: #000088;">$this</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">month_abbrev</span> <span style="color: #b1b100;">as</span> <span style="color: #000088;">$month_</span> <span style="color: #339933;">=&gt;</span> <span style="color: #000088;">$month_abbrev_</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
			<span style="color: #000088;">$this</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">month_abbrev</span><span style="color: #009900;">&#91;</span><span style="color: #000088;">$month_</span><span style="color: #009900;">&#93;</span> <span style="color: #339933;">=</span> <span style="color: #990000;">preg_replace</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'/_.+_abbreviation$/'</span><span style="color: #339933;">,</span> <span style="color: #0000ff;">''</span><span style="color: #339933;">,</span> <span style="color: #000088;">$month_abbrev_</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
		<span style="color: #009900;">&#125;</span>
&nbsp;
&nbsp;
		<span style="color: #000088;">$this</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">meridiem</span><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">'am'</span><span style="color: #009900;">&#93;</span> <span style="color: #339933;">=</span> __<span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'am'</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
		<span style="color: #000088;">$this</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">meridiem</span><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">'pm'</span><span style="color: #009900;">&#93;</span> <span style="color: #339933;">=</span> __<span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'pm'</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
		<span style="color: #000088;">$this</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">meridiem</span><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">'AM'</span><span style="color: #009900;">&#93;</span> <span style="color: #339933;">=</span> __<span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'AM'</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
		<span style="color: #000088;">$this</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">meridiem</span><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">'PM'</span><span style="color: #009900;">&#93;</span> <span style="color: #339933;">=</span> __<span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'PM'</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
&nbsp;
		<span style="color: #000088;">$trans</span> <span style="color: #339933;">=</span> _c<span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'number_format_decimals|$decimals argument for http://php.net/number_format, default is 0'</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
		<span style="color: #000088;">$this</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">number_format</span><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">'decimals'</span><span style="color: #009900;">&#93;</span> <span style="color: #339933;">=</span> <span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'number_format_decimals'</span> <span style="color: #339933;">==</span> <span style="color: #000088;">$trans</span><span style="color: #009900;">&#41;</span> ? <span style="color: #cc66cc;">0</span> <span style="color: #339933;">:</span> <span style="color: #000088;">$trans</span><span style="color: #339933;">;</span>
&nbsp;
		<span style="color: #000088;">$trans</span> <span style="color: #339933;">=</span> _c<span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'number_format_decimal_point|$dec_point argument for http://php.net/number_format, default is .'</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
		<span style="color: #000088;">$this</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">number_format</span><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">'decimal_point'</span><span style="color: #009900;">&#93;</span> <span style="color: #339933;">=</span> <span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'number_format_decimal_point'</span> <span style="color: #339933;">==</span> <span style="color: #000088;">$trans</span><span style="color: #009900;">&#41;</span> ? <span style="color: #0000ff;">'.'</span> <span style="color: #339933;">:</span> <span style="color: #000088;">$trans</span><span style="color: #339933;">;</span>
&nbsp;
		<span style="color: #000088;">$trans</span> <span style="color: #339933;">=</span> _c<span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'number_format_thousands_sep|$thousands_sep argument for http://php.net/number_format, default is ,'</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
		<span style="color: #000088;">$this</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">number_format</span><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">'thousands_sep'</span><span style="color: #009900;">&#93;</span> <span style="color: #339933;">=</span> <span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'number_format_thousands_sep'</span> <span style="color: #339933;">==</span> <span style="color: #000088;">$trans</span><span style="color: #009900;">&#41;</span> ? <span style="color: #0000ff;">','</span> <span style="color: #339933;">:</span> <span style="color: #000088;">$trans</span><span style="color: #339933;">;</span>
&nbsp;
		<span style="color: #b1b100;">foreach</span> <span style="color: #009900;">&#40;</span> <span style="color: #009900;">&#40;</span><span style="color: #990000;">array</span><span style="color: #009900;">&#41;</span> <span style="color: #000088;">$this</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">locale_vars</span> <span style="color: #b1b100;">as</span> <span style="color: #000088;">$var</span> <span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
			<span style="color: #b1b100;">if</span> <span style="color: #009900;">&#40;</span> <span style="color: #990000;">isset</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$GLOBALS</span><span style="color: #009900;">&#91;</span><span style="color: #000088;">$var</span><span style="color: #009900;">&#93;</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#41;</span>
				<span style="color: #000088;">$this</span><span style="color: #339933;">-&gt;</span><span style="color: #000088;">$var</span> <span style="color: #339933;">=</span> <span style="color: #000088;">$GLOBALS</span><span style="color: #009900;">&#91;</span><span style="color: #000088;">$var</span><span style="color: #009900;">&#93;</span><span style="color: #339933;">;</span>
		<span style="color: #009900;">&#125;</span>
&nbsp;
	<span style="color: #009900;">&#125;</span>
&nbsp;
	<span style="color: #000000; font-weight: bold;">function</span> get_weekday<span style="color: #009900;">&#40;</span><span style="color: #000088;">$weekday_number</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
		<span style="color: #b1b100;">return</span> <span style="color: #000088;">$this</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">weekday</span><span style="color: #009900;">&#91;</span><span style="color: #000088;">$weekday_number</span><span style="color: #009900;">&#93;</span><span style="color: #339933;">;</span>
	<span style="color: #009900;">&#125;</span>
&nbsp;
	<span style="color: #000000; font-weight: bold;">function</span> get_weekday_initial<span style="color: #009900;">&#40;</span><span style="color: #000088;">$weekday_name</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
		<span style="color: #b1b100;">return</span> <span style="color: #000088;">$this</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">weekday_initial</span><span style="color: #009900;">&#91;</span><span style="color: #000088;">$weekday_name</span><span style="color: #009900;">&#93;</span><span style="color: #339933;">;</span>
	<span style="color: #009900;">&#125;</span>
&nbsp;
	<span style="color: #000000; font-weight: bold;">function</span> get_weekday_abbrev<span style="color: #009900;">&#40;</span><span style="color: #000088;">$weekday_name</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
		<span style="color: #b1b100;">return</span> <span style="color: #000088;">$this</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">weekday_abbrev</span><span style="color: #009900;">&#91;</span><span style="color: #000088;">$weekday_name</span><span style="color: #009900;">&#93;</span><span style="color: #339933;">;</span>
	<span style="color: #009900;">&#125;</span>
&nbsp;
	<span style="color: #000000; font-weight: bold;">function</span> get_month<span style="color: #009900;">&#40;</span><span style="color: #000088;">$month_number</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
		<span style="color: #b1b100;">return</span> <span style="color: #000088;">$this</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">month</span><span style="color: #009900;">&#91;</span>zeroise<span style="color: #009900;">&#40;</span><span style="color: #000088;">$month_number</span><span style="color: #339933;">,</span> <span style="color: #cc66cc;">2</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#93;</span><span style="color: #339933;">;</span>
	<span style="color: #009900;">&#125;</span>
&nbsp;
	<span style="color: #000000; font-weight: bold;">function</span> get_month_abbrev<span style="color: #009900;">&#40;</span><span style="color: #000088;">$month_name</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
		<span style="color: #b1b100;">return</span> <span style="color: #000088;">$this</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">month_abbrev</span><span style="color: #009900;">&#91;</span><span style="color: #000088;">$month_name</span><span style="color: #009900;">&#93;</span><span style="color: #339933;">;</span>
	<span style="color: #009900;">&#125;</span>
&nbsp;
	<span style="color: #000000; font-weight: bold;">function</span> get_meridiem<span style="color: #009900;">&#40;</span><span style="color: #000088;">$meridiem</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
		<span style="color: #b1b100;">return</span> <span style="color: #000088;">$this</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">meridiem</span><span style="color: #009900;">&#91;</span><span style="color: #000088;">$meridiem</span><span style="color: #009900;">&#93;</span><span style="color: #339933;">;</span>
	<span style="color: #009900;">&#125;</span>
&nbsp;
	<span style="color: #000000; font-weight: bold;">function</span> register_globals<span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
		<span style="color: #000088;">$GLOBALS</span><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">'weekday'</span><span style="color: #009900;">&#93;</span>         <span style="color: #339933;">=</span> <span style="color: #000088;">$this</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">weekday</span><span style="color: #339933;">;</span>
		<span style="color: #000088;">$GLOBALS</span><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">'weekday_initial'</span><span style="color: #009900;">&#93;</span> <span style="color: #339933;">=</span> <span style="color: #000088;">$this</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">weekday_initial</span><span style="color: #339933;">;</span>
		<span style="color: #000088;">$GLOBALS</span><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">'weekday_abbrev'</span><span style="color: #009900;">&#93;</span>  <span style="color: #339933;">=</span> <span style="color: #000088;">$this</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">weekday_abbrev</span><span style="color: #339933;">;</span>
		<span style="color: #000088;">$GLOBALS</span><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">'month'</span><span style="color: #009900;">&#93;</span>           <span style="color: #339933;">=</span> <span style="color: #000088;">$this</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">month</span><span style="color: #339933;">;</span>
		<span style="color: #000088;">$GLOBALS</span><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">'month_abbrev'</span><span style="color: #009900;">&#93;</span>    <span style="color: #339933;">=</span> <span style="color: #000088;">$this</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">month_abbrev</span><span style="color: #339933;">;</span>
	<span style="color: #009900;">&#125;</span>
&nbsp;
	<span style="color: #000000; font-weight: bold;">function</span> WP_Locale<span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
		<span style="color: #000088;">$this</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">init</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
		<span style="color: #000088;">$this</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">register_globals</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
	<span style="color: #009900;">&#125;</span>
<span style="color: #009900;">&#125;</span>
&nbsp;
<span style="color: #000000; font-weight: bold;">?&gt;</span></pre></td></tr></table></div><p>O <a
href='http://wordpress-hacks.com/wp-content/uploads/2009/05/locale.txt'>descargarlo</a>.</p> ]]></content:encoded> <wfw:commentRss>http://wordpress-hacks.com/pasar-wordpress-a-espanol-modificando-el-localephp.php/feed</wfw:commentRss> <slash:comments>7</slash:comments> </item> <item><title>Tags Descriptions en WordPress 2.8</title><link>http://wordpress-hacks.com/tags-descriptions-en-wordpress-28.php</link> <comments>http://wordpress-hacks.com/tags-descriptions-en-wordpress-28.php#comments</comments> <pubDate>Fri, 08 May 2009 11:59:04 +0000</pubDate> <dc:creator>Neri Aispuro</dc:creator> <category><![CDATA[WordPress]]></category> <category><![CDATA[Tags Descriptions]]></category> <category><![CDATA[WordPress 28]]></category><guid
isPermaLink="false">http://wordpress-hacks.com/?p=210</guid> <description><![CDATA[No suelo comentar noticias ni nada por el estilo porque no me gustan y me resulta cansador leer títulos como &#8220;WordPress bla bla traerá bla bla cosa&#8221;, pero esta noticia para mí no es una más, sino que algo que estuve esperando -y que se me ocurrió- hace mucho, se trata de las descripciones en [...]]]></description> <content:encoded><![CDATA[<p
style="text-align: center;"><img
class="size-full wp-image-212 aligncenter" title="WordPress" src="http://wordpress-hacks.com/wp-content/uploads/2009/05/wp1.jpg" alt="WordPress" width="490" height="200" /></p><p>No suelo comentar noticias ni nada por el estilo porque <strong>no me gustan</strong> y me resulta cansador leer títulos como &#8220;WordPress bla bla traerá bla bla cosa&#8221;, pero esta noticia para mí no es una más, sino que algo que estuve esperando -y que se me ocurrió- hace mucho, se trata de las <strong>descripciones en las Tags</strong> por defecto en Wp, algo como lo que Wp viene haciendo ya hace mucho con las categorías, eso es muy importante para el <a
title="WordPress SEO" href="http://wordpress-hacks.com/?s=Seo+en+WordPress">Seo en WordPress</a>, y mucho mas interesante resulta viniendo de las tags.<br
/> Se puede ver &#8220;un avance&#8221; <a
href="http://codex.wordpress.org/Template_Tags/tag_description">en el Codex</a>.</p><p>Vía &#8211; <a
href="http://justintadlock.com/archives/2009/04/30/tag-descriptions-in-wordpress-28">El blog de Justin</a><br
/> ¿Opiniones?</p> ]]></content:encoded> <wfw:commentRss>http://wordpress-hacks.com/tags-descriptions-en-wordpress-28.php/feed</wfw:commentRss> <slash:comments>1</slash:comments> </item> </channel> </rss>
<!-- Performance optimized by W3 Total Cache. Learn more: http://www.w3-edge.com/wordpress-plugins/

Minified using disk
Page Caching using disk (enhanced) (user agent is rejected)
Database Caching 6/11 queries in 0.012 seconds using disk

Served from: wordpress-hacks.com @ 2010-07-31 22:37:21 -->