Hi! I am trying to get Relevanssi to work with my Apress them and was told to address it here and to paste my “search results template file”, so I hope this is correct. I have contacted Apress support too btw but haven’t heard back yet. I couldn’t see a way in the theme to change the way my search results look. So I turned to the Relevanssi plug-in thinking I could override it. I am barely a novice at this so maybe the fix is easy, but just wanted to have some control over my search results. Thanks!

global $apress_data;
$sidebar_position_class = apress_theme_search_sidebar_class(‘show’,’hide’);

<div class=”container-main <?php if($sidebar_position_class){echo esc_attr($sidebar_position_class);}?>”>

<div class=”zolo-container”>
<div class=”container-padding”>
<div class=”inner-content”>
<div id=”primary” class=”content-area”>
<p><?php echo __(“If you didn’t find what you were looking for, try again!”, “apress” ); ?></p>
<?php get_search_form(); ?>

<div id=”content” class=”site-content” role=”main”>
<?php if ( have_posts() ) : ?>
<?php /* The loop */ ?>
<ul class=”searchpage_list”>
<?php while ( have_posts() ) : the_post(); ?>

The page I need help with: [log in to see the link]

Leave a Reply

Your email address will not be published.