I'm writing a plugin, it's my first plugin.
I have a problem with paging of some elements. I followed this tutorial.
The output of the pagination is correct.
But when I go to click on this link, wordpress leads me to:
Removing the information on the required page and then
get_query_var('paged') is always 0.
What am I forgetting to do?