This tiny update adds a new setting and shortcode attribute for breadcrumb title output, letting you choose between meta titles or page titles. We rushed this one out because our notification didn’t work, and we do not want to send out notifications without giving a feature in return. Enjoy!
Detailed log
> View code changes.
> View closed GitHub issue.
For everyone
- Upgraded: Now uses TSF database version 5140.
- Added:
- New setting under “SEO Settings → Schema.org → Breadcrumbs” to choose between meta titles or page titles for breadcrumb output.
- Meta titles are the custom SEO titles inputted via the SEO settings.
- Page titles are the plain titles from the editor.
- For existing sites, meta titles will be used by default (backward compatible).
- For new sites, page titles will be used by default.
- New
titleattribute for the[tsf_breadcrumb]shortcode. Acceptsmetaorpageto override the global setting.
- New setting under “SEO Settings → Schema.org → Breadcrumbs” to choose between meta titles or page titles for breadcrumb output.
For translators
- Added:
- New sentences are available for translation.
- Updated:
- POT translation file.
For developers
- Option notes:
- Of option
autodescription-site-settings(constantTHE_SEO_FRAMEWORK_SITE_OPTIONS, pooltsf()->data()->plugin(), or legacy APItsf()->get_options()):- Added index
breadcrumb_use_meta_title. Default0. Set to1on upgrade for backward compatibility.
- Added index
- Of option
- PHP API notes:
- Changed:
The_SEO_Framework\Meta\Breadcrumbs::get_breadcrumb_list()(tsf()->breadcrumbs()->get_breadcrumb_list()) now accepts a second parameter$options:use_meta_title(bool|null): Whether to use meta titles instead of page titles. Defaults to thebreadcrumb_use_meta_titleoption.
- Changed: