Archive for the ‘wordpress’ Category
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 [...]
WordPress: show excerpts in the category or tag view [SOLVED]
“I just want to only display the excerpt instead of the entire text of the post in the category / tag archives, how to achieve this?”. This is a common question of wordpress users. Well, the fix is really simple. Go to your working theme directory and look for content.php (or sometimes archive.php). You should [...]
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á [...]
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 [...]
[SOLVED] An Unexpected HTTP Error occurred during the API request – wordpress 3
If you are getting this error in WordPress 3: An Unexpected HTTP Error occurred during the API request Edit your wp-includes/class-http.php Search this: $defaults = array( ‘method’ => ‘GET’, ‘timeout’ => apply_filters( ‘http_request_timeout’, 5), And change it to: $defaults = array( ‘method’ => ‘GET’, ‘timeout’ => apply_filters( ‘http_request_timeout’, 30), Should work now If it does [...]
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 [...]