wordpress获取自定义文章类型
获取自定义文章类型和普通文章一样 比如普通的文章调用: <?php $args = array( 'post_type'=>'post', //调用文章类型为post 'showposts'=>10, ); query_p...
获取自定义文章类型和普通文章一样 比如普通的文章调用: <?php $args = array( 'post_type'=>'post', //调用文章类型为post 'showposts'=>10, ); query_p...
wordpress的页面判断都有函数可用,比如判断首页用, <?php if(is_home()||is_front_page()){ /***********/ } ?> 如何判断自定义文章和分类法的页面呢? &...