Can Relevanssi work on template Divi?
-
I would like to know how can I use Relevanssi 3.5.8 on template Divi, ver. 3.0.39, on WordPress 4.7.3. Both my programmer and web designer tried everything you wrote on the subject, but the search engine didn’t work anyway. Looks like all we need for my web site is there in the free version. So we try to make it work. Not successful so far. We need your support. And of course, if your support costs something, I will pay you.
I have inserted the file search.php
Regards,
Dimov
—————————<?php
/**
* The template for displaying search results pages.
*
* @package WordPress
* @subpackage Twenty_Fifteen
* @since Twenty Fifteen 1.0
*/get_header();
?><section id=”primary” class=”content-area”>
<main id=”main” class=”site-main” role=”main”><?php if ( have_posts() ) : ?>
<header class=”page-header”>
<h1 class=”page-title”>
<?php printf( __( ‘Search Results for: %s’, ‘twentyfifteen’ ), get_search_query() ); ?>
</h1>
</header>
<!– .page-header –><?php
// Start the loop.
while ( have_posts() ): the_post();
?><?php
/*
* Run the loop for the search to output the results.
* If you want to overload this in a child theme then include a file
* called content-search.php and that will be used instead.
*/
get_template_part( ‘content’, ‘search’ );// End the loop.
endwhile;// Previous/next page navigation.
the_posts_pagination( array(
‘prev_text’ => __( ‘Previous page’, ‘twentyfifteen’ ),
‘next_text’ => __( ‘Next page’, ‘twentyfifteen’ ),
‘before_page_number’ => ‘<span class=”meta-nav screen-reader-text”>’ . __( ‘Page’, ‘twentyfifteen’ ) . ‘ </span>’,
) );// If no content, include the “No posts found” template.
else :
get_template_part( ‘content’, ‘none’ );endif;
?></main>
<!– .site-main –>
</section> <!– .content-area –><?php get_footer(); ?>
- The topic ‘Can Relevanssi work on template Divi?’ is closed to new replies.