WordPress.org

Support

Support » Themes and Templates » [Resolved] Warning: Nudes ahead…

[Resolved] Warning: Nudes ahead…

  • I want to devote one page on my blog to post graphics and lithographs of famous “nudes” on it, and feel obligated to provide one of those “click before entering” warnings that it may not be suitable for minors, or prudes, etc…

    If going to use a specific page template titled “nudes.php” for the graphics. Anybody have any suggestions on the code I need to make a ‘click before entering’ the page box?

Viewing 5 replies - 1 through 5 (of 5 total)
  • I’m not really sure there is any “plugin” for this specifically.. at least I don’t think so.. ? =/ Even if there was.. how would anyone “stop”, or, slow down the young bucks from gaining access to porn anyway? (My as well not even worry about it tell ya the truth)..

    You *could* probably just customize the:
    <!--more-->
    or, <!--nextpage-->

    functions?

    Hopefully someone else with a little more CODE experience swings by here.. Good luck either way though.. ;):)

    spencerp

    Try this:


    <?php

    $confirm = $_GET['confirm'];

    if ($confirm=='yes') {
    # content goes here
    } else {
    # confirm action required
    Click here to confirm...
    }

    ?>

    Try this with your nudes.php template page:

    $confirm = $_GET['confirm'];
    if ($confirm=='yes') {
    # content goes here
    } else {
    # confirm action required
    [a href='?confirm=yes'] Click here to confirm...[/a]
    }

    Sorry, don’t know how to use code tag

    [blank lines kill the code posting…]

    satitchula, add the code to a TXT file, upload it to your sever or something maybe, and then provide the “download link” here for the O.P. That’s what I usually do.. ;):)

    domain.net/code-file.txt

    spencerp

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘[Resolved] Warning: Nudes ahead…’ is closed to new replies.
Skip to toolbar