Opis
A simple shortcode to include Yoast SEO’s breadcrumb function everywhere on your WordPress website. You have to install and activate the WordPress SEO by Yoast plugin and enable breadcrumb option to use this shortcode.
With this shortcode you can put Yoast’s fantastic breadcrumb feature manually into every post and page or even into custom post types. If your theme supports it, you can use this shortcode in your widget areas with the Text widget.
The shortcode:
[yoast-breadcrumb]
There are two parameters for this shortcode:
- before – The code that your breadcrumb should be prefixed with. Default value:
<div class="breadcrumb" itemprop="breadcrumb">
- after – The code that should be added on the back of your breadcrumb. Default value:
</div>
You can read more informations about Yoast’s breadcrumb function here: Yoast Breadcrumbs – WordPress Breadcrumbs
Do you want to contribute or help improving this plugin?
You can find it on GitHub: https://github.com/Surbma/surbma-yoast-breadcrumb-shortcode
You can find my other plugins and projects on GitHub:
Please feel free to contribute, help or recommend any new features for my plugins, themes and other projects.
Do you want to know more about me?
Visit my webpage: Surbma.com
Instalacja
- Upload
surbma-yoast-breadcrumb-shortcode
folder to the/wp-content/plugins/
directory - Activate the Surbma – Yoast SEO Breadcrumb Shortcode plugin through the 'Plugins’ menu in WordPress
- That’s it. Now you can use the shortcode. 🙂
Najczęściej zadawane pytania
-
You can read more informations about Yoast SEO’s breadcrumb function here: Yoast Breadcrumbs – WordPress Breadcrumbs
-
Yes, you can with css. The default class for this block is breadcrumb, but you can modify the prefix code, as you like.
-
Doesn’t Yoast SEO plugin have it’s own shortcode?
-
Yes, it does have a shortcode
[wpseo-breadcrumb]
, but it does not accept any parameters, so my shortcode is a little bit better. 🙂 -
What does Surbma mean?
-
It is the reverse version of my last name. 😉
Recenzje
Kontrybutorzy i deweloperzy
„Surbma | Yoast SEO Breadcrumb Shortcode” jest oprogramowaniem open source. Poniższe osoby miały wkład w rozwój wtyczki.
ZaangażowaniWtyczka „Surbma | Yoast SEO Breadcrumb Shortcode” została przetłumaczona na 2 języki. Podziękuj tłumaczom za ich wkład.
Przetłumacz wtyczkę “Surbma | Yoast SEO Breadcrumb Shortcode” na swój język.
Interesuje cię rozwój wtyczki?
Przeglądaj kod, sprawdź repozytorium SVN lub czytaj dziennik rozwoju przez RSS.
Rejestr zmian
1.1
- Release date: 2019-05-09
- TWEAK – Minor changes in description.
- TWEAK – New shorter version numbering.
- Tested up to WordPress 5.2 version.
- Tested up to Yoast SEO 11.x version.
- Added minimum PHP requirement.
1.0.4
- Fixed compatibility with Yoast SEO 7.0.x versions.
- Tested up to WordPress 4.9 version.
1.0.3
- Fixed shortcode’s return function. Props to danieledesantis
- Tested up to WordPress 4.2 version.
- Description text modifications.
1.0.2
- Fix localization.
- Prevent direct access to the plugin.
1.0.1
- Fixed typo.
1.0.0
- Initial release.
- Added localization.
- First commit to WordPress repo.