John Havlik
Forum Replies Created
-
Forum: Plugins
In reply to: [Breadcrumb NavXT] Vista-like breadcrumbs separatorThe article you linked to provides CSS that does work (you need to add it to your theme/child theme’s style.css or add a style via a site specific plugin), but it expects a breadcrumb trail that is in
lielements. The multidimension extensions does that. When usinglielements to wrap the breadcrumbs, the breadcrumb separator is not used, you must use CSS to get a separator in this case.Forum: Plugins
In reply to: [Breadcrumb NavXT] 7.2 to 7.3 broke home page breadcrumb template displayLooking into this more, I’m no longer able to reproduce the issue in my testbed (where a page template was used instead of the home template). One thing to check is to ensure the network settings and sub site settings have both been migrated. It is possible your network settings are overriding your sub site settings resulting in unexpected behavior. As to why that would change between 7.2 and 7.3, I’m not sure, as nothing changed in that area.
Forum: Plugins
In reply to: [Breadcrumb NavXT] 7.2 to 7.3 broke home page breadcrumb template displayLooks like it’s using the page template instead of the home template, so that should get fixed. I’m tracking it in the following Github issue: https://github.com/mtekk/Breadcrumb-NavXT/issues/298
That said, to prevent displaying the breadcrumb trail on the home/frontpage, you should wrap your call to
bcn_display()with a check foris_front_page(). Such as:<?php if(function_exists('bcn_display') && !is_front_page()):?> <div class="breadcrumbs" typeof="BreadcrumbList" vocab="https://schema.org/"> <?php bcn_display();?> </div> <?php endif; ?>Or, if you are using the Widget or editor Block, both have an option for hiding the breadcrumb trail on the frontpage.
Forum: Plugins
In reply to: [Breadcrumb NavXT] Multisite Home not appearing on Site HomeI managed to get my testbed back up and running. The bad news is, I wasn’t able to reproduce this issue on it (the mainsite breadcrumb is appearing on the breadcrumb trails generated for the home and posts pages of subsites). I’ll look into this a little more, but there may be something else happening here as well.
Forum: Plugins
In reply to: [Breadcrumb NavXT] Multisite Home not appearing on Site HomeMy guess would be a change to try to fix an issue with working within the loop may have broken things for the frontpage of multisite setups. Unfortunately, my testbed is currently broken so I’ll have to fix that before getting to investigating this more. In the meantime, 7.2 likely doesn’t have this issue, and unless you need a feature present in 7.3, you can use 7.2 until a bugfix is issued.
I’m tracking this in the following issue on github: https://github.com/mtekk/Breadcrumb-NavXT/issues/297
- This reply was modified 2 years, 3 months ago by John Havlik.
Forum: Plugins
In reply to: [Breadcrumb NavXT] [shortcode]Breadcrumb NavXT includes a widget and a block for the block editor. The general recommendation is, at this point, you should be using blocks instead of shortcodes (that is the direction WordPress is moving). Due to this, it is unlikely that a shortcode will ever be added to the core of Breadcrumb NavXT. Currently, a shortcode is available via an extension to Breadcrumb NavXT (uManager). Otherwise, adding one with a site specific plugin isn’t terribly difficult.
Forum: Plugins
In reply to: [Breadcrumb NavXT] PHP Warning in error_logGetting that warning is odd. For that to happen the ID passed in to the function was not for a post (so
get_post()returned null). The only call within the plugin checks if the ID passed in is from an instance of WP_Post, so, either there is something else that made the call to thepost_hierarchy()function, or something is quite broken. Eventually, that function is going to change (next major release, i.e. 8.0), in the meantime I can look at adding a check before the line of code throwing the warning.Forum: Plugins
In reply to: [Breadcrumb NavXT] Error after updating to v7.3.0For support with the extension plugins, you should open a support ticket on the site the extension was purchased from. In general, you want to update the extensions before updating the core plugin. Also, you probably want to remove that link you have in your reply.
Forum: Plugins
In reply to: [Breadcrumb NavXT] Error after updating to v7.3.0Based on the error, double check that you are actually using the latest version of the extension (the error should not show up with version 1.5.7 of the extension).
Forum: Plugins
In reply to: [Breadcrumb NavXT] Product Category in the BreadcrumbsIt appears the linked page still isn’t using Breadcrumb NavXT to generate it’s breadcrumb trail. Simply activating Breadcrumb NavXT does not cause it to generate breadcrumb trails for you, you still need to specify where the breadcrumb trail should appear (either via calling
bcn_display()in your theme, using the included Breadcrumb Trail block, or using the included widget).Forum: Plugins
In reply to: [Breadcrumb NavXT] HP Warning: Undefined property: WP_Post_TypeBased on where the warning is occurring, it sounds like something is changing the queried object to be of type
WP_Post_Typeinstead of the expectedWP_Userfor an author archive page. I’ll add a check for the expected object type. That said, you may want to chase down why the queried object is of the wrong type for an author archive page if you care about the breadcrumb trail being correct on those pages.- This reply was modified 2 years, 4 months ago by John Havlik.
Forum: Plugins
In reply to: [Breadcrumb NavXT] Product Category in the BreadcrumbsThe breadcrumb trail showing up on the linked page doesn’t appear to be generated by Breadcrumb NavXT. Check your theme file for your store/product pages and ensure it calls Breadcrumb NavXT. Once Breadcrumb NavXT is being used for the product/shop pages, I’m going to point you to the WooCommerce compatibility tips article for how to configure Breadcrumb NavXT for WooCommerce.
Forum: Plugins
In reply to: [Breadcrumb NavXT] Left align?Try setting
.widget_breadcrumb_navxt{float:left;}in your CSS.Forum: Plugins
In reply to: [Breadcrumb NavXT] all levels of subcategories didn’t showIf the subcategory is a child of the main category, and the product is only an explicit member of the subcategory, Breadcrumb NavXT should pick up and generate a trail with both the subcategory and parent category in it. Double check to ensure that the category relationship is established and that Breadcrumb NavXT is generating the breadcrumb trail on the page in question (since you mention product, the plugin that handles products may be generating the breadcrumb trail on those pages currently).
Forum: Plugins
In reply to: [Breadcrumb NavXT] difference in first level of breadcrumbsIf the top level breadcrumb is varying, it may be a case of multiple different code paths (plugins) generating the breadcrumb trail on different pages. For the home breadcrumb in Breadcrumb NavXT, you can change it from the site title to “Home” by changing both Home Breadcrumb templates in the Breadcrumb NavXT settings page. Replace instances of %htitle% and %title% with Home in the Home Breadcrumb templates (both the regular one and the “unlinked” one) and press the “Save Changes” button.