WP-PageNavi

You are currently browsing articles tagged WP-PageNavi.

自分用メモ

talskiでWP-PageNaviを使う場合

liblary\helpers\content_helper.phpの

else
$links = array(
get_next_posts_link(‘« ‘ . __(‘Older entries’, ‘tarski’)),
get_previous_posts_link(__(‘Newer entries’, ‘tarski’) . ‘ »’));

printf(‘

%1$s%3$s%2$s

‘,
$links[0], $links[1],
$paged < 2 || $paged >= $max_num_pages ? ” : ‘ § ‘);
}

else
wp_pagenavi();
}

に書き換える。


Tags: ,