-
AuthorPosts
-
April 23, 2014 at 1:48 pm #36362
iron.cunninghamadv.com
I put the breadcrumbs on the shop and hid them on my other pages but the links are not working?
April 23, 2014 at 10:42 pm #36590Hey Hillary,
The reason why it doesn’t work is because the breadcrumbs is invisibly covered by the navbar area. To fix it, in the Customizer > Custom > CSS, please add the code below.
.x-navbar-static-active .x-navbar .x-nav > li, .x-navbar-fixed-top-active .x-navbar .x-nav > li { height: 60px; } .x-navbar { padding-bottom: 25px; }
Hope that helps. 🙂
April 24, 2014 at 9:09 am #36744Worked like a charm! Thank you!
April 24, 2014 at 2:50 pm #36881For some reason my portfolio page is not showing nested in the breadcrumbs after you go to an individual project. The breadcrumbs seem to work throughout the shop in the correct way.
Also, is there a way to add “related projects” or anything else underneath the “share this project” area?
April 24, 2014 at 8:00 pm #36978Hi Hillary!
Nice website.
Please try to upgrade to WP 3.9 then update the theme to 1.8.3. Flush the permalink on Settings > Permalink. Just click the “Save” button once.
Cheers!
April 25, 2014 at 10:49 am #37163I updated everything and flushed the permalinks! It’s still not working. Do the breadcrumbs recognize categories as well? Is there something else I can do to fix it?
April 25, 2014 at 8:25 pm #37329Hi Hillary!
I’m sorry about that, please post the login details here and set it as a private reply. We would like to check your installation.
Cheers!
April 28, 2014 at 10:28 am #38070This reply has been marked as private.April 29, 2014 at 9:04 am #38505Hi Hillary,
I’m sorry, the breadcrumbs won’t be able to show the shop categories.
It looks like there’s a problem with your .htaccess file, which is preventing any permalinks other than default.
Go to Settings > Permalinks, and choose “Post Name” then hit save.
Scroll to the bottom, and WordPress will tell you what you need to place in your
.htaccess
file. Once this is in place, the permalinks should start working and we can revisit the portfolio breadcrumbs issue.April 29, 2014 at 11:18 am #38545Alright, I’m back and I think I have it fixed. Breadcrumbs still aren’t working but the .htaccess file is where it needs to be! What’s the next step?
April 29, 2014 at 10:48 pm #38754Hi Hillary!
Thank you for using the theme.
Please edit framework > functions > global > breadcrumbs.php, find this code on line 84:
} elseif ( function_exists( 'is_product' ) && is_product() ) { echo $shop_page_link . $delimiter . ' ' . $before . $page_title . $after;
Replace it with:
} elseif ( function_exists( 'is_product' ) && is_product() ) { global $product; $product_id = get_the_ID(); $product_terms = get_the_terms( $product_id, 'product_cat' ); $product_cat = array(); foreach ( $product_terms as $product_term ) { $product_cat[] = $product_term->name; } echo $shop_page_link . $delimiter . ' ' . $product_cat[0] . ' ' . $delimiter . $before . $page_title . $after;
This will echo out the fist product category.
Cheers!
April 30, 2014 at 7:20 pm #39102This reply has been marked as private.April 30, 2014 at 10:09 pm #39182Hi there!
Thank you for the update.
The code above is for adding the category on the shop breadcrumb. Add this on Customizer > Custom > CSS to adjust the layer position of the breadcrumbs container:
div.x-breadcrumb-wrap { z-index: 9999; position: relative; }
Cheers!
-
AuthorPosts