📌  相关文章
📜  帖子类型分类循环 wordpress - PHP 代码示例

📅  最后修改于: 2022-03-11 14:54:12.555000             🧑  作者: Mango

代码示例1
 'services',
            'showposts' => -1,
            'tax_query' => array(
                array(
                    'taxonomy'  => 'service-category',
                    'terms'     => array( $category->slug ),
                    'field'     => 'slug'
                )
            )
        )
    );
?>

name; ?>

    have_posts()) : $services->the_post(); ?>