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?
https://www.ads-software.com/extend/plugins/user-access-manager/
- The topic ‘Securing widgets using UAM’ is closed to new replies.