WordPress.org

Support

Support » How-To and Troubleshooting » Is this possible?

Is this possible?

  • amnesiak
    Member

    @amnesiak

    I had a couple of questions.

    I wanted to do it so that a person needed to tick a box or click a link on my blog that would display the adult related humour on the site as well as certain ads.
    So you go to the site, you see a normal site, clicking “I’m over 18” shows the adult category and ads.

    Is this possible? If so, can somebody advise me?

Viewing 5 replies - 1 through 5 (of 5 total)
  • Medizinische Abkuerzungen
    Member

    @stefansuedfeld

    If you want to show two different versions of one page (some content, second version some added content) there are three different ways:

    -Send whole page, use javascript to show elements on request (part of web2.0). Use cookies to remember preferences from page to page

    -use php to serve out different versions (via session or cookie)

    -make two pages, with the content (you have to update two different versions) and link in between.

    thank you for explaining the three methods.

    Could you point me in the direction of a tutorial of how I could implement this? (talking about point 1 or 2)

    Many thanks,
    Kei

    nobody?

    Try this tutorial first. Then try this one. After that, read this excellent article from Zend.

    will do! Thanks very much!

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Is this possible?’ is closed to new replies.