WP_Query post type topic help
I am trying to add bbpress functions such as bbp_get_topic author and so on.
<?php $args = array( 'post_type' => 'topic', 'posts_per_page' => 10 ); $loop = new WP_Query( $args ); while ( $loop->have_posts() ) : $loop->the_post(); the_title(); bbp_get_topic_author_link ( array( 'size' => '60' ) ); endwhile; ?>
I can get the_title(); and the_content(); but am having problems with getting this in:
bbp_get_topic_author_link ( array( 'size' => '60' ) );
and more so. Is there anything I’m doing wrong?
Thank you for any help I might get
You must be logged in to reply to this topic.