Im hoping this one will be an easy question to answer. Im looking to customise the output of the links in the breadcrumbs. Id like to add a span inside the link. I can do this by editing the source files like this https://www.screencast.com/t/Zi2HYqd3 in the file wp-content/plugins/seo-by-rank-math/includes/frontend/class-breadcrumbs.php However, i know this would be overwritten on the next update. Is there any way to achieve this in my functions.php file?
Thanks – Adam
The ticket ‘add markup inside the link tag in breadcrumbs’ is closed to new replies.