Breadcrumbs
Developed by azurecurve
Plugin Description
Allows breadcrumbs to be placed before and after the content.
Allows breadcrumbs to be placed before and after the content on a post, page or other public post type.
The getbreadcrumbs() function can be added to a theme template to position the breadcrumbs elsewhere on the page such as before the post heading; the [getbreadcrumbs] shortcode can also be used to place breadcrumbs.
Function usage, to avoid errors if the plugin is not active is:
if (function_exists('getbreadcrumbs')){
echo getbreadcrumbs('arrow');
}
Shortcode usage is [getbreadcrumbs=arrow] or [getbreadcrumbs=text] to choose between arrow and text breadcrumbs.
The plugin supports both text based and arrow breadcrumbs; to customise their appearance, target the azrcrv-b- classes from your theme or child theme’s own stylesheet.
Backward compatibility for those migrating from WordPress to ClassicPress has been maintained by retaining the azc_b_getbreadcrumbs() function.
This plugin is multisite compatible; each site will need settings to be configured in the admin dashboard.
- Download the latest release of the plugin from GitHub.
- Upload the entire zip file using the Plugins upload function in your ClassicPress admin panel.
- Activate the plugin.
- Configure relevant settings via the configuration page in the admin control panel (azurecurve menu).
Yes, the .pot file is in the plugin’s assets/languages folder; if you do translate this plugin, please send the .po and .mo files to [email protected] for inclusion in the next version (full credit will be given).
This plugin is developed for ClassicPress, but will likely work on WordPress.
As of version 2.0.0, breadcrumb appearance is provided by a standard stylesheet rather than CSS stored in the database and edited from Settings. Add your own CSS rules targeting the azrcrv-b- classes from your theme or child theme instead – see the Instructions tab for details.
- Rebuilt to match the current azurecurve plugin architecture (namespaced code, settings/menu split across includes files, tabbed admin UI matching the rest of the azurecurve plugin family).
- BREAKING: removed the “Style for text breadcrumbs” / “Style for arrow breadcrumbs” textareas from Settings – breadcrumb appearance is now provided by a standard stylesheet (assets/css/style.css) instead of admin-editable CSS stored in the database. Any previous customisation made via those fields will no longer be applied; use your theme/child theme’s own CSS instead.
- Extended “breadcrumbs before/after content” to Posts and other public post types – previously this only ever worked on Pages, due to an
is_page()check; the shortcode and theme function were unaffected and always worked everywhere. - Fixed a bug where the archive-breadcrumb-in-the-loop code path used
$post->post-typeinstead of$post->post_type, which is invalid PHP and fatal on PHP 8. - Fixed the shared “azurecurve” cross-plugin admin menu being rebuilt (and written to the database) on every single admin page load; it’s now only populated on plugin activation/upgrade.
- Fixed several strings using the wrong text domain (
azc_binstead of the plugin’s own), which silently failed to translate. - Fixed
esc_html_e()being used on dynamic (non-translatable) page-title text instead ofecho esc_html(). - Fixed the
[getbreadcrumbs=type]shortcode-attribute parser being a fragile, undocumented hack; it now explicitly supports both[getbreadcrumbs=arrow]and[getbreadcrumbs type="arrow"]. - Fixed the
getbreadcrumbs()/azc_b_getbreadcrumbs()theme functions echoing their output internally instead of returning it, which didn’t match their own documentedecho getbreadcrumbs('arrow');usage. - Fixed a possible infinite loop if a post/page’s parent chain is ever circular, by adding a maximum recursion depth.
- Fixed the enqueued stylesheet having no version string, so browsers had no cache-busting signal across plugin updates.
- Replaced the hard-coded plugin-index tile list with a standard, auto-generated Other Plugins tab.
- Added an Instructions tab.
- Added proper activation/deactivation hooks, consistent with the rest of the azurecurve plugin family.
- BREAKING: minimum PHP requirement raised to 8.2.
- BREAKING: text domain renamed from
breadcrumbstoazrcrv-b, and the languages folder moved from/languagesto/assets/languages; existing translation (.po/.mo) files must be re-supplied under the new domain/location. - Update readme.md and remove readme.txt (not required for ClassicPress).
- Update azurecurve menu.
- Update plugin header for compatibility with ClasssicPress v2.
- Update plugin header and readme for compatibility with ClassicPress Directory v2.
- Update Update Manager to version 2.5.0.
- Update readme file for compatibility with ClassicPress Directory.
- Update readme files.
- Update language template.
- Fix bug with azurecurve menu.
- Update azurecurve menu.
- Update readme files.
- Update azurecurve menu and logo.
- Fix problem with load of plugin icon and banner.
- Fix plugin action link to use admin_url() function.
- Rewrite option handling so defaults not stored in database on plugin initialisation.
- Add plugin icon and banner.
- Update azurecurve plugin menu.
- Fix bug with undefined post object in archive.
- Rewrite default option creation function to resolve several bugs.
- Fix bug with plugin menu.
- Update plugin menu css.
- Upgrade azurecurve plugin to store available plugins in options.
- Update Update Manager class to v2.0.0.
- Update action link.
- Update azurecurve menu icon with compressed image.
- Fix bug with incorrect language load text domain.
- Add integration with Update Manager for automatic updates.
- Fix issue with display of azurecurve menu.
- Change settings page heading.
- Add load_plugin_textdomain to handle translations.
- Fix bug with display of breadcrumbs on post archives.
- Add functionality to allow breadcrumbs on post archives.
- Correct issue with localized strings on admin page.
- Update azurecurve menu for easier maintenance.
- Move require of azurecurve menu below security check.
- Initial release for ClassicPress forked from azurecurve Breadcrumbs WordPress Plugin.
azurecurve was one of the first plugin developers to start developing for ClassicPress; all plugins are available from azurecurve Development and are integrated with the Update Manager plugin for fully integrated, no hassle, updates.
The plugins available from azurecurve are:
- Add Open Graph Tags – details / download
- Add Twitter Cards – details / download
- Avatars – details / download
- BBCode – details / download
- Breadcrumbs – details / download
- Broken Links – details / download
- Call-out Boxes – details / download
- Chroma – details / download
- Code – details / download
- Comment Validator – details / download
- Conditional Links – details / download
- Contact Forms – details / download
- Disable FLoC – details / download
- Display After Post Content – details / download
- Estimated Read Time – details / download
- Events – details / download
- Feed to Post – details / download
- Filtered Categories – details / download
- Flags – details / download
- Floating Featured Image – details / download
- Get GitHub File – details / download
- Icons – details / download
- Image Optimiser – details / download
- Images – details / download
- Insult Generator – details / download
- Load Admin CSS – details / download
- Loop Injection – details / download
- Lorem Ipsum Generator – details / download
- Maintenance Mode – details / download
- Markdown – details / download
- Nearby – details / download
- Page Index – details / download
- Post Archive – details / download
- Quiz Engine – details / download
- Read GitHub File – details / download
- Redirect – details / download
- Remove Revisions – details / download
- RSS Feed – details / download
- RSS Suffix – details / download
- Series Index – details / download
- Shortcodes in Comments – details / download
- Shortcodes in Widgets – details / download
- SMTP – details / download
- Snippets – details / download
- String Inspector – details / download
- Strong Password Generator – details / download
- Tag Cloud – details / download
- Taxonomy Index – details / download
- Taxonomy Order – details / download
- Theme Switcher – details / download
- Timelines – details / download
- Toggle Show/Hide – details / download
- Update Admin Menu – details / download
- URL Shortener – details / download
- Username Protection – details / download
- View Counter – details / download
- Widget Announcements – details / download