adjustmentes in page titles (refs #1)

This commit is contained in:
Leo Germani 2018-08-03 11:44:27 -03:00
parent 1dae8d0d60
commit 306e75506b
2 changed files with 4 additions and 5 deletions

View File

@ -9,14 +9,13 @@
<h1 class="mb-0 text-truncate">
<?php
if(is_home()) { ?>
Blog <?php bloginfo('title');
<?php bloginfo('title');
}
elseif(is_singular()) { ?>
Blog <?php bloginfo('title');
<?php bloginfo('title');
}
elseif(is_search()){
_e('Search Results for ', 'tainacan-theme');
the_search_query();
_e('Search Results', 'tainacan-theme');
}
elseif(is_tag() || is_category() || is_tax()){
single_term_title();

View File

@ -7,7 +7,7 @@
if(is_home()) _e('Posts of blog', 'tainacan-theme');
elseif(is_search()){
_e('Search Results for', 'tainacan-theme');
the_search_query();
echo ' "' , get_search_query(), '"';
}
elseif(is_archive()){
echo ' ' . get_the_archive_title();