I have successfully installed NavXT Breadcrumbs. The system is hosted on wpengine.com. It is a multisite environment running PHP 8.2 with WordPress 6.5.2.
The error log started to produce this warning:
PHP Warning: Undefined array key "Htax_pp_category_tag_template" in /nas/content/live/site_name/wp-content/plugins/breadcrumb-navxt/class.bcn_breadcrumb_trail.php on line 594
While I recognize it is just a warning we still investigate them.
Thank you
Can you please point me to the right file, to add NavXT breadcrumbs php code?
Thank you
]]>Can’t figure out how to translate my Custom post type archive title in NavXT.
I have a translatable custom post type:
$labels = array(
'name' => __( 'Auto\'s', 'tatof_lang'),
'singular_name' => __( 'Auto', 'tatof_lang'),
'menu_name' => __( 'Auto\'s', 'tatof_lang'),
'name_admin_bar' => __( 'Auto\'s', 'tatof_lang')
)
...
I tried this:
1. When I translate it though .PO files it doenst work @ NavXT.
2. When I try to setup different settings with WPML. (switch between languages and changes the settings in NavXT)
3. Searched for translation strings in NavXT with WPML
The plugin says that NavXT is compatible with WPML but I can’t figure out how to fix this little peace..
Home > Sitename > Auto’s
Must become:
Home > Sitename > Cars
My translation and .PO files work fine when I check other variables / places. Even getting the custom post type ‘name’ works fine in both languages.
What am I doing wrong?
How do I make %htitle% translatable?
Thanks
Edit: Also tried %title% does the same
Edit2: same with %fhtitle%
I can NOT see the breadcrumb on frontend, it just disappeared
In ispect I see this:
<script type="application/ld+json">{"@context":"https:\/\/schema.org","@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","position":1,"item":{"@id":"https:\/\/www.MySite.com\/","name":"Home"}},{"@type":"ListItem","position":2,"item":{"@id":"https:\/\/www.MySite.com\/subMenu1\/","name":"subMenu1"}},{"@type":"ListItem","position":3,"item":{"@id":"https:\/\/www.MySite.com\/subMenu1\/consumer-subMenu1\/","name":"pageName"}}]}</script>
In child’s header.php I have this code
<!-- NavXT Breadcrumbs plugin -->
<div class="breadcrumbs">
<?php if(function_exists('bcn_display'))
{
bcn_display();
}?>
<!-- END NavXT Breadcrumbs plugin -->
The code was shortened according your help to disable NaxXT from schema as it is handled by another plugin.
In addition I have the following css changes in style.css which I don’t think it matters. Playing/disable it didn’t fix the matter
/* position of NavXT Breadcrumbs */
.breadcrumbs {
text-align: left;
font-size: 16px;
margin-left: 340px;
margin-top: 6px;
margin-bottom: 8px;
}
@media only screen and (max-width: 980px) {
.breadcrumbs { display: none !important; }
}
/* Colors of NavXT Breadcrumbs links */
.breadcrumbs a:link { color: #427265; }
.breadcrumbs a:visited { color: #000000; }
I still want NavXT to show the breadcrumb on pages/posts, but not handle the schema code as it is handled by a dedicated schema plugin.
Will appreciate your kind help
Thanks
https://illustratordersleri.com/2018/page/3/
https://illustratordersleri.com/2020/02/
https://illustratordersleri.com/2018/10/page/3/
https://illustratordersleri.com/2018/10/page/2/
https://illustratordersleri.com/2019/12/
I have a custom post type that has categories. For some reason when you go into a post within one of those categories, NavXT is adding span tags around the category name even though I have set up something different in the admin. For example
My breadcrumb should look like this:
<ul aria-label="breadcrumb" role="navigation">
<!-- Breadcrumb NavXT 5.7.1 -->
<li><a property="item" typeof="WebPage" title="Home" href="https://www.sitelink.com">home</a></li>
<li><a property="item" typeof="WebPage" title="Post Type" href="https://www.sitelink.com/post-type">Post type</a></li>
<li><a property="item" typeof="WebPage" title="Category" href="https://www.sitelink.com/post-type/category">Category</a></li>
<li>Item</li>
</ul>
whereas it actually looks like this:
<ul aria-label="breadcrumb" role="navigation">
<!-- Breadcrumb NavXT 5.7.1 -->
<li><a property="item" typeof="WebPage" title="Home" href="https://www.sitelink.com">home</a></li>
<li><a property="item" typeof="WebPage" title="Post Type" href="https://www.sitelink.com/post-type">Post type</a></li>
<span property="itemListElement" typeof="ListItem">
<span property="name">
<li><a property="item" typeof="WebPage" title="Category" href="https://www.sitelink.com/post-type/category">Category</a></li>
</span>
<meta property="position" content="3">
</span>
<li>Item</li>
</ul>
Note the span tags around the category.
Any ideas how to remove the span tags which don’t exist in the admin at all??:/
Many thanks
]]>I’ve installed the NavXT plugin succesfully en implemented it into the Enfold theme. Everything works just fine until I check the option “Link current item” in the general settings of the plugin.
Then I get lots of error messages in the Google Testing Tool. See screenshot below.
How can I fix this?
Thanks in advance
I have just a couple of questions.
Is it possible to have only the current breadcrumb trail title in bold, and the rest of the trail a smaller font.
So for example
Home – Page – Post (only post would be a large bold font)
]]>