Forum Replies Created

Viewing 15 replies - 481 through 495 (of 2,399 total)
  • Plugin Author John Havlik

    (@mtekk)

    Sorry for the delayed response. On the linked page, I’m not seeing a breadcrumb trail. The setting in the widget to reverse the breadcrumb order only affects the order the breadcrumbs appear in the markup generated by Breadcrumb NavXT. Depending on what your CSS is doing, you can manipulate the order the breadcrumbs are displayed on the page. My guess, based on what you wrote, is you have some CSS that is inappropriately targeting the breadcrumb trail and causing it to display in reversed order.

    Plugin Author John Havlik

    (@mtekk)

    It appears you are talking about LearnDash, a commercial plugin that is not in the .org plugin repo. Since this is the Breadcrumb NavXT support forum, you’re unlikely to find the help you are looking for here.

    Plugin Author John Havlik

    (@mtekk)

    It looks like the Google Structured Data Testing Tool is complaining about a JSON-LD breadcrumbList generated by another plugin. As to what’s actually going on there, you will need to dig into that a little more. If you’re going to use that other plugin’s JSON-LD, I suggest removing the schema.org markup from what Breadcrumb NavXT generates as you probably don’t want to deal with two BreadcrumbLists.

    Plugin Author John Havlik

    (@mtekk)

    Hi Alon,

    Depending on how you’re wrapping the individual breadcrumbs, you may need to target a <span> tag. I suggest using your web browser’s inspector tool to determine the exact element you need to target with your CSS.

    Plugin Author John Havlik

    (@mtekk)

    Since I don’t speak Russian, I had to run this through Google Translate, so please keep in mind that something may have been lost in translation. Removing the cursing, according to Google you’re asking: “when will you learn to add information on the output of crumbs of a CURSEWORD to the plugin page ?!”. I don’t really understand what you are asking here. What information regarding the output of breadcrumbs are you wanting on the plugin page (I assume the plugin page is the WordPress.org plugin repository page for Breadcrumb NavXT)? Under the installation tab there is already links to the documentation and articles regarding calling the breadcrumb trail and other relevant topics. Or, are you talking about something else?

    Plugin Author John Havlik

    (@mtekk)

    The string that shows up as translatable in WPML String translation is the default value of the setting. While you can translate/assign translations for the default value of that setting, it probably isn’t very useful. To actually translate the setting itself (so that it displays correctly on the frontend of the site), you will need to write code to register the strings from the Breadcrumb NavXT settings as translatable for WPML and write code that replaces the settings strings with the appropriate WPML translated string. If you don’t want to write this code yourself, you could use Breadcrumb NavXT WPML Extensions which does this for you.

    Plugin Author John Havlik

    (@mtekk)

    @jameseze: I just tested the code snippet I posted for the unlinked home template, and it does not cause any errors in the Google Structured Data Testing Tool (I’m using it on my site now).

    Currently, on your linked page, it appears your open graph metadata is causing errors in the BreadcrumbList. But, that’s just a bug in the Google Structured Data Testing Tool (if you remove a space and re-add it so that you can manually-re-run the loaded data it will pass without error). This is a long standing issue with the tool and one of the reason’s I don’t have much faith in Google. One thing I did notice on your site is you have JSON-LD BreadcrumbList and BreadcrumbList markup in the displayed breadcrumb trail. I would only use one or the other (the displayed breadcrumb trail without BreadcrumbList markup if you want to keep the JSON-LD BreadcrumbList should not be a problem).

    • This reply was modified 6 years, 3 months ago by John Havlik.
    Plugin Author John Havlik

    (@mtekk)

    @hellowords; From what I can tell, the breadcrumb trail on your site is not being generated by Breadcrumb NavXT (I’m seeing things in it that are not what Breadcrumb NavXT would generate by default). On the pages you get an error, you have schema.org markup for the breadcrumb representing the current page, but a URL is not present (e.g. it is not linked).

    Plugin Author John Havlik

    (@mtekk)

    After looking at this on my testbed, it’s likely a bad XML character getting entered (&nbsp;, &iacute;, or something similar > and < are ok). I’m thinking either something will need to change on the exporter, and potentially moving to a JSON exporter/importer as that should have fewer issues with these things.

    Plugin Author John Havlik

    (@mtekk)

    Thanks for reporting this issue. This will be fixed for the next release (likely 6.5.0). I have opened the following issue on github to track it: https://github.com/mtekk/Breadcrumb-NavXT/issues/236

    Plugin Author John Havlik

    (@mtekk)

    At the moment, the best reference for core components of Breadcrumb NavXT is the source code itself. There are comments in the code, including PHPDoc blocks for almost all functions.

    Plugin Author John Havlik

    (@mtekk)

    If you are expecting it to cause the breadcrumb to be linked, you need to now call the set_linked() method as well as setting the URL (passing in true to link the breadcrumb). In 6.4.0 the linked state was split out of the URL setting in order to use the unlinked template but still have the URL available for those that want to use the %link% template tag in the unlinked templates (for Schema.org BreadcrubList markup of unlinked items).

    Also, given that you already know the title and URL at creation, you may want to take advantage of the default constructor. That is, something like:
    $magazine_item = new bcn_breadcrumb('Media', null, array(), site_url() . '/media', null, true);

    Plugin Author John Havlik

    (@mtekk)

    The other option is to add <meta content="%link%" itemprop="url"> to the unlinked home template in addition to the rest of the markup for BreadcrumbList. It would look something like:

    <span property="itemListElement" typeof="ListItem">
        <span property="name">Home</span>
        <meta property="url" content="%link%">
        <meta property="position" content="%position%">
    </span>

    Note that I haven’t checked this yet, so it may need some adjusting to make Google fully happy.

    • This reply was modified 6 years, 4 months ago by John Havlik.
    Plugin Author John Havlik

    (@mtekk)

    There are a few ways you can organize your content to achieve this structure. If you are using a hierarchical taxonomy type, with Luxury Venues and Unique Venues being children “terms” to the Costa Rica Wedding Venues term, and set the hierarchy for the post type that you use for venues to that taxonomy (in the Breadcrumb NavXT settings), then Breadcrumb NavXT will pick up on this structure. However, if you are not using term/taxonomy archives and instead want to link to a page (instance of the page post type), then you’re going to need a little extra code to map the term to the appropriate page (see this article on how to do this: https://mtekk.us/archives/guides/link-to-a-page-rather-than-the-category-archive-in-a-breadcrumb/).

    Plugin Author John Havlik

    (@mtekk)

    @billbennett See the “Default (Schema.org BreadcrumbList support)” section in this article on calling the breadcrumb trail. As for on the home page, Google will complain if there is an empty BreadcrumbList. Since Breadcrumb NavXT does not by default include BreadcrumbList markup for unlinked breadcrumbs, you will see an error if you include the breadcrumb trail on your home page and do not set the current item to linked (or use custom markup for the unlinked templates to include a URL made possible in 6.4.0).

Viewing 15 replies - 481 through 495 (of 2,399 total)