John Havlik
Forum Replies Created
-
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.Forum: Plugins
In reply to: [Breadcrumb NavXT] Entry order in Breadcrumb NavXT Multidimension ExtensionsHeads up, Breadcrumb NavXT Multidimension Extensions has it’s own support forum area: https://wordpress.org/support/plugin/breadcrumb-navxt-multidimension-extensions/
There are two filters in Breadcrumb NavXT Multidimension Extensions for filtering the arguments used for the calls to
wp_list_pagesandwp_list_categories, see: https://mtekk.us/archives/doc-product/breadcrumb-navxt-multidimension-extensions/ for documentation of said filters. I assume there is a way to adjust the order thatwp_list_pagesandwp_list_categoriesreturns pages/posts/terms via the arguments passed into them (however, it isn’t something I’ve ever done so I do not have reference code for how to do this).Forum: Plugins
In reply to: [Breadcrumb NavXT] Support for blocks?Breadcrumb NavXT, since version 6.3.0, has shipped with the Breadcrumb Trail block. You can either use the search field in the block adding screen, or navigate to the theme section in the block list to find the Breadcrumb Trail block.
Are you getting any PHP errors or warnings, either when
WP_DEBUGis set totrue, or in your server’s logs?Forum: Plugins
In reply to: [Breadcrumb NavXT] An error of type E_ERROR was caused in line 661Ultimately, it depends on if you have any other calls to
bcn_displayorbcn_display_listthat occur outside the theme template files (or any place that would execute before the init action at level 9000) or if you have any code that uses thebcn_breadcrumb_trail_objectfilter. I’d check for both cases as, from what I can tell, this appears to be more of a situation of something outside of the plugin doing something unexpected. As such, there isn’t really a way for the plugin to be updated to “fix” this, I can adddoing_it_wrongmessages, but that doesn’t fix the error or the cause of it, it just highlights it.Forum: Plugins
In reply to: [Breadcrumb NavXT] An error of type E_ERROR was caused in line 661There are two ways I could see this happening. One would be
breadcrumb_navxt->display()is getting called way too early (before init level 9000). The other would be something is returningnullvia thebcn_breadcrumb_trail_objectfilter instead of something that extendsbcn_breadcrumb_trail. Of the two, the first is the more likely issue, due to changes in Breadcrumb NavXT 7.4/7.4.1,bcn_display()can not be called before theinitaction completes.What version of Breadcrumb NavXT are you using? Breadcrumb NavXT 7.4.0 should have fixed this issue, and was released about a month ago.
Forum: Plugins
In reply to: [Breadcrumb NavXT] New Google Error with WP in SubfolderThe default template that is used in this setup should be following the Schema.org breadcrumbList in the RDFa format. Based on the output you pasted in an earlier reply, I’m not sure what Google is complaining about (it looks correct, I’m not sure if there is something else on the page that causes Google to go haywire or what). In general the Google tools have been pretty lackluster when evaluating these things (to the point I have more-or-less stopped caring what Google thinks).
As for an option or extension to add static breadcrumbs, the Menu Magic extension can effectively do this already (with a “custom link” entry in the menu that Breadcrumb NavXT is told to follow). Whether or not that is any better in Google’s eyes, I don’t really see how, given I’m not sure what it’s actually upset about with the generated code.
- This reply was modified 1 year, 4 months ago by John Havlik.
Forum: Plugins
In reply to: [Breadcrumb NavXT] How to exclude custom taxonomyThe breadcrumb templates aren’t used in the JSON-LD formatted output, so changing the template isn’t going to affect that output at all. Instead, you have a few options:
- You can change the taxonomy/hierarchy that Breadcrumb NavXT uses for the post type. This can be done within the Breadcrumb NavXT settings page under the “Post Types” tab. This will cause Breadcrumb NavXT to use a different hierarchy for the post type (and not use the undesired taxonomy).
- You can use the
bcn_after_fillaction to iterate through thebcn_breadcrumbobjects, removing the ones you don’t want. - You can use the
bcn_pick_post_termfilter to set the term/taxonomy that Breadcrumb NavXT uses for the post (if there are multiple options) if this is a hierarchical taxonomy you are dealing with. - You can use the
bcn_post_termsfilter to control what term(s) are displayed when the taxonomy is a non-hierarchical taxonomy.
Note that these options will apply to all breadcrumb trails generated Breadcrumb NavXT, so if you’re tying to leave things out of only the JSON-LD version, while displaying the taxonomy/term in the breadcrumb trail the user sees. If you wan to just affect the output of
bcn_display_json_ld, your best bet is to have it return a string instead of echoing (set the first parameter totruewhen calling the function) and then use the PHP JSON functions to modify the JSON object.Forum: Plugins
In reply to: [Breadcrumb NavXT] 7.4.0 kill all breadcrumbs on my siteAs discussed in the linked thread, a fix has been pushed to the master branch in github and will show up in the 7.4.1 release sometime in the next week or so.
Forum: Plugins
In reply to: [Breadcrumb NavXT] Breadcrumbs desappeared after updatingYou can wait until 7.4.1 is released on .org, in about a week, if you wish (that is when the update will be readily available in the WordPress dashboard). That said, you can grab the github master branch zip archive and try that if you want to test this before the release (recommended to do only on local/development sites)
Forum: Plugins
In reply to: [Breadcrumb NavXT] Version 7.4.0 removed all breadcrumbs from my siteAs an update, I did push a new fix to the master branch on the github repo, feel free to test this out (it should resolve the issue with the legacy widget not loading).
Forum: Plugins
In reply to: [Breadcrumb NavXT] Breadcrumbs desappeared after updatingIt appears that a change made to fix the translation domain issue in 7.4 broke the widget. This is being tracked in the following github issue: https://github.com/mtekk/Breadcrumb-NavXT/issues/314. A preliminary fix has been pushed to the master branch on github (feel free to try it and report back any issues).
Forum: Plugins
In reply to: [Breadcrumb NavXT] 7.4.0 kill all breadcrumbs on my siteLooks like the same issue we’re discussing here: https://wordpress.org/support/topic/7-4-0-kill-all-breadcrumbs-on-my-site/
Forum: Plugins
In reply to: [Breadcrumb NavXT] Version 7.4.0 removed all breadcrumbs from my siteAssuming that the cause of this is the same that is causing the legacy widget to no longer show up (something I can actually check against as I don’t have access to Elementor), it appears a change made for WordPress 6.7 compatibility broke things. I’m looking into a fix (and tracking this in the following issue on github: https://github.com/mtekk/Breadcrumb-NavXT/issues/314).