Viewing 3 replies - 1 through 3 (of 3 total)
  • Unfortunately I haven’t looked at the S2 Members plugin, so I’m not entirely sure how it works, but I imagine there’s some sort of is_member() conditional you can use. Though don’t quote me on that.

    Once you find that in the S2 member code, you can then use the example from the wiki to just hide the dialog: https://github.com/JayWood/content-warning-v3/wiki/Dev-Documentation#hide-the-dialog-on-certain-pages-regardless-of-cookies

    Again, this is geared towards developers, so if you don’t know PHP, I’m sorry ??

    Thread Starter gameslopedy

    (@yiggory)

    I put that wiki code into the themes functions.php and changed the number of page id to which i want to hide .

    I found s2member php shortcodes for hiding code blocks. Also i found the showing shortcodes of s2member.

    So, should I put that shortcodes into my functions php and hide your wiki code with them?

    Or is it possible to find out the pop up php/html code of content warning plugin and hide them with s2member plugin shortcodes as like ad what I did for our advertisement codes?

    Well if there’s a shortcode, there’s a function behind that shortcode. I’d say look into that function to find out how S2 is determining membership and use that determination in the wiki code I provided.

    That would be the best solution.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘How to hide this plugin for s2member users?’ is closed to new replies.