php - HTML to wordpress Converting Pages -


i'm little confused converting html wordpress.

i have following html pages "about us, contact , team" etc...

in wordpress have create "about us.php, contact us.php , team.php" or create contentpage.php , on wordpress create pages "about us, contact , team


i thinking of creating "about us.php, contact us.php , team.php" tag should added user can change text

can't find tutorial on explanation on this.

no, don't have create separate php files each page, instead, can create page.php file of pages used when page displayed , create pages wordpress' admin panel pages menu. if have page.php file in template folder wordpress use template show every pages otherwise, index.php file used. can create custom page templates specific pages. example/structure of basic page template (without formatting , html tags)

get_header(); // adds header (header.php) if (have_posts()) : while (have_posts()) : the_post();      the_title(); // prints title of page      the_content(); // prints content/body of page  endwhile; endif;  get_sidebar(); // adds sidebar (sidebar.php) get_footer(); // adds footer (footer.php) 

these common structure , functions used template file should read on codex more information creating page template , add formatting/html according site's layout. also, check convert html wordpress , integrating wordpress website.


Comments

Popular posts from this blog

java.util.scanner - How to read and add only numbers to array from a text file -

rewrite - Trouble with Wordpress multiple custom querystrings -