포스트 나열 페이지수 출력하기

<?php
global $wp_query;
$big=99999999;
echo paginate_links( array(
‘base’ => str_replace($big,’%#%’, esc_url(get_pagenum_link($big))),
‘format’ => ‘?paged=%#%’,
‘current’ => max(1,get_query_var(‘paged’)),
‘total’ => $wp_query->max_num_pages,
) );
?>

Subscribe
Notify of
guest

0 Comments
Inline Feedbacks
모든 댓글 보기
0
Would love your thoughts, please comment.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