Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Mikko Saari

    (@msaari)

    Unfortunately Flatsome is a premium product and I have no access to it, so I can’t tell why it’s not working anymore.

    Have you checked if the function is running in the first place? Is the woocommerce_after_main_content used in the template?

    Thread Starter Hansii

    (@hansii)

    Ok. That’s a shame. My coding experience is limited so i couldn’t tell. This the content of search.php. Is there any way you could help me out with this problem.

    <?php
    /**
     * The blog template file.
     *
     * @package flatsome
     */
    
    get_header();
    
    ?>
    
    <div id="content" class="blog-wrapper blog-archive page-wrapper">
    		<?php get_template_part( 'template-parts/posts/layout', get_theme_mod('blog_layout','right-sidebar') ); ?>
    </div>
    
    <?php get_footer(); ?>

    And this of searchform.php

    <?php
    /**
     * The template for displaying search forms in flatsome
     *
     * @package flatsome
     */
    
    $placeholder = __( 'Search', 'woocommerce' ).'&hellip;';
    if(get_theme_mod('search_placeholder')) $placeholder = get_theme_mod('search_placeholder');
    ?>
    <form method="get" class="searchform" action="<?php echo esc_url( home_url( '/' ) ); ?>" role="search">
    		<div class="flex-row relative">
    			<div class="flex-col flex-grow">
    	   	   <input type="search" class="search-field mb-0" name="s" value="<?php echo esc_attr( get_search_query() ); ?>" id="s" placeholder="<?php echo $placeholder; ?>" />
    			</div>
    			<div class="flex-col">
    				<button type="submit" class="ux-search-submit submit-button secondary button icon mb-0" aria-label="<?php echo __( 'Submit', 'flatsome' ); ?>">
    					<?php echo get_flatsome_icon('icon-search'); ?>
    				</button>
    			</div>
    		</div>
        <div class="live-search-results text-left z-top"></div>
    </form>
    
    Plugin Author Mikko Saari

    (@msaari)

    There’s no sight of woocommerce_after_main_content in there, but I’m not sure if it should be in the search.php file or somewhere else.

    Are there Flatsome support forums somewhere? If there are, that would probably be a better place to ask – perhaps there’s another Flatsome user who has set up Relevanssi with Flatsome, and can tell how to do that. I’m completely blind here.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Search results page doesn’t show product tags’ is closed to new replies.