Title: Using Parameters with the shortcode
Last modified: August 31, 2016

---

# Using Parameters with the shortcode

 *  Resolved [janetdakey](https://wordpress.org/support/users/janetdakey/)
 * (@janetdakey)
 * [10 years, 2 months ago](https://wordpress.org/support/topic/using-parameters-with-the-shortcode/)
 * Could you please post an example of the shortcode with parameters?
 * I would like to insert a product category between Home>> and the current page
   name.
 * Right now the shortcode displays this:
    Home >> Projector Rentals
 * But it should show this:
    Home >> Rentals >> Projector Rentals
 * [https://wordpress.org/plugins/surbma-yoast-breadcrumb-shortcode/](https://wordpress.org/plugins/surbma-yoast-breadcrumb-shortcode/)

Viewing 4 replies - 1 through 4 (of 4 total)

 *  Plugin Author [Surbma](https://wordpress.org/support/users/surbma/)
 * (@surbma)
 * [10 years, 2 months ago](https://wordpress.org/support/topic/using-parameters-with-the-shortcode/#post-7197238)
 * Hi janetdakey,
 * there are only two parameters for this shortcode:
 * `[yoast-breadcrumb before="<div class="breadcrumb" itemprop="breadcrumb">" after
   ="</div>"]`
 * These parameters are for the html markup, not for any functions inside the breadcrumbs.
   This shortcode is “just” displaying the breadcrumb, it is not modifying it.
 * What you want to do is not possible with this plugin. There is a setting page
   for breadcrumbs, you should take a look at those options.
 *  [Ninjamankid](https://wordpress.org/support/users/ninjamankid/)
 * (@ninjamankid)
 * [9 years, 5 months ago](https://wordpress.org/support/topic/using-parameters-with-the-shortcode/#post-8638209)
 * Hi,
    so this is how the code must look? I’ve been using only <div class=”breadcrumb”
   >[yoast-breadcrumb]</div> and nothing more (works). Maybe that’s why I get error
   message in Google Search Console’s AMP page saying “the tag span can’t have attribute
   xmlns:v”. Or how do you get rid of the error message? Sorry for hijacking the
   thread, but I suspect the error message might have something to do with me not
   using the full code.
 * **Update:** I tried the above code but the xmlns:v stays. So how do you get rid
   of it, since Google dislikes it? 🙂
 * Kind Regards
    Johan
    -  This reply was modified 9 years, 5 months ago by [Ninjamankid](https://wordpress.org/support/users/ninjamankid/).
 *  Plugin Author [Surbma](https://wordpress.org/support/users/surbma/)
 * (@surbma)
 * [9 years, 5 months ago](https://wordpress.org/support/topic/using-parameters-with-the-shortcode/#post-8638312)
 * Johan you have to understand, that this shortcode is just diplaying Yoast’s breadcrumb.
   Whatever markup or functional questions you have, you have to ask Yoast. I really
   can’t help you in this issue.
 *  [Ninjamankid](https://wordpress.org/support/users/ninjamankid/)
 * (@ninjamankid)
 * [9 years, 5 months ago](https://wordpress.org/support/topic/using-parameters-with-the-shortcode/#post-8638407)
 * Hi,
 * thanks for the help! I’ll turn to Yoast.
 * Johan

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘Using Parameters with the shortcode’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/surbma-yoast-breadcrumb-shortcode_e9eaec.
   svg)
 * [Surbma | Yoast SEO Breadcrumb Shortcode](https://wordpress.org/plugins/surbma-yoast-breadcrumb-shortcode/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/surbma-yoast-breadcrumb-shortcode/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/surbma-yoast-breadcrumb-shortcode/)
 * [Active Topics](https://wordpress.org/support/plugin/surbma-yoast-breadcrumb-shortcode/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/surbma-yoast-breadcrumb-shortcode/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/surbma-yoast-breadcrumb-shortcode/reviews/)

 * 4 replies
 * 3 participants
 * Last reply from: [Ninjamankid](https://wordpress.org/support/users/ninjamankid/)
 * Last activity: [9 years, 5 months ago](https://wordpress.org/support/topic/using-parameters-with-the-shortcode/#post-8638407)
 * Status: resolved