LoginSignup
0
0

カスタム投稿タイプのsingleページで「前のページへ」「次のページへ」を表示

Last updated at Posted at 2024-02-22

三つ目の値をTRUEにすると動かない

動くコード↓

<?php next_post_link('« %link', '前の記事へ'); ?>
<?php previous_post_link('%link »', '次の記事へ'); ?>
0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0