Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- add_filter('wpseo_breadcrumb_single_link' ,'add_single_link', 10 ,2);
- function add_single_link($link_output, $link ){
- $output = array();
- for ($i = 0; $i <= 0; $i++) {
- if($link["text"] != "Услуги") {
- array_push($output, "<span><a href=". $link["url"] .">" . $link["text"] . "</a></span>");
- }
- }
- $html_output = "";
- foreach ($output as $crumb) {
- $html_output .= $crumb;
- }
- return $html_output;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement