Este plugin no se ha probado con las últimas 3 versiones mayores de WordPress. Puede que ya no tenga soporte ni lo mantenga nadie, o puede que tenga problemas de compatibilidad cuando se usa con las versiones más recientes de WordPress.

Count Shortcode

Descripción

Shortcode to count number of posts that match a given set of criteria; provides link to query to display list of matching posts.

Works with both built in post types (pages, posts) and taxonomies (tags, categories), as well as custom post types and custom taxonomies.

Example

You have a car custom post type and would like a count of all the red cars in your inventory, as well as a link to a listing of those cars.

Red Cars in Inventory: [count color=red]

Would return the number of cars, as well as a link to yoursite.com/?color=red (which may rewrite depending on your permalink structure)

Usage

Insert a shortcode in your post in the form of [count {taxonomy}={value}]. You can add as many or as fiew taxonomies as you would like.

You can also use the post_type argument to specify a post type (page, post, car, etc.)

List Usage

You can count all terms within a taxonomy, e.g., [list-counts taxonomy=”tags”] or across all taxonomies [list-counts].

Instalación

  1. Install the plugin as you would any other plugin

Reseñas

No hay reseñas para este plugin.

Colaboradores y desarrolladores

«Count Shortcode» es un software de código abierto. Las siguientes personas han colaborado con este plugin.

Colaboradores

Traduce «Count Shortcode» 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

2.0

  • Added ability to display counts of all terms in a taxonomy, or across all taxonomies

1.0

  • Initial Release