Support » Plugin: RDFa Breadcrumb » rich snippet tool missing out last item

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Nitin Yawalkar

    (@yawalkarm)

    Its because of the last item is not linked.

    I will fix it in the next update with a check box for turning on the last item to be linked or not.

    Till, you may try this:

    • Go to Dashboard -> Plugins -> Editor and choose the RDFa-Breadcrumb from plugins dropdown list.
    • Now Open the file rdfa-breadcrumbs.php
    • Go to line no. 147 or find the following code:
      $item['last'] = get_the_title();
    • Now, replace it with the following code:
      $item['last'] = '<span typeof="v:Breadcrumb"><a rel="v:url" property="v:title" href="' . get_permalink() ) . '">' . get_the_title() ) . '</a></span>';
    • If this doesn’t work, please replace it with the original and wait till the next update.

    Thanks.

    this actually isnt to do with the last item linking as i have tried this in a previous site.

    This is to do with the way google displays breadcrumbs in its search. It doens’t link the past page because the main search result is the last page. the breadcrumbs are the pages above

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘rich snippet tool missing out last item’ is closed to new replies.