Breadcrumb NavXT 7.5.0

Holy incremental improvements Batman! This first feature release of 2025 introduces several bug fixes, changes a few internal behaviors, and removes the deprecated bcn_breadcrumb_trail::title_trim function. On the feature front, the block added support for the text align attribute.

On the back end, bcn_breadcrumb_trail::post_hierarchy was refactored to use WP_Post instead of the old parameter set (id, type, and parent id). This brings this function in line with much of the rest of bcn_breadcrumb_trail member functions. Note that this breaks compatibility with some extension plugins, updates should already be available, and make sure to update the extension plugins before updating Breadcrumb NavXT.

On the bug fix front, this version fixed an issue in the uninstaller that resulted in PHP errors that caused uninstallation to fail. Additionally, three bugs in the Breadcrumb Trail Block were fixed: the “Hide on Home” option now works as intended, a typo that caused a console warning when inserting the block, and the selector for the block specified in block.json now matches the selector for the block. A bug in the settings exporter that resulted in most settings not being exported was fixed. Lastly, a bug in the settings importer where boolean settings could not be set false through the importer.

Lastly, in alignment with the deprecation schedule for the title_trim function outlined back in 2021, bcn_breadcrumb::title_trim has been removed in this release. title_trim had spent the past several releases not only deprecated, but also orphaned (the core plugin did not call title_trim).

-John Havlik

Breadcrumb NavXT Multidimension Extensions 2.7.2

Announcing the immediate availability of Breadcrumb NavXT Multidimension Extensions 2.7.2. As with the recent uManager release, this release introduces support for Breadcrumb NavXT 7.5. Please make sure to update Multidimension Extensions before updating to Breadcrumb NavXT 7.5, otherwise you may see PHP errors.

You can grab Breadcrumb NavXT Multidimension Extensions from the WordPress.org plugin repository.

-John Havlik

Breadcrumb NavXT uManager 1.2.6

Introducing Breadcrumb NavXT uManager 1.2.6. This version add support for Breadcrumb NavXT 7.5. Due to refactoring of bcn_breadcrumb_trail::post_hierarchy() in Breadcrumb NavXT 7.5, uManager needed to be updated. Please make sure to update Breadcrumb NavXT uManager before updating to Breadcrumb NavXT 7.5.

Users with valid and activated license keys should receive an update notification within the WordPress dashboard and be able to use the update mechanism to update (just like with any plugin in the WordPress.org repository). If you run into any issues, please open a support ticket.

-John Havlik

Private Pages as Root Page for CPTs

Traditionally, the Breadcrumb NavXT settings page has only allowed published/publicly visible pages be the root page for custom post types. This follows what WordPress core does with the homepage and posts page. However, in some circumstances, having a private page be the root page for a custom post type makes sense.

Introduced in Breadcrumb NavXT 7.4, the bcn_admin_post_root_args filter allows for control over the arguments passed into the root page drop down. Below is an example of using the bcn_admin_post_root_args filter to allow private pages to show up in the root page drop down:

add_filter('bcn_admin_post_root_args', 'my_bcn_admin_post_root_args', 10, 2);
function my_bcn_admin_post_root_args($args, $post_type_name)
{
	$args['post_status'] = array('publish','private');
	return $args;
}

This can be extended to only allow private pages to be the root page for specific post types (by checking the $post_type_name parameter for the desired post type). Lastly, while the setting is for the root page, it does not have to be limited to the page post type.

-John Havlik

By the time you are reading this post, Jetpack has been removed from this site. Those “subscribed” to this website will no longer get email updates (for comments and new posts).