Overrides not working on single-pages
Permalink
Hi all,
I am sure I missing something as I know I have done this before but can't figure this out...
I have told site_theme_paths.php to use my theme for page_not_found.php. It then gets imported into my view.php as expected.
However in the past I have been able to create a page_not_found.php in my theme which acts as the view.php but allows me to customise it so it's different to the view.php.
That's what is not working... I have refreshed the page under dashboard/single-pages and when I view the single page via the dashboard/single-pages it shows up correctly, when I type in a random string of letters to inact the page_not_found.php page it comes up through the main view.php.
Even stranger, if I go to my page_not_found.php I see it in the old view.php layout but if I go into edit mode on the same page I then see it with the correct override so somewhere along the line this is working correctly.
I should note that I am using this on XAMPP (WAMP).
EDIT - I have also turned off 'override-cache' as well.
I am sure I missing something as I know I have done this before but can't figure this out...
I have told site_theme_paths.php to use my theme for page_not_found.php. It then gets imported into my view.php as expected.
However in the past I have been able to create a page_not_found.php in my theme which acts as the view.php but allows me to customise it so it's different to the view.php.
That's what is not working... I have refreshed the page under dashboard/single-pages and when I view the single page via the dashboard/single-pages it shows up correctly, when I type in a random string of letters to inact the page_not_found.php page it comes up through the main view.php.
Even stranger, if I go to my page_not_found.php I see it in the old view.php layout but if I go into edit mode on the same page I then see it with the correct override so somewhere along the line this is working correctly.
I should note that I am using this on XAMPP (WAMP).
EDIT - I have also turned off 'override-cache' as well.