Questions tagged [breadcrumb]
The breadcrumb tag has no usage guidance, but it has a tag wiki.
109
questions
0
votes
0
answers
22
views
Stop breadcrumb function retrieving custom post type template name
I have created a function that pulls in the breadcrumb of a page/post. However, I am having a problem where it appears to pull in the custom post-type template name rather than the actual name of the ...
0
votes
0
answers
45
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 ...
0
votes
0
answers
375
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 ...
0
votes
1
answer
187
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', '...
1
vote
0
answers
156
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 ...
0
votes
0
answers
222
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.
0
votes
0
answers
180
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 ...
0
votes
0
answers
181
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 ...
1
vote
0
answers
208
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-...
1
vote
0
answers
165
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" (...
1
vote
1
answer
159
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 ...
1
vote
1
answer
186
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 ...
0
votes
1
answer
72
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
2
answers
399
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 ...
1
vote
1
answer
152
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
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', '...
2
votes
2
answers
6k
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
1
answer
6k
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
0
answers
161
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
1
answer
107
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 ...
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
...
0
votes
0
answers
215
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
1
answer
519
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 ...
1
vote
1
answer
341
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
1
answer
40
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
0
answers
863
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
0
answers
554
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
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 ...
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 ...
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 ...
0
votes
1
answer
582
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
1
answer
684
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
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....
-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, ...
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.
...
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. ...
1
vote
0
answers
295
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
1
answer
281
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
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 ...
0
votes
1
answer
195
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
0
answers
297
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
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 ...
-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. ...
1
vote
2
answers
476
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
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 ...
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; ...
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 ...
1
vote
3
answers
29k
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 / ...
1
vote
1
answer
4k
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
2
answers
629
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 ...