Download the PHP package morningtrain/wp-breadcrumbs without Composer
On this page you can find all versions of the php package morningtrain/wp-breadcrumbs. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download morningtrain/wp-breadcrumbs
More information about morningtrain/wp-breadcrumbs
Files in morningtrain/wp-breadcrumbs
Package wp-breadcrumbs
Short Description Autogenerated breadcrumbs for WordPress
License MIT
Informations about the package wp-breadcrumbs
Morningtrain\WP\Breadcrumbs
Autogenerated breadcrumbs for WordPress.
Table of Contents
- Introduction
- Getting Started
- Installation
- Usage
- Credits
- License
Introduction
This package is made to make it simple to add breadcrumbs to WordPress.
Getting started
To get started install the package as described below in Installation.
To use the package have a look at Usage
Installation
Install with composer.
Usage
To get started with the module simply compose and render the breadcrumbs.
Change Seperator
You can change the seperator by calling seperator
on the BreadcrumbGenerator.
Hide on Front Page
You can easily hide the breadcrumbs on the frontpage by calling hideOnFrontPage
on the BreadcrumbGenerator.
Remove Prefixed Front Page
You can remove the prefixed front page breadcrumb on all pages by calling hidePrefixedFrontPagePart
on the BreadcrumbGenerator.
Exclude terms
You can easily hide the terms from the breadcrumbs by using excludeTaxonomies
on the BreadcrumbGenerator.
Exclude post type archive
You can easily hide the post type archive from the breadcrumbs by using excludePostTypeArchives
on the BreadcrumbGenerator.
Alternative to Render
If you will create your own markup, you can get all breadcrumb parts by calling getBreadcrumbs
on the BreadcrumbGenerator.
Credits
- Martin Schadegg Brønniche
- All Contributors
License
The MIT License (MIT). Please see License File for more information.