Forum Replies Created
Viewing 3 replies - 1 through 3 (of 3 total)
-
In reply to: WordPress /author/ page and bbPress /user/ page
I don’t suppose you can tell me what I need to do to get the user_id that links up with the author profile?
Thanks
In reply to: WordPress /author/ page and bbPress /user/ pageHi Pascal,
Thanks, updating the wordpress profile is not a problem I can do that.
However using the code from bbPress profile such as:
<?php do_action( 'bbp_template_before_user_profile' ); ?> <div id="bbp-user-profile" class="bbp-user-profile"> <h1>View Users Trading Profile Here <?php get_the_author_id(); ?></h1> <h2 class="entry-title"><?php _e( 'Profile', 'bbpress' ); ?></h2> <div class="bbp-user-section"> <?php if ( bbp_get_displayed_user_field( 'description' ) ) : ?> <p class="bbp-user-description"><?php bbp_displayed_user_field( 'description' ); ?></p> <?php endif; ?> <p class="bbp-user-forum-role"><?php printf( __( 'Role: %s', 'bbpress' ), bbp_get_user_display_role() ); ?></p> <p class="bbp-user-topic-count"><?php printf( __( 'Topics Started: %s', 'bbpress' ), bbp_get_user_topic_count_raw() ); ?></p> <p class="bbp-user-reply-count"><?php printf( __( 'Replies Created: %s', 'bbpress' ), bbp_get_user_reply_count_raw() ); ?></p> </div> </div><!-- #bbp-author-topics-started --> <?php do_action( 'bbp_template_after_user_profile' ); ?>
added to my author.php doesn’t work.
I presume its because its not tied to the bbPress ‘user’ profile?
In reply to: WordPress /author/ page and bbPress /user/ pageYou sir are a legend, that worked perfectly.
Would it be hard to put the user details onto my author page?
(topics created, replies created then a list of each).I can create tabs at the bottom like on my current author pages and put the code to show the information in there.
Viewing 3 replies - 1 through 3 (of 3 total)