WP Specific Comment
Allows for the use of a template tag which returns a comment (specified by its ID) for use as an object.
Plugin info
Maintenance & Compatibility
Maintenance score
Possibly abandoned • Last updated 6089 days ago
Is WP Specific Comment abandoned?
Possibly abandoned (last update 6089 days ago).
Compatibility
Similar & Alternatives
Explore plugins with similar tags, and compare key metrics like downloads, ratings, updates, support, and WP/PHP compatibility.
Description
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 into your theme, where $ID will be the ID number for the comment you want returned.
Example:
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:
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 followed by a
Installation
Installation of WP Specific Comment is quick and easy.
- Upload
wp-specific-comment.phpto the/wp-content/plugins/directory - Activate the plugin through the ‘Plugins’ menu in WordPress
- Place
<?php wp_specific_comment($ID); ?>in your templates, where$IDis will be the numerical ID for the comment you want returned. - Add additional WordPress Comment Tags to display the desired data.