wp query - Problem with my loops

admin2025-06-02  3

I am French. Sorry if i make mistakes. I have two problems.

The first, I have a page that shows all paying activities sort by date. The 'posts_per_page' does not work When I put 10, it shows 8 articles.

Second problem, I have two templates, one that shows the sports activities, and another that shows the cultural activities. Sorting works on the cultural page, but not on the sports page. Yet it's the same code, only the name of the loop changes.

Anyone know where my mistake comes from?

转载请注明原文地址:http://conceptsofalgorithm.com/Algorithm/1748871408a314414.html

最新回复(0)