John Havlik
Forum Replies Created
-
Forum: Plugins
In reply to: [Breadcrumb NavXT] Full trail not shown?I’m referring to the post/page editor (where you edit the contents of the page). There should be a “Page Attributes” section on the side of the editor with a “Parent Page” setting, set that to the appropriate parent page for the page being edited, remember to save your changes (press the “Update” button).
Forum: Plugins
In reply to: [Breadcrumb NavXT] don’t show final breadcrumbI cover the three major ways in the topic linked by @wpfed. Of these, the simplest is to use the “remove current item” mini plugin. This will remove the current item for all pages (see https://github.com/mtekk/Breadcrumb-NavXT-Extensions/blob/master/breadcrumb_navxt_remove_curitm.php).
Forum: Plugins
In reply to: [Breadcrumb NavXT] Full trail not shown?How are you setting “subpage” as a child of “Top level page”? Are you doing this within the editor for the “subpage” (setting “Top level page” as the parent page for “subpage”)? Or are you doing this via the WordPress menu editor? For Breadcrumb NavXT to find the relationship, you must set “Top level page” as the parent page within the editor when editing “subpage”.
Forum: Plugins
In reply to: [Breadcrumb NavXT] Referring page, posts in multiple catagoriesWhat you’re asking for is more of a path breadcrumb trail rather than location breadcrumb trail. Breadcrumb NavXT by default generates location breadcrumb trails. The “Allow referring page to influence…” setting only applies to taxonomy selection. For selecting a different term in the same taxonomy (what you seem to be asking for), you either need some additional code that hooks into the
bcn_pick_post_termfilter). Should you not want to implement this yourself, there is a premium extension plugin (Breadcrumb NavXT Paths) that does this for you.Forum: Plugins
In reply to: [Breadcrumb NavXT] Missing field “id” in Breadcrumbs on Google Search ConsoleJust a note for future reference, please wrap code in the backtick (or press “code” button in the forum message editor), otherwise it gets garbled.
From what you posted, it looks like either you have not been using the default settings for templates in Breadcrumb NavXT, or have a site that has been running Breadcrumb NavXT for a long time (from before the default settings were corrected a while back). Use the Structured Data Testing tool for more immediate response to whether or not the error is fixed (though that tool has its own issues).
Forum: Plugins
In reply to: [Breadcrumb NavXT] Missing field “id” in Breadcrumbs on Google Search ConsoleHonestly, I don’t know what happened. I am not an admin on the .org forums so I can’t delete posts. Either the thread was cleaned up by a moderator, or there is another thread on this (there have been several).
Regarding:
So now, how to keep the last/current item in the trail, and giving it an id/href without turning it as a link ?
I guess I don’t know what you’re trying to do here. You should only need an ID if you have the schema.org markup for a breadcrumb, if the breadcrumb is unlinked it must not have the schema.org markup (otherwise you will get errors). As far as I can tell, Google still can’t manage to fix their tools as pasting the page contents into the tool validates even though when fetching via the tool it flakes out with the ID error.
- This reply was modified 6 years, 9 months ago by John Havlik.
Forum: Plugins
In reply to: [Breadcrumb NavXT] Missing field “id” in Breadcrumbs on Google Search Console@crowndi:
In the structured data tool, it looks like Google doesn’t really like multiple references to the current page (hence all the og: and other items getting picked up, even though they shouldn’t). The current recommendation is to not link the current item (and subsequently not include schema.org markup for unlinked breadcrumbs).@asc1212:
If you’re getting the Missing field “itemListElement”, that is likely on your home page if you display a breadcrumb trail that is not linked (this is the only place I see it on my site). In the shown snippet, it appears you are adding schema.org markup for an unlinked breadcrumb, which you should not do (you will get missing field “item” errors).Forum: Plugins
In reply to: [Breadcrumb NavXT] Breadcrumbs in search resultsBreadcrumb NavXT can be called within the loop. However, by default Breadcrumb NavXT caches the breadcrumb trail. So, if you were to place
bcn_display()in the search results loop, you would only get the breadcrumb trail for the first result repeated for every result. For situations like this, the fourth argument for thebcn_displayfunctions was added. To achieve what you want to do, you’ll want to use something likebcn_display(false, true, false, true)instead of the usualbcn_display().Forum: Plugins
In reply to: [Breadcrumb NavXT] Category is not being shown on pages (works on posts).This seems to be similar to this topic: https://wordpress.org/support/topic/is-it-possible-to-show-categories-breadcrumbs-on-pages/
Out of the box Breadcrumb NavXT does not support taxonomies for the page post type. Since the page post type can be the root of other post types, it is only allowed to use parent pages/post hierarchy in the breadcrumb trail.
For your example, if you want ‘About Us’ to be in your breadcrumb trail for the page ‘SkyFall History’, then ‘About Us’ needs to be the parent page for the ‘SkyFall History’ page.
Forum: Plugins
In reply to: [Breadcrumb NavXT] “Home” is not showingThe page you linked to seems to be in “maintenance mode” so I can’t actually see what is going on. However, this sounds similar to a question that another user asked recently. Please checkout this thread and my response: https://wordpress.org/support/topic/showing-site-title-instead-of-home-page-title/ Hopefully, it resolves your issue. If not, please let me know.
Forum: Plugins
In reply to: [Breadcrumb NavXT] Structured Data Testing Tool ErrorOfficially, schema.org’s BreadcrumbList does not have a method of containing the current item (the breadcrumb representing the current page) if it is unlinked. Hence, in Breadcrumb NavXT 6.2 schema.org markup is no longer present in the default setting values for the unlinked templates (in most cases the unlinked templates should contain just
<span>%htitle%</span>).When the current item is linked and you get the Open Graph errors, do any of them make sense/point to an actual problem, or do they appear to be gibberish?
Forum: Plugins
In reply to: [Breadcrumb NavXT] Is it Possible to Show Categories Breadcrumbs on Pages?If you want a hierarchical post type to use a taxonomy for its hierarchy, you’re better off using a Custom Post Type. Pages, since they can be the root for other post types, are treated differently by Breadcrumb NavXT. In Breadcrumb NavXT, pages are only allowed to use the “post parent” hierarchy, hence the settings page does not even provide options for selecting a taxonomy for pages.
Forum: Plugins
In reply to: [Breadcrumb NavXT] Showing Site Title instead of Home (Page title)Changing
%htitle%to%title%will only change from allowing HTML in the title to stripping HTML tags out. For what you want to do, try the following: In the Breadcrumb NavXT settings, change the Home Breadcrumb Templates so that all instances of%htitle%and%title%are replaced withHome.Forum: Plugins
In reply to: [Breadcrumb NavXT] Link ALL the categories in the hierarchy (Deux?)How are you trying to call the breadcrumb trail? From what I can tell, the breadcrumb trail on the linked page isn’t being generated by Breadcrumb NavXT. You may need to look into how the theme is generating/placing it’s breadcrumb trail and see if there is a way to override it/replace the call with the Breadcrumb NavXT calling code.
Forum: Plugins
In reply to: [Breadcrumb NavXT] Disabling breadcrumb display on some pagesIf you don’t want the breadcrumb trail markup to appear, you normally handle this by wrapping the calling code with an
ifstatement that checks for the page you do not want to have a breadcrumb trail on. See https://mtekk.us/archives/guides/calling-the-breadcrumb-trail/ for an example. Otherwise, you can hide it via CSS as @tapiohuuhaa suggested.