<section class="no-results not-found">
    <header class="page-header">
        <h2 class="page-title"><?php _e( 'Nothing Found', 'residium' ); ?></h2>
    </header><!-- .page-header -->

    <div class="page-content">
        <?php
            $siteurl =  get_site_url();
            $lang = get_bloginfo('language'); // get lang of current post (i hope so)
            if($lang == 'de-DE')
            {
                $post = sh_the_content_by_id(3142); // zeige Inhalt/content von Post (im Kurzlink steht die ID) von callom.com/index.php/leider-keine-suchergebnisse/ an
            }
            else // assume english
            {
                $post = sh_the_content_by_id(3147); // zeige Inhalt/content von Post (im Kurzlink steht die ID) von callom.com/index.php/unfortunately-nothing-was-found/ an
            }
            echo '<script type="text/javascript">document.title = "'.$post->post_title.'";</script>'; // ändere Seitentitel

            // search replace [Search form]
            echo '
            <script type="text/javascript">
            jQuery(document).ready(function(jQuery) {
                var search_form_text = \'<form role="search" action="'
.$siteurl.'/" id="searchform" method="get"><input type="text" placeholder="'.pll__('suchen …').'" id="s" value="" data-swpconfig="default" data-swpengine="default" data-swplive="true" name="s" class="field" autocomplete="off"><button type="submit"><i class="fa fa-search fa-flip-horizontal"></i></button></form>\';
                jQuery("p:contains(\'[Search form]\')").each(function() {
                    jQuery(this).replaceWith( search_form_text );
                });
                jQuery("p:contains(\'[search]\')").each(function() {
                    jQuery(this).replaceWith( search_form_text );
                });
            });
            </script>
            <!-- reinclude script to enable js-added search forms (as in content-none.php) -->
            <script type="text/javascript" src="'
.$siteurl.'/wp-content/plugins/searchwp-live-ajax-search/assets/javascript/searchwp-live-search.min.js?ver=1.1"></script>
            '
;
        ?>
    </div><!-- .page-content -->
</section><!-- .no-results -->
admin