John Havlik
Forum Replies Created
-
Breadcrumb NavXT’s output is highly customizable, while the default output may not match said directives, it can be made to do so. Regarding outputting in
lielements, you can usebcn_display_list()function rather thanbcn_display()(some have changed the breadcrumb templates on the Breadcrumb NavXT settings page to uselielements and had success, but I don’t recommend that). If using the Breadcrumb Trail block, change the output trail format to “Ordered list elements”.
For the separator, you can add a wrapper tag witharia-hidden="true"in it, if you so desire (it should be an allowed attribute for the span tag and usable in the separator setting). That said,bcn_display_list()and the “Ordered list elements” Breadcrumb Trail block output modes do not include a separator, so this isn’t necessary in that case (you’ll have to add the separator using CSS).Forum: Plugins
In reply to: [Breadcrumb NavXT] PHP Warning: Undefined array keyIt is likely you are registering the custom taxonomy too late for Breadcrumb NavXT to properly setup default settings for said taxonomy. If you visit the Breadcrumb NavXT settings page, you likely will get a warning at the top of the page regarding the taxonomy being registered too late (after the 9000 level of
init, which is quite late). The recommendation is to register the taxonomy earlier (can still useinit, but it needs to be at some level of value less than 9000).Forum: Plugins
In reply to: [Breadcrumb NavXT] Extra “r” added to search resultsThe most likely cause for this is a broken translation. I just checked all of the English locales on the .org translation project for the “search results for” string and I’m seeing an error there. So, it’s likely the translation is specific to the site. I would check to see if the multi-language plugin for the site is managing the “search results for” translation and resulting in the extra ‘r’ showing up.
Forum: Plugins
In reply to: [Breadcrumb NavXT] Post/Blog page not in breadcrumbsThe posts page display within the breadcrumb trail is controlled by the “Blog Breadcrumb” setting on the “General” tab in the Breadcrumb NavXT settings page. Note that this setting is only available when both a post page and a homepage are set under Settings > Reading.
Forum: Plugins
In reply to: [Breadcrumb NavXT] Cannot delete plugin – will not uninstallThis issue has been fixed in the development branch for the next release (7.5), see: https://github.com/mtekk/Breadcrumb-NavXT/issues/321 As for timing of the next release, I’m currently working the prep for the 7.5 release (and have one last recent bug report to sort out) and hope to release within a couple of weeks.
Forum: Plugins
In reply to: [Breadcrumb NavXT] Invalid selector in block.jsonGood catch, I’ll get that fixed for 7.5, and am tracking it in the following GitHub issue: https://github.com/mtekk/Breadcrumb-NavXT/issues/322
Forum: Plugins
In reply to: [Breadcrumb NavXT] Import ignores “bmainsite_display”: falseJust double checking, what version of Breadcrumb NavXT are you using (for both the export and the import). Back in 7.3 a similar issue was fixed (see https://github.com/mtekk/Breadcrumb-NavXT/issues/289), so depending on the version you are using, it may already have been fixed or was missed somehow in those changes. None-the-less, I’ll see if I can reproduce this specific case in my testbed.
Forum: Plugins
In reply to: [Breadcrumb NavXT] Settings not workingI’m not seeing a breadcrumb trail generated by Breadcrumb NavXT on that page. There is a breadcrumb trail just above the footer but the markup doesn’t look like something Breadcrumb NavXT would generate without extensive changes to the default settings. I’d double check that Breadcrumb NavXT is actually getting called (the elementor widget probably isn’t calling Breadcrumb NavXT, you should use the Breadcrumb NavXT widget, or the Breadcrumb Trail block provided by Breadcrumb NavXT).
Forum: Plugins
In reply to: [Breadcrumb NavXT] Custom Page TitleYou can use the
bcn_breadcrumb_titlefilter to change what Breadcrumb NavXT uses for a page/post. If you don’t want to write code to do this, there are plugins that provide GUI elements for allow you to use a title in the breadcrumb trail that is different than the post/page title.Forum: Plugins
In reply to: [Breadcrumb NavXT] Settings page gives me 404 & can’t delete pluginThe uninstaller issue is currently being worked (and tracked in this github issue: https://github.com/mtekk/Breadcrumb-NavXT/issues/321). Based on the unit tests it should be fixed on the github branch that will be 7.5, but I still need to run some additional integration tests to ensure it works.
As for the settings page link, what link is being provided that results in a 404 error? The settings page should not be resulting in a 404 (is not on any of my installs or testbed). Do you have access to your server logs, is there anything showing up in them when you try to access the Breadcrumb NavXT settings page?
Forum: Plugins
In reply to: [Breadcrumb NavXT] Breadcrumb NavXT – Won’t Delte in Plugins PageOthers reported a similar issue here: https://ww.wp.xz.cn/support/topic/deletion-failed-7/, so far in my investigation, I have a potential cause identified, but need to verify that it’s the actual problem with some testbed testing (currently relying on unit tests failing to identify there’s an issue). I’m currently tracking this in the following github issue: https://github.com/mtekk/Breadcrumb-NavXT/issues/321
If you receive any PHP errors/warnings, either when the uninstall/delete fails, or in your server logs, I would be interested to see what they say (only care about files and directories within the plugins/breadcrumb-navxt/ directory).
Forum: Plugins
In reply to: [Breadcrumb NavXT] Deletion failed:Now that I have the unit tests for uninstalling “working” again (at least from a framework standpoint), I’m seeing a permission error which may be what’s happening on actual sites. I’m tracking this in the following github issue: https://github.com/mtekk/Breadcrumb-NavXT/issues/321
Forum: Plugins
In reply to: [Breadcrumb NavXT] Putting the breadcrumbs in a custom DIVIf you’re using a “classic” theme (editing .php files), you can place a call to
bcn_display()where you want the breadcrumb trail to display. See this article for some examples: http://mtekk.us/archives/guides/calling-the-breadcrumb-trail/ Note that to get bold text, you will need to deal with the styling in your theme’s style.css file.If you’re using the Breadcrumb Trail block, you should be able to move that to wherever you want within the block theme editor. Currently, the Breadcrumb Trail block doesn’t support the advanced typography styling in the block editor (only supports text size), though, I suppose I should fix that for the next release.
Forum: Plugins
In reply to: [Breadcrumb NavXT] Deletion failed:I’m looking into this, I don’t know of an actual issue/identified cause of this right now. I’m starting with getting the unit tests for uninstall code working again (PHPUnit is a pain as the API changes way too often) and then, depending on what I learn from that I’ll move forward.
In the mean time, are there any PHP errors or warnings that are presented when trying to uninstall?
Forum: Plugins
In reply to: [Breadcrumb NavXT] Hide breadcrumb block on frontpage does not workThanks for reporting this. I opened a github issue to track this: https://github.com/mtekk/Breadcrumb-NavXT/issues/318
I committed a fix to the logic error. The settings availability error will need to be fixed in a different way than using
optas that is being deprecated (current intent isoptis only used within thebcn_breadcrumb_trailobject and eventually will be completely replaced with settings), I’m currently looking into this.