• Resolved kuck1u

    (@kuck1u)


    Hi !

    When opened the article page by a custom post type, an error occurs in the functions.php 1326 line.
    I think that this is because it cannot acquire a category in get_the_category.

    // functions.php
    1325: $cat = get_the_category();
    1326: $cat = $cat[count( $cat )-1];
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘chocolat_breadcrumb will fail in the custom post type.’ is closed to new replies.