John Havlik
Forum Replies Created
-
Forum: Plugins
In reply to: [Breadcrumb NavXT] Schema for each element in breadcrumb listIs there a reason you want the want the breadcrumbs to be separate elements? I ask as that is following the deprecated Breadcrumb syntax, Schema.org BreadcrumbList syntax (what Breadcrumb NavXT natively supports) is the replacement for the old syntax.
Forum: Plugins
In reply to: [Breadcrumb NavXT] Schema for each element in breadcrumb listIf you want the current item to be linked, make sure the “Link Current Item” option under the General tab in the Breadcrumb NavXT settings page is checked (and then press “Save Changes” after changing it).
Forum: Plugins
In reply to: [Breadcrumb NavXT] Post Parent optionSomething like Post Parents will add that functionality: https://github.com/mtekk/Post-Parents Note that it just deals with pages, if you want other post types, you can probably edit its code to accomplish that.
Forum: Plugins
In reply to: [Breadcrumb NavXT] Breadcrumbs project root pageWordPress doesn’t really support multiple roots for a single post type. The concept of a root is that there is only one. Instead, I would consider one of two alternative methods of achieving what you want. The simplest is to have two separate custom post types, one for “cell phone repairs” and one for “computer repairs”. This way the built in support for root pages in Breadcrumb NavXT will do what you need.
The other option is to use a custom taxonomy, and then map the taxonomy terms for ‘cell phone repairs’ and ‘computer repairs’ to pages with the same name. See this recent thread for an example on how to do this: https://wordpress.org/support/topic/breadcrumb-for-pages-instead-of-categories/
Forum: Plugins
In reply to: [Breadcrumb NavXT] Save problemBreadcrumb NavXT 6.2.1 was released yesterday (2018-10-26).
Forum: Plugins
In reply to: [Breadcrumb NavXT] Breadcrumb for pages instead of categoriesYou can do this using the
bcn_breadcrumb_urlfilter. See https://mtekk.us/archives/guides/link-to-a-page-rather-than-the-category-archive-in-a-breadcrumb/ for an example on how to do this. Otherwise, if you not want to write any code, Breadcrumb NavXT Paths provides an interface to map categories to pages.Forum: Plugins
In reply to: [Breadcrumb NavXT] WPML Root page titleMy general philosophy is that support for features not in WordPress core (e.g. 3rd party plugins) is handled via extension plugins to Breadcrumb NavXT. You can use what posted above, just note that it uses WPML’s old API.
Forum: Plugins
In reply to: [Breadcrumb NavXT] Show only main selected categoryThis sounds similar to this request: https://wordpress.org/support/topic/post-belonging-to-multiple-categories-shows-wrong-bc-trail/
My answer is similar, you can write code targeting
bcn_pick_post_termto select the term you want.Forum: Plugins
In reply to: [Breadcrumb NavXT] Post belonging to multiple categories shows wrong bc trailThe
bcn_pick_post_termfilter can facilitate this, you’ll need to write some code to deal with selecting your preferred term (see the documentation for information on the filter https://mtekk.us/code/breadcrumb-navxt/breadcrumb-navxt-doc/2/#bcn_pick_post_term). If you don’t want to write a hook into the filter, the Breadcrumb NavXT Paths extension may be of interest.Forum: Plugins
In reply to: [Breadcrumb NavXT] Styling and PHPThe linked page does not appear to be using Breadcrumb NavXT to generate it’s breadcrumb trail. It looks like your breadcrumb trail is in a
pelement with idbreadcrumbsso you’d want to target that with your CSS.Forum: Plugins
In reply to: [Breadcrumb NavXT] The following settings were not saved:As a heads up 6.2.1 has been released.
Forum: Plugins
In reply to: [Breadcrumb NavXT] Multiple Undefined indexFYI 6.2.1 has been released
Forum: Plugins
In reply to: [Breadcrumb NavXT] Are shortcodes available for this plugin?Breadcrumb NavXT itself does not ship with a shortcode. If you want one, you can quite easily create one in a site specific plugin. Otherwise, the Breadcrumb NavXT uManager extension plugin does provide shortcodes for bcn_display and bcn_display_list.
Forum: Plugins
In reply to: [Breadcrumb NavXT] Version 6.2.0 Not Applying ‘Name’ class to current pageAs far as I can recall, Breadcrumb NavXT never added a ‘name’ class to the breadcrumbs. In 6.2.0 it did stop erroneously including microdata wrappers for the Schema.org BreadcrumbList format on unlinked breadcrumbs when using the default breadcrumb templates. In 6.2.1, the default unlinked breadcrumb template was changed to include a span wrapper so that it is easier to target with CSS styling. Please check if that makes what you are trying to do easier (you may need to target the
current-itemclass, or try selecting the lastspanin element that contains all of the breadcrumbs).Forum: Plugins
In reply to: [Breadcrumb NavXT] how to add custom page link in Breadcrumb NavXTPlease see the following recent support thread regarding how to do something similar to this: https://wordpress.org/support/topic/add-custom-link-in-the-breadcrumb/