theme - 7

2. 主要内容调用放到一个文件

save content-recipes.php as custom-content.php

将content-recipes.php内容清空,加入:

1 <?php
2  get_template_part( 'custom-content' ); 
3 ?>

 

在custom-content.php中再判断是哪种post type

posted on 2012-08-29 13:11  kalintw  阅读(85)  评论(0)    收藏  举报

导航