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.

WP Specific Comment

Descripción

WP Specific Comment provides a template tag for use anywhere in your theme, inside or outside The Loop. This template tag will return a specific comment as an object, from which you can retrieve any standard comment data.

Template Tag

To initiate the plugin, place <?php wp_specific_comment($ID); ?> into your theme, where $ID will be the ID number for the comment you want returned.

Example:

<?php wp_specific_comment(44); ?> will return the comment with the ID of 44. Pretty simple, right? 

Note: This template tag will not actually display anything. It only sets up a comment to be displayed. You’ll have to add in some other standard WordPress Template Tags to get anything to show up on your blog. List of available Comment Tags can be found here.

Example:

<?php wp_specific_comment(1); ?> <h5 class="comment_author"><?php comment_author_link(); ?></h5> <div class="comment_text"><?php comment_text(); ?></div> 

The above code would retrieve comment with ID of 1, and then display its author (linked to the author’s URL, if provided) in a <h5> followed by a <div> containing the comment’s text content. Still pretty simple!

Instalación

Installation of WP Specific Comment is quick and easy.

  1. Upload wp-specific-comment.php to the /wp-content/plugins/ directory
  2. Activate the plugin through the ‘Plugins’ menu in WordPress
  3. Place <?php wp_specific_comment($ID); ?> in your templates, where $ID is will be the numerical ID for the comment you want returned.
  4. Add additional WordPress Comment Tags to display the desired data.

Reseñas

No hay valoraciones para este plugin.

Colaboradores y desarrolladores

«WP Specific Comment» es un software de código abierto. Las siguientes personas han colaborado con este plugin.

Colaboradores

Traduce «WP Specific Comment» 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.