I have a created a
stuff page in WP.
When a user visits
stuff/foo, I'm want to fetch some data from an API append it to the contents of the
So far I've tried:
- hooking into
the_contentfilter but it's not working because WP already decides that the page doesn't exist and returns a 404.
init_query_varand reset the query inside to
$query->set('pagename', 'stuff'). However, this forces WP to redirect to the
Thanks for looking