John Havlik
Forum Replies Created
-
Forum: Plugins
In reply to: [Breadcrumb NavXT] BreadcrumbList Schema disappeared after Yoast update 11.0Can you elaborate on the BreadcrumbList disappearing. Are you referring to it disappearing in the Google structured data testing tool? Is the BreadcrumbList markup still present? I assume this is due to Yoast SEO now dealing with Schema.org entities as a JSON-LD entry in head of the HTML generate by WordPress. Google is going to prefer that over all other markup. I’ll see if they have a filter for adding entities to their JSON-LD blob to inject the Breadcrumb NavXT JSON-LD.
Forum: Plugins
In reply to: [Breadcrumb NavXT] Remove /category from breadcrumbs links@ryanck: I strongly recommend against modifying any of the files distributed by Breadcrumb NavXT. Your changes will be overwritten when you update Breadcrumb NavXT. Instead, you should use the
bcn_breadcrumb_urlfilter to remove the category link. For example, the following placed in a site specific plugin should achieve the same result without modifying the plugin:add_filter('bcn_breadcrumb_url', 'my_breadcrumb_url_changer', 3, 10); function my_breadcrumb_url_changer($url, $type, $id) { if(in_array('category', $type)) { $url = str_replace("category/", "", $url); } return $url; }Forum: Plugins
In reply to: [Breadcrumb NavXT] Remove /category from breadcrumbs links@ryanck: I take it as you are using a page rather than the category archives WordPress normally generates. If you are doing that, you probably want to make all of the links WordPress generates for category archives. But, if you insist and want to only affect the breadcrumb links, you can use the
bcn_breadcrumb_urlfilter. See https://mtekk.us/archives/guides/link-to-a-page-rather-than-the-category-archive-in-a-breadcrumb/ for an example on how to use this filter.@tapiohuuhaa: I don’t think @ryanck was talking about hiding the category breadcrumbs for a post. That can be achieved by making sure the “Hierarchy Display” option for the post type in question is unchecked.
Forum: Plugins
In reply to: [Breadcrumb NavXT] he does not show me breadcrumbsThe main problem with this plugin is that generally people want breadcrumbs at the top of the main content area. In my mind it would be a nice idea for the author to create an option to set automatic to the top of the main content area without any coding. That could be disabled, if someone would like to define the breadcrumbs himself.
While this would be nice to do, unfortunately, it is much easier said than done. The closest thing to a standard for themes regarding this is implementing the Theme Hook Alliance
tha_breadcrumb_navigationfilter. Of course, I am not aware of any themes that support this filter (though Breadcrumb NavXT does implement a hook for it). Without theme authors designing for a breadcrumb trail in their theme, there is not a way to automatically integrate the breadcrumb trail in an acceptable fashion. Sure, it is possible to throw the markup into the theme, however styling it properly so it looks correct in the them is very much specific to the theme. In the end, without theme author support, it requires user intervention to do properly.This said, the next version of Breadcrumb NavXT (6.3) is shipping with a Gutenberg Block for breadcrumb trails. While still not a perfect solution, it provides another means of adding the breadcrumb trail to a WordPress site.
Forum: Plugins
In reply to: [Breadcrumb NavXT] he does not show me breadcrumbsJust activating Breadcrumb NavXT will not cause a breadcrumb trail appear on your pages/articles. You need to either place the Breadcrumb NavXT widget in one of your theme’s widget areas, or modify the theme’s code to include the Breadcrumb NavXT calling code (
bcn_display()).Forum: Plugins
In reply to: [Breadcrumb NavXT] 404 page when settings are changed@blackandbluebird: Since this looks like it is a modsecurity rule issue, there likely isn’t much I can do on my end. I suggest analyzing your server logs (in this case modsecurity logs) to see what rule is getting tripped up. Feel free to report back what rule is getting tripped and I should be able to tell you if I can do anything. Your best options are likely to whitelist the Breadcrumb NavXT settings page for that rule, or remove that rule for the admin area. One thing to note, the default set of rules have traditionally caused issues with WordPress and you should use a set tailored for WordPress (which is what I do on my servers).
Forum: Plugins
In reply to: [Breadcrumb NavXT] one string has wrong domain for language translationGood catch, thanks for reporting this. It will be fixed in the next release. I’m tracking this in the following github issue: https://github.com/mtekk/Breadcrumb-NavXT/issues/220
Forum: Plugins
In reply to: [Breadcrumb NavXT] 404 page when settings are changedIf you are getting a 404 page when saving the settings, I would check your server logs as something is not working correctly (and this sounds like a server configuration issue). As for you display issue, that is due to the styling of the theme (two of the three breadcrumbs have margin, the current item doesn’t).
Forum: Plugins
In reply to: [Breadcrumb NavXT] Custom breadcrumbsBreadcrumb NavXT generates breadcrumb trails based on the post hierarchy (e.g. taxonomy hierarchy, or parent<->child relationships setup on posts). It is a best practice to actually organize your content appropriately within WordPress and let Breadcrumb NavXT reveal the actual content organization.
Opening this support thread under the Breadcrumb NavXT Multidimension Extensions support forum probably isn’t the correct area. From what I can tell, that theme is no longer being developed, it looks like it is time to move on to a new theme (or write your own, _s or any of the twenty* themes that ship with WordPress are a good starting point). Going forward, I would use a plugin for something like maps (especially if you are entering data for points, routes, etc) rather than rely on a feature in a theme (the map plugin will probably have more users, works with multiple themes, and be supported longer than a theme from a marketplace).
Can you post the actual error text that you are getting? In general, Breadcrumb NavXT Multidimension Extensions should not cause PHP errors (I develop/test against PHP7.2).
Forum: Plugins
In reply to: [Breadcrumb NavXT] Constantly errors appearI checked all of the translations with >10% completion. It looks like the following languages also have this issue:
- German
- Japanese
- Finnish
- Estonian
- Persian
- Chinese (China)
- Dutch
- Czech
- Portuguese (Portugal)
- Lithuanian
- Korean
Forum: Plugins
In reply to: [Breadcrumb NavXT] Shortcode supportThat will probably work. Just note that shortcodes are a little annoying to use since you have to add them to each post to see the breadcrumb trail on that page.
Forum: Plugins
In reply to: [Breadcrumb NavXT] Removing top parent from breadcrumbsYou can write a hook into the
bcn_after_fillaction and remove the breadcrumb (see https://mtekk.us/archives/guides/conditionally-remove-home/ for an example for the home breadcrumb). If you don’t want to write any code, there is an extension (Breadcrumb NavXT uManager) which allows you to disallow a term/post from showing up in the breadcrumb trail.However, if you are just doing this to keep the trail to a reasonable length, you can use CSS to shorten the individual breadcrumbs (see https://mtekk.us/archives/guides/trimming-breadcrumb-title-lengths-with-css/).
Forum: Plugins
In reply to: [Breadcrumb NavXT] Session State?Breadcrumb NavXT generates location breadcrumbs which represent a resources location with a website (typically only one true/primary location). It sounds like you want path breadcrumbs. This is not something Breadcrumb NavXT supports.
In general true path breadcrumb trails are not really a good design choice. They re-implement the functionality of the user’s back button. Additionally, implementing true path breadcrumb trails requires tracking the user which may run afoul of privacy regulations in the EU.