Messed with some code and broke something…
-
Hi,
So like 10 minutes ago, I posted a question on how to change the standard text to Dutch. That problem is solved at the moment. But I think that I did something wrong with the code. If I search something and it finds an article on my site, the dutch text appears. But when I search something and it finds nothing, I get kind of a blank page, something like this: http://scheppersonline.be/?s=derde+graad
Shouldn’t it say something like “no search results”?
I’ll add a picture with the code.
I think I messed up here: <?php else : ?><?php get_template_part( ‘no results’, ‘search’ ); ?>
the ‘no result’ part is what I believe is wrong.
Can anyone help me? 🙂
(link to the picture: http://postimg.org/image/a0emx7a4l/ )
The topic ‘Messed with some code and broke something…’ is closed to new replies.
