Skip to:
Content
Pages
Categories
Search
Top
Bottom

Reply To: customizing bbpress admin links

@robin-w

Moderator

I’ve loaded all that, my display is slightly different, but that will be styling.

When I click any ‘topic tools’ it’s just the first topic that displays, and this does so in a stacked fashion, so I can only see the first tool.

However, I played a bit with the loop single reply, and would the following help?

<div class="dropdown" id="dropdown">
				<input type="checkbox" id="drop1" />
        <label for="drop1" class="dropdown_button">Topic Tools</label>
		<?php if (bbp_is_topic(bbp_get_reply_id()) ) { ?>
		<ul class="dropdown_content">
            <li class="active"></li>
              <li> <?php echo bbp_get_reply_edit_link(); ?></li>
              <li><?php echo bbp_get_reply_spam_link(); ?></li>
              <li><?php echo bbp_get_reply_move_link(); ?></li>
        </ul>
		<?php } ?>
		<?php if (bbp_is_reply(bbp_get_reply_id()) ) { ?>
		<ul class="dropdown_content">
         <li class="active"></li>
			<li><?php echo bbp_get_reply_spam_link(); ?></li>
             <li><?php echo bbp_get_reply_move_link(); ?></li>
         </ul>
		<?php } ?>
        
    </div>

basically it adds if-topic and if reply choices

Skip to toolbar