<?php 
/*
Template Name: foo
*/
?>

I added this to my foo.php but dropdown not displayed in admin panel.

Read more here: Page attribute template dropdown not displayed even the syntax is correct


Solution:

If you know the solution of this issue, please leave us a reply in Comment section, to update the question.


Wordpress related questions and answers: