Posts Tagged ‘wordpress’
Al compartir posts en facebook no salen las imagenes (thumbnails) [SOLUCIONADO]
Algo común cuando se usa el theme Twenty eleven de wordpress es que las imagenes de los posts no salen automáticamente al compartirlos en facebook. Vaya, que al poner el link a un post en el estado de facebook, éste no es capaz de leer las imagenes y mostrar el thumbnail. Sin entrar en consideraciones [...]
WP-COMFY: change post rotation interval [SOLVED]
Those of you who are using WP Comfy (aka Comfy Magazine) theme for wordpress might be wondering how to change post rotation time (interval) so that posts rotate more quickly or slowly. Well, the fix is quite easy. Edit /wp-content/themes/wp_comfy/scripts/tabs.js, look for: if (parseInt(this.automodeperiod)>500 && this.hottabspositions.length>1){ this.autoruntimer=setInterval(function(){tabinstance.autorun()}, this.automodeperiod) More slow rotation: if (parseInt(this.automodeperiod)>1000 && this.hottabspositions.length>1){ [...]
wordpress: Ordenar archive.php por fecha con query_posts
Imagina que ya tienes en tu theme de wordpress un archivo llamado archive.php que se encarga de interpretar url’s del tipo http://www.tusitiowordpress.com/tag/tagX ¿Cómo hacer para que, además de mostrar los posts filtrados por el tag ‘tagX’, los ordene por fecha? (y no por otro criterio, como la categoría) Fácil: Edita tu archive.php y busca: <?php [...]
WordPress: where am I? is it the frontpage? [solved]
Some days ago I talked about knowing where I am in Drupal and knowing where I am in Jooml. I’ve received some mails asking how to know where i am in wordpress (am I in the frontpage? am I in a single post view?). You can know this by using wordpress conditional tags. For instance, [...]
WordPress WP-Postviews en español [RESUELTO]
El plugin el plugin wp-postviews de wordpress permite mostrar en tu theme el número de lecturas de un determinado post, utilizando la función the_views();. Si queréis añadir esta información a vuestros posts, podréis hacerlo con una línea del tipo: // OJO! Dentro de ‘the loop’ (leido <?php if(function_exists(’the_views’)) { the_views(); } ?>) Y esto mostrará [...]
Autodetectar el idioma del cliente [RESUELTO]
Dos de las cuestiones que se plantean cuando un sitio web empieza a crecer es: ¿Cómo implementar un sitio web multilenguaje? y ¿Cómo detectar automáticamente el idioma del cliente? e incluso ¿Cómo redireccionar a los clientes a una web en su idioma? Hay varias formas de hacerlo. Método 1: Geolocalización Se basa en tracear la [...]
WordPress Yoast SEO + wp_comfy theme + Category titles
If you are using Yoast SEO plugin for wordpress with WP_Comfy theme you will notice that title’s (<title> tag) are not working as expected. Despite your settings in Yoast WordPress SEO: Titles the titles are not showing what you want. Follow these steps to make them work: Changes in header.php Edit your /wp-content/themes/wp-comfy/header.php and change: [...]
Widget para wordpress: mostrar los twitts favoritos de tu cuenta twitter
Basándome en elTwitter Widget para WordPress de Sean Spalding, he modificado ligeramente el código para que muestre únicamente los twitts favoritos de un determinado usuario. El fuente es éste: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 [...]
wordpress anti-spam plugins, captchas and more
My blog (wordpress) is registering a lot of spam comments recently. Therefore I made a small comparision between several wordpress plugins to avoid spam. The test included all of the Top 10 wordpress anti spam plugins and I ended up installing Math Comment Spam Protection. It seems to deal fine with this annoying spam comments [...]
Aumentar el tráfico a tu sitio web: AddThis
Muchos usuarios me preguntan cómo aumentar el tráfico a su sitio web. Para ello, además de tener una página bien construida (DTD’s validados), usar url’s SEF, etc, debemos realizar labores de promoción y fidelización del lector. (Te recomiendo la lectura de mi anterior artículo de mejora de posicionamiento) Una buen forma de promoción para tu [...]