WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] request and adult mode on/off hack (2 posts)

  1. qster
    Member
    Posted 8 years ago #

    Hi folks,

    On my old blog site I had a bit of code that set an 'adult mode' cookie, if they set it the script would then show all of the posts.

    WordPress scripts:

    I've found a script that can hide posts unless you register, and of course there is the password protection for posts.

    But I would really like for people to just select adult mode on or off (in a cookie), so any posts under the adult category would or wouldn't be shown.

    I've moved from asp coding to wordpress so I have no idea how to do this, I would great appreciate someone who could help me.

    Regards,

    Lee

  2. Lorelle
    Member
    Posted 8 years ago #

    Well, give these a try. Not sure if they are exactly what you want, but the idea of someone "manually" saying "hmm, I want to click this button to make sure I don't see anything nasty on this site" seems a little strange.

    http://wp-plugins.net/plugin/dymk/ - Does Your Mother Know?
    http://dev.wp-plugins.org/browser/polite-ifier/trunk/ Changes bad words to words with aster*cks.
    http://codex.wordpress.org/Plugins/Restriction

Topic Closed

This topic has been closed to new replies.

About this Topic