How can I add one more pagination on the top of grid-items?
-
Hello,
Thank you for the wonderful plugin.
How can I add one more pagination on the top of grid-items?
https://pickplugins.com/documentation/post-grid/action-hooks/post_grid_before_loop-2/I’ve tried to add
add_action('post_grid_pagination_normal', 'post_grid_pagination_normal', 9, 2);
but it has got an errorFatal error: Uncaught ArgumentCountError: Too few arguments to function post_grid_pagination_normal(), 1 passed in /app/public/wp-includes/class-wp-hook.php on line 287 and exactly 2 expected in /app/public/wp-content/plugins/post-grid/templates/post-grid-hook.php:684 Stack trace: #0 /app/public/wp-includes/class-wp-hook.php(287): post_grid_pagination_normal(Array) #1 /app/public/wp-includes/class-wp-hook.php(311): WP_Hook->apply_filters(”, Array) #2 /app/public/wp-includes/plugin.php(478): WP_Hook->do_action(Array) #3 /app/public/wp-content/plugins/post-grid/templates/post-grid-hook.php(290): do_action(‘post_grid_befor…’, Array) #4 /app/public/wp-includes/class-wp-hook.php(287): post_grid_posts_loop(Array) #5 /app/public/wp-includes/class-wp-hook.php(311): WP_Hook->apply_filters(NULL, Array) #6 /app/public/wp-includes/plugin.php(478): WP_Hook->do_action(Array) #7 /app/public/wp-content/plugins/post-grid/templates/post-grid-hook.php(75): do_action(‘post_grid_conta…’, Array) #8 /app/public/wp-includes/class-wp-hook.ph in /app/public/wp-content/plugins/post-grid/templates/post-grid-hook.php on line 684
Please help. Thanks.
- The topic ‘How can I add one more pagination on the top of grid-items?’ is closed to new replies.