Override breadcrumbs in Pro theme with Breadcrumb NavXT

Hi guys, I’m trying to hook in to the Pro header breadcrumb module to override with ‘Breadcrumb NavXT’ function bcn_display();

I’d like to use this plugin to get a little more flexibility with the breadcrumbs.

Here is my current site with the standard Pro breadcrumb module - https://prints-test.folioalbums.com/shop/

Could you explain how I can override from within functions.php?

Thanks

Hello @stewartrandall,

Thanks for asking. :slight_smile:

Unfortunately that will require custom development which falls outside the scope of support we can offer. You can take a look at following article for some pointers.

I am also sharing Google Search Result that you can take a look at for more resources. Please Click here and here.

Thanks for understanding.

Hi Pransant and thanks for coming back to me.

I don’t need any help with custom development, just need to know if there is a hook on to which I can deliver my code. Some posts suggest x_breadcrumbs(), however I think this is only for standard headers. It seems as if the Pro headers use a different hook.

Thanks

Stewart

Hi there,

Unfortunately the Breadcrumbs element in the Header is not a hook based feature. It is an element defined in the Header builder system. You can see the file which is responsible for the definition here:

wp-content/themes/pro/cornerstone/includes/elements/definitions/breadcrumbs.php

And the backend implementation here:

wp-content/themes/pro/cornerstone/includes/elements/mixins/breadcrumbs.php

And the frontend implementation:

wp-content/themes/pro/cornerstone/includes/views/elements/breadcrumbs.php

So you can not customize the Breadcrumbs element using the conventional WordPress Hook based system.

At the moment we do not have an API implemented to automate the process like the Classic elements. This feature is planned to be implemented in the late future.

Thank you for your understanding.

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.