WordPress Popular Posts

Descripción

WordPress Popular Posts es un widget muy personalizable que muestra las entradas más populares en tu blog.

Funcionalidades principales

  • Varios widgets a la vez. Puedes tener varios widgets de WordPress Popular Posts en tu blog – ¡cada uno con su propia configuración!
  • Rango de Tiempo – Lista aquellas entradas de tu blog que han sido las más populares dentro de un rango de tiempo específico (ejm. las últimas 24 horas, los últimos 7 días, los últimos 30 días, etc.)
  • Compatibilidad con de tipos de contenido personalizado: ¿Quieres mostrar otras cosas además de las entradas y las páginas, por ejemplo, Productos populares? ¡Puedes hacerlo!
  • ¡Miniaturas!: ¡muestra una miniatura de tus entradas! (ve la sección de preguntas frecuentes para más detalles).
  • Tablero de estadísticas – Mira qué tal lo están haciendo tus entradas populares desde tu área de administración.
  • Opciones de ordenamiento – ¡Ordena tu listado popular por comentarios, vistas (por defecto) o promedio de vistas por día!
  • Temas personalizados: de entrada, WordPress Popular Posts incluye algunos temas para que puedas dar estilo a tu lista de entradas populares (ver Temas para widgets para más detalles).
  • ¡Utiliza tu propio diseño! – WPP es lo suficientemente flexible para que puedas personalizar el look and feel de tus entradas populares (ver customizing WPP’s HTML markup y How to style WordPress Popular Posts para más información.)
  • ¡Funcionalidades de caché avanzadas! – WordPress Popular Posts incluye algunas opciones para asegurar que el rendimiento de tu sitio web sea tan bueno como siempre (ver Performance para más detalles.)
  • Compatibilidad con la REST API – ¡Incluye tus entradas populares en tu aplicación (web)! (ver Variables de la REST API para más detalles.)
  • Compatibilidad con Disqus – ¡Ordena tus entradas populares por cantidad de comentarios Disqus!
  • Compatibilidad con Polylang & WPML 3.2+ – ¡Muestra la traducción de tus entradas populares!
  • Compatibilidad con WordPress Multisitio – ¡Cada sitio en la red puede tener su propia lista de entradas populares!

Otras funcionalidades

  • Compatibilidad con shortcode – ¡Utiliza el shortcode `[wpp]` para exhibir tus entradas más populares en tus páginas! Para ver su uso y las instrucciones, por favor, consulta la sección de instalación.
  • Etiquetas de plantilla – ¿No quieres utilizar widgets? ¡No hay problema! Puedes seguir incrustando tus entradas más populares en tu tema usando la etiqueta de plantilla wpp_get_mostpopular()`. Adicionalmente, la etiqueta de plantilla wpp_gets_views() te permite obtener la cantidad de vistas de una entrada en particular. Para conocer cómo se usa y las instrucciones, por favor, consulta la sección de instalación.
  • LocalizaciónTraduce WPP a tu propio idioma.
  • Soporte de WP-PostRatings support – ¡Muestra a tus visitantes cómo están valorando tus lectores tus entradas!

PSA: The classic WordPress Popular Posts widget is going away!

The classic WordPress Popular Posts widget doesn’t work very well / at all with the new Widgets screen introduced with WordPress 5.8.

This new Widgets screen expects WordPress blocks instead of regular WordPress widgets. If you’re using the classic WordPress Popular Posts widget on your block-based Widgets screen please replace it with the WordPress Popular Posts block instead – it has the same features and functionality as the «classic» widget so you won’t be missing anything at all.

Bjorn from wplearninglab.com was kind enough to create a video explaining how to use the new block for all of you visual learners:

If you cannot (or do not want to) use WordPress blocks on your website then please replace your classic widget with the [wpp] shortcode.

¡Apoya el proyecto!

Si quieres apoyar mi trabajo y mis esfuerzos por crear y mantener más proyectos de código abierto, ¡tus donaciones y mensajes de apoyo significan mucho!

Cómprame un café | PayPal

¡WordPress Popular Posts ahora también está en GitHub!

¿Estás buscando un widget de entradas recientes que tenga tantas características como WordPress Popular Posts? ¡Prueba Recently!

Agradecimientos

  • Imagen de flama realizado por freevector/Vecteezy.com.

Capturas

  • El widget WordPress Popular Posts.
  • El widget WordPress Popular Posts en la barra lateral del tema.
  • Widget de escritorio
  • Panel de estadísticas.

Bloques

Este plugin proporciona 1 bloque.

  • WordPress Popular Posts

Instalación

Por favor asegúrate de que tu sitio cumple con los requisitos mínimos antes de continuar.

Instalación Automática

  1. Inicia sesión en WordPress.
  2. Ve a Plugins > Agregar Nuevo.
  3. En el campo «Buscar plugins», escribe WordPress Popular Posts y presiona Enter.
  4. Encuentra el plugin en el listado de resultados de búsqueda y haz clic en el botón «Instalar ahora».

Instalación Manual

  1. Descarga el plugin y extrae sus contenidos.
  2. Sube la carpeta wordpress-popular-posts al directorio /wp-content/plugins/.
  3. Activa el plugin WordPress Popular Posts a través del menú «Plugins» en WordPress.

¡Listo! ¿Qué sigue?

  1. Ve a Apariencia > Widgets, arrastra el widget de WordPress Popular Posts a tu barra lateral. Cuando hayas terminado de configurarlo, presiona el botón Guardar.
  2. Si tienes un plugin de caching instalado en tu sitio web, vacía su caché ahora para que WPP pueda empezar a obtener data de tu sitio.
  3. Si tienes un plugin que minimiza el JavaScript (JS) instalado en tu sitio, por favor, lee esta FAQ: ¿Es WordPress Popular Posts compatible con plugins que minimizan/agrupan el código JavaScript?
  4. Si tienes un plugin de seguridad/firewall instalado en tu sitio web, asegúrate de permitir que WPP tenga acceso al REST API para que pueda hacer seguimiento a tu sitio.
  5. Ve a Apariencia > Editor. Bajo «Plantillas», haz clic en header.php y asegúrate de que la etiqueta <?php wp_head(); ?> está presente (debería estar justo antes de la etiqueta de cierre </head>).
  6. (Opcional, pero muy recomendable) ¿Tienes un sitio de tráfico medio/alto? Si es así, puede ser una buena idea comprobar estas sugerencias para asegurarte de que el rendimiento de tu sitio se mantiene a la altura.

¡Eso es todo!

USO

WordPress Popular Posts puede ser utilizado de tres maneras diferentes:

  1. If you’re using the Block Editor you can insert a WordPress Popular Posts block on your sidebar and even anywhere within your posts and pages.
  2. Como etiqueta de plantilla: puedes colocarlo en cualquier lugar de tu tema con wpp_get_mostpopular().
  3. Via shortcode, para que puedas colocarlo dentro de una entrada o página.

Asegúrate de pasar por el Wiki también, ¡encontrarás aún más información allí!

FAQ

La sección de Preguntas Frecuentes ha sido movida aquí.

Reseñas

16 de marzo de 2024 1 respuesta
Works as described, easy to set up, good documentation, option to use shortcode or custom queries. Just perfect.
8 de agosto de 2023 1 respuesta
I'd been using this plugin for a few years without problems, but the developer was super-helpful in pinpointing a fairly specific to my particular hosting environment PHP problem that occurred during an upgrade.
31 de julio de 2023 1 respuesta
I'm using the plugin on several websites for some years now. It has been working without any problems so far. Plus: Plugin support is helpful and quick although for free.
30 de junio de 2023 1 respuesta
Great plugin that does what I need and have a great support from Hector even it's a free plugin. Keep it up and make a PRO version 🙂
Leer todas las 240 reseñas

Colaboradores y desarrolladores

«WordPress Popular Posts» es un software de código abierto. Las siguientes personas han colaborado con este plugin.

Colaboradores

«WordPress Popular Posts» está traducido en 15 idiomas. Gracias a los traductores por sus contribuciones.

Traduce «WordPress Popular Posts» a tu idioma.

¿Interesado en el desarrollo?

Revisa el código , echa un vistazo al repositorio SVN o suscríbete al registro de desarrollo por RSS.

Registro de cambios

6.4.2

  • Fixes default thumbnail resetting to the stock «No Thumbnail» image (props to aalmans!)
  • Fixes filtering by category / taxonomy when using Polylang (props to mlepore and wpfed!)
  • Updates dependencies.

Release notes

6.4.1

  • Adds support for webp images.
  • Minor fixes / improvements.

Release notes

6.4.0

If you’re using a caching plugin on your website it’s highly recommended to clear its cache after installing / updating to this version.

  • Fixes a fatal issue caused by the views_count shortcode when providing an invalid time range.
  • The views_count shortcode can now render a «prettified» version of the views count (eg. 6.2k instead of 6,265).
  • The wpp shortcode has now a «toggle» to enable/disable AJAX loading.
  • Adds /views REST API endpoints.
  • Fixes fatal error that can happen when themes define image sizes using the array format for the crop parameter.
  • Fixes fatal error that can happen while the plugin is deleting its own transients.
  • Otros arreglos y mejoras menores.

Release notes

6.3.4

If you’re using a caching plugin on your website, clearing its cache after installing / updating to this version is highly recommended.

  • Patches issue affecting non-HTML5 friendly WordPress themes after the WP 6.4 update.
  • Adds a button to reset the default thumbnail.
  • Ajustes y mejoras menores.

Release notes

6.3.3

  • Security enhancements (props to the Patchstack team!)
  • Updates dependencies.

Release notes

6.3.2

  • Fixes a PHP notice coming from the [wpp] shortcode.
  • Removes legacy AJAX code from the plugin.

Release notes

6.3.1

If you’re using a caching plugin on your website, clearing its cache after installing / updating to this version is highly recommended.

  • Improves compatibility with newer versions of PHP 8 (thanks ispreview and dimal for the heads-up!)
  • Introduces new shortcode to render views count (see Release notes for more details).
  • Shares post_id value with render_image filter hook for more flexibility.
  • Fixes a fatal error when the PHP extension mbstring is not installed.
  • Updates wpp.min.js.

Release notes

6.2.1

  • Fixes an issue where the [wpp] shortcode would get stuck at the loading animation.

6.2.0

If you’re using a caching plugin on your website, clearing its cache after installing / updating to this version is highly recommended.

  • The [wpp] shortcode has now the ability to load itself via AJAX.
  • Fixes an issue where for certain server configurations the popular posts list would output garbled text.
  • Fixes an issue where PHP would throw notices due to the usage of HTML5 tags.

Release notes

6.1.4

If you’re using a caching plugin on your website, clearing its cache after installing / updating to this version is highly recommended.

  • Fixes an issue where the [wpp] shortcode might output empty paragraphs under certain conditions.
  • Reverts «uglification» of wpp.min.js which caused popular post list(s) not to load under certain conditions.
  • Widget’s deprecation notice has been reworded for clarity.
  • Updates dependencies + minor code cleanup.

Release notes

6.1.3

  • Hotfix: Fixes rare PHP fatal error in Admin.php (props to winetravelista and scotttripatrek!)

Release notes

6.1.2

If you’re using a caching plugin on your website, clearing its cache after installing / updating to this version is highly recommended.

  • Deprecation Notice: The WordPress Popular Posts «classic» widget is going away! If you’re using the classic widget please replace it with the WordPress Popular Posts block or the [wpp] shortcode as soon as possible. See release notes for more details.
  • Plugin now uses the Tax_Query class to filter popular posts by taxonomy, pretty much similar to how WP_Query does it.
  • Fixes an issue where selecting the Tiny theme would override the heading of the popular posts list.
  • Fixes an issue where taxonomy links would render an extra whitespace for some browsers.
  • Fixes issue where when using a theme (eg. Cards) post titles would be unintentionally truncated.
  • Adds decoding=async property to WPP’s thumbnail.
  • General PHPCS/WPCS code improvements.

Release notes

6.1.1

  • Fixes a rare PHP fatal error that can occur during plugin activation.
  • Block: adds links to documentation within the block form for ease of access.
  • Updates dependencies.

Release notes

6.1.0

  • Improves PHP 8.1 support.
  • Adds new filter to modify the post date.
  • Adds check to prevent the misuse of the Data Sampling feature (props to the JPCERT/CC team for reporting this issue).
  • Updates dependencies.

Release notes

Registro completo de cambios