Breadcrumbs – Hide Post Title in single product page Woocommerce

#274541
  • Resolved Gioi
    Rank Math free

    Is there any way I can remove Post Title in single product page Woocommerce:
    From:
    Home > category > sub-category > item

    However, I want it to look like this
    to: Home> category > sub-category

Viewing 11 replies - 1 through 11 (of 11 total)
  • Prabhat
    Rank Math agency

    Hello,

    Thank you for contacting us.

    Could you confirm if you wish to remove the title only from the product pages and not from other post types?

    If that’s not the case, then you can enable the Hide Post Title option from your WordPress admin area > Rank Math > General Settings > Breadcrumbs, to remove the title from the product pages and all other post types.

    To show the sub-categories in the breadcrumbs, you can select the sub-category as the primary term.
    Primary Term

    Hope this helps.

    Thank you.

    Gioi
    Rank Math free

    Hello,

    I have updated the sensitive data as requested. Can you please check further?

    Thank you.

    Gioi
    Rank Math free

    Iā€™m select hide post title but hide Breadcrumbs in single product page

    Hello,

    Enabling the option “Hide Post Title” should hide the post/product breadcrumbs title. Could you please clear your cache and check again?

    If the issue persists, please share an affected URL so we can further check.

    Looking forward to helping you with this one.

    Gioi
    Rank Math free

    Only hide title post but not hide title product.
    Web: https://donoithatxeoto.vn/

    Hello,

    I can check that you are not using Rank Math’s breadcrumbs. The breadcrumbs shown on your single product page are coming from WooCommerce.

    You can remove the WooCommerce breadcrumbs on most themes by adding the following code snippet in your theme’s functions.php file:

    /**
     * Remove the breadcrumbs 
     */
    add_action( 'init', 'woo_remove_wc_breadcrumbs' );
    function woo_remove_wc_breadcrumbs() {
        remove_action( 'woocommerce_before_main_content', 'woocommerce_breadcrumb', 20, 0 );
    }

    The next step will be to add Rank Math breadcrumbs on your site by following this guide: https://rankmath.com/kb/breadcrumbs/

    Hope this helps. Let us know if you need any other assistance.

    Thanks.

    Gioi
    Rank Math free

    I be adding code in my child themeā€™s functions.php file. But not work

    Hello,

    The code should be added to your theme’s template file like header.php or single.php. Adding the code in the functions.php will not work. If you are not sure then please edit the first post on this ticket and include your WordPress logins in the designated Sensitive Data section so we can add the code for you.

    Please do take a complete backup of your website before sharing the information with us.
    Sensitive Data Section

    It is completely secure and only our support staff has access to that section. If you want, you can use the below plugin to generate a temporary login URL to your website and share that with us instead:

    https://wordpress.org/plugins/temporary-login-without-password/

    You can use the above plugin in conjunction with the WP Security Audit Log to monitor what changes our staff might make on your website (if any):

    https://wordpress.org/plugins/wp-security-audit-log/

    We really look forward to helping you.

    Gioi
    Rank Math free

    Thank You very much!

    Tammy
    Rank Math business

    Hello,

    We are super happy that this resolved your issue. If you have any other questions in the future, know that we are here to help you.

    If you don’t mind me asking, could you please leave us a review (if you haven’t already) on https://wordpress.org/support/plugin/seo-by-rank-math/reviews/#new-post about your overall experience with Rank Math? We appreciate your time and patience.

    If you do have another question in the future, please feel free to create a new forum topic, and it will be our pleasure to assist you again.

    Thank you.

    Hello,

    We are super happy that your issue is resolved. If you have any other questions in the future, know that we are here to help you.

    If you don’t mind me asking, could you please leave us a review (if you haven’t already) on https://wordpress.org/support/plugin/seo-by-rank-math/reviews/#new-post about your overall experience with Rank Math? We appreciate your time and patience.

    If you do have another question in the future, please feel free to create a new forum topic, and it will be our pleasure to assist you again.

    Thank you.

Viewing 11 replies - 1 through 11 (of 11 total)

The ticket ‘Breadcrumbs – Hide Post Title in single product page Woocommerce’ is closed to new replies.