wyrdbyword
Forum Replies Created
-
Forum: Plugins
In reply to: [Relevanssi - A Better Search] successful blog post results don’t displayThank you. That is immensely helpful and allows me to implement a quick workaround while I work out the larger fix.
Forum: Plugins
In reply to: [Relevanssi - A Better Search] successful blog post results don’t displayThe forums are no help, but the point about formats might help me figure it out: if I change the post format to standard, rather than quote, it shows up properly. Thanks for your help!
(marking as resolved since this isn’t a plugin issue)
- This reply was modified 3 years, 6 months ago by wyrdbyword.
Forum: Plugins
In reply to: [Relevanssi - A Better Search] successful blog post results don’t displayI do get results if I change themes (without deactivating any plugins). But you said the theme search template is OK, so any idea what I should look for?
(I assume it’s irrelevant, but here is the query you asked about: https://dsc.cloud/fncll/consultatory-ulans-picine-gutted/CleanShot-2022-09-24-at-10.36.41-2x.png)
Forum: Plugins
In reply to: [Relevanssi - A Better Search] successful blog post results don’t displayIt says the query returned a row. I’m not sure what is most helpful to see, but here is the query return in the Query Monitor window:
https://dsc.cloud/fncll/excursing-winks-custodial-sportswriting/query-monitor-output.png
And the Admin search shows the post was found as well.
Forum: Plugins
In reply to: [Relevanssi - A Better Search] successful blog post results don’t displayI am using a child theme of the the READ theme and this is the search.php, which is what you are asking about I think?
<?php get_header(); ?> <!-- #primary --> <div id="primary" class="site-content"> <!-- #content --> <div id="content" role="main"> <!-- .search-results --> <div class="post-archive blog-posts readable-content"> <!-- .page-header --> <header class="page-header"> <h1 class="page-title"><?php echo __( 'Search Results', 'read' ); ?> <span class="on"><?php echo __( '→', 'read' ); ?></span> <span><?php echo get_search_query(); ?></span></h1> </header> <!-- .page-header --> <?php if ( have_posts() ) : while ( have_posts() ) : the_post(); $format = get_post_format(); if ( $format != false ) { get_template_part( 'format', $format ); } else { ?> <!-- .post --> <article id="post-<?php the_ID(); ?>" <?php post_class( 'clearfix' ); ?>> <!-- .entry-header --> <header class="entry-header"> <h1 class="entry-title"> <a href="<?php the_permalink(); ?>" rel="bookmark"><?php the_title(); ?></a> </h1> </header> <!-- .entry-header --> <!-- .entry-meta --> <footer class="entry-meta"> <?php echo __( 'posted in', 'read' ); ?> <?php the_category( ', ' ); ?> <?php echo __( 'on', 'read' ); ?> <a href="<?php the_permalink(); ?>" title="<?php the_time(); ?>" rel="bookmark"><time class="entry-date" datetime="2012-11-09T23:15:57+00:00"><?php echo get_the_date(); ?></time></a> <span class="comments-link"> <?php comments_popup_link( __( '0 Comment', 'read' ), __( '1 Comment', 'read' ), __( '% Comments', 'read' ) ); ?> </span> <span class="by-author"> <?php echo __( 'by', 'read' ); ?> <span class="author vcard"> <a class="url fn n" href="<?php echo get_author_posts_url( get_the_author_meta( 'ID' ) ); ?>" title="<?php echo __( 'View all posts by ', 'read' ) . get_the_author(); ?>" rel="author"><?php the_author(); ?></a> </span> </span> </footer> <!-- .entry-meta --> </article> <!-- .post --> <?php } endwhile; else : ?> <div class="not-found"> <h2><?php echo __( 'Nothing Found', 'read' ); ?></h2> <p><?php echo __( 'Sorry, but nothing matched your search criteria. Please try again with some different keywords.', 'read' ); ?></p> <?php get_search_form(); ?> </div> <?php endif; wp_reset_query(); ?> <?php get_template_part( 'part', 'pagination' ); ?> </div> <!-- .search-results --> </div> <!-- #content --> </div> <!-- #primary --> <?php get_footer(); ?>