• ldpr

    (@ldprecords)


    Hi, I’m using the NavXT plug-in with my WooCommerce shop (Storefront theme) and have been trying to set the rule for the breadcrumbs to appear only on single product pages, with no success. Which would be the proper way to do this? Thanks

Viewing 1 replies (of 1 total)
  • Plugin Author John Havlik

    (@mtekk)

    Normally, if you use something like bcn_display() to call the breadcrumb trail, you would wrap that with an if statement that checks for is_singular(POST_TYPE) where POST_TYPE for a WooCommerce product. In the last example in the following article, a similar setup to what you want is presented (however it is for specific pages instead of a post type): https://mtekk.us/archives/guides/calling-the-breadcrumb-trail/.

Viewing 1 replies (of 1 total)
  • The topic ‘NavXT Breadcrumbs on single product pages only’ is closed to new replies.