Questions tagged [breadcrumb]

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

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

Custom Yoast Breadcrumbs URL to make the breadcrumbs more detailed

Would like to modify the Yoast breadcrumbs. The current Breadcrumb is Home / Listings / City / ListingName And I want to add 2 more crumbs and delete Listings: Home / Area / State / City / ListingName ...
0
votes
0answers
7 views

How to break a Flexbox element onto two rows but still keep it on both?

I'm having a problem with something that I can't seem to find anywhere on the web, or perhaps I am searching up wrong things. Anyhow, I have made breadcrumbs for my Wordpress website, the Breadcrumbs ...
0
votes
1answer
15 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 ...
1
vote
2answers
88 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 ...
0
votes
1answer
37 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 ...
1
vote
0answers
330 views

“data-vocabulary.org” is showing warning in Search Console for Breadcrumbs

Just now the data-vocabulary.org is deprecated, so what is the solution to solve this. Should I replace the data-vocabulary.org with schema.org This is the code added in my WordPress: <div class=...
0
votes
1answer
284 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', '...
0
votes
2answers
839 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 ...
0
votes
1answer
432 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 ...
0
votes
0answers
53 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 ...
1
vote
1answer
64 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 ...
0
votes
1answer
1k 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 ...
0
votes
0answers
93 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 = ...
0
votes
1answer
372 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 ...
0
votes
1answer
1k views

How to edit default Woocommerce “products” label

I have this page : http://demo.artmonarchy.com/shop/ Where can I edit page title and breadcrumb which is "Products" now? I already changed the title with yoast but still it appears as Products in ...
1
vote
1answer
283 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 ...
0
votes
1answer
36 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 ...
1
vote
0answers
550 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 ...
0
votes
0answers
299 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 ...
-1
votes
1answer
1k 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 ...
1
vote
3answers
2k 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 ...
0
votes
1answer
7k 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 ...
0
votes
1answer
285 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 ...
0
votes
1answer
586 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. ...
2
votes
1answer
2k 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....
-1
votes
1answer
2k 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, ...
0
votes
1answer
3k 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. ...
0
votes
1answer
942 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. ...
1
vote
0answers
281 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 ...
2
votes
1answer
144 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 ...
0
votes
0answers
16 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 ...
0
votes
1answer
179 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 (...
0
votes
0answers
239 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 ...
0
votes
1answer
951 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 ...
-2
votes
1answer
100 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. ...
1
vote
2answers
246 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 ...
2
votes
1answer
9k 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 ...
1
vote
1answer
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; ...
1
vote
1answer
7k 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 ...
1
vote
3answers
20k 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 / ...
0
votes
1answer
3k views

Custom post type not displayed in breadcrumbs on archive page

I created new custom post type and am having problem with displaying the post type name in breadcrumbs. It should display "Home » Study » test study", but it displays Home » » test study". Site: ...
0
votes
2answers
419 views

How to add a breadcrumb to WordPress header?

I would like to display the other paths/pages which are before the current site, plus the current site as you can see here. I searched the web and I couldn't found something. It may also be that ...
-1
votes
2answers
1k views

Only show sub-category

I have a news system with a thumbnail and a box on it that show the category related to the news, using <?php the_category(', '); ?> This worked fine using only one category for each news, but ...
0
votes
1answer
552 views

breadcrumb not showing proper page structure

problem is just the subpages do not show their parents...else is working absolutely fine function the_breadcrumb() { $sep = ' » '; if (!is_front_page()) { echo '<div class="...
0
votes
1answer
292 views

Using breadcrumb to return from single-page to list

I have tried everything, and looked everywhere for a solution for this problem.. I have a custom type "boat", which has some custom fields. I can display a list of boats on a page, and when a row is ...
0
votes
1answer
111 views

Modify sub_menu function to show pages below a specifically set page

I've got a function that ties in to wp_nav_menu that shows sibling pages for the currently viewed page, as well as any children pages. I need this modified to only show the children pages of a ...
-1
votes
1answer
609 views

Change posts list Breadcrumb

I have a custom page set in Settings > Read > Articles Page (page named "Blog"). It's not my homepage, but NavXT breadcrumbs show only "Home". I'd like it to show the page title : "Home > Blog". How ...
0
votes
1answer
2k views

Hide breadcrumbs on specific pages

Can anyone help me to hide breadcrumbs from certain page ID's? I'm using the Breadcrumb NavXT plugin. I've only found out how to hide it from the home page. I'm using this code in my header.php: if ...
0
votes
1answer
683 views

Show only one level in breadcrumbs

I'm looking for a WordPress way to remove current and all grandparents from breadcrumbs. Basically, functionality is identical to history back button, but with page title. Don't want to do this in JS ...
0
votes
1answer
772 views

Modify php code to pass a page id as a parameter in order to create a breadcrumb

I use a function to create the breadcrumb in my pages and it works: function the_breadcrumb() { $currentBefore = '<li><a>'; $currentAfter = '</a></li>'; if ( !...