Title: Securing widgets using UAM
Last modified: August 21, 2016

---

# Securing widgets using UAM

 *  [jaydee239](https://wordpress.org/support/users/jaydee239/)
 * (@jaydee239)
 * [13 years ago](https://wordpress.org/support/topic/securing-widgets-using-uam/)
 * Hi,
 * I am trying to implement UAM in my theme. What I’m trying to do is have 2 widget-
   area’s. One should be visible by logged in users, the other by anyone else. Searching
   and browsing back a year in this forum did not gave me any clue on how to do 
   this.
 * I tried wrapping my widget with shortcodes provided by the UAM-private-extension.
 * >  <?php echo do_shortcode(“[private group=’!1,!2,!3′]”); ?>
   >  // Public widget
   > code <?php echo do_shortcode(“[/private]”); ?> <?php echo do_shortcode(“[private
   > group=’1,2,3′]”); ?> // Private widget code <?php echo do_shortcode(“[/private]”);?
   > >
 * But of-course, I would not be posting here if this worked.
 * Could anyone explain how – if possible – to access this plugins functionally 
   from within my theme?
 * [http://wordpress.org/extend/plugins/user-access-manager/](http://wordpress.org/extend/plugins/user-access-manager/)

The topic ‘Securing widgets using UAM’ 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

 * [UAM](https://wordpress.org/support/topic-tag/uam/)
 * [widgets](https://wordpress.org/support/topic-tag/widgets/)

 * 0 replies
 * 1 participant
 * Last reply from: [jaydee239](https://wordpress.org/support/users/jaydee239/)
 * Last activity: [13 years ago](https://wordpress.org/support/topic/securing-widgets-using-uam/)
 * Status: not resolved