You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
That will need to be a bit more durable and have some fallbacks in case the page.php template doesn't exist. It should also defer to any existing 404.php template.
This should also expose a wp\Init\NotFound (find a better name) function which would encapsulate all the 404.php logic.
This would then give us a template which looked something like this:
Source template which just wraps the default page template:
That will need to be a bit more durable and have some fallbacks in case the page.php template doesn't exist. It should also defer to any existing 404.php template.
This should also expose a
wp\Init\NotFound
(find a better name) function which would encapsulate all the 404.php logic.This would then give us a template which looked something like this:
Possible references:
The text was updated successfully, but these errors were encountered: