Home Forums WoodMart support forum Breadcrumb

Breadcrumb

Viewing 18 posts - 1 through 18 (of 18 total)
  • Author
    Posts
  • #345712

    madbruno
    Participant

    Hi

    How do I make the breadcrumb go below all the page information but before the footer.
    Regards

    #345750

    Hello,

    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

    #345890

    madbruno
    Participant

    Hi 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.
    #346103

    Hello,

    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

    #346213

    madbruno
    Participant

    Hi.
    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.
    #346413

    Hello,

    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

    #346475

    madbruno
    Participant

    Thanks, 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/

    #346738

    Hello,

    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

    #346800

    madbruno
    Participant

    Hi, 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>

    #346858

    Hello,

    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

    #347029

    madbruno
    Participant

    Hi.

    How is everything?

    Did not show anything.

    Can I give you access?

    #347223

    Hello,

    Yes, please provide the access.

    Best Regards

    #347250

    madbruno
    Participant

    Ok, i will send to you in the private.

    #347438

    Hello,

    Our developers have fixed that already. Please check.

    If you have any questions please feel free to contact us.

    Best Regards

    #347582

    madbruno
    Participant

    Sweat 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.
    #347616

    Hello,

    Please add this code to the Theme Settings > Custom CSS > Global:

    .site-content .woocommerce-breadcrumb{
    display:none;
    }

    Best Regards

    #347707

    madbruno
    Participant

    Thank 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

    #347780

    We 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

Viewing 18 posts - 1 through 18 (of 18 total)

The topic ‘Breadcrumb’ is closed to new replies.