• Resolved Balou

    (@harryluiten)


    I want to keep the category but I want to remove the link to it for several reasons. Searched a few hours but cannot find how to achieve this. Is it possible and yes how?

    See: http://historischekringbilthoven.nl/gezichtslaan/

    Thanks in advange

    Code in functions.php below:

    $categories_list = get_the_category_list( _x( ‘, ‘, ‘Used between list items, there is a space after the comma.’, ‘twentyfifteen’ ) );
    if ( $categories_list && twentyfifteen_categorized_blog() ) {
    printf( ‘<span class=”cat-links”><span class=”screen-reader-text”>%1$s </span>%2$s</span>’,
    _x( ‘Categories’, ‘Used before category names.’, ‘twentyfifteen’ ),
    $categories_list
    );
    }

The topic ‘Unlink get_the_category_list’ is closed to new replies.