• Hi there, first of all sorry for my english.

    I’ve doubt about the func do_patH_parents with the do_post_type_archive_items for my custom post type. I set the rewrite to


    'rewrite' => array( 'slug' => 'lookbook', 'with_front' => false )

    and in my post type archive the Lookbook appear twice.
    This is how the breadcrumb show in that page Home \ Lookbook \ LookBook with the first Lookbook text as link.

    There is something wrong with my register post type or it is the correct behavior of the plugin?

    Thank you so much for the respond.

    https://wordpress.org/plugins/breadcrumb-trail/

Viewing 1 replies (of 1 total)
  • Plugin Author Justin Tadlock

    (@greenshady)

    This typically happens because you have a paged named “Lookbook”. That page should be permanently deleted since it conflicts with the post type archive.

Viewing 1 replies (of 1 total)
  • The topic ‘About do_path_parents in do_post_type_archive_items func’ is closed to new replies.