• Resolved familylawboard

    (@familylawboard)


    I’m new to using Widget Logic to control which widgets show up in the sidebar on a site with s2member. What I’m really trying to do is get a calendar widget to show up based on my users’ geographic location (I have these set up as ccaps). I’ve tried this in the Widget Logic box, but it’s apparently not that simple:

    <?php if(current_user_can("access_s2member_ccap_colorado")){ ?>
        <?php } ?>

    Anyone know what I’m doing wrong here?

    https://wordpress.org/plugins/s2member/

Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Widget Logic by custom capabilities’ is closed to new replies.