워드프레스 포스트 글 출력

<?php if ( have_posts() ) : while ( have_posts() ) : the_post(); ?>

  AAA

<?php endwhile; else: ?>

  BBB

<?php endif; ?>

포스트가 있다면 설정에서 정한수만큼 AAA 를 출력, 아님 BBB 를 출력

Subscribe
Notify of
guest

0 Comments
Newest
Oldest Most Voted
Inline Feedbacks
모든 댓글 보기
0
생각을 나눠주시면 감사해요!x
()
x
Please enter Google Username or ID to start!
Example: clip360net or 116819034451508671546
Title
Caption
File name
Size
Alignment
Link to
  Open new windows
  Rel nofollow