Descripción
Simple Crumbs Redux is a resurrection of the Simple Crumbs plugin by Can Koluman (https://wordpress.org/plugins/simple-crumbs/) 0.2.5 codebase. Version 1.0.0 of Simple Crumbs Redux fixes a fatal error generated when using PHP 5.4 and greater (and a deprecation warning with PHP 5.3). I’m keeping the original short code (though you can also use [simple_crumbs_redux]) so this plugin will work as a drop in replacement for Simple Crumbs.
Simple Crumbs Redux – Generates a breadcrumb trail for pages and blog entries. Requires use of permalinks and PHP >= 4.1.0. Tested up to WordPress 4.2.2 and PHP 5.5.
Notes: link/crumb information from $query_string, page/post information from $post, using permalink info for making links, using permalink structure for bootstrapping unrolled recursions (deepest to topmost).
Author URI: http://www.dougsparling.org
Usage Examples:
- Usage:
<?php echo do_shortcode('[simple_crumbs root="Home" /]') ?>
- Usage:
[simple_crumbs root="Some Root" /]
- Usage:
[simple_crumbs /]
Sample Output: (with Home as ‘root’)
- Home > Section > Subsection
- Home > Blog > 2013 > 08 > 23 > Blog Title
- Home > Search Results
- Home > Tag > Tag Name
Instalación
A. Configuration Options
- Document Root Crumb name passed to function.
- Following css class may be defined externally: navCrumb.lnk if needed.
- Separator may be chosen.
B. Installation
- Copy to plugins (
/wp-content/plugins/
) folder - Usage:
* from php: <?php echo do_shortcode('[simple_crumbs root="Home" /]') ?>
* from html with document root: [simple_crumbs root="Some Root" /]
* from html without document root: [simple_crumbs /]
FAQ
- Why another breadcrumbs plugin?
-
A client of mine was using the Simple Crumbs and it wouldn’t work once PHP was updated on his server. As Simple Crumbs hadn’t been updated since 2009 and I needed to get my client going, I just created Simple Crumbs Redux and got him going. I made a few minor improvements over the original plugin and will work as a drop in replacement. Whether I add any other features depends on my needs and if I get any requests from users.
Reseñas
Colaboradores y desarrolladores
«Simple Crumbs Redux» es un software de código abierto. Las siguientes personas han colaborado con este plugin.
ColaboradoresTraduce «Simple Crumbs Redux» a tu idioma.
¿Interesado en el desarrollo?
Revisa el código , echa un vistazo al repositorio SVN o suscríbete al registro de desarrollo por RSS.
Registro de cambios
1.1.1
- Updated outdated info in readme.
- Tested with WordPress 4.2.2.
1.1.0
- Changed titles array to class property.
1.0.2
- Changed contributers name to my WordPress.org username.
1.0.1
- Upated readme to pass validation.
1.0.0
- Initial Release.
- Fixed ‘PHP Fatal error: Call-time pass-by-reference has been removed’ with PHP 5.4 and greater.
- Converted plugin from functional style to Object Oriented.
- Repaced sc_unpack_query_string function with WordPress core function wp_parse_args().