pagination (matches)
-
Hi Antoine,
I’ve read some topics about adding pagination.
You’ve created a few hooks.
I’ve added that code in my template functions php. It works on the rankingpage. I want this also to be usefull for matchespage and the predictionpage.
Therefor i’ve added these filters:// add a simple pagination to the ranking page add_filter( 'footballpool_ranking_array', 'fp_pagination' ); add_filter( 'footballpool_ranking_page_html', 'fp_pagination_html', null, 2 ); // and, with the same functions, add a simple pagination to the statistics page (view=matchpredictions) add_filter( 'footballpool_matches_array', 'fp_pagination' ); add_filter( 'footballpool_matches_page_html', 'fp_pagination_html', null, 2 ); add_filter( 'footballpool_statistics_matchpredictions', 'fp_pagination' ); add_filter( 'footballpool_statistics_matchpredictions_html', 'fp_pagination_html', null, 2 );
But with no luck. Could you please point me in the right direction? I really want to get it working, because the matchespage gets very big!
Thanks in advance.
Viewing 10 replies - 1 through 10 (of 10 total)
Viewing 10 replies - 1 through 10 (of 10 total)
- The topic ‘pagination (matches)’ is closed to new replies.