📜  wordpress 显示类似的帖子 - 无论代码示例

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

代码示例1
    wp_get_post_categories($post->ID), 'numberposts' => 3, 'post__not_in' => array($post->ID) ) ); if( $related ) foreach( $related as $post ) { setup_postdata($post); ?>