-
Notifications
You must be signed in to change notification settings - Fork 0
/
404.php
executable file
·34 lines (25 loc) · 1020 Bytes
/
404.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
<?php
$sSpanish = "<p>La página que buscas se ha movido de lugar, eliminado o posiblemente nunca existió.<p>" .
"<p>Utiliza el navegador o intenta con el buscador.</p>";
$sEnglish = "<p>The page you are looking for may have been moved, deleted, or possibly never existed.<p>" .
"<p>Use the nav menu or give a try with the search form.</p>";
/* check if qtranslate function exists */
if(class_exists('QTX_Translator')) {
/* if language is English use this code */
$sError404 = __("[:en]{$sEnglish} [:es]{$sSpanish} [:]", "front-end-ninja");
}else{
$sError404 = $sSpanish;
}
get_header(); ?>
<div id="error-404" class="main-content">
<div class="container">
<div class="row">
<div id="error-content" class="col-xs-12 col-sm-4 col-md-4">
<h1>Oh no! <span>Error:</span> 404</h1><?php
echo $sError404;
get_search_form(); /* searchform.php to customize form */ ?>
</div>
</div>
</div>
</div><?php
get_footer();