Home › Forums › WoodMart support forum › Breadcrumb
Breadcrumb
- This topic has 17 replies, 2 voices, and was last updated 2 years, 10 months ago by Elise Noromit.
-
AuthorPosts
-
January 16, 2022 at 12:01 pm #345712
madbrunoParticipantHi
How do I make the breadcrumb go below all the page information but before the footer.
RegardsJanuary 16, 2022 at 9:24 pm #345750
Elise NoromitMemberHello,
You can see the breadcrumbs settings for the pages in the Theme Settings > Page title.
If you mean the product page breadcrumbs, you can find the option in the Theme settings > Single product > Show/hide elements
I cannot figure out where you want to move the breadcrumbs, please provide the page URL and screen where you want to move.
Best Regards
January 17, 2022 at 12:23 pm #345890
madbrunoParticipantHi there. Thanks for the quick reply.
I want to move the breadcrumb at the end of the product page and categories, but before footer.
Follow the attached image.
Attachments:
You must be logged in to view attached files.January 18, 2022 at 10:16 am #346103
Elise NoromitMemberHello,
Please copy the footer.php file into the child theme and insert this code:
<?php if ( is_singular( 'product' ) ) : ?> <div class="single-breadcrumbs-wrapper"> <div class="container"> <?php if ( woodmart_get_opt( 'product_page_breadcrumbs', '1' ) ) : ?> <?php woodmart_current_breadcrumbs( 'shop' ); ?> <?php endif; ?> <?php if ( woodmart_get_opt( 'products_nav' ) ) : ?> <?php wc_get_template( 'single-product/navigation.php' ); ?> <?php endif ?> </div> </div> <?php endif; ?>
If you have any questions please feel free to contact us.
Best Regards
January 18, 2022 at 5:32 pm #346213
madbrunoParticipantHi.
Thanks a lot for the quick reply.I have 3 doubts.
1 – The footer is gone, I just left the code you sent me.
2 – In the categories the breadcrumb still does not appear below.
3 – How do I make the breadcrumb line up like the attached image?
Attachments:
You must be logged in to view attached files.January 19, 2022 at 2:35 pm #346413
Elise NoromitMemberHello,
Please delete the current footer.php from the child theme, copy the footer.php again from the parent theme into the child and paste the code as shown on the screen: https://prnt.sc/26f1qr4
If you have any questions please feel free to contact us.
Best Regards
January 19, 2022 at 5:44 pm #346475
madbrunoParticipantThanks, you are awesome!
But one question. Why the category product pages is not showing the breadcrumb like the product page?
Category: https://aadgvinhos.com.br/categoria-produto/vinhos-tintos/
January 20, 2022 at 2:58 pm #346738
Elise NoromitMemberHello,
Please replace the code with this one and check how it works:
<?php if ( is_singular( 'product' ) ) : ?> <?php if ( is_singular( 'product' ) || is_product_taxonomy() || is_shop() || is_product_category() || is_product_tag() ) : ?>
If you have any questions please feel free to contact us.
Best Regards
January 20, 2022 at 8:31 pm #346800
madbrunoParticipantHi, thanks for the reply.
Here not worked in category and not worked in product page too.
https://aadgvinhos.com.br/categoria-produto/vinhos-argentinos/
https://aadgvinhos.com.br/produto/champagne-lanson-black-label-brut/
The footer was gone, so I googled it and needed to close the line of code, so I added “<?php endif; ?>”
Below is all my footer code…
————-
<?php
/**
* The template for displaying the footer
*/if ( woodmart_get_opt( ‘collapse_footer_widgets’ ) ) {
woodmart_enqueue_js_script( ‘footer’ );
}$page_id = woodmart_page_ID();
$disable_prefooter = get_post_meta( $page_id, ‘_woodmart_prefooter_off’, true );
$disable_footer_page = get_post_meta( $page_id, ‘_woodmart_footer_off’, true );
$disable_copyrights_page = get_post_meta( $page_id, ‘_woodmart_copyrights_off’, true );
?>
<?php if ( woodmart_needs_footer() ) : ?>
<?php if ( ! woodmart_is_woo_ajax() ) : ?>
</div><!– .main-page-wrapper –>
<?php endif ?>
</div> <!– end row –>
</div> <!– end container –><?php if ( ! $disable_prefooter && ( woodmart_get_opt( ‘prefooter_area’ ) || woodmart_get_opt( ‘prefooter_html_block’ ) ) ) : ?>
<?php woodmart_enqueue_inline_style( ‘footer-base’ ); ?>
<div class=”wd-prefooter<?php echo woodmart_get_old_classes( ‘ woodmart-prefooter’ ); ?>”>
<div class=”container”>
<?php if ( ‘text’ === woodmart_get_opt( ‘prefooter_content_type’, ‘text’ ) ) : ?>
<?php echo do_shortcode( woodmart_get_opt( ‘prefooter_area’ ) ); ?>
<?php else : ?>
<?php echo woodmart_get_html_block( woodmart_get_opt( ‘prefooter_html_block’ ) ); ?>
<?php endif; ?>
</div>
</div>
<?php endif ?><?php if ( is_singular( ‘product’ ) ) : ?>
<?php endif; ?><?php if ( is_singular( ‘product’ ) || is_product_taxonomy() || is_shop() || is_product_category() || is_product_tag() ) : ?>
<?php endif; ?><?php if ( ! function_exists( ‘elementor_theme_do_location’ ) || ! elementor_theme_do_location( ‘footer’ ) ) : ?>
<footer class=”footer-container color-scheme-<?php echo esc_attr( woodmart_get_opt( ‘footer-style’ ) ); ?>”>
<?php if ( ! $disable_footer_page && woodmart_get_opt( ‘disable_footer’ ) ) : ?>
<?php woodmart_enqueue_inline_style( ‘footer-base’ ); ?>
<?php if ( ‘widgets’ === woodmart_get_opt( ‘footer_content_type’, ‘widgets’ ) ) : ?>
<?php get_sidebar( ‘footer’ ); ?>
<?php else : ?>
<div class=”container main-footer”>
<?php echo woodmart_get_html_block( woodmart_get_opt( ‘footer_html_block’ ) ); ?>
</div>
<?php endif; ?>
<?php endif; ?>
<?php if ( ! $disable_copyrights_page && woodmart_get_opt( ‘disable_copyrights’ ) ) : ?>
<?php woodmart_enqueue_inline_style( ‘footer-base’ ); ?>
<div class=”copyrights-wrapper copyrights-<?php echo esc_attr( woodmart_get_opt( ‘copyrights-layout’ ) ); ?>”>
<div class=”container”>
<div class=”min-footer”>
<div class=”col-left set-cont-mb-s reset-last-child”>
<?php if ( woodmart_get_opt( ‘copyrights’ ) != ” ) : ?>
<?php echo do_shortcode( woodmart_get_opt( ‘copyrights’ ) ); ?>
<?php else : ?>
<p>© <?php echo date( ‘Y’ ); ?> “><?php bloginfo( ‘name’ ); ?>. <?php esc_html_e( ‘All rights reserved’, ‘woodmart’ ); ?></p>
<?php endif ?>
</div>
<?php if ( woodmart_get_opt( ‘copyrights2’ ) != ” ) : ?>
<div class=”col-right set-cont-mb-s reset-last-child”>
<?php echo do_shortcode( woodmart_get_opt( ‘copyrights2’ ) ); ?>
</div>
<?php endif ?>
</div>
</div>
</div>
<?php endif ?>
</footer>
<?php endif ?>
<?php endif ?>
</div> <!– end wrapper –>
<div class=”wd-close-side<?php echo woodmart_get_old_classes( ‘ woodmart-close-side’ ); ?>”></div>
<?php do_action( ‘woodmart_before_wp_footer’ ); ?>
<?php wp_footer(); ?>
</body>
</html>January 21, 2022 at 12:45 am #346858
Elise NoromitMemberHello,
Please find the line:
<?php if ( is_singular( 'product' ) ) : ?>
and replace with this one:
<?php if ( is_singular( 'product' ) || is_product_taxonomy() || is_shop() || is_product_category() || is_product_tag() ) : ?>
Let us know if the problem remains.
Best Regards
January 21, 2022 at 5:26 pm #347029
madbrunoParticipantHi.
How is everything?
Did not show anything.
Can I give you access?
January 23, 2022 at 12:38 am #347223
Elise NoromitMemberHello,
Yes, please provide the access.
Best Regards
January 23, 2022 at 12:07 pm #347250
madbrunoParticipantOk, i will send to you in the private.
January 24, 2022 at 11:01 am #347438
Elise NoromitMemberHello,
Our developers have fixed that already. Please check.
If you have any questions please feel free to contact us.
Best Regards
January 24, 2022 at 7:31 pm #347582
madbrunoParticipantSweat thanks. It looks great.
It remains now to know how do I disable the bredcrumb that is at the top of the category page, next to the filters?
See the attached image.
Attachments:
You must be logged in to view attached files.January 24, 2022 at 11:41 pm #347616
Elise NoromitMemberHello,
Please add this code to the Theme Settings > Custom CSS > Global:
.site-content .woocommerce-breadcrumb{ display:none; }
Best Regards
January 25, 2022 at 9:55 am #347707
madbrunoParticipantThank you so much.
Can you please send a suggestion to the development team;
The theme has the option to remove bredcrumb from the product page right! There could be a new option also to remove from categories, for those cases where the breadcrum was customized.
Or you can add the option to swap (change de location) the breadcrumb “top or bottom”.
But still, I really appreciate your help. I also appreciate the service.
Best Regards
January 25, 2022 at 12:44 pm #347780
Elise NoromitMemberWe are always happy to help you, write to us when you have any difficulties or issues with our theme.
We would be grateful for 5 stars rate on http://themeforest.net/downloads in case you are satisfied with our theme and customer service
Thank you in advance
-
AuthorPosts
Tagged: Breadcrumb, breadcrumb above
The topic ‘Breadcrumb’ is closed to new replies.
- You must be logged in to create new topics. Login / Register