Forum Replies Created

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter lnadai

    (@lnadai)

    Hi friends,
    I would like to re-phrase my earlier question to make it clearer.
    What I want is this:
    If I use the link:
    http://mywpsite.com?hideit=1
    Then I would like to see only the pape, no sidebar, no header, nothing else.
    Otherwise I want to see my “regular” WP site.
    While google-ing, I sound that I can parse the parameter “show” with something like this:

    if (isset($_GET['hideit'])) {
      $hideit = $_GET['hideit'];
    } else {
      //Maybe I don't need anything here
    }

    I have also seen thing like:
    .header {display:none;}
    and similar.
    Unfortunately I don’t know php / wp well enough to find the proper places for getting the “hideit” parameter, and and where to use the $hideit variable so it would conditionally hide the parts.

    Please be kind enough and tell me if this is really as easy as I think.
    TIA

    Thread Starter lnadai

    (@lnadai)

    That’s not what I was asking about.
    More like a “landing page” but I only want to be able to use it from an external page’s iFrame
    Thanks anyway

Viewing 2 replies - 1 through 2 (of 2 total)