Support » Theme: Museum Core » Breadcrumbs bug

  • Resolved peterthomson


    HI Chris

    I came here after reading your post on developing bootstrapped themes for WP, which I am doing now. I love what you did with Museum Core.

    I thought I should show you this bug on line 938 of your functions file:

    while ( $parent_id ) {
                        $page = get_post($parent_id);
                        $breadcrumbs[] = '<li><span typeof="v:Breadcrumb"><a rel="v:url" property="v:title" href="' . get_permalink($page->ID) . '">' . get_the_title( $page->ID ) . '</a></span></li>';

    I had adapted this for a more OOP style, but couldn’t understand the purpose of this part, and it never resolves. Try setting up a page with a parent, then browse to it with breadcrumbs on. It goes while(id) forever.

    Hope this helps

Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Breadcrumbs bug’ is closed to new replies.