WP Bootstrap Comments Wordpress Plugin - Rating, Reviews, Demo & Download
Plugin Description
A comment Walker class that creates native WordPress comment lists using Bootstrap Media Object markup/classes. See: http://getbootstrap.com/components/#media
For support and official documentation see the plugin’s home page here: http://darrinb.com/plugins/wp-bootstrap-comments
Usage
Add a call to the WP_Bootstrap_Comments_Walker()
class in wp_list_comments()
in your comments.php
template.
<?php
wp_list_comments( array(
'style' => 'div',
'short_ping' => true,
'avatar_size' => 42,
'walker' => new WP_Bootstrap_Comments_Walker(),
) );
?>
To use Bootstrap’s native media list styling change <ol class="comment-list">
to <ul class="media-list">
.
<ul class="media-list">
<?php
wp_list_comments( array(
'style' => 'ul',
'short_ping' => true,
'avatar_size' => 42,
'walker' => new WP_Bootstrap_Comments_Walker(),
) );
?>
</ul><!-- .media-list -->
Screenshots
No screenshots provided