Home Features Download v18.5 Child theme GGitHub

Breadcrumbs

To display smart breadcrumbs, use the artware_breadcrumbs(); function. This function accepts an optional custom separator icon along with width and height attributes.

// Without parameters, the default separator is a dash (—)
artware_breadcrumbs();

// Change the separator with a character
artware_breadcrumbs(' > ');

// To use a custom separator image, specify the image path and its dimensions
artware_breadcrumbs('path/to/your/image.svg', '20', '20');

The function recognizes posts, pages, tags, custom post types and categories.
If multiple terms found, it returns only the first one.

🦁 Gridy