Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [breadcrumb]

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

0
votes
0answers
14 views

How to remove “Taxonomy name:Title” from twentysixteen theme

I am using the Twenty-sixteen theme and have been trying for several days now to remove this part of the theme that displays the taxonomy names at the top. Does anyone know how I can remove this part ...
0
votes
0answers
25 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
31 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
166 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
46 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
170 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
436 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 ...
0
votes
1answer
214 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
30 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
270 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
137 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
596 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
864 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
4k 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
91 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
451 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
1k 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
1k 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
1k 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
704 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
257 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 ...
3
votes
1answer
75 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
14 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
165 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
203 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
714 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
93 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
198 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 ...
0
votes
1answer
6k 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
660 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
5k 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
12k 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
2k 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
168 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
251 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
261 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
106 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
522 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
532 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
643 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 ( !...
0
votes
1answer
373 views

If post type = forum then breadcrumbs Home > Forums

I have an issue with breadcrumbs working with bbpress forums on my website. I have tried a few different ways to overcome this & I think a simple solution would be something which states if the ...
0
votes
1answer
4k views

Breadcrumb not showing custom category post type

I have an issue when it come to displaying the custom post type category in my breadcrumb menu on the page it looks something like the following Home / / Post Title when it should be Home / Custom ...
0
votes
2answers
334 views

Codex Function Problems When There is an Apostrophe in the Category Name

I'm working on a site, largely managed by categories. Two of the categories have apostrophes in them... ex. "Joe's Place" and "Tina's Lounge". (Actual titles changed, these are examples...) The ...
1
vote
2answers
9k views

Custom Taxonomy Breadcrumb Navigation

I'm completely new to custom post types and custom taxonomies, so bear with me. I'm trying to create a breadcrumb navigation for the custom taxonomy project-category within the custom post type ...
-1
votes
1answer
728 views

custom post type breadcrumb error when has_archive = false

I have a custom post type (team) and I do not use archive page (has_archive => false), when I visit single team post the breadcrumb contains inactive text "TeamSingleTitle". I would like to know how I ...
0
votes
0answers
696 views

Page/Post path in Search Results

I have lots of pages with similar titles which may be confusing when users search for something. To help them tell apart the pages, I'd like to add the page/post location (path) under each page/post ...
0
votes
2answers
845 views

Wordpress breadcrumb depth

I'm currently using the code below to display my breadcrumbs. Which works fine up to a point. What I want is: Home > Level 1 > Level 2 > Level 3 What I get is: Home > Level 1 > Level 3 It's ...
1
vote
1answer
677 views

Link posts to pages for breadcrumbs

Is there a way of linking custom post types to pages. I am looking to create breadcrumbs for the posts. The posts are summarised on individual pages e.g. golf, tennis, football etc.. So the ...