Surbma | Yoast SEO Breadcrumb Shortcode

Опис

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.

Скорочений код:
[yoast-breadcrumb]

There are two parameters for this shortcode:

  1. before – The code that your breadcrumb should be prefixed with. Default value: <div class="breadcrumb" itemprop="breadcrumb">
  2. 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?

Ви можете знайти його на GitHub: https://github.com/Surbma/surbma-yoast-breadcrumb-shortcode

You can find my other plugins and projects on GitHub:

https://github.com/Surbma

Please feel free to contribute, help or recommend any new features for my plugins, themes and other projects.

Хочете дізнатися про мене більше?

Відвідайте мій сайт: Surbma.com

Встановлення

  1. Upload surbma-yoast-breadcrumb-shortcode folder to the /wp-content/plugins/ directory
  2. Activate the Surbma – Yoast SEO Breadcrumb Shortcode plugin through the ‘Plugins’ menu in WordPress
  3. That’s it. Now you can use the shortcode. 🙂

Часті питання

Що таке Yoast SEO Breadcrumb?

You can read more informations about Yoast SEO’s breadcrumb function here: Yoast Breadcrumbs – WordPress Breadcrumbs

Can I customize the look of the breadcrumb?

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. 😉

Відгуки

03.09.2016
I like the idea of this plugin. It picks up where the Yoast plugin leaves off by adding breadcrumbs to the rest of your pages which Google is looking for. I just can't get it running on WordPress 4.3.1.
08.02.2017
Super simple to install and add to any page or post. However, adding it manually instead of a sitewide setting can be bit of a problem. It would be nice to see some basic settings of customizing it, such as no background or background transparency, change text color etc. Can you please provide the CSS code to modify it? See an example of what we did: http://www.stressebook.com/blog/ This one was in the blog settings feature area, where you can add HTML, shortcodes or anything else to show up just below the header. <div class="breadcrumb"> <pre><code>[yoast-breadcrumb]</code></pre> </div> We can also add it within each blog post at the top of the post in the editor. We used the HTML tab instead of the View tab in the editor. Here is another example: http://www.stressebook.com/good-stress-engineer-qualities-part-4/
Прочитати всі 9 відгуків

Учасники та розробники

“Surbma | Yoast SEO Breadcrumb Shortcode” — проект з відкритим вихідним кодом. В розвиток плагіну внесли свій вклад наступні учасники:

Учасники

“Surbma | Yoast SEO Breadcrumb Shortcode” було перекладено на 2 локалізації. Дякуємо перекладачам за їх роботу.

Перекладіть “Surbma | Yoast SEO Breadcrumb Shortcode” на вашу мову.

Цікавитесь розробкою?

Browse the code, check out the SVN repository, or subscribe to the development log by RSS.

Журнал змін

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.
  • Протестовано з версіями до WordPress 4.9.

1.0.3

  • Fixed shortcode’s return function. Props to danieledesantis
  • Протестовано з версіями до WordPress 4.2.
  • 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.