j_mo (@j_mo)

Forum Replies Created

Viewing 3 replies - 1 through 3 (of 3 total)

  • j_mo
    Participant

    @j_mo

    Hi Pascal,

    I’ve used [bbp-login], [bbp-register] and [bbp-lost-pass] to create fronted profile pages so am wondering if there’s a [bbp-change-pass] shortcode or something? Or if not, are there alternatives?

    Cheers


    j_mo
    Participant

    @j_mo

    Solved it! I had to get the ID of the ‘topic’ custom post type and pass it to bbp_topic_reply_count

    <?php if ( 'topic' == get_post_type()  ) : ?>
    
    				<?php $topic = get_the_ID(); ?>
                        		<article class="bit-4 newsPost grid-sizer grid-item">
                                	<div class="eventInner homePost">
                                        <p class="postLabel">Discussion</p>
                        				<h1 class="eventListTitle"><a href="<?php the_permalink(); ?> "><?php the_title(); ?></a></h1>
                                        <p class="postedOn"><?php the_date('d M Y'); ?>, <?php bbp_topic_reply_count(  $topic_id = $topic ); ?></p>
                                		<p><?php echo get_excerpt(); ?></p>
                                    </div>
                            	</article>
    						<?php endif; ?>

    j_mo
    Participant

    @j_mo

    Thanks

    Is there a show_topic_ID() or something?

Viewing 3 replies - 1 through 3 (of 3 total)