Quantcast
Channel: polylang – WordPress.org Forums
Viewing all articles
Browse latest Browse all 11471

elisabetha on "polylang 404 page in 2 languages"

$
0
0

I solved it like this in 404.php:

<p><?php $taal=pll_current_language($value);?>

<article id="post-0" class="post error404 not-found">
<h1 class="entry-title">
<?php if ($taal =="nl") {
echo "Niet gevonden" ;}
?>
<?php if ($taal =="en") {
echo "Not Found" ;}
?></h1>

etc.


Viewing all articles
Browse latest Browse all 11471

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>