Commit 34f0f1a7 authored by Simon's avatar Simon

Search title fix

parent bbb29336
...@@ -7,7 +7,11 @@ ...@@ -7,7 +7,11 @@
<?php <?php
if (is_search()): if (is_search()):
?> ?>
<title><?php wp_title(''); ?> | Biuro</title> <title><?php
_e('You searched for', 'biuro');
if (isset($_GET['city'])) { echo ' ' . esc_html($_GET['city']); }
if (isset($_GET['s'])) { echo ' ' . esc_html($_GET['s']); }
?> | Biuro</title>
<?php <?php
else: else:
?> ?>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment