Forum Replies Created

Viewing 15 replies - 286 through 300 (of 2,399 total)
  • Plugin Author John Havlik

    (@mtekk)

    Do you by chance have any code that hooks into the bcn_settings_init filter? This message implies something is adding a string the results of setup_settings_defaults, which is highly unexpected. I’ll add a check for the proper type in the function (tracking in this GitHub issue: https://github.com/mtekk/Breadcrumb-NavXT/issues/260), that said, in the meantime, see if you have any custom code or are using any extensions to Breadcrumb NavXT that aren’t fully up to date.

    Plugin Author John Havlik

    (@mtekk)

    After reloading the page is it still visible? The cause is the change is what is saved into the settings database. In the past settings ended up just accumulating (Breadcrumb NavXT would try to clean up things it knew about, but things like post types disappearing wasn’t handled well). Now, since only non-default values are stored in the database, when merging in the database values with the defaults, if there are extras, a message is presented to the user in the settings page.

    Specific to these settings being mentioned in your message, these messages should go away after refreshing the page (a page refresh after the settings migration is complete). These specific settings changed (from the string type to the enum type), and I’d only expect these to maybe show up only immediately after a setting migration (though the original cause of that behavior should have been fixed). Please let me know if this is showing up after you reload the page (would indicate the settings migration didn’t run properly on your site).

    Plugin Author John Havlik

    (@mtekk)

    Have you tried using the widget included with Breadcrumb NavXT? The breadcrumb-navxt-widget-plugin that you appear to be using isn’t supported (was a 3rd party plugin), hasn’t been updated in 13 years (likely uses the old widget API which is likely part of the problem), and it looks like it was removed from the .org repo 2 years ago (so, I’m not sure how you installed it).

    Plugin Author John Havlik

    (@mtekk)

    Typically, if you want to add a category to a page, you really should be using a custom post type. If you use a hierarchical custom post type, you can have Breadcrumb NavXT use post parents as the first hierarchy and then a taxonomy as a secondary hierarchy (fulfilling what you want out of the breadcrumb trail). As for making the permalinks the way you want, my guess is it’s probably possible (especially is you use a custom post type and custom taxonomy). That said, it has been quite a while since I’ve dived deeply into permalinks and custom rewrite rules so I don’t have an example off hand to point you to.

    Forum: Plugins
    In reply to: [Breadcrumb NavXT] Colors?
    Plugin Author John Havlik

    (@mtekk)

    Breadcrumb NavXT doesn’t ship with any styling (or any styling pickers), and will rely on what your theme has for styling (if any) that targets it. You can add custom CSS to your style.css for your theme (or child theme) that targets the .breadcrumbs class. An example is available in the documentation: https://mtekk.us/code/breadcrumb-navxt/breadcrumb-navxt-doc/4/#css_style

    Plugin Author John Havlik

    (@mtekk)

    It depends on what exactly you mean by hide breadcrumbs. If you are talking about removing a breadcrumb from the breadcrumb trail, you can do that using the bcn_after_fill action similar to the method discussed in this article: https://mtekk.us/archives/guides/conditionally-remove-home/
    If you are talking about just hiding the a breadcrumb from view, but keeping the markup of it, you can use CSS (something like setting display:done; and targeting the specific breadcrumb is possible).

    Plugin Author John Havlik

    (@mtekk)

    Yeah, this is fixed in the up coming 7.0 release. It has been reported a few times, but due to the delays in the release in 7.0 it’s being noticed more people as they migrate to PHP8. Breadcrumb NavXT 7.0 will be released within the next week or so (currently working through getting all the extension plugins updated, the last one that needs to be updated is multidimensional extensions).

    Plugin Author John Havlik

    (@mtekk)

    There are no known issues with Breadcrumb NavXT working on WordPress Network site/Multisite setups. Could you provide more details as to the issue you are seeing?

    Plugin Author John Havlik

    (@mtekk)

    Since this update changed some API items quite a bit, it is going to require updates to all of the extension plugins. The original plan was to have all of the extension updated released by Wednesday (11/24), but I don’t see that happening at this point. It’s going to be more of Friday (11/26) or Saturday (11/27) when the extensions are all updated for 7.0, leaving the 7.0 release for mid-to-late next week (say 12/3). In the mean time, if you want to work/develop against what will become 7.0, feel free to check out the runner branch on GitHub: https://github.com/mtekk/Breadcrumb-NavXT/tree/runner The only changes that would happen at this point are if I find any bugs in the API as I work through updating the extension plugins.

    Plugin Author John Havlik

    (@mtekk)

    Breadcrumb NavXT doesn’t use the permalink hierarchy for generating breadcrumb trails. Instead, it uses the actual organization of the content within WordPress to generate the breadcrumb trail. If you want “News and Insights” into your breadcrumb trail for “Post Name” you need to have the “News and Insights” resource as some sort of parent for the post. Now, how you do that depends on how you are using posts. If they are just under “News and Insights”, you should have your “Posts page” under the WordPress Settings > Reading area set to “News and Insights” (and then everything is automatically done for you, no need to have it manually added to your permalink structure).

    Plugin Author John Havlik

    (@mtekk)

    You will need to write some code to hook into the bcn_breadcrumb_title filter to use the menu title or any alternate title you want. If you don’t want to write any code, you can use an extension plugin (such as Menu Magic) which provide methods to get Breadcrumb NavXT to use the menu titles instead of the post’s actual title.

    Plugin Author John Havlik

    (@mtekk)

    Assuming that you want Breadcrumb NavXT to only use the regular categories for the custom post type, under the Breadcrumb NavXT settings page, go to the Post Types tab, and look for the custom post type. In that section, find the Hierarchy setting, and select “Categories”, then press the “Save Changes” button at the bottom of the page. Now, Breadcrumb NavXT should use the category instead of the custom taxonomy for your custom post type. If “Categories” does not show up, you will need to make sure your custom post type is setup with the category taxonomy as a valid taxonomy for it.

    Plugin Author John Havlik

    (@mtekk)

    By default, Breadcrumb NavXT uses the WordPress generate term archives for categories and other taxonomies. If you want this to link to a page (instance of the page post type) you will need some extra code that hooks into the bcn_breadcrumb_url filter to change what it links to for term archives (the Paths extension plugin provides a GUI for mapping hierarchical terms archives to pages).

    Plugin Author John Havlik

    (@mtekk)

    To follow up on this, the offending string will not exist in 7.0.0, so it will be fixed going forward.

    Plugin Author John Havlik

    (@mtekk)

    Yeah, unfortunately, there is an error in the German translation, and it appears there aren’t any active editors for that language in the .org Breadcrumb NavXT translation project. I’ve submitted a correction, but it’s up to someone with editor rights to accept it (why plugin owners aren’t set as editors for all translation languages for their plugins is a little confusing but I’m sure there’s a reason). Even though it probably makes the code a little uglier, I probably should change how this works for the next release to prevent the issue in the future.

    • This reply was modified 4 years, 9 months ago by John Havlik.
Viewing 15 replies - 286 through 300 (of 2,399 total)