WordPress.org

Ready to get started?Download WordPress

Forums

Check if post/Product is in_category (1 post)

  1. miketopher
    Member
    Posted 1 year ago #

    Hello, I'm trying to echo some text if the Post/Product (from woocommerce) is in the product category "contact-lenses"

    I was told i need to look at
    http://codex.wordpress.org/Function_Reference/wp_get_object_terms

    But i still can't figure how to use a lot of the stuff in the codex :-/

    can someone help me with this?

Topic Closed

This topic has been closed to new replies.

About this Topic