tags:

views:

36

answers:

2

I'm new to WP, but I've been experimenting with it and I like it. So, I'm moving my current site--mostly static HTML files--over to WP. My procedure, generally, has been to create new pages in WP & then copy the relevant body HTML from my files to WP. I'm curious, though, where WP stores these pages? Where are the file(s) containing the HTML? ... It would be nice to be able to work with the pages someplace other than the tiny editor built into WP's dashboard.

Thanks -- Al C.

+2  A: 

They are in WordPress's database, specifically the wp_posts table, so unfortunately you have to use the admin console editor to change their content.

Pat
+1  A: 

If you prefer working with the html instead of the small editor within the Add new Posts / Pages site you can (as a temporary solution) create custom templates for each of your pages just to migrate quickly to wordpress. Afterwards once that is done you can create your custom theme and then place this bit of PHP at the top of each page:

< ? p h p / * *

  • @package WordPress
  • @subpackage THEME_NAME
  • /

/*

Template Name: THE PAGE NAME

*/ ? >

afterwards just add a new page and select the template. You dont need to fill out anything in the wordpress page admin. Once that is done and you get the hang of all of the APIs in wordpress you can properly build your theme so when editing / creating new pages the HTML is generated automatically. Its a long way round but it can help you understand how wordpress works. There is a lot of documentation on the wordpres.org website.

Matthew P