Custom posty type (Breadcrumbs)
-
Hi,
I’m using the Swatch theme from Woothemes. In this theme you’ve got a custom post type “Portfolio” which I’ll be using for showing references. Now problem is that whenever you go to the individual post page the breadcrumbs are showing the wrong path (for me).
Let me show you in detail, here’s the overview page of all references to which I want the breadcrumb to go back (when at individual post page). Let’s say breadcrumb should be like: Home > referenties > xproject.
For the moment is shows like: Home > portfolio > xcategory > xproject where both ‘portfolio’ as ‘xcategory’ are the wrong pages to go back to.Now what I’ve tried was to add a metabox to set manually the ParentID by putting this code to functions.php:
[ Lines of code moderated. For more than 10 lines of code please use pastebin.com instead. ]
So now manually can give in the Parent ID of the post. Anyway this has not helped because it still the breadcrumbs trail is wrong. (here you can see an example: http://furanflex.be/referentie/justitiepaleis-brussel/
Here is the page where eacht indiv post page should track back to: http://furanflex.be/referenties/
Can anyone help me find out what I can do to overrule this and get the following breadcrumbs trail at the indiv post pages:
home > referenties > xindivpostpageThanks a lot!
Greetings MJ
The topic ‘Custom posty type (Breadcrumbs)’ is closed to new replies.