Single Page theme override displays as possible page type on theme inspection...
Permalink
I have a single page that I'm overriding in my theme. So, have a file at /single_pages/my_single_page.php and the override at /themes/my_active_theme/my_single_page.php
Everything works dandy, however, if I go and run the "Inspect" on my theme, the single page's override file comes up as a possible page_type. Now, I understand there's no reason the single_page override file would not work as a page_type and that I can simply uncheck the page_type or set up permissions so no one can add the page. But is there a way to exclude the override file from being recognized as a page_type file? This really goes for any *.php file in the base directory of a theme. Basically an 'ignore' line for that file.
Does this make sense? Would it be a new feature request?
Thanks.
Everything works dandy, however, if I go and run the "Inspect" on my theme, the single page's override file comes up as a possible page_type. Now, I understand there's no reason the single_page override file would not work as a page_type and that I can simply uncheck the page_type or set up permissions so no one can add the page. But is there a way to exclude the override file from being recognized as a page_type file? This really goes for any *.php file in the base directory of a theme. Basically an 'ignore' line for that file.
Does this make sense? Would it be a new feature request?
Thanks.