A message from our CEO about the future of Stack Overflow and Stack Exchange. Read now.

Questions tagged [breadcrumb]

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

Filter by
Sorted by
Tagged with
0
votes
1answer
51 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
0answers
26 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
0answers
25 views

How to add a menu item in breadcrumb only on specific, dynamically created pages

I have set breadcrumbs to appear only on bbpress and buddypress. Within bbpress the breadcrumb looks something like this: Home > FTBMates > Q&A ...where 'FTBMates' is my forum root. ...
0
votes
0answers
20 views

Breadcrumb NavXT link to page instead of category

I am using the breadcrumb-navxt , but i wanna change the links from category to a page i used this code, but it didn't work add_filter('bcn_breadcrumb_url', 'my_breadcrumb_url_changer', 3, 10); ...
0
votes
0answers
24 views

How do i add My Account on Account related pages for Custom WooCommerce Breadcrumbs

So everything of my Custom BreadCrumbs is working perfectly fine. But on the Woocommerce MyAccount Pages of Orders, Addresses,Payment Methods and Account Details, the BreadCrumbs just show Home/Orders,...
0
votes
0answers
30 views

Hide the first two levels in a breadcrumb

I am novice in PHP, and I want to hide the two very first levels in the breadcrumbs - I am using WordPress. Look at the image to understand -it's in Greek- but if you want, take this as example: ...
0
votes
1answer
57 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
35 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
52 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
513 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
67 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
295 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
739 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
238 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
33 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
411 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
184 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
810 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
1k 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
6k 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
193 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
540 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
2k 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
816 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
274 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
117 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
15 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
171 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
230 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
828 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
95 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
233 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 ...
1
vote
1answer
7k 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
807 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
6k 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
15k 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
231 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
389 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
275 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
110 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
575 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
609 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
707 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
392 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 ...