Support » Plugin: RDFa Breadcrumb » [Plugin: RDFa Breadcrumb] How can i change the tag output?

  • Resolved Julian

    (@sevensupreme)


    Hi,

    the standard output of a tag is

    Home → the tag

    I found out that

    $item['last'] = $term->name;

    in the rdfa-breadcrumbs.php is responsible for that. I am (still) not a pro in coding. I simply want to change the output to:

    Home → Articels with the tag ‘the tag’

    Thanks in advance.

    http://wordpress.org/extend/plugins/rdfa-breadcrumb/

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

    (@yawalkarm)

    Use the following solution :

    • Enter the following code RIGHT BEFORE if ( is_category() || is_tag() || is_tax() ) { :
      if(is_tag()) { $tagged = "Tagged "; }
      		if(is_category()) { $tagged = "Categorized "; }
    • Add the following line RIGHT AFTER $item['last'] = $term->name; :
      $item['last'] = __( 'Articles ' .$tagged .'with <strong>', 'rdfa-breadcrumb' ) . $term->name . __( ' </strong> ', 'rdfa-breadcrumb') ;

      This will show the breadcrumb with separate “Categorized” and “Tagged” pages.

      If this will help to solve your problem, Please Rate this plugin with 5* and Vote as “Working” or you may write an article on your blog about this plugin and link back to it.

      Thanks for asking your query. This will help me to improve my plugin.

    Julian

    (@sevensupreme)

    It is working. Thank you for the quick response!

    Of course i will vote for it.

    Cheers!

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘[Plugin: RDFa Breadcrumb] How can i change the tag output?’ is closed to new replies.