I am using a Twenty Twelve child theme and I am trying to make the search box display on the posts pages only. I used this code in my header.php file
(is_single($post)) : get_search_form();
But this code didn’t work.
Does anyone know how to do this?
Thanks and regards