I know this general question has been asked before (like here and here), but the problem is with my limited experience, I cannot get the results I need looking at other people's code. So here's my question: What is the best way to change the breadcrumb link "Explore" on this page: http://example.com/explore/photos/
from this: http://example.com/explore/explore/ to this: http://example.com/explore/ ?
I know this is a bit of a hack - but with my current theme I believe it would be the easiest way to get things working the way I want.
The way my current theme is setup, I have a custom post type of gallery, to which I made the slug to be "explore" (to match my site's menu hierarchy). But then, in order to get the "photos" to correctly show up in the hierarchy in breadcrumbs using the SEO Yoast plugin (from what I understand though, the plugin just follows Wordpress when it comes to permalinks), I had to add a gallery category parent of "explore". So all I want to do it "fake" the url of http://example.com/explore/ whenever http://example.com/explore/explore/ is shown. Ideally, this would happen server side as the breadcrumb is written, so when I mouseover the link in the breadcrumb, http://example.com/explore/ would be shown.
example.com
for questions? First all links anyway haverel="nofollow"
, second it's good practice and easier to read. Thank you!