Relevanssi OptimizePress Plugin
-
Hi there,
I’ve been banging my head against a wall all day trying to figure out why Relevanssi isn’t working on my site.
I’ve deactivated and reactivated, I’ve checked for an update (though, I just installed the plug-in today), and done everything else I can think of. I was only getting results from page titles.
Finally, recognizing that I might actually be getting limited Relevanssi results, I set a synonym using a word that appears nowhere on my site to a word that only appears in one page title. When I search for that synonym I got that page title. When I turn off Relevanssi and search for that synonym I get no results. So, it seems Relevanssi is working, just maybe not indexing anything more than the titles.
I went a step farther and checked the number of terms in the index against the list I keep of page titles (et. al.). it’s a close enough match to assume that this is exactly what’s going on – the variance likely because I didn’t update some of the old page titles on my list.
I know a whole ton of zero about PHP, but I also checked for any query mentioned in prior forum posts and didn’t find them. I’m still including my search.php, just in case I’m a total idiot…
Either who, this leads me to believe that Relevanssi isn’t indexing my content beyond page titles (including my page thumbs, but those are linked into optimizepress by the image urls; right now it’s set to index posts and pages only) and it’s likely because it’s all through the OptimizePress plugin (not the theme) – is this a fair assumption?
And, if so, anything I can do about that?
If that’s not a fair assumption, do you have any ideas how I can go about fixing this?
Thanks man,
<?php
/**
* The template for displaying Search Results pages
*
* @package WordPress
* @subpackage Twenty_Fourteen
* @since Twenty Fourteen 1.0
*/get_header(); ?>
<section id=”primary” class=”content-area”>
<div id=”content” class=”site-content” role=”main”><?php if ( have_posts() ) : ?>
<header class=”page-header”>
<h1 class=”page-title”></h1>
</header><!– .page-header –><?php
// Start the Loop.
while ( have_posts() ) : the_post();/*
* Include the post format-specific template for the content. If you want to
* use this in a child theme, then include a file called called content-___.php
* (where ___ is the post format) and that will be used instead.
*/
get_template_part( ‘content’, get_post_format() );endwhile;
// Previous/next post navigation.
twentyfourteen_paging_nav();else :
// If no content, include the “No posts found” template.
get_template_part( ‘content’, ‘none’ );endif;
?></div><!– #content –>
</section><!– #primary –><?php
get_sidebar( ‘content’ );
get_sidebar();
get_footer();
- The topic ‘Relevanssi OptimizePress Plugin’ is closed to new replies.