This is the workaround for Issue #3 that I have temporarily put in the functions.php file in my AskBug-child theme. function fixing_user_profile_page_breadcrumbs($a){ $current_page = ap_current_page(); if($current_page == 'user'){ $current_user = wp_get_current_user(); $user_id = get_query_var( 'ap_user_id' ); $title = ap_page_title(); //is in the format <Username> | <profile-sub-page> $title = explode('|', $title); $title = $title[1]; // index 1 will contain <profile-sub-page> $title = sanitize_title($title); if($current_user->ID === $user_id){ $a['page']['link'] .= $current_user->user_login.'/'.$title.'/'; }else{ $current_user = get_userdata($user_id); $a['page']['link'] .= $current_user->user_login.'/'.$title.'/'; } } return $a; } add_filter( 'ap_breadcrumbs', 'fixing_user_profile_page_breadcrumbs',1,10);
Still not working. My current code is: <?php global $questions; $questions = ap_get_questions(array('showposts' => 5)); ?> <?php if ( ap_have_questions() ) : ?> <div class="ap-questions"> <?php /* Start the Loop */ while ( ap_questions() ) : ap_the_question(); ap_get_template_part('content-list'); endwhile; ?> </div> <?php ap_questions_the_pagination(); ?> <?php else : ap_get_template_part('content-none'); endif; ?> The error I get is: Fatal error: Uncaught Error: Call to undefined function ap_questions() Please advice 🙂
If you are using AskBUg then you can add users page to your menu. Else you have to add codes manually. I have posted solution in our support forum please search.
Yes its is latest version.
Yes, looks simple and it’s great to add to that area “how to answer” area with tab.