• Hi,
    I can not find where in the world the “Category:” from WooCommerce category title.

    I have seen you have published a code some months ago that remove “Archive:” for posts archive.

    add_filter( 'get_the_archive_title', 'wpsite_archive_title_remove_prefix' );
    function wpsite_archive_title_remove_prefix( $title ) {
    if ( is_post_type_archive() ) {
    $title = post_type_archive_title( '', false );
    }
    return $title;
    }

    Is there any way to remove “Category:”?

    Regards,
    Francesco

Viewing 5 replies - 1 through 5 (of 5 total)
  • Hi @keggy85,

    I am sorry for my lack or if I am missing something, but I don’t have any Category word on the WooCommerce category page. Please refer to this screenshot.

    Would you please share a screenshot or even better, your live site URL so we can understand this better?

    Kind regards,
    Herman ??

    Any solution for this? I would like to remove “Category:” title from single product page.

    Hi @flim0,

    Would you mind share with us a link URL of the WooCommerce Category page where the Category: string exists? As you can see in the screenshot I shared above, I didn’t have it on my end.

    Or maybe there are one more steps I missed while replicating this?

    Let us know.

    Kind regards,
    Herman ??

    Hi Herman,

    I am talking about a page builder not Astra theme. Sorry for my mistake.

    Best regards,
    Frederick

    No problem, @flim0.

    Feel free to open a new topic or reach out to us thru our Support Portal if you have anything related to Astra we can help you with.

    Kind regards,
    Herman ??

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Remove “Category:” Label for Woocommerce’ is closed to new replies.