The request-filter tag has no wiki summary.
1
vote
1answer
67 views
Modify custom Users Manage page
I'm trying to create a submenu page under 'Users' which is like the 'All Users' page but for listing users of specific roles only. Let's just call this submenu page 'Customer'.
So far I managed to ...
2
votes
1answer
109 views
Using database meta_values to calculate new post order using pre_get_posts or a 'request' hook
UPDATE: I have worked out my implementation of the selected answer at the bottom of this post.
I'm implementing a sorting algorithm based on Reddit's hotness algorithm, in addition to a time-decay ...
0
votes
1answer
198 views
How to query a custom post type with a taxonomy filter but display post type archive page?
I'm filtering the main query of Jigoshop with my own taxonomy with this hook (The file responsible for Jigoshop queries that I'm hooking, Jigoshop hooks onto WP 'request' filter):
add_filter( ...
2
votes
0answers
89 views
Enforcing canonical URLs with multiple custom post types
I'm working on a project with several custom post types, where one of the post types is naturally (but not actually in the WordPress sense) the 'parent' of the others. For example, say I have a ...
0
votes
1answer
192 views
Safe to throw 404 error in request filter?
I am working on a plug-in for my personal site and I would like it have a certain permalink structure (/projects/project-type/sub-type/project). To achieve this, I am using the request filter.
Inside ...