Plugin Directory

Changeset 2097557


Ignore:
Timestamp:
05/29/2019 10:40:54 PM (7 years ago)
Author:
deano1987
Message:

small schema issue fixed.

Location:
schema-breadcrumbs
Files:
6 added
2 edited

Legend:

Unmodified
Added
Removed
  • schema-breadcrumbs/trunk/readme.txt

    r2087704 r2097557  
    55Requires at least: 2.2
    66Tested up to: 5.1.1
    7 stable tag: 1.4.6
     7stable tag: 1.4.7
    88
    99Very easily add breadcrumbs to your site with valid Schema Breadcrumb Markup, this plugin is also a drop-in replacement for RDFa Breadcrumb, just install this and deactivate RDFa Breadcrumb.
     
    3131
    3232== Changelog ==
     33
     34= 1.4.7 =
     35* fixed small issue in schema.
    3336
    3437= 1.4.6 =
  • schema-breadcrumbs/trunk/schema-breadcrumbs.php

    r2087704 r2097557  
    33Plugin URI:   http://webdesires.co.uk
    44Description:  Outputs a fully Schema valid breadcrumb
    5 Version:      1.4.6
     5Version:      1.4.7
    66Author:       Dean Williams
    77Author URI:   http://deano.me
     
    692692             "itemListElement":
    693693             [
    694                 <?php $c=0; foreach ($schema as $breadcrumb) { $c++; if ($c > 1) { echo ',';}
     694                <?php $c=0; foreach ($schema as $breadcrumb) { if ($breadcrumb == '') {continue;} $c++; if ($c > 1) { echo ',';}
    695695                    echo $breadcrumb;
    696696                } ?>
Note: See TracChangeset for help on using the changeset viewer.