Wordpress - Display tags in list without link
This would do it...
<?php
$posttags = get_the_tags();
if ($posttags) {
echo '<ul>';
foreach($posttags as $tag) {
echo '<li>' .$tag->name. '</li>';
}
echo '</ul>';
}
?>
This would do it...
<?php
$posttags = get_the_tags();
if ($posttags) {
echo '<ul>';
foreach($posttags as $tag) {
echo '<li>' .$tag->name. '</li>';
}
echo '</ul>';
}
?>