not display comment and other info for search home
-
I’d like to modify my theme to not display comment, ‘last modified’ information, and the like, in a search result that matches the home page. I tried the following with a matching endif statement, but it had no effect. Any ideas?
<?php if(! is_home()) : ?>
I verified that this is the right place, by displaying a small string beforhand and seeing that it appeared in the search output.
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘not display comment and other info for search home’ is closed to new replies.