Title: hide specific HTML elements
Last modified: August 21, 2016

---

# hide specific HTML elements

 *  [cannap](https://wordpress.org/support/users/cannap/)
 * (@cannap)
 * [12 years, 11 months ago](https://wordpress.org/support/topic/hide-specific-html-elements/)
 * Hello, it is possible only specific HTML elements on a page/post/product what
   ever hide.
    for example:
 * I would like to take the buy button (WooCommerce) Show only to people who are
   in this group.
 * Pseudocode:
 * if(UserHasAccessToBuy) {
    echo “Show Buybutton” } else { echo “U are not in this
   Group to buy this Product” }
 * thx
 * [http://wordpress.org/extend/plugins/user-access-manager/](http://wordpress.org/extend/plugins/user-access-manager/)

The topic ‘hide specific HTML elements’ is closed to new replies.

 * ![](https://ps.w.org/user-access-manager/assets/icon.svg?rev=1563783)
 * [User Access Manager](https://wordpress.org/plugins/user-access-manager/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/user-access-manager/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/user-access-manager/)
 * [Active Topics](https://wordpress.org/support/plugin/user-access-manager/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/user-access-manager/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/user-access-manager/reviews/)

## Tags

 * [buy](https://wordpress.org/support/topic-tag/buy/)
 * [rights](https://wordpress.org/support/topic-tag/rights/)
 * [UAC](https://wordpress.org/support/topic-tag/uac/)

 * 0 replies
 * 1 participant
 * Last reply from: [cannap](https://wordpress.org/support/users/cannap/)
 * Last activity: [12 years, 11 months ago](https://wordpress.org/support/topic/hide-specific-html-elements/)
 * Status: not resolved