Created
September 28, 2014 01:18
-
-
Save jmcclellan/b2d97ffee0e924e28fa1 to your computer and use it in GitHub Desktop.
Override Yoast SEO Breadcrumb Trail
@strarsis this is more elegant. Points for mentioning this here 👍
This causes errors on PHP 7.2+
class-breadcrumbs.php:456 ->Warning count(): Parameter must be an array or an object that implements Countable
How do I add two links to the trail? For example /about-us/podcasts/postcast-title? I can add one (podcasts), but I'm not sure how to add both /about-us/podcasts/ - any ideas?
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
You can also specify just an ID for a post, name + url are then generated automatically, e.g.: