Support » Theme: Blogim » Breadcrumb Bug

  • Resolved relish1227

    (@relish1227)



    My client is using the Blogim theme and noticed that if you use the search, the Home link in the breadcrumb on the resulting page doesn’t work. The format is like this:

    http://blog.test.com/esc_url(http://blog.test.com/)

    Looks like it’s in /functions/breadcrumbs.php line 34:

    $link = $linkBefore . '<a' . $linkAttr . ' href="esc_url(%1$s)">%2$s</a>' . $linkAfter;

    That “esc_url” is being output as text. The fix would be:

    $link = $linkBefore . '<a' . $linkAttr . ' href="' . esc_url('%1$s') . '">%2$s</a>' . $linkAfter;

    • This topic was modified 1 year, 10 months ago by  relish1227.
Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Breadcrumb Bug’ is closed to new replies.