Top Ten Topics using [bbp-single-view id=""] and output with page styling
-
Problem:
I want a New Topics page and a Top Ten Topics page for my forum.What I have done already:
I used Robins shortcode to create the New Topics page set as follows:[bbp-display-topic-index show=’25’ template=’short’]
It displays nicely with no search bar, breadcrumbs, viewing x topics, or pagination.
I have reviewed Robkks code provided here:
The code is as follows:
function rk_top_five_view() { bbp_register_view( 'top-five', __( '5 Most Popular Topics' ), array( 'meta_key' => '_bbp_reply_count', 'posts_per_page' => '5' , ' max_num_pages' => '1', 'orderby' => 'meta_value_num' ), false ); } add_action( 'bbp_register_views', 'rk_top_five_view' );
Unfortunately the resulting page output includes breadcrumbs, viewing x topics, and pagination. The pagination also links to spurious pages.
What I need help with:
What code do I need to add to Robkks snippet so that the output page is styled the same as the output from Robins shortcode with no breadcrumbs, viewing x topics, or pagination?Thanks in advance for your assistance.
Kind Regards
Max
- You must be logged in to reply to this topic.