Sunday, October 11, 2009

wordpress notes

create new pages:
  • http://www.solostream.com/2006/05/16/lesson-32-how-to-add-new-pages-including-a-contact-page/
  • http://mcbuzz.wordpress.com/2009/02/25/wordpress-tutorial-how-to-make-a-static-page-your-home-page-hide-a-double-home-page-link/

nice themes :

  • http://www.leadcamp.com/content/blog/

how to create a page template:
  • Open a php editor, I recommend netbeans.
  • Browse thru the files and go to wordpress/wp-content/themes/nameofyourtheme/
  • duplicate any existing templates you have and you can name it to whatever you want. Example: I will create a copy or "archives.php" and name it "contact.php"
  • in the uppermost part of contact.php code, refer to the code below:
/**
* @package WordPress
* @subpackage Default_Theme
*/
/*
Template Name: Archives
*/
?>
  • Change "Template Name: Archives" to "Template Name: Contact"
  • Go to your wordpress admin and create a new page, you will noticed on the right column that the choose template portion will now show up

No comments:

Post a Comment