John Havlik
Forum Replies Created
-
Forum: Plugins
In reply to: [Breadcrumb NavXT] Breadcrumbs with a dropdownYou’ll need to clarify what you mean by a dropdown/hover on the breadcrumbs. Specifically, what are you expecting to see in the dropdown? If you’re talking about something like what Windows Vista/7/10 does in explorer, then there is a guide on what you need markup and CSS wise to achieve this: https://mtekk.us/archives/guides/vista-like-breadcrumbs-for-wordpress/
- This reply was modified 4 years, 3 months ago by John Havlik.
Forum: Plugins
In reply to: [Breadcrumb NavXT] Fatal errorIt looks like you are trying to run an extension plugin version that does not support Breadcrumb NavXT 7.0. You will need to update the extension before updating the base plugin.
Forum: Plugins
In reply to: [Breadcrumb NavXT] Custom Breadcrumb TrailsBreadcrumb NavXT picks up on the actual organization of content on the site. So, to have categories show up in a hierarchical fashion, a child category needs to have the parent category set as its parent.
Is there a reason you don’t want nested categories in the URL?
Forum: Plugins
In reply to: [Breadcrumb NavXT] Using an anchor point as a linkYou can programmatically control the URL used in the breadcrumb trail using the
bcn_breadcrumb_urlfilter. If the anchor point is the same for all of the posts of a particular post type, this should be as easy as appending that to the URL using the filter and checking the $type parameter for the post type in question (this code would go in a site specific plugin).- This reply was modified 4 years, 3 months ago by John Havlik.
Forum: Plugins
In reply to: [Breadcrumb NavXT] how to change home url link and title?So, Breadcrumb NavXT uses the
get_home_url()function for generating the link to the home page. If you want this to link to something else, you should probably get that function to return the URL you want. Another, Breadcrumb NavXT specific, option is to use thebcn_breadcrumb_urlfilter to modify the URL for the home breadcrumb. This all said, for most circumstances, I would recommend against having your home page for a site not be the root page for said URL (e.g. the home page should be domainname/ not domainname/home, where domainname is your site’s domain name).Forum: Plugins
In reply to: [Breadcrumb NavXT] Parent Child Out of Order/So, the linked page doesn’t seem to be using Breadcrumb NavXT for the breadcrumb trail. That said the events/calendar pages does appear to be using Breadcrumb NavXT. So my guess is your theme’s page.php file doesn’t call Breadcrumb NavXT for some reason (maybe it uses a different header file).
As for the order you’re actually expecting for pages, I assume it would be along the lines of:
Home > Grand Parent > Parent > Child
This is what Breadcrumb NavXT should do by default (assuming the post parents are set appropriately).
Forum: Plugins
In reply to: [Breadcrumb NavXT] Brand in Product nameThis depends on how Perfect Brands works, if it affects the output of the
get_the_title()function, then it may just work. If Perfect Brands doesn’t affect the output ofget_the_title(), then you may need to write a little bit of code to hook into thebcn_breadcrumb_titlefilter and add the brand in as required.Forum: Plugins
In reply to: [Breadcrumb NavXT] Custom Navigational Breadcrumb + SchemaSo, you can programmatically add/change breadcrumbs in the breadcrumb trail using the
bcn_after_fillaction. The following article presents an example of how to add a breadcrumb to a resource not managed by WordPress: https://mtekk.us/archives/guides/add-a-static-breadcrumb-to-the-breadcrumb-trail/Regarding schema, it depends on what you mean by that. If you are talking about schema.org breadcrumbList compatibility, the default settings are compliant using the RFDa dialect. If you are talking about the JSON-LD schema entry that Yoast SEO adds, there is an extension to override the breadcrumbList element added by Yoast SEO (see https://github.com/mtekk/Breadcrumb-NavXT-Schema).
- This reply was modified 4 years, 4 months ago by John Havlik.
Forum: Plugins
In reply to: [Breadcrumb NavXT] Anabling use in Asgaros forums?If Asgaros uses CPTs and custom taxonomies, things may work to some degree. Going off of how bbPress works (as I have not used Asgaros), getting the breadcrumb trail to reflect how forums/topics are organized may require custom code (for bbPress there is extension to Breadcrumb NavXT that enhances bbPress support).
Forum: Plugins
In reply to: [Breadcrumb NavXT] Changes Are Not Saved and I Get ErrorsIf you don’t see the “save changes” button at the bottom of the screen, there’s likely a PHP error being thrown (I’ll need to know what the PHP error message is to help). It will either show up at the bottom of the page, or, potentially it is being hidden and you’ll need to either check your server logs or enable
WP_DEBUGtemporarily for it to show up.Forum: Plugins
In reply to: [Breadcrumb NavXT] Wordfence warningThis is WordFence being overly restrictive (it is not allowing the settings to contain HTML). It should be safe to relax whatever rule is getting triggered.
Forum: Plugins
In reply to: [Breadcrumb NavXT] Changes Are Not Saved and I Get ErrorsAssuming you are using Breadcrumb NavXT 7.0.2, you shouldn’t see that message after the page is reloaded. The warning itself is notifying you that there were entries found in the settings array that was retrieved from the database that appear to be abandoned (for CPTs and Taxonomies that are no longer detected).
Forum: Plugins
In reply to: [Breadcrumb NavXT] Accessibility check error with li elementsHow are you calling the breadcrumb trail? It sounds like you may be using a
ulorolelement to wrap the breadcrumb trail call but not using thebcn_display_list()(or haven’t gone through the tedious work of changing all the templates to uselielements).Forum: Plugins
In reply to: [Breadcrumb NavXT] Critical error after setting separator@davidebrig So, my guess is that Avada is trying to have a private CPT so it registers it under the
admin_initaction so it only is available in the admin area (I’ve seen another plugin do this). CPTs are supposed to be registered in theinitaction (and is why you will get errors in the Breadcrumb NavXT settings page as it was registered after the 9000 runlevel ofinit). In the next release of Breadcrumb NavXT, the settings page will alert you to these misbehaving CPTs and custom taxonomies with a dismiss-able message (and will not try to generate settings for them which is what is causing the PHP errors).Forum: Plugins
In reply to: [Breadcrumb NavXT] How Custom Can I Be?Regarding “it caused major issues when I installed it and I immediately got notifications from WP to deactivate and uninstall” can you expand on what you mean by “major issues” and “notifications from WP to deactivate and uninstall”? Was there a PHP error/warning message? I ask as there are not any known issues with Breadcrumb NavXT 7.0.2 that would result in a behavior as you described (the only known issue is due to other plugins adding CPTs or taxonomies too late, this only appears on the Breadcrumb NavXT settings page, and a change in behavior in 7.1 will present the user a nicer message).
As for the breadcrumb structure, Breadcrumb NavXT uses the actual organization of the content on your site. That is, it depends on the parent relationships of posts (of any post type) and terms (assuming you select a hierarchical term for the hierarchy for a post (of any post type)). If your permalink structure reflect the actual hierarchy of your posts/content, the Breadcrumb NavXT will reflect that. If you have to manually create the breadcrumb trail on a per page basis, it is likely that you are not organizing your content within WordPress properly (the point of a CMS is to logically organize your content so that much of the navigation/presentation of content is done in a programmatically deterministic/automated way with minimal manual intervention).