Solution for Tags not getting deleted in user installed Themes
I have seen many people asking that tags are not getting deleted in bbPress 1.0 (Even I faced the same problem, but it was working in the default theme). So I just thought of writing a solution for it.
Open the topic-tags.php of your theme.
You would find something like this:
<?php if ( $public_tags ) : ?>
<?php foreach ( $public_tags as $tag ) : ?>
<li id="tag-<?php echo $tag->tag_id; ?>_<?php echo $tag->user_id; ?>">
<a href="<?php bb_tag_link(); ?>" rel="tag"><?php bb_tag_name(); ?></a> <?php $tags = bb_get_tag_remove_link (); if ($tags) echo '<small>'.$tags.'</small>'; ?>
<?php endforeach; ?>
Replace it with:
<?php if ( bb_get_topic_tags() ) : ?>
<?php bb_list_tags(); ?>
You can also view the changes to topic-tags.php of the default theme in the trac:
- You must be logged in to reply to this topic.