wp

Snippets

 Para incluir um arquivo do template corrente

<?php include (TEMPLATEPATH . '/foo.php'); ?>

Para iniciar uma pagina de template customizada, coloque este codigo:

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

wp snippets: http://wp-snippets.com/ wp cheatsheet: http://www.graphicrating.com/2009/01/18/my-wordpress-cheat-sheet/ wp reference: http://www.dbswebsite.com/design/wordpress-reference/V3/ Precedência: http://codex.wordpress.org/images/1/18/Template_Hierarchy.png