Forum Replies Created

Viewing 1 replies (of 1 total)
  • I am also having the same issue in category pages using the archive.php file.

    I downloaded and activated the theme approx. 2 years ago (readme.txt Changelog last dated 29 October 2015, Contributors: automattic):
    https://wordpress.com/theme/big-brother

    I’ve been using the theme without any issues until now. After updating WordPress to 4.8.1 the category page returns a blank page after the breadcrumb.

    The following function seems to be the issue.

    function big_brother_the_breadcrumbs() .

    if ( is_category() ) {
    global $wp_query;
    $cat = get_category( $wp_query->get_queried_object()->term_id );
    $cat_parents = get_category_parents( get_category( $cat->parent ), true, ‘<span class=”sep”></span>’ );

    if ( 0 < $cat->parent && ! is_wp_error( $cat_parents ) )
    echo ‘<span class=”breadcrumbs-ancestor cat-parents”>’ . $cat_parents . ‘</span>’;
    echo $before . single_cat_title( ”, false ) . $after;

    }

    Removing the breadcrumbs function from the archive.php file fixes the site but now I no longer have this functionality.

    Can you please update the theme to fix this issue.

Viewing 1 replies (of 1 total)