single-posttype breadcrumbs issue
-
Hello all,
I seem to have a problem with the use of archive-posttype and single-posttype.
I created a Custom Post Type called portfolio in functions.php. So far so good. It all goes well when I create a page (archive-portfolio.php) to display all the portfolio items, but it goes wrong when I try to create a single display for a portfolio item.
I created a single-portfolio.php for that, but somehow it doesn’t display the ‘motherpage’ in the breadcrumbs (I’m using Yoast’s for that)
It shows up as: home -> portfolio item, where I want it to say: home -> portfolio -> portfolio item. It also doesn’t give the ‘current-page-item’ class to my portfolio page in the menu (wp-list-items())
I hope it’s clear what I mean and I also hope some one can point me in the right direction.
Thanks.
- The topic ‘single-posttype breadcrumbs issue’ is closed to new replies.