<?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>Planeta WordPress &#187; javascript</title>
	<atom:link href="http://planetawordpress.org/tag/javascript/feed/" rel="self" type="application/rss+xml" />
	<link>http://planetawordpress.org</link>
	<description></description>
	<lastBuildDate>Thu, 24 May 2012 18:58:09 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://weblog.mx/?v=3.3.2</generator>
		<item>
		<title>Cómo activar entradas destacadas en Twenty Eleven</title>
		<link>http://ayudawordpress.com/como-activar-entradas-destacadas-en-twenty-eleven/</link>
		<comments>http://ayudawordpress.com/como-activar-entradas-destacadas-en-twenty-eleven/#comments</comments>
		<pubDate>Mon, 30 Apr 2012 12:37:29 +0000</pubDate>
		<dc:creator>planetawordpress</dc:creator>
				<category><![CDATA[WordPress]]></category>
		<category><![CDATA[Avanzado]]></category>
		<category><![CDATA[javascript]]></category>
		<category><![CDATA[Showcase]]></category>
		<category><![CDATA[Sticky]]></category>
		<category><![CDATA[Themes]]></category>
		<category><![CDATA[Tutoriales / Trucos]]></category>
		<category><![CDATA[Twenty Eleven]]></category>
		<category><![CDATA[Wordpress.org]]></category>

		<guid isPermaLink="false">http://ayudawordpress.com/?p=62540</guid>
		<description><![CDATA[El tema por defecto de WordPress, Twenty Eleven, tiene incorporada la funcionalidad de entradas destacadas, que las mostrará en un deslizador, pero no es obvio su uso. Si quieres aprovechar esta funcionalidad no hay ajuste que modificar ni opción que activar, solo tienes que tener en cuenta lo siguiente para activarla: Crea una nueva página usando como plantilla la denominada &#8220;Showcase template&#8221; en el widget de &#8220;Atributos de página&#8221; En &#8220;Ajustes de lectura&#8221; de tu WordPress elige mostrar una página estática en portada, y eliges la página recién creada con la plantilla showcase Marca como &#8220;sticky&#8221; las entradas que quieres &#8230;</p> <a href="http://ayudawordpress.com/como-activar-entradas-destacadas-en-twenty-eleven/">Sigue leyendo que hay m&#225;s <span>&#8594;</span></a><p>]]></description>
			<content:encoded><![CDATA[<p><a href="http://ayudawordpress.com/wp-content/uploads/2012/04/slider-twenty-eleven.png" rel="shadowbox[sbpost-62540];player=img;"><img src="http://ayudawordpress.com/wp-content/uploads/2012/04/slider-twenty-eleven-500x185.png" alt="" title="slider twenty eleven" width="500" height="185" class="aligncenter size-medium wp-image-62546" /></a></p>
<p>El tema por defecto de WordPress, <a href="http://wordpress.org/extend/themes/twentyeleven" >Twenty Eleven</a>, tiene incorporada la funcionalidad de <strong>entradas destacadas</strong>, que las mostrará en un deslizador, pero no es obvio su uso.</p>
<p><span id="more-62540"></span></p>
<p>Si quieres aprovechar esta funcionalidad no hay ajuste que modificar ni opción que activar, solo tienes que tener en cuenta lo siguiente para activarla:</p>
<ol>
<li>Crea una nueva página usando como plantilla la denominada &#8220;Showcase template&#8221; en el widget de &#8220;Atributos de página&#8221;<br />
<a href="http://ayudawordpress.com/wp-content/uploads/2012/05/pagina-showcase-twenty-eleven.png" rel="shadowbox[sbpost-62540];player=img;"><img src="http://ayudawordpress.com/wp-content/uploads/2012/05/pagina-showcase-twenty-eleven-150x150.png" alt="" title="pagina showcase twenty eleven" width="150" height="150" class="alignnone size-thumbnail wp-image-62542" /></a>
</li>
<li>En &#8220;Ajustes de lectura&#8221; de tu WordPress elige mostrar una página estática en portada, y eliges la página recién creada con la plantilla showcase<br />
<a href="http://ayudawordpress.com/wp-content/uploads/2012/05/ajustes-lectura-showcase-twenty-eleven.png" rel="shadowbox[sbpost-62540];player=img;"><img src="http://ayudawordpress.com/wp-content/uploads/2012/05/ajustes-lectura-showcase-twenty-eleven-150x150.png" alt="" title="ajustes lectura showcase twenty eleven" width="150" height="150" class="alignnone size-thumbnail wp-image-62541" /></a>
</li>
<li>Marca como &#8220;sticky&#8221; las entradas que quieres que aparezcan en el deslizador<br />
<a href="http://ayudawordpress.com/wp-content/uploads/2012/04/sticky-showcase-twenty-eleven.png" rel="shadowbox[sbpost-62540];player=img;"><img src="http://ayudawordpress.com/wp-content/uploads/2012/04/sticky-showcase-twenty-eleven-150x150.png" alt="" title="sticky showcase twenty eleven" width="150" height="150" class="alignnone size-thumbnail wp-image-62545" /></a>
</li>
<li>Añade una imagen destacada en la entrada, que será la que se mostrará en el deslizador. Si la imagen es del tamaño máximo (1000&#215;288 pixels) o mayor se mostrará como fondo del área del deslizador, con el título de la entrada sobre la misma. Si es menor aparecerá a la derecha del área, con el título y el extracto a la izquierda de la misma. También debes saber que si la imagen destacada es igual o mayor que el tamaño máximo, en la plantilla de entrada simple esta reemplazará la imagen de cabecera<br />
<a href="http://ayudawordpress.com/wp-content/uploads/2012/04/imagen-destacada-showcase-twenty-eleven.png" rel="shadowbox[sbpost-62540];player=img;"><img src="http://ayudawordpress.com/wp-content/uploads/2012/04/imagen-destacada-showcase-twenty-eleven-150x150.png" alt="" title="imagen destacada showcase twenty eleven" width="150" height="150" class="alignnone size-thumbnail wp-image-62547" /></a>
</li>
</ol>
<p>Hasta aquí como activar el deslizador, pero este tiene una característica que puedes cambiar. Y es que por defecto no tiene movimiento automático, sino que se muestran unos puntos en los que debes hacer clic para cambiar de una entrada destacada (sticky) a otra.</p>
<p>Si quieres <a href="http://kevin.deldycke.com/2011/12/auto-advance-wordpress-twentyeleven-showcase-slides/" >que el deslizador avance automáticamente</a> debes añadir un poco de código, este:</p>
<pre class="brush: php; title: ; notranslate">&lt;script type=&quot;text/javascript&quot; charset=&quot;utf-8&quot;&gt;
    // Avance automático del deslizador de Twenty Eleven
    // Fuente: http://pastebin.com/s6JEthVi
    jQuery(document).ready(function(){
        var change_every = 10; // Los segundos que el deslizador tardará en hacer el avance automático
        var current = 1;
        function auto_advance(){
            if(current == -1) return false;
            jQuery('.feature-slider a').eq(current % jQuery('.feature-slider a').length).trigger('click', [true]);
            current++;
        };
        setInterval(function(){auto_advance()}, change_every * 1000);
    });
&lt;/script&gt;</pre>
<p>Este código debes añadirlo, bien en la plantilla de página de &#8220;showcase&#8221; o si lo prefieres en el widget de &#8220;showcase&#8221;, pero sin ponerle título, funcionará igual.</p>
<p><em>Nota: este truco último no funciona en wordpress.com, pues está limitada la inserción de código script</em></p>
<div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/AyudaWordpress?a=CDqBXqjIGBc:8XPI4aYxZBI:Dsqc8YHEA1Y"><img src="http://feeds.feedburner.com/~ff/AyudaWordpress?i=CDqBXqjIGBc:8XPI4aYxZBI:Dsqc8YHEA1Y" border="0"></img></a>
</div>]]></content:encoded>
			<wfw:commentRss>http://ayudawordpress.com/como-activar-entradas-destacadas-en-twenty-eleven/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>WordPress 3.3: Lista de cambios que todo desarrollador debe revisar</title>
		<link>http://ayudawordpress.com/wordpress-3-3-lista-de-cambios-que-todo-desarrollador-debe-revisar/</link>
		<comments>http://ayudawordpress.com/wordpress-3-3-lista-de-cambios-que-todo-desarrollador-debe-revisar/#comments</comments>
		<pubDate>Thu, 15 Dec 2011 23:03:07 +0000</pubDate>
		<dc:creator>planetawordpress</dc:creator>
				<category><![CDATA[WordPress]]></category>
		<category><![CDATA[javascript]]></category>
		<category><![CDATA[jQuery]]></category>
		<category><![CDATA[programación]]></category>
		<category><![CDATA[Quicktags]]></category>
		<category><![CDATA[Tutoriales / Trucos]]></category>
		<category><![CDATA[WordPress 3.3]]></category>
		<category><![CDATA[Wordpress.org]]></category>

		<guid isPermaLink="false">http://ayudawordpress.com/?p=11084</guid>
		<description><![CDATA[En la siguiente lista, elaborada por Andrew Nacin, tienes una gran recopilación de los cambios más importantes que WordPress 3.3 ha introducido y que ningún desarrollador debe dejar pasar sin echarles un vistazo. Espero te sirvan de ayuda, hay muchos cambios, y buenos, en todas las novedades de WordPress 3.3. Cambios de la API de la barra de admin en WordPress 3.3. Un vistazo a los cambios que pueden romper tu plugin, y como se ha adaptado la terminología y las APIs en WordPress 3.3, el nuevo concepto de Grupos y como mover y modificar elementos de menú. Cambios en &#8230;</p> <a href="http://ayudawordpress.com/wordpress-3-3-lista-de-cambios-que-todo-desarrollador-debe-revisar/">Sigue leyendo que hay m&#225;s <span>&#8594;</span></a><p>]]></description>
			<content:encoded><![CDATA[<p><a href="http://ayudawordpress.com/wp-content/uploads/2011/12/nuevo-wordpress33.png" rel="shadowbox[sbpost-11084];player=img;"><img class="aligncenter size-medium wp-image-11089" title="nuevo wordpress33" src="http://ayudawordpress.com/wp-content/uploads/2011/12/nuevo-wordpress33-500x206.png" alt="nuevo wordpress33" width="500" height="206" /></a></p>
<p>En la siguiente lista, <a target="_blank" href="http://nacin.com/2011/12/07/wordpress-3-3-field-guide-for-developers/" >elaborada por Andrew Nacin</a>, tienes una gran recopilación de los cambios más importantes que WordPress 3.3 ha introducido y que ningún desarrollador debe dejar pasar sin echarles un vistazo.</p>
<p>Espero te sirvan de ayuda, hay muchos cambios, y buenos, en todas las <a title="Más de 10 novedades de WordPress 3.3" href="http://ayudawordpress.com/mas-de-10-novedades-de-wordpress-3-3/" >novedades de WordPress 3.3</a>.</p>
<p><span id="more-11084"></span></p>
<ul>
<li><a  href="http://wpdevel.wordpress.com/2011/12/07/admin-bar-api-changes-in-3-3/"><strong>Cambios de la API de la barra de admin en WordPress 3.3</strong></a>. Un vistazo a los cambios que pueden romper tu plugin, y como se ha adaptado la terminología y las APIs en WordPress 3.3, el nuevo concepto de Grupos y como mover y modificar elementos de menú.</li>
<li><a  href="http://wpdevel.wordpress.com/2011/12/07/whats-new-javascript-in-3-3/"><strong>Cambios en Javascript y el editor</strong></a>. Aquí hay un buen montón de cambios. jQuery se ha actualizado a la versión 1.7.1, la versión actual. Ahora se incluye la interfaz de usuario completa de jQuery, y se ha actualizado a la versión 1.8.16, también la última versión. Tienes un ejemplo en <code>wp_editor()</code>, que seguro que va a gustar. La API QuickTags (los botones de la barra de herramientas del editor HTML) se ha reescrito completamente, y se han mejorado <code>wp_localize_script()</code> y <code>wp_enqueue_script()</code>.</li>
<li><a  href="http://wpdevel.wordpress.com/2011/12/07/new-api-in-3-3-is_main_query/"><strong>Nueva API: is_main_query()</strong></a>. Esta función y el método <code>WP_Query</code> se introdujeron durante WordCampo Portland, el pasado mes de Septiembre.</li>
<li><a  href="http://wpdevel.wordpress.com/2011/12/07/do-not-include-wp-adminincludestemplate-php-to-get-add_meta_box/"><strong>No incluir wp-admin/includes/template.php para obtener add_meta_box()</strong></a>. Al empezar el desarrollo de WordPress 3.3 se encontraron algunos plugins que hacían fatal la llamada a <code>add_meta_box()</code>, así sue no te pierdas este enlace.</li>
<li><a  href="http://wpdevel.wordpress.com/2011/12/07/admin_user_info_links/"><strong>Ya no existe el filtro admin_user_info_links</strong></a>. Esto ha sido obligatorio prácticamente, al combinar la barra de admin con la cabecera de admin. No es que lo usaran muchos plugins pero había que hacerlo.</li>
<li><a  href="http://wpdevel.wordpress.com/2011/12/06/help-and-screen-api-changes-in-3-3/"><strong>Cambios en la API de Ayuda y pantalla</strong></a>. Aquí verás el proceso de añadir nuevas pestañas de ayuda, así como también cómo usar el objeto &#8220;pantalla&#8221; para determinar el contexto de la página actual. .</li>
</ul>
<div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/AyudaWordpress?a=7kJFGGPump8:hLMMaBwYvlQ:Dsqc8YHEA1Y"><img src="http://feeds.feedburner.com/~ff/AyudaWordpress?i=7kJFGGPump8:hLMMaBwYvlQ:Dsqc8YHEA1Y" border="0"></img></a>
</div>]]></content:encoded>
			<wfw:commentRss>http://ayudawordpress.com/wordpress-3-3-lista-de-cambios-que-todo-desarrollador-debe-revisar/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Eliminar completamente los comentarios</title>
		<link>http://ayudawordpress.com/eliminar-completamente-los-comentarios/</link>
		<comments>http://ayudawordpress.com/eliminar-completamente-los-comentarios/#comments</comments>
		<pubDate>Tue, 07 Jun 2011 11:11:39 +0000</pubDate>
		<dc:creator>planetawordpress</dc:creator>
				<category><![CDATA[General]]></category>
		<category><![CDATA[WordPress]]></category>
		<category><![CDATA[blogs]]></category>
		<category><![CDATA[Comentarios]]></category>
		<category><![CDATA[Experto]]></category>
		<category><![CDATA[Funciones]]></category>
		<category><![CDATA[javascript]]></category>
		<category><![CDATA[jQuery]]></category>
		<category><![CDATA[web 2.0]]></category>

		<guid isPermaLink="false">http://ayudawordpress.com/?p=9706</guid>
		<description><![CDATA[No me refiero a eliminarlos de la plantilla para que no puedan comentar, ni siquiera a desactivarlos desde los ajustes de WordPress, me refiero a eliminar completamente los comentarios y cualquier referencia, incluso visual, a su existencia. Está claro, los comentarios son parte de los blogs, esencia misma de la Web 2.0, pero hay ocasiones en que - sobre todo para trabajos a clientes - en que es posible que quieras quitar cualquier atisbo de que tal cosa siquiera existe. En este raro, pero probable, caso, Frank ha elaborado un plugin cuyo código quita toda referencia a los comentarios, vamos, &#8230;</p> <a href="http://ayudawordpress.com/eliminar-completamente-los-comentarios/">Sigue leyendo que hay m&#225;s <span>&#8594;</span></a><p>]]></description>
			<content:encoded><![CDATA[<p>No me refiero a eliminarlos de la plantilla para que no puedan comentar, ni siquiera a desactivarlos desde los ajustes de WordPress, me refiero a <a  href="http://wpengineer.com/2230/removing-comments-absolutely-wordpress/"><strong>eliminar completamente los comentarios</strong></a> y cualquier referencia, incluso visual, a su existencia.</p>
<p>Está claro, los comentarios son parte de los blogs, esencia misma de la <strong>Web 2.0</strong>, pero hay ocasiones en que - sobre todo para trabajos a clientes - en que es posible que quieras quitar cualquier atisbo de que tal cosa siquiera existe.</p>
<p>En este raro, pero probable, caso, <a  href="https://github.com/bueltge/Remove-Comments-Absolutely">Frank ha elaborado un plugin</a> cuyo código <strong>quita toda referencia a los comentarios</strong>, vamos, que dejan de existir en tu WordPress, no verá rastro ni cita alguna a los mismos.</p>
<p><span id="more-9706"></span></p>
<p>Solo tienes que guardar este código con el nombre que quieras, subirlo a la carpeta 'plugins' de tu instalación de WordPress, activarlo y habrás eliminado totalmente los comentarios de tu WordPress.</p>
<div class="igBar"><span id="lphp-4"><a href="http://ayudawordpress.com/eliminar-completamente-los-comentarios/" onclick="javascript:showCodeTxt('php-4'); return false;">Clic para ver Texto Plano</a></span></div>
<div class="syntax_hilite"><span class="langName">PHP:</span>
<div id="php-4">
<div class="php">
<ol>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color:#000000; font-weight:bold;">&lt;?php</span></div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color:#008000;">/**</span></div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color:#008000;"> * Plugin Name: Eliminar comentarios completamente</span></div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color:#008000;"> * Plugin URI: http://bueltge.de/</span></div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color:#008000;"> * Text Domain: remove_comments_absolute</span></div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color:#008000;"> * Domain Path: /languages</span></div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color:#008000;"> * Description: Desactiva las funciones de comentarios y quita todas sus referencias en la instalación de WordPress</span></div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color:#008000;"> * Author: Frank Bültge</span></div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color:#008000;"> * Version: 0.0.1</span></div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color:#008000;"> * Licence: GPLv2</span></div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color:#008000;"> * Author URI: http://bueltge.de</span></div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color:#008000;"> * Upgrade Check: none</span></div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color:#008000;"> * Last Change: 01.06.2011</span></div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color:#008000;"> */</span></div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color:#616100;">if</span> <span style="color:#006600; font-weight:bold;">&#40;</span> ! <a href="http://www.php.net/class_exists"><span style="color:#000066;">class_exists</span></a><span style="color:#006600; font-weight:bold;">&#40;</span> <span style="color:#FF0000;">'Remove_Comments_Absolute'</span> <span style="color:#006600; font-weight:bold;">&#41;</span> <span style="color:#006600; font-weight:bold;">&#41;</span> <span style="color:#006600; font-weight:bold;">&#123;</span></div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; add_action<span style="color:#006600; font-weight:bold;">&#40;</span> <span style="color:#FF0000;">'plugins_loaded'</span>, <a href="http://www.php.net/array"><span style="color:#000066;">array</span></a><span style="color:#006600; font-weight:bold;">&#40;</span> <span style="color:#FF0000;">'Remove_Comments_Absolute'</span>, <span style="color:#FF0000;">'get_object'</span> <span style="color:#006600; font-weight:bold;">&#41;</span> <span style="color:#006600; font-weight:bold;">&#41;</span>;</div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; <span style="color:#000000; font-weight:bold;">class</span> Remove_Comments_Absolute <span style="color:#006600; font-weight:bold;">&#123;</span></div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; &nbsp; &nbsp; <a href="http://www.php.net/static"><span style="color:#000066;">static</span></a> private <span style="color:#0000FF;">$classobj</span> = <span style="color:#000000; font-weight:bold;">NULL</span>;</div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; &nbsp; &nbsp; <span style="color:#008000;">/**</span></div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color:#008000;">&nbsp; &nbsp; &nbsp; &nbsp;&nbsp; * Constructor, init on defined hooks of WP and include second class</span></div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color:#008000;">&nbsp; &nbsp; &nbsp; &nbsp;&nbsp; *</span></div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color:#008000;">&nbsp; &nbsp; &nbsp; &nbsp;&nbsp; * @access&nbsp; public</span></div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color:#008000;">&nbsp; &nbsp; &nbsp; &nbsp;&nbsp; * @since&nbsp; &nbsp;0.0.1</span></div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color:#008000;">&nbsp; &nbsp; &nbsp; &nbsp;&nbsp; * @uses&nbsp; &nbsp; add_filter, add_action</span></div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color:#008000;">&nbsp; &nbsp; &nbsp; &nbsp;&nbsp; * @return&nbsp; void</span></div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color:#008000;">&nbsp; &nbsp; &nbsp; &nbsp;&nbsp; */</span></div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; &nbsp; &nbsp; public <span style="color:#000000; font-weight:bold;">function</span> __construct <span style="color:#006600; font-weight:bold;">&#40;</span><span style="color:#006600; font-weight:bold;">&#41;</span> <span style="color:#006600; font-weight:bold;">&#123;</span></div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; add_filter<span style="color:#006600; font-weight:bold;">&#40;</span> <span style="color:#FF0000;">'the_posts'</span>, <a href="http://www.php.net/array"><span style="color:#000066;">array</span></a><span style="color:#006600; font-weight:bold;">&#40;</span> <span style="color:#0000FF;">$this</span>, <span style="color:#FF0000;">'set_comment_status'</span> <span style="color:#006600; font-weight:bold;">&#41;</span> <span style="color:#006600; font-weight:bold;">&#41;</span>;</div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; add_filter<span style="color:#006600; font-weight:bold;">&#40;</span> <span style="color:#FF0000;">'comments_open'</span>, <a href="http://www.php.net/array"><span style="color:#000066;">array</span></a><span style="color:#006600; font-weight:bold;">&#40;</span> <span style="color:#0000FF;">$this</span>, <span style="color:#FF0000;">'close_comments'</span>, <span style="color:#CC66CC;color:#800000;">10</span>, <span style="color:#CC66CC;color:#800000;">2</span> <span style="color:#006600; font-weight:bold;">&#41;</span> <span style="color:#006600; font-weight:bold;">&#41;</span>;</div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; add_filter<span style="color:#006600; font-weight:bold;">&#40;</span> <span style="color:#FF0000;">'pings_open'</span>, <a href="http://www.php.net/array"><span style="color:#000066;">array</span></a><span style="color:#006600; font-weight:bold;">&#40;</span> <span style="color:#0000FF;">$this</span>, <span style="color:#FF0000;">'close_comments'</span>, <span style="color:#CC66CC;color:#800000;">10</span>, <span style="color:#CC66CC;color:#800000;">2</span> <span style="color:#006600; font-weight:bold;">&#41;</span> <span style="color:#006600; font-weight:bold;">&#41;</span>;</div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; add_action<span style="color:#006600; font-weight:bold;">&#40;</span> <span style="color:#FF0000;">'admin_init'</span>, <a href="http://www.php.net/array"><span style="color:#000066;">array</span></a><span style="color:#006600; font-weight:bold;">&#40;</span> <span style="color:#0000FF;">$this</span>, <span style="color:#FF0000;">'remove_comments'</span> <span style="color:#006600; font-weight:bold;">&#41;</span> <span style="color:#006600; font-weight:bold;">&#41;</span>;</div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; add_filter<span style="color:#006600; font-weight:bold;">&#40;</span> <span style="color:#FF0000;">'add_menu_classes'</span>, <a href="http://www.php.net/array"><span style="color:#000066;">array</span></a><span style="color:#006600; font-weight:bold;">&#40;</span> <span style="color:#0000FF;">$this</span>, <span style="color:#FF0000;">'add_menu_classes'</span> <span style="color:#006600; font-weight:bold;">&#41;</span> <span style="color:#006600; font-weight:bold;">&#41;</span>;</div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; add_action<span style="color:#006600; font-weight:bold;">&#40;</span> <span style="color:#FF0000;">'admin_head'</span>, <a href="http://www.php.net/array"><span style="color:#000066;">array</span></a><span style="color:#006600; font-weight:bold;">&#40;</span> <span style="color:#0000FF;">$this</span>, <span style="color:#FF0000;">'remove_comments_areas'</span> <span style="color:#006600; font-weight:bold;">&#41;</span> <span style="color:#006600; font-weight:bold;">&#41;</span>;</div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; add_action<span style="color:#006600; font-weight:bold;">&#40;</span> <span style="color:#FF0000;">'wp_before_admin_bar_render'</span>, <a href="http://www.php.net/array"><span style="color:#000066;">array</span></a><span style="color:#006600; font-weight:bold;">&#40;</span> <span style="color:#0000FF;">$this</span>, <span style="color:#FF0000;">'admin_bar_render'</span> <span style="color:#006600; font-weight:bold;">&#41;</span> <span style="color:#006600; font-weight:bold;">&#41;</span>;</div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; &nbsp; &nbsp; <span style="color:#006600; font-weight:bold;">&#125;</span></div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; &nbsp; &nbsp; <span style="color:#008000;">/**</span></div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color:#008000;">&nbsp; &nbsp; &nbsp; &nbsp;&nbsp; * Handler for the action 'init'. Instantiates this class.</span></div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color:#008000;">&nbsp; &nbsp; &nbsp; &nbsp;&nbsp; *</span></div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color:#008000;">&nbsp; &nbsp; &nbsp; &nbsp;&nbsp; * @access&nbsp; public</span></div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color:#008000;">&nbsp; &nbsp; &nbsp; &nbsp;&nbsp; * @since&nbsp; &nbsp;0.0.1</span></div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color:#008000;">&nbsp; &nbsp; &nbsp; &nbsp;&nbsp; * @return&nbsp; object $classobj</span></div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color:#008000;">&nbsp; &nbsp; &nbsp; &nbsp;&nbsp; */</span></div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; &nbsp; &nbsp; public <span style="color:#000000; font-weight:bold;">function</span> get_object <span style="color:#006600; font-weight:bold;">&#40;</span><span style="color:#006600; font-weight:bold;">&#41;</span> <span style="color:#006600; font-weight:bold;">&#123;</span></div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color:#616100;">if</span> <span style="color:#006600; font-weight:bold;">&#40;</span> <span style="color:#000000; font-weight:bold;">NULL</span> === self :: <span style="color:#0000FF;">$classobj</span> <span style="color:#006600; font-weight:bold;">&#41;</span> <span style="color:#006600; font-weight:bold;">&#123;</span></div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; self :: <span style="color:#0000FF;">$classobj</span> = <span style="color:#000000; font-weight:bold;">new</span> self;</div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color:#006600; font-weight:bold;">&#125;</span></div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color:#616100;">return</span> self :: <span style="color:#0000FF;">$classobj</span>;</div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; &nbsp; &nbsp; <span style="color:#006600; font-weight:bold;">&#125;</span></div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; &nbsp; &nbsp; <span style="color:#008000;">/**</span></div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color:#008000;">&nbsp; &nbsp; &nbsp; &nbsp;&nbsp; * Set the status on posts and pages - is_singular ()</span></div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color:#008000;">&nbsp; &nbsp; &nbsp; &nbsp;&nbsp; *</span></div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color:#008000;">&nbsp; &nbsp; &nbsp; &nbsp;&nbsp; * @access&nbsp; public</span></div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color:#008000;">&nbsp; &nbsp; &nbsp; &nbsp;&nbsp; * @since&nbsp; &nbsp;0.0.1</span></div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color:#008000;">&nbsp; &nbsp; &nbsp; &nbsp;&nbsp; * @uses&nbsp; &nbsp; is_singular</span></div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color:#008000;">&nbsp; &nbsp; &nbsp; &nbsp;&nbsp; * @param&nbsp; &nbsp;string $posts</span></div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color:#008000;">&nbsp; &nbsp; &nbsp; &nbsp;&nbsp; * @return&nbsp; string $posts</span></div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color:#008000;">&nbsp; &nbsp; &nbsp; &nbsp;&nbsp; */</span></div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; &nbsp; &nbsp; public <span style="color:#000000; font-weight:bold;">function</span> set_comment_status <span style="color:#006600; font-weight:bold;">&#40;</span> <span style="color:#0000FF;">$posts</span> <span style="color:#006600; font-weight:bold;">&#41;</span> <span style="color:#006600; font-weight:bold;">&#123;</span></div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color:#616100;">if</span> <span style="color:#006600; font-weight:bold;">&#40;</span> ! <a href="http://www.php.net/empty"><span style="color:#000066;">empty</span></a><span style="color:#006600; font-weight:bold;">&#40;</span> <span style="color:#0000FF;">$posts</span> <span style="color:#006600; font-weight:bold;">&#41;</span> &amp;&amp; is_singular<span style="color:#006600; font-weight:bold;">&#40;</span><span style="color:#006600; font-weight:bold;">&#41;</span> <span style="color:#006600; font-weight:bold;">&#41;</span> <span style="color:#006600; font-weight:bold;">&#123;</span></div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color:#0000FF;">$posts</span><span style="color:#006600; font-weight:bold;">&#91;</span><span style="color:#CC66CC;color:#800000;">0</span><span style="color:#006600; font-weight:bold;">&#93;</span>-&gt;<span style="color:#006600;">comment_status</span> = <span style="color:#FF0000;">'closed'</span>;</div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color:#0000FF;">$posts</span><span style="color:#006600; font-weight:bold;">&#91;</span><span style="color:#CC66CC;color:#800000;">0</span><span style="color:#006600; font-weight:bold;">&#93;</span>-&gt;<span style="color:#006600;">post_status</span> = <span style="color:#FF0000;">'closed'</span>;</div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color:#006600; font-weight:bold;">&#125;</span></div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color:#616100;">return</span> <span style="color:#0000FF;">$posts</span>;</div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; &nbsp; &nbsp; <span style="color:#006600; font-weight:bold;">&#125;</span></div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; &nbsp; &nbsp; <span style="color:#008000;">/**</span></div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color:#008000;">&nbsp; &nbsp; &nbsp; &nbsp;&nbsp; * Close comments, if open</span></div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color:#008000;">&nbsp; &nbsp; &nbsp; &nbsp;&nbsp; *</span></div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color:#008000;">&nbsp; &nbsp; &nbsp; &nbsp;&nbsp; * @access&nbsp; public</span></div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color:#008000;">&nbsp; &nbsp; &nbsp; &nbsp;&nbsp; * @since&nbsp; &nbsp;0.0.1</span></div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color:#008000;">&nbsp; &nbsp; &nbsp; &nbsp;&nbsp; * @param&nbsp; &nbsp;string | boolean $open</span></div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color:#008000;">&nbsp; &nbsp; &nbsp; &nbsp;&nbsp; * @param&nbsp; &nbsp;string | integer $post_id</span></div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color:#008000;">&nbsp; &nbsp; &nbsp; &nbsp;&nbsp; * @return&nbsp; string $posts</span></div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color:#008000;">&nbsp; &nbsp; &nbsp; &nbsp;&nbsp; */</span></div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; &nbsp; &nbsp; public <span style="color:#000000; font-weight:bold;">function</span> close_comments <span style="color:#006600; font-weight:bold;">&#40;</span> <span style="color:#0000FF;">$open</span>, <span style="color:#0000FF;">$post_id</span> <span style="color:#006600; font-weight:bold;">&#41;</span> <span style="color:#006600; font-weight:bold;">&#123;</span></div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color:#FF9933; font-style:italic;">// if not open, than back</span></div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color:#616100;">if</span> <span style="color:#006600; font-weight:bold;">&#40;</span> ! <span style="color:#0000FF;">$open</span> <span style="color:#006600; font-weight:bold;">&#41;</span></div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color:#616100;">return</span> <span style="color:#0000FF;">$open</span>;</div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color:#0000FF;">$post</span> = get_post<span style="color:#006600; font-weight:bold;">&#40;</span> <span style="color:#0000FF;">$post_id</span> <span style="color:#006600; font-weight:bold;">&#41;</span>;</div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color:#616100;">if</span> <span style="color:#006600; font-weight:bold;">&#40;</span> <span style="color:#0000FF;">$post</span> -&gt; <span style="color:#006600;">post_type</span> <span style="color:#006600; font-weight:bold;">&#41;</span> <span style="color:#FF9933; font-style:italic;">// all post types</span></div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color:#616100;">return</span> <span style="color:#000000; font-weight:bold;">FALSE</span>;</div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color:#616100;">return</span> <span style="color:#0000FF;">$open</span>;</div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; &nbsp; &nbsp; <span style="color:#006600; font-weight:bold;">&#125;</span></div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; &nbsp; &nbsp; <span style="color:#008000;">/**</span></div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color:#008000;">&nbsp; &nbsp; &nbsp; &nbsp;&nbsp; * Change options for dont use comments</span></div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color:#008000;">&nbsp; &nbsp; &nbsp; &nbsp;&nbsp; * Remove meta boxes on edit pages</span></div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color:#008000;">&nbsp; &nbsp; &nbsp; &nbsp;&nbsp; * Remove support on all post types for comments</span></div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color:#008000;">&nbsp; &nbsp; &nbsp; &nbsp;&nbsp; * Remove menu-entries</span></div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color:#008000;">&nbsp; &nbsp; &nbsp; &nbsp;&nbsp; *</span></div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color:#008000;">&nbsp; &nbsp; &nbsp; &nbsp;&nbsp; * @access&nbsp; public</span></div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color:#008000;">&nbsp; &nbsp; &nbsp; &nbsp;&nbsp; * @since&nbsp; &nbsp;0.0.1</span></div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color:#008000;">&nbsp; &nbsp; &nbsp; &nbsp;&nbsp; * @uses&nbsp; &nbsp; update_option, get_post_types, remove_meta_box, remove_post_type_support</span></div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color:#008000;">&nbsp; &nbsp; &nbsp; &nbsp;&nbsp; * @return&nbsp; void</span></div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color:#008000;">&nbsp; &nbsp; &nbsp; &nbsp;&nbsp; */</span></div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; &nbsp; &nbsp; public <span style="color:#000000; font-weight:bold;">function</span> remove_comments <span style="color:#006600; font-weight:bold;">&#40;</span><span style="color:#006600; font-weight:bold;">&#41;</span> <span style="color:#006600; font-weight:bold;">&#123;</span></div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color:#FF9933; font-style:italic;">// int values</span></div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color:#616100;">foreach</span> <span style="color:#006600; font-weight:bold;">&#40;</span> <a href="http://www.php.net/array"><span style="color:#000066;">array</span></a><span style="color:#006600; font-weight:bold;">&#40;</span> <span style="color:#FF0000;">'comments_notify'</span>, <span style="color:#FF0000;">'default_pingback_flag'</span> <span style="color:#006600; font-weight:bold;">&#41;</span> <span style="color:#616100;">as</span> <span style="color:#0000FF;">$option</span> <span style="color:#006600; font-weight:bold;">&#41;</span></div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; update_option<span style="color:#006600; font-weight:bold;">&#40;</span> <span style="color:#0000FF;">$option</span>, <span style="color:#CC66CC;color:#800000;">0</span> <span style="color:#006600; font-weight:bold;">&#41;</span>;</div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color:#FF9933; font-style:italic;">// string false</span></div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color:#616100;">foreach</span> <span style="color:#006600; font-weight:bold;">&#40;</span> <a href="http://www.php.net/array"><span style="color:#000066;">array</span></a><span style="color:#006600; font-weight:bold;">&#40;</span> <span style="color:#FF0000;">'default_comment_status'</span>, <span style="color:#FF0000;">'default_ping_status'</span> <span style="color:#006600; font-weight:bold;">&#41;</span> <span style="color:#616100;">as</span> <span style="color:#0000FF;">$option</span> <span style="color:#006600; font-weight:bold;">&#41;</span></div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; update_option<span style="color:#006600; font-weight:bold;">&#40;</span> <span style="color:#0000FF;">$option</span>, <span style="color:#FF0000;">'false'</span> <span style="color:#006600; font-weight:bold;">&#41;</span>;</div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color:#FF9933; font-style:italic;">// all post types</span></div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color:#FF9933; font-style:italic;">// alternative define an array( 'post', 'page' )</span></div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color:#616100;">foreach</span> <span style="color:#006600; font-weight:bold;">&#40;</span> get_post_types<span style="color:#006600; font-weight:bold;">&#40;</span><span style="color:#006600; font-weight:bold;">&#41;</span> <span style="color:#616100;">as</span> <span style="color:#0000FF;">$post_type</span> <span style="color:#006600; font-weight:bold;">&#41;</span> <span style="color:#006600; font-weight:bold;">&#123;</span></div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color:#FF9933; font-style:italic;">// comment status</span></div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; remove_meta_box<span style="color:#006600; font-weight:bold;">&#40;</span> <span style="color:#FF0000;">'commentstatusdiv'</span>, <span style="color:#0000FF;">$post_type</span>, <span style="color:#FF0000;">'normal'</span> <span style="color:#006600; font-weight:bold;">&#41;</span>;</div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color:#FF9933; font-style:italic;">// remove trackbacks</span></div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; remove_meta_box<span style="color:#006600; font-weight:bold;">&#40;</span> <span style="color:#FF0000;">'trackbacksdiv'</span>, <span style="color:#0000FF;">$post_type</span>, <span style="color:#FF0000;">'normal'</span> <span style="color:#006600; font-weight:bold;">&#41;</span>;</div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color:#FF9933; font-style:italic;">// remove all commnts from tabels</span></div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; remove_post_type_support<span style="color:#006600; font-weight:bold;">&#40;</span> <span style="color:#0000FF;">$post_type</span>, <span style="color:#FF0000;">'comments'</span> <span style="color:#006600; font-weight:bold;">&#41;</span>;</div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color:#006600; font-weight:bold;">&#125;</span></div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color:#FF9933; font-style:italic;">// remove dashboard meta box for recents comments</span></div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; remove_meta_box<span style="color:#006600; font-weight:bold;">&#40;</span> <span style="color:#FF0000;">'dashboard_recent_comments'</span>, <span style="color:#FF0000;">'dashboard'</span>, <span style="color:#FF0000;">'normal'</span> <span style="color:#006600; font-weight:bold;">&#41;</span>;</div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color:#FF9933; font-style:italic;">// Remove menu entries with WP 3.1 and higher</span></div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color:#616100;">if</span> <span style="color:#006600; font-weight:bold;">&#40;</span> <a href="http://www.php.net/function_exists"><span style="color:#000066;">function_exists</span></a><span style="color:#006600; font-weight:bold;">&#40;</span> <span style="color:#FF0000;">'remove_menu_page'</span> <span style="color:#006600; font-weight:bold;">&#41;</span> <span style="color:#006600; font-weight:bold;">&#41;</span> <span style="color:#006600; font-weight:bold;">&#123;</span></div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; remove_menu_page<span style="color:#006600; font-weight:bold;">&#40;</span> <span style="color:#FF0000;">'edit-comments.php'</span> <span style="color:#006600; font-weight:bold;">&#41;</span>;</div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; remove_submenu_page<span style="color:#006600; font-weight:bold;">&#40;</span> <span style="color:#FF0000;">'options-general.php'</span>, <span style="color:#FF0000;">'options-discussion.php'</span> <span style="color:#006600; font-weight:bold;">&#41;</span>;</div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color:#006600; font-weight:bold;">&#125;</span> <span style="color:#616100;">else</span> <span style="color:#006600; font-weight:bold;">&#123;</span></div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color:#FF9933; font-style:italic;">// unset comments</span></div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <a href="http://www.php.net/unset"><span style="color:#000066;">unset</span></a><span style="color:#006600; font-weight:bold;">&#40;</span> <span style="color:#0000FF;">$GLOBALS</span><span style="color:#006600; font-weight:bold;">&#91;</span><span style="color:#FF0000;">'menu'</span><span style="color:#006600; font-weight:bold;">&#93;</span><span style="color:#006600; font-weight:bold;">&#91;</span><span style="color:#CC66CC;color:#800000;">25</span><span style="color:#006600; font-weight:bold;">&#93;</span> <span style="color:#006600; font-weight:bold;">&#41;</span>;</div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color:#FF9933; font-style:italic;">// unset menuentry Discussion</span></div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <a href="http://www.php.net/unset"><span style="color:#000066;">unset</span></a><span style="color:#006600; font-weight:bold;">&#40;</span> <span style="color:#0000FF;">$GLOBALS</span><span style="color:#006600; font-weight:bold;">&#91;</span><span style="color:#FF0000;">'submenu'</span><span style="color:#006600; font-weight:bold;">&#93;</span><span style="color:#006600; font-weight:bold;">&#91;</span><span style="color:#FF0000;">'options-general.php'</span><span style="color:#006600; font-weight:bold;">&#93;</span><span style="color:#006600; font-weight:bold;">&#91;</span><span style="color:#CC66CC;color:#800000;">25</span><span style="color:#006600; font-weight:bold;">&#93;</span> <span style="color:#006600; font-weight:bold;">&#41;</span>;</div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color:#006600; font-weight:bold;">&#125;</span></div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; &nbsp; &nbsp; <span style="color:#006600; font-weight:bold;">&#125;</span></div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; &nbsp; &nbsp; <span style="color:#008000;">/**</span></div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color:#008000;">&nbsp; &nbsp; &nbsp; &nbsp;&nbsp; * Add class for last menu entry with no 20</span></div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color:#008000;">&nbsp; &nbsp; &nbsp; &nbsp;&nbsp; *</span></div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color:#008000;">&nbsp; &nbsp; &nbsp; &nbsp;&nbsp; * @access&nbsp; public</span></div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color:#008000;">&nbsp; &nbsp; &nbsp; &nbsp;&nbsp; * @since&nbsp; &nbsp;0.0.1</span></div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color:#008000;">&nbsp; &nbsp; &nbsp; &nbsp;&nbsp; * @param&nbsp; &nbsp;array string $menu</span></div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color:#008000;">&nbsp; &nbsp; &nbsp; &nbsp;&nbsp; * @return&nbsp; array string $menu</span></div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color:#008000;">&nbsp; &nbsp; &nbsp; &nbsp;&nbsp; */</span></div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; &nbsp; &nbsp; <span style="color:#000000; font-weight:bold;">function</span> add_menu_classes <span style="color:#006600; font-weight:bold;">&#40;</span> <span style="color:#0000FF;">$menu</span> <span style="color:#006600; font-weight:bold;">&#41;</span> <span style="color:#006600; font-weight:bold;">&#123;</span></div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color:#0000FF;">$menu</span><span style="color:#006600; font-weight:bold;">&#91;</span><span style="color:#CC66CC;color:#800000;">20</span><span style="color:#006600; font-weight:bold;">&#93;</span><span style="color:#006600; font-weight:bold;">&#91;</span><span style="color:#CC66CC;color:#800000;">4</span><span style="color:#006600; font-weight:bold;">&#93;</span> .= <span style="color:#FF0000;">' menu-top-last'</span>;</div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color:#616100;">return</span> <span style="color:#0000FF;">$menu</span>;</div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; &nbsp; &nbsp; <span style="color:#006600; font-weight:bold;">&#125;</span></div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; &nbsp; &nbsp; <span style="color:#008000;">/**</span></div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color:#008000;">&nbsp; &nbsp; &nbsp; &nbsp;&nbsp; * Remove areas for comments in backend via JS</span></div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color:#008000;">&nbsp; &nbsp; &nbsp; &nbsp;&nbsp; *</span></div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color:#008000;">&nbsp; &nbsp; &nbsp; &nbsp;&nbsp; * @access&nbsp; public</span></div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color:#008000;">&nbsp; &nbsp; &nbsp; &nbsp;&nbsp; * @since&nbsp; &nbsp;0.0.1</span></div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color:#008000;">&nbsp; &nbsp; &nbsp; &nbsp;&nbsp; * @return&nbsp; string with js</span></div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color:#008000;">&nbsp; &nbsp; &nbsp; &nbsp;&nbsp; */</span></div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; &nbsp; &nbsp; public <span style="color:#000000; font-weight:bold;">function</span> remove_comments_areas <span style="color:#006600; font-weight:bold;">&#40;</span><span style="color:#006600; font-weight:bold;">&#41;</span> <span style="color:#006600; font-weight:bold;">&#123;</span></div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color:#000000; font-weight:bold;">?&gt;</span></div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;script type=<span style="color:#FF0000;">"text/javascript"</span>&gt;</div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color:#FF9933; font-style:italic;">//&lt;![CDATA[</span></div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; jQuery<span style="color:#006600; font-weight:bold;">&#40;</span>document<span style="color:#006600; font-weight:bold;">&#41;</span>.ready<span style="color:#006600; font-weight:bold;">&#40;</span> <span style="color:#000000; font-weight:bold;">function</span><span style="color:#006600; font-weight:bold;">&#40;</span>$<span style="color:#006600; font-weight:bold;">&#41;</span> <span style="color:#006600; font-weight:bold;">&#123;</span></div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; $<span style="color:#006600; font-weight:bold;">&#40;</span> <span style="color:#FF0000;">'.table_discussion'</span> <span style="color:#006600; font-weight:bold;">&#41;</span>.remove<span style="color:#006600; font-weight:bold;">&#40;</span><span style="color:#006600; font-weight:bold;">&#41;</span>;</div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color:#006600; font-weight:bold;">&#125;</span><span style="color:#006600; font-weight:bold;">&#41;</span>;</div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color:#FF9933; font-style:italic;">//]]&gt;</span></div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color:#000000; font-weight:bold;">&lt;/script&gt;</span></div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color:#000000; font-weight:bold;">&lt;?php</span></div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; &nbsp; &nbsp; <span style="color:#006600; font-weight:bold;">&#125;</span></div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; &nbsp; &nbsp; <span style="color:#008000;">/**</span></div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color:#008000;">&nbsp; &nbsp; &nbsp; &nbsp;&nbsp; * Remove comment entry in Admin Bar</span></div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color:#008000;">&nbsp; &nbsp; &nbsp; &nbsp;&nbsp; *</span></div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color:#008000;">&nbsp; &nbsp; &nbsp; &nbsp;&nbsp; * @access&nbsp; public</span></div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color:#008000;">&nbsp; &nbsp; &nbsp; &nbsp;&nbsp; * @since&nbsp; &nbsp;0.0.1</span></div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color:#008000;">&nbsp; &nbsp; &nbsp; &nbsp;&nbsp; * @uses&nbsp; &nbsp; remove_menu</span></div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color:#008000;">&nbsp; &nbsp; &nbsp; &nbsp;&nbsp; * @return&nbsp; void</span></div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color:#008000;">&nbsp; &nbsp; &nbsp; &nbsp;&nbsp; */</span></div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; &nbsp; &nbsp; public <span style="color:#000000; font-weight:bold;">function</span> admin_bar_render <span style="color:#006600; font-weight:bold;">&#40;</span><span style="color:#006600; font-weight:bold;">&#41;</span> <span style="color:#006600; font-weight:bold;">&#123;</span></div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color:#FF9933; font-style:italic;">// remove entry in admin bar</span></div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color:#0000FF;">$GLOBALS</span><span style="color:#006600; font-weight:bold;">&#91;</span><span style="color:#FF0000;">'wp_admin_bar'</span><span style="color:#006600; font-weight:bold;">&#93;</span> -&gt; <span style="color:#006600;">remove_menu</span><span style="color:#006600; font-weight:bold;">&#40;</span> <span style="color:#FF0000;">'comments'</span> <span style="color:#006600; font-weight:bold;">&#41;</span>;</div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; &nbsp; &nbsp; <span style="color:#006600; font-weight:bold;">&#125;</span></div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; <span style="color:#006600; font-weight:bold;">&#125;</span> <span style="color:#FF9933; font-style:italic;">// end class</span></div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color:#006600; font-weight:bold;">&#125;</span> <span style="color:#FF9933; font-style:italic;">// end if class exists</span></div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color:#000000; font-weight:bold;">?&gt;</span> </div>
</li>
</ol>
</div>
</div>
</div>
<p></p>
<p>Lo que hace el plugin es lo siguiente:</p>
<ul>
<li>Cierra todos los formularios de comentarios existentes</li>
<li>Quita los widgets relacionados con comentarios en el editor</li>
<li>Quita todos los enlaces a la gestión de comentarios de los menús de WordPress</li>
<li>Quita la columna de comentarios del Escritorio</li>
<li>Quita los ajustes de comentarios</li>
</ul>
<p>Aquí tienes unas capturas de como queda de solito y desolado WordPress sin comentarios. Ahora tu decides, igual para algún proyecto te viene bien.<br />

<a href='http://ayudawordpress.com/wp-content/uploads/2011/06/nocomentarios1.png' rel='shadowbox[album-9706];player=img;' title='nocomentarios1'><img width="150" height="150" src="http://ayudawordpress.com/wp-content/uploads/2011/06/nocomentarios1-150x150.png" class="attachment-thumbnail" alt="nocomentarios1" title="nocomentarios1" /></a>
<a href='http://ayudawordpress.com/wp-content/uploads/2011/06/nocomentarios2.png' rel='shadowbox[album-9706];player=img;' title='nocomentarios2'><img width="150" height="150" src="http://ayudawordpress.com/wp-content/uploads/2011/06/nocomentarios2-150x150.png" class="attachment-thumbnail" alt="nocomentarios2" title="nocomentarios2" /></a>
</p>
<p>
<h3><font color="#000080">Contenido exclusivo para suscriptores al Feed</font></h3>
<p><font color="#808080">¡Gracias por seguirnos a diario!. Premiamos tu fidelidad ofreciéndote habitualmente contenidos exclusivos. Hoy puedes descargar:</font></p>
<p><a href="http://ayudawordpress.com/downloads/?did=112" title="Clic aquí para iniciar la descarga"><img src="http://ayudawordpress.com/wp-content/uploads/2008/01/wp-install.jpg" alt="Clic aquí para iniciar la descarga" align="middle" border="0" height="59" width="43" /> Guía Domina tu Blog</a></p>
<p class='fb-like'><iframe src='http://www.facebook.com/plugins/like.php?href=http://ayudawordpress.com/eliminar-completamente-los-comentarios/&amp;layout=button_count&amp;show_faces=true&amp;width=450&amp;action=like&amp;colorscheme=light&amp;height=23&amp;font=lucida+grande' scrolling='no' frameborder='0' allowTransparency='true' style='border:none; overflow:hidden; width:450px; height:23px'></iframe></p><div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/AyudaWordpress?a=80_TNrVPIUM:d52FDW53PFs:Dsqc8YHEA1Y"><img src="http://feeds.feedburner.com/~ff/AyudaWordpress?i=80_TNrVPIUM:d52FDW53PFs:Dsqc8YHEA1Y" border="0"></img></a>
</div>]]></content:encoded>
			<wfw:commentRss>http://ayudawordpress.com/eliminar-completamente-los-comentarios/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Como acelerar WordPress (infografía)</title>
		<link>http://ayudawordpress.com/como-acelerar-wordpress-infografia/</link>
		<comments>http://ayudawordpress.com/como-acelerar-wordpress-infografia/#comments</comments>
		<pubDate>Mon, 24 Jan 2011 22:39:00 +0000</pubDate>
		<dc:creator>planetawordpress</dc:creator>
				<category><![CDATA[WordPress]]></category>
		<category><![CDATA[Avanzado]]></category>
		<category><![CDATA[cache]]></category>
		<category><![CDATA[CDN]]></category>
		<category><![CDATA[CSS]]></category>
		<category><![CDATA[Infografía]]></category>
		<category><![CDATA[javascript]]></category>
		<category><![CDATA[Tutoriales / Trucos]]></category>
		<category><![CDATA[Wordpress.org]]></category>

		<guid isPermaLink="false">http://ayudawordpress.com/?p=9180</guid>
		<description><![CDATA[La empresa de hosting inTac ha publicado una interesante infografía que apunta los distintos procesos y fases en los que se puede acelerar y optimizar la carga de WordPress. Resumiendo mucho, pues lo tienes en la imagen, lo que proponen es … Caché de página, con herramientas como los plugins de cache Caché de la [...]]]></description>
			<content:encoded><![CDATA[<p>La empresa de hosting <a href="http://www.intac.net/how-to-speed-up-wordpress-and-boost-site-performance/">inTac ha publicado una interesante infografía</a> que apunta los distintos procesos y fases en los que se puede acelerar y optimizar la carga de WordPress.</p>
<p>Resumiendo mucho, pues lo tienes en la imagen, lo que proponen es …</p>
<ol>
<li>Caché de página, con herramientas como los plugins de cache</li>
<li>Caché de la base de datos</li>
<li>Caché del navegador</li>
<li>Uso de <a href="http://es.wikipedia.org/wiki/Red_de_entrega_de_contenidos">CDNs</a> (o red de entrega de contenidos) para redistribuir el tráfico</li>
<li>Minimizar el tamaño del código, especialmente el CSS y Javascript</li>
<li>Controlar el tamaño de la base de datos, reduciendo información redundante como las revisiones de entradas</li>
<li>Limitar las peticiones a la base de datos eliminando llamadas innecesarias</li>
<li> … y por supuesto, siempre tener en cuenta los básicos: actualizar WordPress y plugins, desactivar plugins innecesarios, etc</li>
</ol>
<p>La imagen, como es grandecita, la tienes tras el salto …<br />
<span id="more-9180"></span></p>
<p style="text-align: center;"><a href="http://ayudawordpress.com/wp-content/uploads/2011/01/mejorar-carga-y-acelerar-wordpress.jpg" rel="shadowbox[post-9180];player=img;"  title="mejorar carga y acelerar wordpress"><img class="aligncenter size-full wp-image-9181" title="mejorar carga y acelerar wordpress" src="http://ayudawordpress.com/wp-content/uploads/2011/01/mejorar-carga-y-acelerar-wordpress.jpg" alt="" width="466" height="4475" /></a></p>
<p class='fb-like'><iframe src='http://www.facebook.com/plugins/like.php?href=http://ayudawordpress.com/como-acelerar-wordpress-infografia/&amp;layout=box_count&amp;show_faces=true&amp;width=450&amp;action=like&amp;colorscheme=light&amp;height=65&amp;font=lucida+grande' scrolling='no' frameborder='0' allowTransparency='true' style='border:none; overflow:hidden; width:450px; height:65px'></iframe></p><div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/AyudaWordpress?a=TJN3Hg0ENjI:FDnMGDRbrlk:Dsqc8YHEA1Y"><img src="http://feeds.feedburner.com/~ff/AyudaWordpress?i=TJN3Hg0ENjI:FDnMGDRbrlk:Dsqc8YHEA1Y" border="0"></img></a>
</div>]]></content:encoded>
			<wfw:commentRss>http://ayudawordpress.com/como-acelerar-wordpress-infografia/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Pantalla completa también en el editor HTML</title>
		<link>http://ayudawordpress.com/pantalla-completa-tambien-en-el-editor-html/</link>
		<comments>http://ayudawordpress.com/pantalla-completa-tambien-en-el-editor-html/#comments</comments>
		<pubDate>Fri, 07 Jan 2011 17:59:33 +0000</pubDate>
		<dc:creator>planetawordpress</dc:creator>
				<category><![CDATA[WordPress]]></category>
		<category><![CDATA[Avanzado]]></category>
		<category><![CDATA[bookmarlet]]></category>
		<category><![CDATA[Experto]]></category>
		<category><![CDATA[javascript]]></category>
		<category><![CDATA[Principiante]]></category>
		<category><![CDATA[programación]]></category>
		<category><![CDATA[Tutoriales / Trucos]]></category>
		<category><![CDATA[Wordpress.com]]></category>
		<category><![CDATA[Wordpress.org]]></category>

		<guid isPermaLink="false">http://ayudawordpress.com/?p=9136</guid>
		<description><![CDATA[Una de las funcionalidades del editor de WordPress que más gustan a los novatos es el icono de "Pantalla completa", que elimina de la ventana todos los elementos no necesarios para la publicación de entradas. Ahora bien, cuando uno prefiere manejarse con el editor HTML (como un servidor) la cosa cambia, ahí no tenemos el [...]]]></description>
			<content:encoded><![CDATA[<p><img src="http://ayudawordpress.com/wp-content/uploads/2011/01/pantalla-completa-wp.png" alt="" title="pantalla completa wp" class="aligncenter size-full wp-image-9140" /></p>
<p>Una de las funcionalidades del editor de WordPress que más gustan a los novatos es el icono de "<em>Pantalla completa</em>", que elimina de la ventana todos los elementos no necesarios para la publicación de entradas. Ahora bien, cuando uno prefiere manejarse con el editor HTML (como un servidor) la cosa cambia, ahí no tenemos el dichoso iconito y tenemos un montón de estorbo visual alrededor del editor.</p>
<p>Pues bien, como todo tiene solución en esta vida, hay un truco para conseguir cargar también el <strong>editor HTML en pantalla completa</strong>.<br />
<span id="more-9136"></span></p>
<p>Para ello nos haremos con el marcador javascript (o bookmarlet) que <a href="http://www.smallmeans.com/tools/wordpressto/">han creado en Small beans</a>, y al que han llamado <strong>WordPressto</strong>.</p>
<p>Su uso es bien sencillo, solo tienes que arrastrar a la barra de favoritos el <em>bookmarlet</em> y ya lo tienes. Cuando estés editando una entrada haces clic en el nuevo favorito y tu pantalla del editor se abre en toda su plenitud, le vuelves a hacer clic y se pone de nuevo como estaba antes. Sencillo ¿no?.</p>

<a href='http://ayudawordpress.com/wp-content/uploads/2011/01/wordpressto1.png' rel='shadowbox[album-9136];player=img;' title='wordpressto1'><img width="150" height="150" src="http://ayudawordpress.com/wp-content/uploads/2011/01/wordpressto1-150x150.png" class="attachment-thumbnail" alt="wordpressto1" title="wordpressto1" /></a>
<a href='http://ayudawordpress.com/wp-content/uploads/2011/01/wordpressto2.png' rel='shadowbox[album-9136];player=img;' title='wordpressto2'><img width="150" height="150" src="http://ayudawordpress.com/wp-content/uploads/2011/01/wordpressto2-150x150.png" class="attachment-thumbnail" alt="wordpressto2" title="wordpressto2" /></a>

<p>Si quieres añadirlo solo tienes que arrastrar a tu barra de favoritos el siguiente enlace:</p>
<p><a href="javascript:if(typeof%20embed_wpEdit=='undefined')%7Bvar%20b=document.getElementsByTagName('body')%5B0%5D;var%20css='.modal%20#wpbody%7Bmargin-left:0%7D%20.modal%20%23post-body-content%7Bwidth:100%25;%7D%20.modal%20%23side-info-column,.modal%20%23adminmenu,.modal%20%23message,.modal%20%23notice,.modal%20%23revisionsdiv,%23publishClone,%23post-previewClone%7Bdisplay:none;%7D%23post-previewClone%7Bfloat:left;padding:3px%2013px;%7D.modal%20%23publishClone,.modal%20%23post-previewClone%7Bdisplay:block;margin:10px%206px;font-size:14px%20!important;padding:8px%2012px;%7D.modal%20%23editorcontainer%20%23content,.modal%20%23editorcontainer%20%23content_ifr%7Bheight:500px;overflow-x:hidden;font-size:118%25;line-height:160%25;%7D.modal%20%23ed_toolbar%20input%7Bfont-size:15px;padding:6px%208px;%7D';var%20elem=document.createElement('style');elem.type='text/css';if(elem.styleSheet)%7Belem.styleSheet.cssText=css;%7Delse%7Btry%7Belem.innerHTML=css;%7Dcatch(argh)%7Belem.appendChild(document.createTextNode(css));%7D%7Dbutton=document.getElementById('publish').cloneNode(false);button2=document.getElementById('post-preview').cloneNode(true);button.id='publishClone';button2.id='post-previewClone';t=document.getElementById('autosavenonce');t.parentNode.insertBefore(button,t);t.parentNode.insertBefore(button2,button);document.getElementsByTagName('head')%5B0%5D.appendChild(elem);b.className+='%20modal';document.getElementById('title').scrollIntoView();embed_wpEdit='..kthxbye!';%7Delse%7Bif(b.className.indexOf('modal')!==-1)%7Bb.className=b.className.replace(new%20RegExp('%5C%5Cs*%5C%5Cbmodal%5C%5Cb'),'');document.getElementById('wpcontent').scrollIntoView();%7Delse%7Bb.className+='%20modal';document.getElementById('title').scrollIntoView();%7D%7Dvoid(null);">WordPressto</a></p>
<p>Como es un código externo puedes usarlo tanto en WordPress.org como en WordPress.com. Si quieres ver el código fuente lo tienes <a href="http://www.smallmeans.com/viewsource/http%3A//www.smallmeans.com/apps/wordpressto/wordpressto.v0.1.js">aquí</a> .</p>
<p class='fb-like'><iframe src='http://www.facebook.com/plugins/like.php?href=http://ayudawordpress.com/pantalla-completa-tambien-en-el-editor-html/&amp;layout=box_count&amp;show_faces=true&amp;width=450&amp;action=like&amp;colorscheme=light&amp;height=65&amp;font=lucida+grande' scrolling='no' frameborder='0' allowTransparency='true' style='border:none; overflow:hidden; width:450px; height:65px'></iframe></p><div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/AyudaWordpress?a=WeDbKi5-zEU:wARSuo6PwWw:Dsqc8YHEA1Y"><img src="http://feeds.feedburner.com/~ff/AyudaWordpress?i=WeDbKi5-zEU:wARSuo6PwWw:Dsqc8YHEA1Y" border="0"></img></a>
</div>]]></content:encoded>
			<wfw:commentRss>http://ayudawordpress.com/pantalla-completa-tambien-en-el-editor-html/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>¿Disqus, Intense Debate o qué?</title>
		<link>http://ayudawordpress.com/disqus-intense-debate-o-que/</link>
		<comments>http://ayudawordpress.com/disqus-intense-debate-o-que/#comments</comments>
		<pubDate>Sat, 04 Dec 2010 20:08:44 +0000</pubDate>
		<dc:creator>planetawordpress</dc:creator>
				<category><![CDATA[WordPress]]></category>
		<category><![CDATA[ajax]]></category>
		<category><![CDATA[Automattic]]></category>
		<category><![CDATA[CSS]]></category>
		<category><![CDATA[Disqus]]></category>
		<category><![CDATA[Intense Debate]]></category>
		<category><![CDATA[java]]></category>
		<category><![CDATA[javascript]]></category>
		<category><![CDATA[moderación]]></category>
		<category><![CDATA[paginación]]></category>
		<category><![CDATA[plugins]]></category>
		<category><![CDATA[Redes Sociales]]></category>
		<category><![CDATA[spam]]></category>
		<category><![CDATA[Tutoriales / Trucos]]></category>
		<category><![CDATA[Wordpress.org]]></category>

		<guid isPermaLink="false">http://ayudawordpress.com/?p=9011</guid>
		<description><![CDATA[Hace tiempo que vengo utilizando un sistema externo de gestión de comentarios en mi blog personal, pero aún mantengo el sistema de comentarios interno de WordPress en otros, y esta disensión conmigo mismo no es porque no haya visto las ventajas de externalizar la gestión de comentarios sino más bien por asuntos técnicos que no vienen al caso, [...]]]></description>
			<content:encoded><![CDATA[<p><img class="aligncenter size-full wp-image-9013" title="intensedebate-o-disqus-300x150" src="http://ayudawordpress.com/wp-content/uploads/2010/12/intensedebate-o-disqus-300x150.jpg" alt="" width="300" height="150" /></p>
<p>Hace tiempo que vengo utilizando un <strong>sistema externo de gestión de comentarios</strong> en <a href="http://fernandotellado.com/">mi blog personal</a>, pero aún mantengo el sistema de comentarios interno de <strong><a href="http://es.wordpress.org/">WordPress</a></strong> en otros, y esta disensión conmigo mismo no es porque no haya visto las <strong>ventajas de externalizar la gestión de comentarios</strong> sino más bien por asuntos técnicos que no vienen al caso, pero explicaré al final de este artículo.</p>
<p>Y digo esto porque externalizar la gestión de comentarios, mediante sistemas como <strong><a href="http://www.intensedebate.com/" >Intense Debate</a></strong> o <strong><a href="http://disqus.com/" >Disqus</a></strong>, es una decisión la mayor parte de las veces acertada, aunque no para todas las situaciones. Vamos a ver ventajas e inconvenientes…<br />
<span id="more-9011"></span><br />
<img class="aligncenter size-medium wp-image-9012" title="indio" src="http://ayudawordpress.com/wp-content/uploads/2010/12/indio-500x227.jpg" alt="" width="500" height="227" /></p>
<h3>A favor: Gestión integrada</h3>
<p>Parece una incongruencia pero cuando externalizas los comentarios una de sus mayores ventajas es que puedes gestionar de manera unificada los comentarios de todos tus blogs, si tienes varios. Desde la página de tu perfil en Disqus o Intense Debate puedes moderar y configurar los comentarios de todos tus blogs.</p>
<p>Con esto evitas tener que acceder a cada uno de tus blogs, cada uno con sus datos de acceso, y con un solo “login” puedes gestionar los comentarios de todos tus sitios.</p>
<h3>A favor: Ancho de banda</h3>
<p>Una de las actividades que más consumen ancho de banda y peticiones a la base de datos de tu blog es la gestión de comentarios y, al externalizarla, limitas este tipo de ralentizaciones y consumo de recursos de tu servidor, relegándolos al servicio utilizado.</p>
<h3>A favor: Funcionalidades avanzadas</h3>
<p>Una de las virtudes de los sistemas externos de comentarios es que disponen de todas las tecnologías modernas de gestión de comentarios, de este modo, sin tocar una línea de código ni instalar decenas de plugins, dispones al instante de:</p>
<ul>
<li>Comentarios anidados</li>
<li>Acceso desde perfiles sociales</li>
<li>Compartir en redes sociales</li>
<li>Ordenar comentarios a voluntad</li>
<li>Referencias y comentarios separados</li>
<li>Enlaces entrantes desde redes sociales</li>
<li>Gravatar</li>
<li>Efectos AJAX y Javascript</li>
<li>Paginación de comentarios</li>
<li>Personalización del formulario de comentarios</li>
</ul>
<h3>A favor: Moderación y antispam</h3>
<p>Con esto me refiero a que puedes unificar reglas de moderación de comentarios, etiquetado y marcado como spam, todo desde una misma interfaz y para todos tus sitios. Además, este tipo de servicios ofrecen herramientas avanzadas de moderación, incluso por parte de los usuarios (marcar como inapropiado), que no sueles encontrar en otros sistemas, al menos de modo nativo.</p>
<h3>A favor: Integración</h3>
<p>Los dos sistema que te he propuesto disponen de una integración total con el sistema nativo de comentarios. Por ello, es muy fácil cambiar de un sistema externo a uno nativo en cualquier momento. Al instalar uno de estos servicios externos de gestión de comentarios lo primero que se te ofrece (casi) es exportar los comentarios existentes con la cuenta en el servicio y, en cualquier momento, puedes sincronizar ambos sistemas de comentarios (interno y externo) para no perder nada en caso de querer cambiar.</p>
<p>Como ventaja adicional, no tienes que esperar a que terminen los procesos de exportación y/o sincronización, los pones en marcha y abandonas la página sin problema. Cuando termina el proceso el servicio te envía un email de confirmación de fin de la acción.</p>
<h3>En contra: Blogs veteranos</h3>
<p>A pesar de lo dicho en el párrafo anterior he encontrado problemas en varias ocasiones a la hora de tratar de exportar y sincronizar comentarios en blogs veteranos, con muchos comentarios (digamos más de 10 mil o así). A veces este proceso de sincronización se alarga tanto que llega a atascarse si hay muchísimos comentarios. Lo bueno es que no pierdes nada en el proceso así que por probar no vas a sufrir una desgracia.</p>
<h3>En contra: Personalización</h3>
<p>Hay ocasiones en que, si eres muy puntilloso con el diseño de tu blog, estos servicios externos no llegan a satisfacer tus necesidades de personalización, de adaptación a la plantilla de tu sitio. Aunque ofrecen diversos ajustes de personalización, como retocar el CSS, elegir el idioma del formulario y adaptación a tus gustos del aspecto y comportamiento del formulario, el ajuste no siempre es perfecto.</p>
<p>Hay pequeños detalles que no puedes cambiar fácilmente (si sabes CSS si puedes hacer maravillas) y que puede que no te ofrezcan un resultado estético y adaptado al diseño de tu blog al nivel de personalización que desees.</p>
<h3>En contra: Dependencia</h3>
<p>Todas las virtudes que ofrece un sistema externo de gestión de comentarios pueden ser su mayor problema porque en realidad estás dependiendo de un servicio externo que, si deciden cerrarlo, te dejará tirado y tendrás que volver a el sistema nativo. Afortunadamente estos sistemas de los que te he estado hablando te permiten recuperar en cualquier momento la conversación de tu blog, por lo que no perderías nada del contenido, pero tendrías que acostumbrarte a “lo viejo” de nuevo o buscar un servicio alternativo si cerrara el servicio.</p>
<p>Tanto <a title="TOS de Intense Debate" href="http://www.intensedebate.com/tos" >Intense Debate</a> como <a title="TOS de Disqus" href="http://help.disqus.com/entries/96980-terms-of-service" >Disqus</a> se reservan el derecho a modificar las condiciones del servicio si así lo decidieran, así que tenlo en cuenta antes de tomar la decisión.</p>
<h3>En resumen …</h3>
<p>Como ya puedes imaginar, la decisión es tuya, pero como esperarás que me moje lo voy a hacer …</p>
<ul>
<li>Si tu blog tiene miles de comentarios previos casi no te lo recomiendo, la mayoría de las veces ambos sistemas fallan en la exportación y eso no te da garantías de que, en caso de querer cambiar, puedas sincronizar sin problemas.</li>
<li>Si tu blog es nuevo o no tiene miles de comentarios previos te lo recomiendo encarecidamente. Reduces enormemente las peticiones a la base de datos, ofreces a tus lectores todas las características actuales de integración con redes sociales y el funcionamiento es sobresaliente.</li>
</ul>
<p>Mi decisión ha sido, por los motivos expuestos, instalar Disqus en <a href="http://fernandotellado.com/">Navegando con Red</a> (mi blog personal) y aquí,  y mantener el sistema nativo en <a href="http://ciberprensa.com/">CiberPrensa</a> (de momento, y debido a los problemas de sincronización). Estuve tentado de instalar primero <strong>Intense Debate</strong> (al ser un servicio adquirido por Automattic, empresa que coordina el desarrollo de WordPress) pero en el momento en que hice este cambio estaba más avanzado el sistema <strong>Disqus</strong> y opté por el, y la verdad es que estoy muy satisfecho por la decisión.</p>
<p><small>(Entrada publicada originalmente <a href="http://neumattic.es/%C2%BFdebo-externalizar-los-comentarios-de-mi-blog.html">en Neumattic</a>, que reproduzco aquí por su interés en lo que respecta a WordPress)</small></p>
<!-- PHP 5.x --><p class='fb-like'><iframe src='http://www.facebook.com/plugins/like.php?href=http://ayudawordpress.com/disqus-intense-debate-o-que/&amp;layout=standard&amp;show_faces=true&amp;width=260&amp;action=like&amp;colorscheme=light' scrolling='no' frameborder='0' allowTransparency='true' style='border:none; overflow:hidden; width:260px; height:26px'></iframe></p><div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/AyudaWordpress?a=10Q0XeIFpeI:IUQLj5vG5s8:Dsqc8YHEA1Y"><img src="http://feeds.feedburner.com/~ff/AyudaWordpress?i=10Q0XeIFpeI:IUQLj5vG5s8:Dsqc8YHEA1Y" border="0"></img></a>
</div>]]></content:encoded>
			<wfw:commentRss>http://ayudawordpress.com/disqus-intense-debate-o-que/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Como crear un agregador de blogs respetuoso con las fuentes</title>
		<link>http://ayudawordpress.com/como-crear-un-agregador-de-blogs-respetuoso-con-las-fuentes/</link>
		<comments>http://ayudawordpress.com/como-crear-un-agregador-de-blogs-respetuoso-con-las-fuentes/#comments</comments>
		<pubDate>Mon, 15 Nov 2010 01:00:00 +0000</pubDate>
		<dc:creator>planetawordpress</dc:creator>
				<category><![CDATA[WordPress]]></category>
		<category><![CDATA[agregador]]></category>
		<category><![CDATA[blogs]]></category>
		<category><![CDATA[Experto]]></category>
		<category><![CDATA[feed]]></category>
		<category><![CDATA[FeedWordPress]]></category>
		<category><![CDATA[HTML]]></category>
		<category><![CDATA[javascript]]></category>
		<category><![CDATA[Magazine]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[pingbacks]]></category>
		<category><![CDATA[posicionamiento]]></category>
		<category><![CDATA[SEO]]></category>
		<category><![CDATA[Tutoriales / Trucos]]></category>
		<category><![CDATA[Wordpress.org]]></category>
		<category><![CDATA[XHTML]]></category>

		<guid isPermaLink="false">http://ayudawordpress.com/?p=8919</guid>
		<description><![CDATA[Ya expliqué hace tiempo los sistemas de creación de entradas desde feeds RSS pero se quedó un poco corta la entrada, pues me limité a citar los distintos plugins o scripts que permitían la importación de contenidos, hoy quiero contaros una experiencia concreta de como llevar a cabo un agregador de blogs, un planeta si [...]]]></description>
			<content:encoded><![CDATA[<p><img src="http://ayudawordpress.com/wp-content/uploads/2010/11/link-building.jpg" alt="" title="link-building" width="321" height="258" class="aligncenter size-full wp-image-8921" /></p>
<p>Ya expliqué hace tiempo los sistemas de <a href="http://ayudawordpress.com/como-crear-posts-a-partir-de-feeds/">creación de entradas desde feeds RSS</a> pero se quedó un poco corta la entrada, pues me limité a citar los distintos plugins o scripts que permitían la importación de contenidos, hoy quiero contaros una experiencia concreta de como llevar a cabo un agregador de blogs, un planeta si preferís llamarlo así, que respete las fuentes de los contenidos.</p>
<p>Me estoy refiriendo al agregador de <a href="http://redmagenta.org/">blogs de UPyD</a> que creé hace unos días, que creo es un buen ejemplo de como crear una web de este tipo de manera respetuosa. El paso a paso sería más o menos así …</p>
<p><span id="more-8919"></span></p>
<ol>
<li><strong>Elige una temática bien definida</strong> para el agregador. Un sitio de este tipo solo tiene sentido si concentra publicaciones de una categoría específica y permite a los visitantes encontrar en un solo lugar la información más relevante acerca de los temas de su interés. De nada vale un agregador "de todo un poco", para eso ya tenemos los portales de información general. ¡Segmenta!.</li>
<li><strong>Elegir un tema estilo revista</strong> (o magazine), que entiendo son los más adecuados para este tipo de webs que van a mostrar mucho contenido. En un tema formato blog no se mostraría en todo su esplendor la cantidad de publicaciones que vamos a compartir. Además, este tipo de temas ya vienen preparados para dos cuestiones vitales:
<ul>
<li>Normalmente solo muestran los extractos de las entradas</li>
<li>Suelen tener un sistema de publicación automática de una miniatura de la imagen que ilustrará el extracto</li>
</ul>
<p>Esto es importante porque lo que vamos a procurar es no robar visitas a los sitios generadores del contenido ofreciendo los textos completos sino solo extractos y una imagen que anime a visitar la web original.</p>
<p>También, por supuesto, podemos hacerlo con cualquier tema, simplemente editando el fichero '<code>index.php</code>' y, donde encontremos …</p>
<div class="igBar"><span id="lphp-7"><a href="http://ayudawordpress.com/como-crear-un-agregador-de-blogs-respetuoso-con-las-fuentes/" onclick="javascript:showCodeTxt('php-7'); return false;">Clic para ver Texto Plano</a></span></div>
<div class="syntax_hilite"><span class="langName">PHP:</span>
<div id="php-7">
<div class="php">
<ol>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color:#000000; font-weight:bold;">&lt;?</span> php the_content<span style="color:#006600; font-weight:bold;">&#40;</span><span style="color:#006600; font-weight:bold;">&#41;</span>; <span style="color:#000000; font-weight:bold;">?&gt;</span> </div>
</li>
</ol>
</div>
</div>
</div>
<p>
lo sustituimos por …</p>
<div class="igBar"><span id="lphp-8"><a href="http://ayudawordpress.com/como-crear-un-agregador-de-blogs-respetuoso-con-las-fuentes/" onclick="javascript:showCodeTxt('php-8'); return false;">Clic para ver Texto Plano</a></span></div>
<div class="syntax_hilite"><span class="langName">PHP:</span>
<div id="php-8">
<div class="php">
<ol>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color:#000000; font-weight:bold;">&lt;?</span> php the_excerpt<span style="color:#006600; font-weight:bold;">&#40;</span><span style="color:#006600; font-weight:bold;">&#41;</span>; <span style="color:#000000; font-weight:bold;">?&gt;</span> </div>
</li>
</ol>
</div>
</div>
</div>
<p></p>
<p>Con esto conseguimos mostrar solo parte de la entrada, requiriendo hacer clic para verla completa.</p>
<p>En el agregador de la <a href="http://redmagenta.org/">blogosfera de UPyD</a> he elegido <a href="http://bavotasan.com/">Magazine Basic de Bavota San</a> ya que, además, permite elegir entre varias estructuras y me pareció muy interesante una de ellas que destaca mucho la publicación más reciente, un poco menos las dos siguientes más actualizadas y menos para el resto, además de ser bastante personalizable y fácil de usar.
</li>
<li>Lo siguiente es <strong>instalar un sistema que importe entradas</strong> de otros sitios. A estos efectos el más actualizado, sencillo y configurable es <a href="http://wordpress.org/extend/plugins/feedwordpress/">FeedWordPress</a>. Una vez instalado solo hay que ir añadiendo las URLs de los sitios que queremos <strong>promocionar</strong> desde nuestro agregador. El plugin te permite añadirlos uno a uno o en bloque, lo que facilita mucho las cosas. Además, no hace falta que conozcas la dirección del feed RSS de los sitios, simplemente añades la URL y el plugin detecta los feeds disponibles, tu simplemente eliges cual es que vas a utilizar.
<p>Luego, puedes configurar un montón de personalizaciones para cada feed o globales, como cada cuanto buscará el plugin nuevas entradas, si los títulos de las entradas enlazarán a la copia local o el sitio original, si en los posts generados se permitirán pingbacks y comentarios y mucho más.</p>
<p>Aquí, para <strong>que nuestro agregador sea respetuoso con las fuentes</strong>, debes marcar siempre las opciones de que los enlaces siempre dirijan a la fuente original, y que no se permitan comentarios y/o pingbacks en tu agregador. De este modo fuerzas al visitante a leer el artículo completo en el sitio original, reconociendo la autoría.</p>
<p><a href="http://ayudawordpress.com/wp-content/uploads/2010/11/enlaces-feedwordpres.png" title="enlaces feedwordpres" rel="lightbox[8919]"><img src="http://ayudawordpress.com/wp-content/uploads/2010/11/enlaces-feedwordpres-500x116.png" alt="" title="enlaces feedwordpres" width="500" height="116" class="aligncenter size-medium wp-image-8920" /></a></p>
<p>Hay muchas más opciones, pero estas son las vitales para un agregador respetuoso.</li>
<li>Hay ocasiones en que FeedWordPress tiene la mala costumbre de publicar entradas duplicadas, así que si ves que te pasa esto instala también el plugin <a href="http://wordpress.org/extend/plugins/feedwordpress-duplicate-post-filter/">FeedWordPress duplicate post filter</a>, que revisa la base de datos en tiempo real y borra los posibles duplicados. No obstante, no lo recomiendo por defecto, solo si ves que te pasa, porque en algunos servidores este plugin a veces bloquea las actualizaciones de FeedWordPress. Te toca probar.</li>
<li><strong>Siempre, siempre, pregunta a los sitios que quieres incluir en tu agregador</strong> si están de acuerdo en que sus publicaciones sean incluidas en tu planeta. Crear un agregador eficaz y respetuoso con las fuentes les ofrecerá más visitas y mejorará su "link building" y posicionamiento, pero la elección es del creador del contenido original, que no se te olvide.</li>
<li><strong>Elige bien los sitios a incluir</strong> en el agregador. Los sitios "donantes" de contenido deben actualizarse frecuentemente y estar muy centrados en la temática elegida para aportar valor a los visitantes y a los mismos aportadores de contenido. Si el visitante no ve satisfechas sus expectativas de información segmentada y clasificada se buscará otro lugar donde encontrar la información de su interés.</li>
<li><strong>Crea una <a href="http://redmagenta.org/mi-blog/">página bien visible con un formulario de contacto</a></strong> para que cualquiera pueda ofrecer su sitio (relacionado con la temática) para aparecer también en el agregador. Con esto crecerá la visibilidad, aportarás más valor al agregador y darás más beneficios a los sitios incluidos.</li>
<li><strong>Fuerza que los enlaces se abran en una nueva ventana</strong> (o pestaña) siempre. El objetivo de esto es para que el visitante habitual del agregador no pierda el foco del sitio cuando quiera revisar una noticia concreta, y que le sea más fácil luego revisar más noticias de su interés. Para ello te recomiendo usar el plugin <a href="http://wordpress.org/extend/plugins/open-external-links-in-a-new-window/">Open external links in a new window</a> ya que cumple XHTML estricto y si un navegador no soporta Javascript no devuelve errores. Simple y efectivo.</li>
<li><strong>Difunde</strong> - más si cabe - el contenido creando una cuenta de Twitter y una página de Facebook que publiquen automáticamente los contenidos del agregador. Con <a href="http://ayudawordpress.com/tuiteando-mientras-administras-wordpress/">Tweetable</a> tienes todo lo que necesitas para Twitter y para Facebook y otras redes prueba <a href="http://ayudawordpress.com/publicar-en-las-redes-sociales/">alguna de estas posibilidades</a> o <a href="http://www.redessociales.es/2010/11/10/publica-las-actualizaciones-de-una-cuenta-de-facebook-en-una-page-grupo-u-otro-perfil/">esta guía de mi compañero David</a>. Con esto, que tampoco te quitará tiempo, ayudas a atraer visitas también y a difundir el contenido.</li>
<li><strong>No instales ningún plugin de SEO</strong> en el WordPress del agregador, recuerda que el objetivo es ceder visitas y posicionamiento a los creadores de contenidos, no atraerlo hacia el agregador. Además, este tipo de sitios, por lo segmentado de la información y frecuencia de actualizaciones, ya suelen atraer bastante bien a los buscadores pues los alimentan de contenido frecuente y en gran cantidad, lo que no es tampoco malo en sí mismo pues a su vez facilitará la popularidad (compartida) de las fuentes del contenido.</li>
<li><strong>Ofrece una versión móvil</strong> del sitio con <a href="http://wordpress.org/extend/plugins/wptouch/">WPTouch</a> y <a href="http://wordpress.org/extend/plugins/wipad/">WiPad</a>, que no se te olvide facilitar la visualización a los usuarios siempre conectados. Con esto también aportarás valor, ofreciendo funcionalidades que muchas veces los generadores de contenidos no están ofreciendo y, como siempre, las visitas les siguen llegando a ellos.</li>
</ol>
<p>Y eso es todo, a partir de que lo montes y, si quieres, lo personalices un poco, <strong>tendrás un sitio que se actualiza solo con el contenido de los sitios originales</strong>. Solo tendrás que incluir nuevos sitios que soliciten su inclusión y, de vez en cuando, revisar la pantalla de feeds sindicados para comprobar que las actualizaciones se están automatizando normalmente y sin errores (a veces pasa que hay feeds originales que tienen fallos y dejan de sindicarse).</p>
<p>Además, este tipo de agregadores, cuando se hacen bien, he comprobado producen unos interesantes (y buenos) efectos colaterales, a saber …</p>
<ul>
<li>Los generadores de contenido se fuerzan en actualizar más sus sitios para "ganar portada" gracias a la distribución de entradas de los temas de estilo revista, que suelen dar más visibilidad a las entradas más recientes.</li>
<li>Enseñan a los generadores de contenido a crear mejores titulares, pues el agregador les permite compararse - a efectos de visibilidad - con sitios de contenido similar y aprenden <a href="http://ciberprensa.com/aprende-periodismo-para-escribir-en-blogs/">la importancia de un buen titular</a>.</li>
<li>Generan comunidad, pues a los mismos generadores de contenido les muestra otros sitios que tratan su misma temática que muchas veces desconocían.</li>
<li>Enseña a los generadores de contenido que una imagen vale más que mil palabras, animándoles a acompañar siempre sus entradas con imágenes que ilustren el contenido y, en el agregador, atraigan visitas.</li>
</ul>
<p>Personalmente estoy muy contento con como ha quedado el agregador de <a href="http://redmagenta.org/">blogs de UPyD</a>, y los generadores de los contenidos ahí publicados están muy satisfechos con el aumento de visitas y visibilidad de sus blogs.<br />
<a href="http://ayudawordpress.com/wp-content/uploads/2010/11/Red-Magenta-Blogs-UPyD-20101113.png" title="Red Magenta - Blogs UPyD (20101113)" rel="lightbox[8919]"><img src="http://ayudawordpress.com/wp-content/uploads/2010/11/Red-Magenta-Blogs-UPyD-20101113-595x1024.png" alt="" title="Red Magenta - Blogs UPyD (20101113)" width="555" height="984" class="aligncenter size-large wp-image-8922" /></a></p>
<p><strong>¡Que lo pases bien y respetes a los creadores de contenido!</strong></p>
<!-- PHP 4.x --><p class='fb-like'><iframe src='http://www.facebook.com/plugins/like.php?href=http://ayudawordpress.com/como-crear-un-agregador-de-blogs-respetuoso-con-las-fuentes/&amp;layout=standard&amp;show_faces=true&amp;width=260&amp;action=like&amp;colorscheme=light' scrolling='no' frameborder='0' allowTransparency='true' style='border:none; overflow:hidden; width:260px; height:26px'></iframe></p><div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/AyudaWordpress?a=7EsmTLSD3Kk:XmvyqKgqvZA:Dsqc8YHEA1Y"><img src="http://feeds.feedburner.com/~ff/AyudaWordpress?i=7EsmTLSD3Kk:XmvyqKgqvZA:Dsqc8YHEA1Y" border="0"></img></a>
</div>]]></content:encoded>
			<wfw:commentRss>http://ayudawordpress.com/como-crear-un-agregador-de-blogs-respetuoso-con-las-fuentes/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Tema WordPress en español: Como Facebook</title>
		<link>http://ayudawordpress.com/tema-wordpress-en-espanol-como-facebook/</link>
		<comments>http://ayudawordpress.com/tema-wordpress-en-espanol-como-facebook/#comments</comments>
		<pubDate>Mon, 01 Nov 2010 01:00:19 +0000</pubDate>
		<dc:creator>planetawordpress</dc:creator>
				<category><![CDATA[WordPress]]></category>
		<category><![CDATA[ajax]]></category>
		<category><![CDATA[Descargas]]></category>
		<category><![CDATA[Español]]></category>
		<category><![CDATA[Facebook]]></category>
		<category><![CDATA[javascript]]></category>
		<category><![CDATA[Themes]]></category>

		<guid isPermaLink="false">http://ayudawordpress.com/?p=8867</guid>
		<description><![CDATA[Si eres de los que andas buscando un tema para WordPress que sea un clon perfecto de Facebook, bien porque eres un fanático de esa red social, bien porque te gusta el modo en que está estructurado el servicio, aquí te traigo el tema WordPress que mejor lo imita. Basado en la página de usuario [...]]]></description>
			<content:encoded><![CDATA[<p>Si eres de los que andas buscando un <strong>tema para WordPress que sea un clon perfecto de Facebook</strong>, bien porque eres un fanático de esa red social, bien porque te gusta el modo en que está estructurado el servicio, aquí te traigo <strong>el tema WordPress que mejor lo imita</strong>.</p>
<p>Basado en la página de usuario de Facebook, el tema original <a href="http://wordpress.org/extend/themes/smells-like-facebook">Smells like Facebook</a>, que he traducido a Como Facebook, ofrece una copia perfecta de Facebook. Tienes pestañas (las categorías), 2 barras laterales (o 3), efectos AJAX y Javascript, formulario de comentarios que se expande automáticamente, imagen del perfil (o tu sitio) y mucho más que puedes configurar en la página de opciones del tema (que también he traducido).</p>
<p><strong>Captura:</strong><br />
<a href="http://ayudawordpress.com/wp-content/uploads/2010/10/como-facebook.png"  title="como facebook" rel="lightbox[8867]"><img class="size-thumbnail wp-image-8868 alignnone" title="como facebook" src="http://ayudawordpress.com/wp-content/uploads/2010/10/como-facebook-150x150.png" alt="" width="150" height="150" /></a><br />
<strong>Demo (en español):</strong><br />
<a href="http://ayudawordpress.com/themes/?wptheme=como-facebook" >Como Facebook</a></p>
<p><strong>Descarga:</strong><br />
<img alt="zip" title="zip" class="download-icon" src="http://ayudawordpress.com/wp-content/plugins/download-monitor/img/filetype_icons/document-zipper.png" /> <a href="http://ayudawordpress.com/download/134" title="Descargado 275 veces"> Theme WordPress Como Facebook v.1.4.1 (87.48 kB )</a> - Tema WordPress que imita a la perfección el perfil de Facebook. Dispone de efectos AJAX y Javascript al estilo Facebook, formulario de comentarios auto-expandible, página de opciones, 2 o 3 columnas y  mucho más.</p>
<!-- PHP 4.x --><p class='fb-like'><iframe src='http://www.facebook.com/plugins/like.php?href=http://ayudawordpress.com/tema-wordpress-en-espanol-como-facebook/&amp;layout=standard&amp;show_faces=true&amp;width=260&amp;action=like&amp;colorscheme=light' scrolling='no' frameborder='0' allowTransparency='true' style='border:none; overflow:hidden; width:260px; height:26px'></iframe></p><div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/AyudaWordpress?a=J5rhz1EYp70:IGdPSEEwYkE:Dsqc8YHEA1Y"><img src="http://feeds.feedburner.com/~ff/AyudaWordpress?i=J5rhz1EYp70:IGdPSEEwYkE:Dsqc8YHEA1Y" border="0"></img></a>
</div>]]></content:encoded>
			<wfw:commentRss>http://ayudawordpress.com/tema-wordpress-en-espanol-como-facebook/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Barra de admin donde quieras</title>
		<link>http://ayudawordpress.com/barra-de-admin-donde-quieras/</link>
		<comments>http://ayudawordpress.com/barra-de-admin-donde-quieras/#comments</comments>
		<pubDate>Wed, 11 Aug 2010 21:30:54 +0000</pubDate>
		<dc:creator>planetawordpress</dc:creator>
				<category><![CDATA[WordPress]]></category>
		<category><![CDATA[administración]]></category>
		<category><![CDATA[Avanzado]]></category>
		<category><![CDATA[bookmarlet]]></category>
		<category><![CDATA[Firefox]]></category>
		<category><![CDATA[javascript]]></category>
		<category><![CDATA[programación]]></category>
		<category><![CDATA[Safari]]></category>
		<category><![CDATA[Wordpress.com]]></category>
		<category><![CDATA[Wordpress.org]]></category>

		<guid isPermaLink="false">http://ayudawordpress.com/?p=8443</guid>
		<description><![CDATA[A falta de una barra al estilo de WordPress.com hay un Javascript en forma de "bookmarlet", WP Toolbar, que, añadido a la barra de favoritos de tu navegador te permite acceder a las funciones habituales de administración de WordPress. Ahora bien, no va a permitirte acceso a nada que no tengas acceso ya, o sea, [...]]]></description>
			<content:encoded><![CDATA[<p>A falta de una barra al estilo de <a href="http://es.wordpress.com">WordPress.com</a> hay <a href="http://iamnotagoodartist.com/other/wordpress-admin-toolbar-bookmarklet/">un Javascript en forma de "bookmarlet"</a>, <strong>WP Toolbar</strong>, que, añadido a la barra de favoritos de tu navegador te permite acceder a las funciones habituales de administración de WordPress.</p>
<p>Ahora bien,<strong> no va a permitirte acceso a nada que no tengas acceso ya</strong>, o sea, que si no tienes un usuario registrado en este blog, aunque veas los enlaces no podrás entrar y hacer todo lo que se muestra, solo aquello a lo que habitualmente tengas permiso como usuario registrado, valga la aclaración para que no te lleves a engaño, que esto no es un atajo para entrar en cualquier WordPress.</p>
<p>Lo que si <strong>ofrece es una serie de iconos</strong>, una vez hecho clic en el bookmarlet, desde los que <strong>acceder a las secciones de administración habituales en tus WordPress</strong>, mientras los visitas, no desde otra web que visites. Digamos que, por ejemplo, estás leyendo una entrada de tu blog y te das cuenta de que querías modificar algo del tema, pues no hace falta que teclees la dirección para acceder al escritorio, solo haces clic en el bookmarlet y eliges la opción adecuada, así de fácil.</p>
<p><a href="http://ayudawordpress.com/wp-content/uploads/2010/08/captura-2010-08-11-a-las-23.22.22.png" title="captura 2010-08-11 a las 23.22.22" rel="lightbox[8443]"><img src="http://ayudawordpress.com/wp-content/uploads/2010/08/captura-2010-08-11-a-las-23.22.22-500x312.png" alt="" title="captura 2010-08-11 a las 23.22.22" width="500" height="312" class="aligncenter size-medium wp-image-8444" /></a></p>
<p>Además, para los que no gusten de usar bookmarlets también hay <a href="http://translate.google.com/translate?hl=en&#038;sl=de&#038;tl=es&#038;u=http%3A%2F%2Fwww.kulturbolschewismus.de%2F2010%2F03%2F03%2Fwordpress-admin-toolbar%2F">una extensión de GreaseMonkey</a>, instalable en Firefox por ejemplo, e incluso una <a href="http://www.semimagic.com/blog/2010/6/19/wp-toolbar-safari-extension.html">extensión para el navegador Safari</a>. Por opciones que no quede.</p>
<!-- PHP 4.x --><p class='fb-like'><iframe src='http://www.facebook.com/plugins/like.php?href=http://ayudawordpress.com/barra-de-admin-donde-quieras/&amp;layout=standard&amp;show_faces=true&amp;width=260&amp;action=like&amp;colorscheme=light' scrolling='no' frameborder='0' allowTransparency='true' style='border:none; overflow:hidden; width:260px; height:26px'></iframe></p><div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/AyudaWordpress?a=i2_olW6Id74:3D9HWi0RP38:Dsqc8YHEA1Y"><img src="http://feeds.feedburner.com/~ff/AyudaWordpress?i=i2_olW6Id74:3D9HWi0RP38:Dsqc8YHEA1Y" border="0"></img></a>
</div><img src="http://feeds.feedburner.com/~r/AyudaWordpress/~4/i2_olW6Id74" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://ayudawordpress.com/barra-de-admin-donde-quieras/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Rentabilizar con publicidad las imágenes de tu web</title>
		<link>http://carrero.es/rentabilizar-con-publicidad-las-imagenes-de-tu-web/4868</link>
		<comments>http://carrero.es/rentabilizar-con-publicidad-las-imagenes-de-tu-web/4868#comments</comments>
		<pubDate>Tue, 08 Jun 2010 06:30:38 +0000</pubDate>
		<dc:creator>planetawordpress</dc:creator>
				<category><![CDATA[WordPress]]></category>
		<category><![CDATA[Adsense]]></category>
		<category><![CDATA[anuncios]]></category>
		<category><![CDATA[imágenes]]></category>
		<category><![CDATA[javascript]]></category>
		<category><![CDATA[posicionamiento]]></category>
		<category><![CDATA[publicidad]]></category>
		<category><![CDATA[sitios web]]></category>

		<guid isPermaLink="false">http://carrero.es/?p=4868</guid>
		<description><![CDATA[Image Space Media (ISM) (antes Picadmedia) es un servicio que te ayuda a sacar una rentabilidad económica de tus imágenes. El proceso es sencillo una vez dado de alta en su plataforma e insertado su código javascript en el código fuente de tu sitio web, el servicio de ISM insertará anuncios en todas las imágenes [...]pOriginal Post / Entrada Original: a href="http://carrero.es"Carrero.es/a. Si quieres a href="http://juegosweb.com"Juegos Gratis/a disfruta aquiacute; o a href="http://decoracion2.com"decora tu casa/a.br/br/a href="http://carrero.es/rentabilizar-con-publicidad-las-imagenes-de-tu-web/4868"Rentabilizar con publicidad las imágenes de tu web/a/p]]></description>
			<content:encoded><![CDATA[
<p><a href="http://feedads.g.doubleclick.net/~a/c-WX0_sUB4SNgYCzn2LlNtIUWh0/0/da"><img src="http://feedads.g.doubleclick.net/~a/c-WX0_sUB4SNgYCzn2LlNtIUWh0/0/di" border="0" ismap="true"></img></a><br/>
<a href="http://feedads.g.doubleclick.net/~a/c-WX0_sUB4SNgYCzn2LlNtIUWh0/1/da"><img src="http://feedads.g.doubleclick.net/~a/c-WX0_sUB4SNgYCzn2LlNtIUWh0/1/di" border="0" ismap="true"></img></a></p><p><strong><a href="http://carrero.es/ism">Image Space Media</a> (<a href="http://carrero.es/ism">ISM</a>)</strong> (antes Picadmedia) es un servicio que te ayuda a sacar una rentabilidad económica de tus imágenes. El proceso es sencillo una vez dado de alta en su plataforma e insertado su <a href="http://programacion.com/javascript">código javascript</a> en el código fuente de tu sitio web, el servicio de ISM insertará anuncios en todas las imágenes de tu página.</p>
<p><img class="aligncenter size-medium wp-image-4869" title="ism" src="http://carrero.es/wp-content/uploads/2010/06/ism-470x216.gif" alt="ism 470x216 Rentabilizar con publicidad las imágenes de tu web" width="470" height="216" /></p>
<p>La idea es original y realmente sencilla y podría ayudar a tener ingresos adicionales a la publicidad típica de agencias o Adsense. Después de estar probando desde el 18 de febrero de 2010 este servicio creo que los ingresos reportados no compensan contra los problemas de <a href="http://posicionamiento.net">posicionamiento</a> que parece provocar en las imágenes. Han sido casi 4 meses de pruebas donde hemos generado casi 2 millones de impresiones de anuncios, cerca de 7.500 clics sobre más de 15.000 imágenes indexadas en el sistema ISM. Casi 320 dólares en este tiempo y la <strong>supuesta perdida de posicionamiento en todas las imágenes</strong> en google, al menos <a href="http://decoracion2.com">Decoración 2.0</a> dejo de indexar imágenes y en el caso de <a href="http://amor.net">Amor</a> desaparecieron todas, fue quitar <a href="http://carrero.es/ism">ISM</a> el sábado pasado y volver a indexar todas las imágenes. No se si es casualidad, pero puede ser que a Google no le guste que pongamos publicidad en las imágenes.</p>
<p>Por último destacar que el ratio de clic es realmente interesante desde el 0,25% hasta el 0,55% algunos días. Ahora la decisión de <a href="http://carrero.es/ism">probar o activar este servicio</a> es tuya, aquí tiene mi experiencia que es positiva, pero ante la posible perdida de posicionamiento he terminado por de momento eliminarlo.</p>
<p>Original Post / Entrada Original: <a href="http://carrero.es">Carrero.es</a>. Si quieres <a href="http://juegosweb.com">Juegos Gratis</a> disfruta aqu&iacute; o <a href="http://decoracion2.com">decora tu casa</a>.<br/><br/><a href="http://carrero.es/rentabilizar-con-publicidad-las-imagenes-de-tu-web/4868">Rentabilizar con publicidad las imágenes de tu web</a></p>
<img src="http://feeds.feedburner.com/~r/carrero/~4/2VoaIprWKgE" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://carrero.es/rentabilizar-con-publicidad-las-imagenes-de-tu-web/4868/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

