• Hi!

    I want to use a blank page. No other theme stuff, just a blank, black page that i can add something in that page like just a video trailer and nothing more (my menus, widget) just a blank page ?

    Best Regards

Viewing 5 replies - 1 through 5 (of 5 total)
  • make a page template with nothing in it.
    if you want to display content, you’ll need the loop in there.

    blankPage.php

    <?php
    /*
    Template Name: Blank Page
    */
    ?>
    <html>
    <head><title>Blank Page</title>

    <style type=”text/css”>
    body background-color: “black”;
    </style>
    <body>
    /**Your loop code**/
    </body>
    </html>

    If you want to reuse this template on a bunch of videos, you’ll be better off creating a custom post type which is a little more coding involved.

    If you use this, you won’t have any navigation at all, so it’s really only useful IMO inside an Iframe.

    Thread Starter michael_Barca

    (@michael_barca)

    But they are something like this, i have found it now

    https://www.youtube.com/watch?v=_ynYnPCi_L0

    And thats what i need. I dont can find it.

    yeah, his theme has that template in it already.

    What I showed you is how to make that template.

    If your theme doesn’t have that template you have to make it.

    Thread Starter michael_Barca

    (@michael_barca)

    Yes, i have make it. But its not only 1 trailer, if you understand my. I need to make blank page for every trailer. I have do that, the code that gived my and thats only for one page.

    yes, I understand. You have a special post type that you want to use.

    I could explain how to do this, but it might be easier to follow this instruction here

    https://wpmu.org/wordpress-custom-post-template-plugin-style-individual-posts/

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Use blank page ?’ is closed to new replies.