Register

If this is your first visit, please click the Sign Up now button to begin the process of creating your account so you can begin posting on our forums! The Sign Up process will only take up about a minute of two of your time.

Results 1 to 4 of 4
  1. #1
    Senior Member Sean Thompson's Avatar
    Join Date
    May 2012
    Posts
    106
    Member #
    31720
    I want to make a sales page on my WP site- and I want to make it without any of the WP widgets/header/footer/etc.- Basically I just want to code the page in straight HTML- but how do I put a page like this on my domain where WP is intalled?

    It's gotta be possible
    Sean

  2.  

  3. #2
    Junior Member lee-c's Avatar
    Join Date
    May 2012
    Posts
    1
    Member #
    31814
    Make the page ie: sales.html, upload it to the root or a folder on your server and put link to it from your wordpress page/ pages so it opens in a new tab.

    target="_blank"

    If you dont open in a separate windows the viewer wont be able to navagate back to the main site without pressing backup, as you dont have the wordpress nav on this page

  4. #3
    Senior Member Webzarus's Avatar
    Join Date
    May 2011
    Location
    South Carolina Coast
    Posts
    3,322
    Member #
    27709
    Liked
    770 times
    It all depends on a couple of things.

    1. How are people going to get to / find your sales page.
    2. Do you want the page to look like the rest of your site ?
    3. Do you want the navigation on the page to go back to the site ( depending on #1. )

    All these thing can be done simply, but depending on your answers, is how to go about it.

    Me personally, if I wanted the page to look like the rest of the site, and of have navigation to the rest of the site ... Basically making this a "landing page" for either a sales flyer or email...

    I'd create the page within WP... Generate it with content, etc....

    Once the page was the way I wanted it... Right click on the page, view source... Copy it... Use that to create your static page, then to remove all the elements you "don't want", most WP THEMES I've seen are pretty well documented and tagged so you know why is what in the source code.

    Since WP dynamiclly includes code to your CSS and themes... The page will match the site, the navigation should be the same ( back to the site )..

    Just the way I would / have done it.

  5. #4
    WDF Staff mlseim's Avatar
    Join Date
    Apr 2004
    Location
    Cottage Grove, Minnesota
    Posts
    7,724
    Member #
    5580
    Liked
    718 times
    Example ...

    Your stand-alone page is called: sales.php

    PHP Code:

    <?php
    require_once('wp-load.php');
    ?>

    <html>
    <body>
    Your stand alone HTML content and/or PHP scripting, or both mixed together.
    </body>
    </html>

    The path to "wp-load.php" depends on where you place your page.
    You'll have to determine what the absolute/relative path is for wp-load.php



    .



Remove Ads

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
All times are GMT -6. The time now is 01:39 AM.
Powered by vBulletin® Version 4.2.3
Copyright © 2019 vBulletin Solutions, Inc. All rights reserved.
vBulletin Skin By: PurevB.com