Skip to content
Snippets Groups Projects
Commit 064b615d authored by Jakob Moser's avatar Jakob Moser
Browse files

Merge branch '14-set-title-of-404-page-to-something-general' into 'master'

Resolve "Set title of 404 page to something general"

Closes #14

See merge request fachschaft/wp-theme!18
parents 979c5fd9 98d146dd
No related branches found
Tags v1.3.2
1 merge request!18Resolve "Set title of 404 page to something general"
......@@ -17,6 +17,8 @@ get_header();
echo 'Blog | ';
} elseif(is_search()) {
echo 'Suchergebnisse | ';
} elseif(is_404()) {
echo '404 | ';
} elseif(!is_front_page()) {
// get_the_title does not escape the returned values
// (see https://developer.wordpress.org/reference/functions/get_the_title/#comment-1653)
......
......@@ -7,7 +7,7 @@
* Author: personads :: Maximilian Müller-Eberstein (ursprüngliche Version und Design); Jakob Moser (Code-Rewrite)
* Author URI: https://personads.me/
*
* Version: 1.3.1
* Version: 1.3.2
*
* License: GNU General Public License v3.0
* License URI: https://www.gnu.org/licenses/gpl-3.0.html
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment