How to Override the Number of Posts Per Page in WordPress

แชร์
ฝัง
  • เผยแพร่เมื่อ 23 ธ.ค. 2024

ความคิดเห็น • 2

  • @linnmarketing
    @linnmarketing 3 หลายเดือนก่อน

    Nice Info - but how to do this responsive? In a 3 column layout, 9 is great. In a 2 column layout, probably 8 is better. And so on ... Wouldn't it be great not to have to write custom code, but having a field for "posts per page" in the query builder? So much more intuitive ...

    • @yourthemeco
      @yourthemeco  3 หลายเดือนก่อน

      We are not using the Looper Query Builder in this video, but the default items WordPress provides us. Using the QB there are settings for number of posts and you could controls all this in the archive layout if you wanted to. Having settings to control the default query WordPress uses in the Archive Layout settings would be nice.