Pagination fix for wordpress 4.4.1

In this article I will give you some fixes for pagination when you use custom loops on home page

Currently, many users have custom static pages on home page. They added page builder and custom layout to such page. But problem is that wordpress determine such home page as simple inner page, not as archive page and this creates many problem in pagination functions.

Lats update of wordpress broke many sites pagination. You can see many questions on different forums and most of them without answer.

Ok, I will tell you what is the problem. Last update changed canonical redirect in wordpress and all paginated static pages have redirect to home page.

Quick fix. Add it to functions.php

Buyers of wpsoul’s themes – you don’t need to do anything. Just update theme

Pagination fix for wordpress 4.4.1
3 (60%) 2 votes

Want to get unique wordpress tips?

We won't rent or sell or spam your email. We promise!

4
Leave a Reply

avatar
4 Comment threads
0 Thread replies
1 Followers
 
Most reacted comment
Hottest comment thread
4 Comment authors
TrungPhamS.RobTommaso Recent comment authors
  Subscribe  
newest oldest most voted
Notify of
Tommaso
Guest

Thanks a lot, worked just fine.

Rob
Guest
Rob

Thanks a lot! Was searching the complete sunday afternoon for a fix. You should post it on the WP support forum.

S.
Guest

Thanx a lot, great fix, worked perfectly!

TrungPham
Guest

Thank a lot, among all the tips i found, this is the only one that works !