Problem:
Option to change number of posts per page when using archive
Solution:
The 'wpv_filter_query' hook will work for views not for archives. If you want to filter archive query arguments on fly either you will have to use pre_get_posts hook or the 'wpv_action_apply_archive_query_settings' hook.'
You can find proposed solution in this case with the following reply:
=> https://toolset.com/forums/topic/option-to-change-number-of-posts-per-page/#post-2262469
Relevant Documentation:
This is the technical support forum for Toolset - a suite of plugins for developing WordPress sites without writing PHP.
Everyone can read this forum, but only Toolset clients can post in it. Toolset support works 6 days per week, 19 hours per day.
Sun | Mon | Tue | Wed | Thu | Fri | Sat |
---|---|---|---|---|---|---|
- | 10:00 – 13:00 | 10:00 – 13:00 | 10:00 – 13:00 | 10:00 – 13:00 | 10:00 – 13:00 | - |
- | 14:00 – 18:00 | 14:00 – 18:00 | 14:00 – 18:00 | 14:00 – 18:00 | 14:00 – 18:00 | - |
Supporter timezone: Asia/Kolkata (GMT+05:30)
This topic contains 2 replies, has 2 voices.
Last updated by 3 years, 7 months ago.
Assisted by: Minesh.