Suggestion for enhanced widget-functionality
-
Hi Robin,
first of all, thank you for your great plugin, it is a great gift for the UX of my community-page.I have a suggestion for you, to refine the UX further:
At the moment, the topic-titles of your widget link to the latest reply, which is undesirable for some of my users, so how about putting the link to the latest reply on the words “reply by” itself?
Like this:
(widgets.php – line 192)<li> <a class="bsp-la-reply-topic-title" href="<?php bbp_topic_permalink( $topic_id ); ?>"><?php bbp_topic_title( $topic_id ); ?></a> <?php if ( ! empty( $author_link ) ) : ?> <div class = "bsp-activity-author"> <?php if (empty($reply)) { echo '<span class="bsp-la-text">' ; printf( _x( 'topic by %1$s', 'widgets', 'bbp-style-pack' ), '</span> <span class="bsp-la-topic-author topic-author">' . $author_link . '</span>' ); } else { echo '<a class="bsp-la-text" href="' . esc_url( bbp_get_reply_url( $reply ) ) . '" title="' . esc_attr( bbp_get_reply_excerpt( $reply, 50 ) ) . '">' ; printf( _x( 'reply by %1$s', 'widgets', 'bbp-style-pack' ), '</a> <span class=" bsp-la-topic-author topic-author">' . $author_link . '</span>' ); } ?> </div> <?php endif; ?>Regards Dominik
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
The topic ‘Suggestion for enhanced widget-functionality’ is closed to new replies.