WordPress.org

Ready to get started?Download WordPress

Forums

building a site with mostly custom styled, static pages.. advice needed (6 posts)

  1. achenn
    Member
    Posted 2 years ago #

    I'm putting together a site that will be compromised mostly of static pages with some dynamic content as well as a blog page.
    In terms of naming files, what would be the best way to achieve this? My first thought was to simply use about.php, services.php, etc. but I'm sure that doesn't jive well with WP's system.

  2. esmi
    Forum Moderator
    Posted 2 years ago #

    WordPress doesn't use files for it's static Pages. The content of Pages is still stored in your site's database.

  3. achenn
    Member
    Posted 2 years ago #

    How would I implement the content? Just copy/paste the HTML into the page?

  4. esmi
    Forum Moderator
    Posted 2 years ago #

    I'd be wary of pasting HTML directly into WordPress. Why would you need it?

  5. achenn
    Member
    Posted 2 years ago #

    Ok, so how do I go about having my custom-styled pages show?
    I've done a bit of reading since my original question. According to the codex it appears that I can name it whatever I want, as long as it's got

    <?php
    /*
    Template Name: Custom Name
    */
    ?>

    at the top?

  6. esmi
    Forum Moderator
    Posted 2 years ago #

    Yes - you could use custom page templates

Topic Closed

This topic has been closed to new replies.

About this Topic