Title: Breadcrumbs bug
Last modified: August 22, 2016

---

# Breadcrumbs bug

 *  Resolved [peterthomson](https://wordpress.org/support/users/peterthomson/)
 * (@peterthomson)
 * [11 years, 7 months ago](https://wordpress.org/support/topic/breadcrumbs-bug/)
 * 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
    Peter

Viewing 2 replies - 1 through 2 (of 2 total)

 *  Theme Author [Chris Reynolds](https://wordpress.org/support/users/jazzs3quence/)
 * (@jazzs3quence)
 * [11 years, 5 months ago](https://wordpress.org/support/topic/breadcrumbs-bug/#post-5430512)
 * Thanks for reporting this. I was able to reproduce the bug. I’ve created a ticket
   for it on the Github repo: [https://github.com/jazzsequence/museum-core/issues/74](https://github.com/jazzsequence/museum-core/issues/74)
 *  Theme Author [Chris Reynolds](https://wordpress.org/support/users/jazzs3quence/)
 * (@jazzs3quence)
 * [11 years, 4 months ago](https://wordpress.org/support/topic/breadcrumbs-bug/#post-5430516)
 * fixed in 2.1.2

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Breadcrumbs bug’ is closed to new replies.

 * ![](https://i0.wp.com/themes.svn.wordpress.org/museum-core/2.1.6/screenshot.png)
 * Museum Core
 * [Support Threads](https://wordpress.org/support/theme/museum-core/)
 * [Active Topics](https://wordpress.org/support/theme/museum-core/active/)
 * [Unresolved Topics](https://wordpress.org/support/theme/museum-core/unresolved/)
 * [Reviews](https://wordpress.org/support/theme/museum-core/reviews/)

 * 2 replies
 * 2 participants
 * Last reply from: [Chris Reynolds](https://wordpress.org/support/users/jazzs3quence/)
 * Last activity: [11 years, 4 months ago](https://wordpress.org/support/topic/breadcrumbs-bug/#post-5430516)
 * Status: resolved