• Hi there.

    On my Homepage (start page) i’m using su_members and su_guest to display content depending on whether the user is logged in or not.

    More or less it is working as desired, but:
    – when not logged in the yellow box will be displayed telling that the content is only for logged in uers.
    How to disable this box at all?
    – There is a widget bar on the right on my page…..which is totally gone when not logged in.
    Where is the bug?

    Thanks in advanve

    Kai

    https://ww.wp.xz.cn/plugins/shortcodes-ultimate/

Viewing 1 replies (of 1 total)
  • Thread Starter Kai J.

    (@kjoussen)

    I just checked with the brand new 4.4.2 and the error still exists.

    In the past i added some small code in my functions.php which is not causing this error. In between the shortcodes [is-logout] [/is-logout] the content will be shown for not logged in users but my sidebar still remains visible.

    I just made it like this:

    function logout_shortcode( $atts, $content = null ) {
       if (!is_user_logged_in()) {
       return '<span class="is-logout">' . $content . '</span>';}
    }

Viewing 1 replies (of 1 total)

The topic ‘Problem with su_members’ is closed to new replies.