John Havlik
Forum Replies Created
-
Forum: Plugins
In reply to: [Breadcrumb NavXT] Pluggin broken since 5.2If you are getting an error in that part of the code, then you have another plugin or other code that is improperly messing with the links/actions array for the
plugin_action_linksfilter (or a broken WordPress install). See the WordPress documentation for information on this filter: https://developer.wordpress.org/reference/hooks/plugin_action_links/It appears someone else had this problem recently as well. I’ll have to dig up what the ultimate cause was for them. I can confirm this is not a PHP5.3 issue or a WordPress 5.2 issue as I’m running both on my testbed without seeing this issue.
- This reply was modified 7 years, 1 month ago by John Havlik.
- This reply was modified 7 years, 1 month ago by John Havlik.
Forum: Plugins
In reply to: [Breadcrumb NavXT] Breadcrumbs for magazine style pageUnfortunately, this is not an easy thing to accomplish. WordPress doesn’t really support many-to-many relationships with hierarchical terms (e.g. WordPress does not support multiple parents for terms). The only way I can think of to deal with this is either separate categories/duplicates for each magazine issue, or configure WordPress to be in a network/multisite setup with each issue/magazine in its own sub-site (then use something to create/manage global categories/taxonomy terms).
Forum: Plugins
In reply to: [Breadcrumb NavXT] Define Root Page and Hide Current Item for TaxonomiesThe concept of a root page for CPTs is an extension of the “page for posts” setting in WordPress. However, there are not root pages for categories or tags, and hence Breadcrumb NavXT has no concept of root pages for taxonomies.
If a taxonomy is only associated with a single post type, it should inherit that post type’s root page in the breadcrumb trail. However if the taxonomy is available to multiple CPTs, the entire concept of root page breaks down (you can’t have multiple roots for a single resource) and Breadcrumb NavXT may not include a root page for the taxonomy term archives.
Regarding removing the current item on every page/resource, this is achievable with this extension: https://github.com/mtekk/Breadcrumb-NavXT-Extensions/blob/master/breadcrumb_navxt_remove_curitm.php
Forum: Plugins
In reply to: [Breadcrumb NavXT] Navigation separator not working properlyIt looks like in your CSS, you have the selector:
.rit-breadcrumb awhich has the propertiesdisplay: block;andfloat: left;set. This appears to be causing your issue.Hi Nick,
It looks like the forums ate your previous reply (I got an email with the reply but it doesn’t show up here). In general, the forums only likes a line or two of code being pasted in (and remember us surround in ticks (`)), for larger sections of code, please use a text/code pasteing service (e.g. pastebin, gist, etc). From the code, as far as I can tell, that is not something that is included by Breadcrumb NavXT. However, I don’t think that it should be affecting the form saving. Regardless, you could try disabling other plugins you have active to see if the issue goes away when just Breadcrumb NavXT is active.
Hi Nick,
What HTML is on line 1258 of that page (and maybe the line above and below)? I’m assuming its some JavaScript.
Hi Nick,
My first guess is that a web application firewall, such as ModSecurity, has an overly broad rule that is getting tripped up here. I would check your server logs. One other thing to double check is to see where the form is POSTing the data to (either use your browser’s built-in inspector to look that the network transactions/requests, or use it to inspect the HTML form).
Forum: Plugins
In reply to: [Breadcrumb NavXT] bcn_breadcrumb_title stopped working on update.Good the hear that the issue is resolved for you!
Forum: Plugins
In reply to: [Breadcrumb NavXT] bcn_breadcrumb_title stopped working on update.That filter was not modified or removed from 6.3, it should still work. I tried the posted code on my testbed and it worked as expected (killed the output of the page at the first breadcrumb). The only thing that immediately comes to mind is if Breadcrumb NavXT, for some reason, isn’t currently active on the site/generating your breadcrumb trail.
Forum: Plugins
In reply to: [Breadcrumb NavXT] Breadcrumb NavXT font size@tapiohuuhaa: The recommended calling code for Breadcrumb NavXT includes a wrapping div containing the
.breadcrumbsclass. See https://mtekk.us/archives/guides/calling-the-breadcrumb-trail/ The wrapper is not included in the call tobcn_display()andbcn_display_list()to simplify the functions and allow the integrator more flexibility. Both the widget and the Gutenberg block what will be in 6.3 are wrapped with an element with class.breadcrumbs.Forum: Plugins
In reply to: [Breadcrumb NavXT] Breadcrumb NavXT font sizeIf you use the recommended calling code, or the included widget, you should be able to target the
.breadcrumbsclass in CSS. I recommend using your web browser’s built-in inspector to test out styling before adding it to your theme or child theme’s style.css.To reduce the font size by 20% you can use:
.breadcrumbs{font-size: 0.8em;}- This reply was modified 7 years, 2 months ago by John Havlik.
Forum: Plugins
In reply to: [Breadcrumb NavXT] BreadcrumbList Schema disappeared after Yoast update 11.0You will want to continue using the Schema extension after the release of the next version of Breadcrumb NavXT. At the moment, my plan is to maintain this functionality in a separate plugin. In the future this may change. And, should the Yoast SEO schema core ends up in the WordPress core (which it probably should), then it will definitely be integrated into the Breadcrumb NavXT core.
Forum: Plugins
In reply to: [Breadcrumb NavXT] Listing Sibling CategoriesThis is not really supported out of the box by Breadcrumb NavXT. Normally, with location based breadcrumb trails (the ones Breadcrumb NavXT generates), the ‘one true path’ to a resource is what is represented. How do you envision these sibling terms appearing in the breadcrumb trail? In particular, how would the individual sibling categories be separated? The normal separator implies order/hierarchy, so it is not suitable for siblings.
Forum: Plugins
In reply to: [Breadcrumb NavXT] BreadcrumbList Schema disappeared after Yoast update 11.0As a followup, after reading the helpful documentation the Yoast team created, the
wpseo_schema_graph_piecesfilter is the correct way to go about this. I’ve written a quick extension plugin for Breadcrumb NavXT and uploaded it to github: https://github.com/mtekk/Breadcrumb-NavXT-Schema This should work with the current version of Breadcrumb NavXT. Lastly, to prevent duplicate breadcrumbList entries in the JSON-LD schema markup, you probably want to disable the Yoast breadcrumbs.- This reply was modified 7 years, 2 months ago by John Havlik.
Forum: Plugins
In reply to: [Breadcrumb NavXT] BreadcrumbList Schema disappeared after Yoast update 11.0It looks like they provide a couple of filters in the schema handler. Of interest are likely the
wpseo_schema_graph_piecesif one wants to implement theWPSEO_Graph_Pieceinterface (probably the correct long term way of doing it).Otherwise, the quicker way is to hook into
wpseo_schema_breadcrumbfilter, and replace what is returned with the output from Breadcrumb NavXT’s equivalent functions. Of course, this requires some modification to Breadcrumb NavXT itself. Since I don’t like to add 3rd party specific code into Breadcrumb NavXT, the internal adjustments to the JSON-LD generator will be made such that an external helper plugin can do that last bit of hooking into thewpseo_schema_breadcrumbfilter. The downside to this filter is it requires the Yoast Breadcrumbs option to be enabled.I’ll continue to play with this an let you know what I come up with. Either way, I believe I’ll be making changes in Breadcrumb NavXT that will appear in the next release (6.3.0).