WordPress.org

Forums

Creating a static page that ISN'T the home page (4 posts)

  1. LisaHartjes
    Member
    Posted 9 years ago #

    I've used WordPress as the foundation for my website (http://www.hartfeltproductions.com), and the only thing I haven't been able to do easily is create a links page.

    I need the links.php to be in the root directory, and I want to call the header, sidebar and footer, but hand code the links that would appear in the content section of the page.

    Is it possible to do this?

  2. moshu
    Member
    Posted 9 years ago #

    If you create a Page using links.php as a page template that will be exactly where your blog is ==> in the root. So, creating a Page titled My Links (again: using links.php as a template, that's not a file to be linked directly!!!) you will have something like http://www.hartfeltproductions.com/my-links

  3. LisaHartjes
    Member
    Posted 9 years ago #

    Okay, it looks like I didn't explain myself clearly, having used the wrong terminology.

    I need to create a page that will sit in the root directory. It will be a php page that will call the header, etc., from the theme I'm using. The url address of the links page must be http://www.hartfeltproductions.com/links.php.

  4. Beel
    Member
    Posted 9 years ago #

    I still must be missing something because you can create any file and include the header and footer, no problem. Lots of threads on how to do that here and a step-by-step in the codex. You can also use custom permalinks and create a dynamic links page in WP that "appears" to be a static page in the root directory.

Topic Closed

This topic has been closed to new replies.

About this Topic