akkkarki (@akkkarki)

Forum Replies Created

Viewing 1 replies (of 1 total)

  • akkkarki
    Participant

    @akkkarki

    Meanwhile I’ve solved the problem myself; it was a just a silly exception, which caused the page not to load wholly. Here’s my solution:

    in the /themes/academica/functions/theme/functions.php change this part (lines 143-149):

        } elseif ( is_single() ) {
          if (!is_attachment()) {
          $cat = get_the_category(); $cat = $cat[0];
          echo get_category_parents($cat, TRUE, ' ' . $delimiter . ' ');
          echo $currentBefore;
          the_title();
          echo $currentAfter; }

    to this:

        } elseif ( is_single() ) {
          if (!is_attachment()) {
    	    $cat = get_the_category(); $cat = $cat[0];
    		//support bbPress
    		if (empty($cat)) {
    		  echo $currentBefore;
              the_title();
              echo $currentAfter;
    	    } else {
    		  echo get_category_parents($cat, TRUE, ' ' . $delimiter . ' ');
              echo $currentBefore;
              the_title();
              echo $currentAfter;
    		}
          }

    That’s it, bbPress now works like a charm! 😉

    Cheers!

Viewing 1 replies (of 1 total)