WordPress.org

Ready to get started?Download WordPress

Forums

[closed] WooCommerce: How do I remove tags from product page? (7 posts)

  1. texins5
    Member
    Posted 1 year ago #

    Using WooCommerce, I've started adding products and have been adding tags for searchability. Is there a way to make those tags NOT show up on the product detail page? It's so messy looking with all those tags there, and I really don't need someone to see all the tags after they've already arrived at this page.

    Here's a link to one of my product pages:
    http://barricadeudt.com/shop/united-cutlery-defense-pen-silver/

    I've experimented with some things in my functions.php file, but I haven't found the right wording yet.

    Thanks!

  2. RLL18
    Member
    Posted 1 year ago #

    This is exactly what I am looking for as well. If anyone can provide an answer, it would be greatly appreciated.

  3. WPyogi
    Volunteer Moderator
    Posted 1 year ago #

    There may be a more elegant way, but this looks like it will work -- add this to the child style.css file:

    .product_meta {
       display: none;
    }
  4. RLL18
    Member
    Posted 1 year ago #

    Thank you. I did find out how to do so before checking back here.

    This code (added to style.css) removes the sku, category, and tags.

    .sku{display:none}
    .posted_in{display:none}
    .tagged_as{display:none}
  5. WPyogi
    Volunteer Moderator
    Posted 1 year ago #

    That's essentially the same as what I posted -- my version just removed them all at once as well as removing the div that contains them.

  6. JenniferEklund
    Member
    Posted 12 months ago #

    Neither of these worked entirely for me. Are there any other ideas?

  7. WPyogi
    Volunteer Moderator
    Posted 12 months ago #

    @JenniferEklund - probably, but you'll need to start your own thread and include a link to your site. And for WooCommerce questions, it's best to ask them directly:

    http://wordpress.org/support/plugin/woocommerce

Topic Closed

This topic has been closed to new replies.

About this Topic