Hello,
unfortunately this does not help. I already have the woolentor addon installed.
Due to the fact that elementor and woolentor are third party products and you cant help me with that i changed my concept. I am now using just the preinstalled wordpress search form. The same thing happens, on the page result site, no results are shown.
Code from my searchform.php
<form method="get" class="searchform" action="<?php echo esc_url( home_url( '/' ) ); ?>" role="search">
<input type="search" class="field" name="s" value="<?php echo esc_attr( get_search_query() ); ?>" id="s" placeholder="<?php esc_html_e( 'Search here...', 'foto' ); ?>" />
<input type="submit" class="submit search-button" value="<?php esc_html_e( 'Submit', 'foto' ); ?>" />
</form>
Code from my search.php-file
<?php foto_header_menu_choice(); ?>
<?php
if ( class_exists( 'Redux' ) ) { ?>
<!-- CONTENT START
============================================= -->
<div id="content" class="search-page single-wrapper">
<?php
$options = get_option('foto_framework');
$content_type = $options['content_type'];
?>
<?php if($content_type == 'container') { ?>
<div class="container">
<?php } ?>
<?php
if ( class_exists( 'Redux' ) ) {
$options = get_option('foto_framework');
$blog_title = $options['blog_title'];
$blog_subtitle = $options['blog_subtitle']; ?>
<!-- PAGE TITLE START
============================================= -->
<div class="page-title content-wrapper">
<div class="title-wrap container">
<h2 class="wow fadeInUp" data-wow-delay="2.3s"><?php esc_html_e( 'Search Result', 'foto' ); ?></h2>
</div>
</div>
<!-- PAGE TITLE END -->
<?php } ?>
<!-- BLOG START
============================================= -->
<div class="blog content-wrapper">
<!-- BLOG LOOP START
============================================= -->
<div class="blog-post wow fadeIn">
<?php if ( have_posts() ) : ?>
<?php while ( have_posts() ) : the_post();
get_template_part( 'inc/format/loop', get_post_format() );
endwhile; ?>
<?php else : ?>
<?php get_template_part( 'inc/format/content', 'no-result' ); ?>
<?php endif; ?>
</div>
<!-- BLOG LOOP END -->
<?php foto_content_nav($pages = '', $range = 2); ?>
</div>
<!-- BLOOG END -->
<?php if($content_type == 'container') { ?>
</div>
<?php } ?>
</div>
<!-- CONTENT END -->
<?php }
else { ?>
<!-- CONTENT START
============================================= -->
<div id="content" class="search-page single-wrapper">
<div class="container">
<!-- PAGE TITLE START
============================================= -->
<div class="page-title content-wrapper">
<div class="title-wrap container">
<h2 class="wow fadeInUp" data-wow-delay="2.3s"> <?php esc_html_e( 'Search Result', 'foto' ); ?></h2>
</div>
</div>
<!-- PAGE TITLE END -->
<!-- BLOG START
============================================= -->
<div class="blog content-wrapper clearfix">
<!-- BLOG LOOP START
============================================= -->
<div class="blog-post wow fadeIn">
<?php if ( have_posts() ) : ?>
<?php while ( have_posts() ) : the_post();
get_template_part( 'inc/format/loop', get_post_format() );
endwhile; ?>
<?php else : ?>
<?php get_template_part( 'inc/format/content', 'no-result' ); ?>
<?php endif; ?>
</div>
<!-- BLOG LOOP END -->
<?php foto_content_nav($pages = '', $range = 2); ?>
</div>
<!-- BLOOG END -->
</div>
</div>
<!-- CONTENT END -->
<?php } ?>
<?php foto_footer_option(); ?>
Link to Image from Search Result Page
Any ideas what is the issue there?
-
This reply was modified 2 years, 4 months ago by art_design.