bongzilla

Untitled

Feb 9th, 2021
85
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. add_filter('wpseo_breadcrumb_single_link' ,'add_single_link', 10 ,2);
  2.  
  3. function add_single_link($link_output, $link ){
  4. $output = array();
  5.  
  6. for ($i = 0; $i <= 0; $i++) {
  7. array_push($output, "<span><a href=". $link["url"] .">" . $link["text"] . "</a></span>");
  8. }
  9.  
  10. $html_output = "";
  11.  
  12. foreach ($output as $crumb) {
  13. $html_output .= $crumb;
  14. }
  15.  
  16. return $html_output;
  17. }
RAW Paste Data