Plugins
está sin resolverHola,
Después de una buena busqueda en google di con el plugin Popularity Contest listo para la versión 2.7 de WP.
Lo pueden descargar aquí para los que dessen usar este plugin, lo instale y anda al 100% en la version 2.7: http://www.dyasonhat.com/wordpress-plugins/popularity-contest-plugin-wordpress-27-working-version/
Tengo una consulta.
Como puedo hacer para poder poner en el home los post mas populares del último mes, y en los post individuales los más populares de acuerdo a la categoria del post que se este leyendo.
Este es el codigo para ver los más populares:
Pero para ver los más populares por mes en el home y por categoria en un post individual alguna idea?
Popularity Contest Template Tags
akpc_the_popularity()
Put this tag within The Loop to show the popularity of the post being shown. The popularity is shown as a percentage of your most popular post. For example, if the popularity total for Post #1 is 500 and your popular post has a total of 1000, this tag will show a value of 50%.
Example:
<?php akpc_the_popularity(); ?>
akpc_most_popular($limit = 10, $before =
Examples:
<?php akpc_most_popular(); ?>
akpc_most_popular_in_cat($limit = 10, $before =
Examples:
<?php akpc_most_popular_in_cat(1); ?>
<php if (is_category()) { akpc_most_popular_in_cat(); } ?>
<?php if (is_category()) { ?>
<?php } ?>
akpc_most_popular_in_month($limit, $before, $after, $m = YYYYMM)
Put this tag outside of The Loop (perhaps in your sidebar?) to show a list of the most popular posts in a specific month. You may want to use this on monthly archive pages.
Examples:
<?php akpc_most_popular_in_month('200504'); ?>
<php if (is_archive() && is_month()) { akpc_most_popular_in_month(); } ?>
<?php if (is_archive() && is_month()) { ?>
<?php } ?>
Debes Identificarte para publicar.