wordpress breadcrumb


/ Published in: PHP
Save to your folder(s)

A custom breadcrumb function for WordPress that I created for a client.

You can pass 2 arguments, the first being the text you want to display in front of the breadcrumb and the second is to hide the home item in the breadcrumb

It will give each item a class and also the last item will receive a class active so you can style it more easily. I always welcome feedback (good or bad)

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.