Index short code = Broke
-
What happened? The index doesnt display properly anymore. here is what I have in my functions file
function recent_bbpress_topics() { echo do_shortcode("[bbp-forum-index= search='no'] [bbp-topic-form]"); } add_action('bbp_template_after_topics_index','recent_bbpress_topics'); add_filter( 'bbp_current_user_can_access_create_topic_form', 'custom_bbp_access_topic_form' ); function custom_bbp_access_topic_form( $retval ) { if ( bbp_is_forum_archive() ) { $retval = bbp_current_user_can_publish_topics(); } return $retval; }
Its always worked in the past no problem. I found that if i deleted
= search='no'
then it works again. I would however prefer to not display the search bar because its redundant. Just not sure what changed to stop that original code from working.Thanks
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- You must be logged in to reply to this topic.