gdcub_breadcrumbs

This shortcode is to render the breadcrumbs for the current page/post, or other location where the shortcode might be used.

Attributes

Shortcode has several attributes:

  • method: display method: plain or smart. The default value is set based on the plugin settings.
  • rich_snippet: shortcode should include the rich snippet markup. You can use following values: ‘regular’, ‘rdf’, ‘rdf_legacy’, ‘microdata’, ‘jsonld’. The default value is set based on the plugin settings. Regular value disables the rich snippet.
  • classes_prefix: prefix used to generate CSS classes for generated breadcrumb. It is not recommended to use this, or the plugin default styling will fail. If you change the prefix, you need to update all the styling too.
  • class: additional CSS classes to apply to the breadcrumb.

Example

Shortcode:

[gdcub_breadcrumbs rich_snippet="jsonld" method="plain"]

Output:

0
0
66
Rate this reference

You are not allowed to rate this post.

Comments

Leave a Reply