John Havlik
Forum Replies Created
-
Forum: Plugins
In reply to: [Breadcrumb NavXT] Breadcrumbs NavXT does not show breadcrumbsMy first question is what happened/changed a week ago (any plugin updates, theme update, something else)? Have you checked the HTML source on the pages that you expect breadcrumb trails to show up to see if the code that surrounds the breadcrumb trail is there (determining if the theme file/where you placed the calling code changed)?
Regarding the settings, what action is the fusion_template post type registered under? Also, what action are the element_category, and template_category taxonomies registered under? If they are not resisted under
initthen that will cause issues (especially if they are registered afteradmin_init).Lastly, for support on Menu Magic, you need to open a support ticket on the site where you purchased it. Support for premium plugins is not offered on the .org forums.
Forum: Plugins
In reply to: [Breadcrumb NavXT] How to remove breadcrumbs from mobile?Give what is on the site linked,
.breadcrumbprobably will not target your breadcrumb trail, you probably want.breadcrumbs.Forum: Plugins
In reply to: [Breadcrumb NavXT] Problems with spaceIt looks like your style.css has a too generic property for
.postat line 2416 that floats it left, which causes the anchors to float left of the separators.Forum: Plugins
In reply to: [Breadcrumb NavXT] how to set colorsIn your theme’s style.css you have something around like 900 that is setting the background of the
.breadcrumbsclass to white (#fff). You’ll want to change this to whatever color you want. I suggest using your web browser’s built in inspector tools to test the changes you want to make before editing your style.css.Forum: Plugins
In reply to: [Breadcrumb NavXT] WPML Root page titleIf it works for you, you can do it that way. You may find the filter
bcn_breadcrumb_titlea better solution thatthe_title.Forum: Plugins
In reply to: [Breadcrumb NavXT] WPML Root page titleEnhanced compatibility with WPML is available with the Breadcrumb NavXT WPML Extensions plugin. Your other option is to write an action that translates the root page IDs for CPTs in the Breadcrumb NavXT options just before filling the breadcrumb trail (place this action in a site-specific plugin). Either option is better than modifying the core plugin.
Forum: Plugins
In reply to: [Breadcrumb NavXT] Shortcode custom location per page?Breadcrumb NavXT does not currently ship with a shortcode. Currently, your options are to use the included widget or using one of the many examples that call
bcn_display(). You can write your own custom shortcode that callsbcn_display().This was already brought up in this thread: https://wordpress.org/support/topic/structured-data-error-a-value-for-the-item-field-is-required/
To generate fully ‘compliant’ you can set “Link Current Item” in the settings page. However, the Google Structured Data Testing Tool wasn’t reading it correctly if you fetch from a URL rather than paste in the markup (as of earlier this week, may be fixed now).
Otherwise, if you do not want to link the current item, it appears, according to https://github.com/schemaorg/schemaorg/issues/982 that the metadata should not be included. I’ll change this in the default settings, but you’ll need to update your settings. Replace things such as:
<span property="itemListElement" typeof="ListItem"><span property="name">%htitle%</span><meta property="position" content="%position%"></span>
with
%htitle%Forum: Plugins
In reply to: [Breadcrumb NavXT] Gap on home pageThe above code would be used to replace your current call to
bcn_display(). If you are using the included Widget, then there should be an option to exclude on the front page in the Widget settings.Forum: Plugins
In reply to: [Breadcrumb NavXT] Gap on home pageNormally, to exclude the breadcrumb trail from the home page, you would use the following calling code:
<?php if(function_exists('bcn_display') && !is_front_page()):?> <div class="breadcrumbs" typeof="BreadcrumbList" vocab="https://schema.org/"> <?php bcn_display();?> </div> <?php endif; ?>This will prevent any output from Breadcrumb NavXT on the front page.
It looks like the google structured data tool has an issue with fetching URLs, if I edit the site on the left pane (e.g. just add a single character) and then press the green validate button, everything checks out.
The “change” to @id, is only for Schema.org BreadcrumbList in the JSON-LD format (and that happened over a year ago). The current issue appears to be the google structured data tool puking over something else on the page, if you delete everything but the code that Breadcrumb NavXT generates (and the wrapping div), the structured data tool is happy.
Unfortunately, it looks like Google is now (potentially incorrectly) requiring the current item to be linked. To work around this issue, you need to check “Link Current Item” option in the Breadcrumb NavXT settings page (and then press “Save Changes”).
Forum: Plugins
In reply to: [Breadcrumb NavXT] Breadcrumb show in google searchIf you use the recommended code for calling the breadcrumb trail. It looks like the theme (at least in the example link provided) is missing the
typeof="BreadcrumbList" vocab="https://schema.org/"in the div that wraps the breadcrumb trail. Without that, Google won’t automatically pick up the schema.org BreadcrumbList data and won’t pull into the search results.Forum: Plugins
In reply to: [Breadcrumb NavXT] Remove linkFor those that find this topic in the future, the way to generate a breadcrumb trail without links you want to set the second parameter in the
bcn_displayfunction to false. As an example, one can usebcn_display(false, false)rather thanbcn_display()