Adding items to page template dropdown on Page Edit Screen
I am developing a WP theme with MVC approach. It only have index.php
, functions.php
and styles.css
on the parent directory. So, I do not want to place page templates on it rather then I want to programmatically provide them from View classes while functionality from edit screen stays the same.