Questions tagged [breadcrumb]

The tag has no usage guidance, but it has a tag wiki.

Filter by
Sorted by
Tagged with
0 votes
0 answers
11 views

Multiple categories assigned to a single product breaking the breadcrumb

custom bread crumb not working with multiple categories assigned to a single product, we do not have the categories page, so don't want to show categories in the URL, but need to show the categories ...
user avatar
  • 199
0 votes
0 answers
145 views

Link custom post type to parent page and show in slug / breadcrumb

I am using the Custom Post Type UI plugin to add custom post types to our website. We now created a CPT called IPDC. For this custom post type, we would like to have the option to link every IPDC page ...
user avatar
0 votes
1 answer
40 views

How to add woocommerce products header title in woocommerce_breadcrumb hook to function.php

Iam new to WooCommerce theming and get stuck with category display page here is the code i have: /** * Change several of the breadcrumb defaults */ add_filter('woocommerce_breadcrumb_defaults', '...
user avatar
1 vote
0 answers
108 views

Getting error when trying to implement site-wide breadcrumbs in Twentytwentyone Theme [closed]

I've purchased the Yoast SEO Premium plugin earlier this year, but I wasn't able to figure out how to enable breadcrumbs until a few days ago. At first I thought I had to add blocks to every page and ...
user avatar
0 votes
0 answers
65 views

How to add Schema markup to breadcrumbs

I've used the code from this answer in the breadcrumbs, and it works well. I also added Schema.org markup: https://schema.org/BreadcrumbList Please see at the bottom under "Microdata", It ...
user avatar
  • 1
0 votes
0 answers
43 views

Error in Fetching Custom Post Type parent Category URL (slug)

I have this code for breadcrumbs that works fine except the custom post type parent category URL and the category TITLE. The parent category URL is does not return the valid (correct) slug while its ...
user avatar
0 votes
0 answers
29 views

Title and URL Error in Breadcrumb Navigation for Custom Post Types

I have this code I got from here on StackOverflow. It works great across my wordpress site but the problem is that on the custom post type single pages, the parent category's link it fetches for every ...
user avatar
0 votes
0 answers
127 views

How to translate breadcrumbs

Tell me how to translate breadcrumbs. I'm using WP globus for translations, and breadcrumbs from the plugin Breadcrumb NavXT.
user avatar
  • 1
0 votes
0 answers
149 views

Post template with breadcrumb needs to show page navigated from

I have a custom post type, Reports, that contains many categories (custom taxonomies). These posts are organised in menus on different pages. So a menu page named "Best Reports" would have ...
user avatar
0 votes
0 answers
115 views

Yoast breadcrumb URL shows category instead of the page

I have setup Yoast breadcrumbs in my category pages en posts inside that category page. Category page: home/diensten/ Post page: home/diensten/support/ When I want to navigate back from the support ...
user avatar
  • 1
1 vote
0 answers
178 views

Woocommerce Porto Theme Hide Selected Categroy for Breadcrumbs

I try everything. My breadcrumbs is not default to Woocommerce. I use Porto Theme for Wordpress. This is my breadrumbs.php <?php global $porto_settings; $breadcrumbs = $porto_settings['show-...
user avatar
1 vote
0 answers
86 views

How do I hide or remove 'Category' from wordpress breadcrumbs

I'm building an ecommerce product page for a single product and am interested in including breadcrumbs. Since I only have a single product, how might I remove or hide the "Category" (...
user avatar
1 vote
1 answer
106 views

Changing title & add Breadcrumbs

Im wondering the possibilities of making the title of a page change depending how the user got there? For example, if they are on the homepage and make a search, would it be possible to display what ...
user avatar
  • 11
1 vote
1 answer
130 views

Some archive by year page return 404

When clicking on archive in my wordpress blog I get a list with links to different month, e.g., October 2020, ..., June 2019, ... When clicking on a month I get a view with posts whichs were published ...
user avatar
  • 11
0 votes
1 answer
54 views

How to replace home link anchor text with image

I'm trying to replace home link text with an image for breadcrumb trailer. Mouse cursor is still pointer but image doesn't appear. I'm using this breadcrumb trailer How could I this working please ...
user avatar
1 vote
2 answers
349 views

Wordpress display breadcrumbs using Yoast plugin [closed]

Hi so for all my Wordpress 5.4 site’s posts (articles), I'm using Yoast SEO plugin for breadcrumbs across my site. For all my posts (articles) I just want: Home > CategoryLink > as breadcrumbs, not ...
user avatar
  • 11
1 vote
1 answer
128 views

How can I change the functionality of breadcrumbs?

So I've tried with the Woocommerce breadcrumbs and a plugin called Breadcrumbs NAVXT. Both show the breadcrumbs when I go from a category to a product, the subcategory in the breadcrumbs. Even though ...
user avatar
  • 111
1 vote
1 answer
1k views

is_shop, is_home, is_front_page doesn't work for woocommerce

I tried to remove breadcrumbs from homepage because it looks really ugly, but i can't do this because conditionals don't work. *I took that from woocommerce docs add_action( 'init', '...
user avatar
  • 11
2 votes
2 answers
5k views

Yoast SEO breadcrumbs: how to create a filter that uses the url slug for breadcrumb titles

I know we can manually edit the breadcrumb title for a page or post using Yoast SEO's breadcrumb functionality. But with thousands of posts and pages on an existing site this isn't desirable. My ...
user avatar
  • 21
0 votes
1 answer
5k views

how to add custom breadcrumbs in wordpress?

I need a custom breadcrumb for my account page.Can we do it via functions.php ? add_filter('theme_breadcrumb_args_filter', 'customize_separator_breadcrumbs'); function ...
user avatar
0 votes
0 answers
122 views

Can't get parent page id

I use the free-blog theme and I have created a menue: Home page A page B Child page A Child page B Child page C Page C Child Post A Child Post B Now I want to ...
user avatar
1 vote
1 answer
100 views

Error after woocommerce update from 2.6 to 3.5 [closed]

Fatal error: Uncaught Error: Call to a member function get_breadcrumb() on string in /home/elaieu/domains/elfai.lt/public_html/assets/plugins/woocommerce/includes/class-wc-structured-data.php:321 ...
user avatar
  • 11
1 vote
2 answers
3k views

How to obtain page breadcrumb based on menu structure only?

I want to obtain a path of all parents for current page. Something similar to breadcrub but used only for pages listed in menu. For example if i have following structure: L Menu L Sub menu ...
user avatar
  • 115
0 votes
0 answers
194 views

Using the_title() and fetching the parent page's title and slug to construct breadcrumbs

I'm trying to construct a breadcrumb trail where some of the paths consist of parent/child custom post types. For example: else if ( is_singular( 'resort' ) ) { global $post; $post_data = ...
user avatar
  • 222
0 votes
1 answer
489 views

Make Woocommerce breadcrumbs show up using functions.php file

I updated my Woocommerce site to version 3.4.5 and the breadcrumbs disappeared. I didn't make any changes to the site except the update to Woocommerce right after updating to the newest WP 4.9.8 ...
user avatar
  • 1
1 vote
1 answer
330 views

Breadcrumbs on Product Page Always Show Wrong Product [closed]

If I visit a product page, for example: http://woocommerce-176860-513159.cloudwaysapps.com/product/ardbeg-grooves-limited-edition/ And look at the breadcrumbs, they show the wrong product. It turns ...
user avatar
0 votes
1 answer
39 views

problem after update 4.9.6 [closed]

I see the lines Catchable fatal error: Object of class WP_Error could not be converted to string in /www/htdocs/w00d66ef/wp-content/themes/rttheme15/rt-framework/functions/rt_breadcrumb.php on line 40 ...
user avatar
  • 1
1 vote
0 answers
824 views

How to Create a Parent of Pages But have it not link yet keep the URL Path?

I have the following menu structure: About Us - Overview - Partners What I would like is for the About Us parent to not have a page associated, aka no link, yet have the children/breadcrumbs ...
user avatar
0 votes
0 answers
529 views

Custom post type archive false is not compatible with breadcrumbs

I have a custom post type (services) and archive page is as false (has_archive => false), when I visit single service post the breadcrumb contains url Services as url single (ID). I change ...
user avatar
-1 votes
1 answer
2k views

Back button to previous page and breadcrumbs

I must add back button only on one page and only when I get to this page from one specific. If I on B Page and go to A Page -> display button od A Page but if I on C Page and go to A Page - button ...
user avatar
  • 9
1 vote
3 answers
4k views

How to create a breadcrumb for pages?

I would like to display the 'file path' in the conventional position on a page on my WordPress site. Something like this: Does anybody know if this is possible without manually typing it onto each ...
user avatar
0 votes
1 answer
10k views

Category name as page title

I'm using a theme from Envato Market (Painting). What I need to do is to replace a generic page title which is displayed when I open a category page from Shop or Portfolio, with the actual name of the ...
user avatar
0 votes
1 answer
535 views

Direct link to post when multiple categories are selected

I have an custom Permalinks format: /%category%/%postname% It works fine as each posts gets link base on category, like category1/sub-category1/post-title. The problem is, when I assign the post to ...
user avatar
0 votes
1 answer
667 views

WooCommerce breadcrumb display custom posts instead of product data

I'm working on a custom theme with some additional features for my store. To gather all promotions in one place in my store back-end and front-end, I created custom post type, custom taxonomy for it. ...
user avatar
2 votes
1 answer
3k views

How to add category to the permalink and breadcrumb?

I have just created a post called dolphin with the category species, but it apperas like http://example.com/dolphin/ How can I set the species category appear in the URL..like http://example....
user avatar
  • 23
-1 votes
1 answer
3k views

woocommerce breadcrumb only in cart and checkout pages

I wondered how it is possible, to make the breadcrumb appear only in cart and checkout pages without using a plugin? I am using Flatsome 3.x and I created a Child-Theme. I know how to adjust things, ...
user avatar
  • 151
0 votes
1 answer
4k views

How to Modify Breadcrumb Page Names for Specific Pages? [closed]

I am using the Wordpress SEO (Yoast) plugin to display breadcrumbs on my site. It works fine for the most part, but on a handful of pages (4 to be exact) I want to change the breadcrumb names only. ...
user avatar
  • 149
0 votes
1 answer
1k views

Breadcrumbs and Categories

I have a post with two/three categories associated to it. Category 1 (1) and Category 2 (2). Number two also has a sub category (2.1) I select the sub category (2.1) to be the primary category. ...
user avatar
1 vote
0 answers
293 views

woocommerce breadcrumbs in theme [closed]

I'm new to woocommerce, and I'm using Rosa theme for a restaurant website, that has online ordering system. I don't know why the breadcrumbs not working as it should. In the screenshot, all ...
user avatar
  • 151
2 votes
1 answer
249 views

Get the posttype of a taxonomy/term

I'm coding a breadcrumb and I want to return the CPT name in front of the first taxonomy term. My website's structure is like the following: - CPT name - Taxonomy Term - Taxonomy Child Term ...
user avatar
  • 415
0 votes
0 answers
17 views

If I moved the location of my generic "posts" page, do I need to change the slugs for all of the individual posts?

My company is restructuring our sitemap and one of the changes was moving the posts page. Original Slug: .com/about/news-articles/ New Slug: .com/news-articles/ I did that in our staging ...
user avatar
0 votes
1 answer
191 views

Get the terms of a post

I've set up different post types with custom taxonomies and to code out a breadcrumb I need to have access to the terms of the post, the user is actually reading. Note that my terms are hierarchical (...
user avatar
  • 415
0 votes
0 answers
280 views

Breadcrumb that shows multiple custom taxonomies

I've created two custom post types with some custom hierarchical taxonomies. In the navigation a link to the custom post type is displayed. When clicking on it, the user is forwarded to a page that ...
user avatar
  • 415
0 votes
1 answer
1k views

Customising Breadcrumb NavXT [closed]

The plugin is working fine (thanks to them) but I'd like to customise it slightly. For example the following example trail is the default: Home > Report > July-2016 > Article 'Article' is not linked ...
user avatar
  • 11
-2 votes
1 answer
109 views

Make a PHP file with a function

I want to use the breadcrumb function as listed here: https://gist.github.com/melissacabral/4032941 Putting the code in functions.php works for me, but I would rather have it in a separate PHP file. ...
user avatar
  • 276
1 vote
2 answers
355 views

How to determine if custom post type showing on archive templates

Is there any way to determine if a particular custom post type will be displayed on default archive pages or search results? e.g. Given a post type named (badly) books, is there a way to tell via ...
user avatar
  • 1,872
2 votes
1 answer
11k views

How to display parent category name and link for custom breadcrumb

I'm currently trying to figure out how to display a categories parent / grand parents name and url for a custom breadcrumb I'm working on. I simply need to know how to show the parent categories ...
user avatar
  • 45
1 vote
1 answer
1k views

How to output hierarchical taxonomy path, with only the deepest term assigned?

Let's say we have a taxonomy that goes three levels deep, eg. A > B > C. Next, we create a post and assign it to the "C" term. In our case here, there will only ever be a single assignment; ...
user avatar
  • 397
1 vote
1 answer
8k views

Parent Page and Breadcrumb URL's for Custom Post Types Not Working

What I Have Set Up I have three custom post types, they are named "brands", "careers", and "news". I have three page templates, they are named "page-brands", "page-careers", and "page-news". The ...
user avatar
  • 75
1 vote
3 answers
28k views

Breadcrumbs with custom post type without plugin

I have used the following function for breadcrumbs on every site to date, but todays site has 3 custom post types and the client would like the breadcrumbs working, e.g. instead of "home / wines / ...
user avatar
  • 326