顯示具有 Wordpress 標籤的文章。 顯示所有文章
顯示具有 Wordpress 標籤的文章。 顯示所有文章

2012年11月7日 星期三

wordpress在content處使用自己的php code

目前google到的做法
大概是自己寫完php後,再套用wordpress template

<?php
/*
Template Name: TemplateName
*/
?>
<?php get_header(); ?>

your php code

<?php get_footer(); ?>
還沒實作,先註記一下

reference http://codex.wordpress.org/Pages#A_Page_of_Posts