안녕하세요. 시추 강아지 ‘곰’이를 키우고 있는 곰이네 입니다.
최신글
ID; // Get current post ID
// Define the WP Query parameters
$args = array(
'post_type' => 'post',
'posts_per_page' => 3,
'post__not_in' => array($current_post_id) // Exclude current post
);
// Create a new instance of WP_Query
$the_query = new WP_Query( $args );
// The Loop
if ( $the_query->have_posts() ) {
echo '
강아지 관련 글, 건강 관련 글, 이곳은 제가 공부한 것을 기록하는 곳이며, 저의 일기장이 될 공간입니다.
부족하지만 열심히 해볼게요.
2023.5.9