• Hello,
    For some reason, on this website: https://rubenjpromotional.com/?s=pens, when I search for any term, it is not displaying the results properly. I am seeing the title to the page, but no text or information below the title. I have tested the theme to make sure it is not a theme issue, and when converting back to the default theme, I am achieving the same results. I contacted technical support for my theme, and they indicated it is an issue with the WordPress engine. So, I re-downloaded 4.1 and it didn’t resolve the issue. Any ideas on how to fix this? Thank you in advance for your help.

Viewing 4 replies - 1 through 4 (of 4 total)
  • Please refer to this Codex Topic:
    https://codex.www.ads-software.com/Function_Reference/get_search_form

    As you can see, you would need to review if your current theme has a search.php file (if, not then WordPress would use it’s search function).

    If your theme does, it controls the output of a search…

    Example

    Your theme (or a plugin) can also set the excerpt length to zero which may have the effect you note…

    Example

    Thread Starter montanagrafix

    (@montanagrafix)

    Thank you Pioneer Valley Web Design. I looked at my theme, and it does have a searchform.php file as well as a search.php file. The search form file includes the following:

    <div class=”search-form”>
    <form id=”searchform” method=”get” action=”<?php echo home_url(); ?>” accept-charset=”utf-8″>
    <input type=”text” value=”<?php the_search_query(); ?>” name=”s” id=”s” class=”search-form_it”>
    <input type=”submit” value=”<?php echo theme_locals(“search”) ?>” id=”search-submit” class=”search-form_is btn btn-primary”>
    </form>
    </div>

    And the Search.php file includes the following:

    <?php get_header(); ?>

    <div class=”motopress-wrapper content-holder clearfix”>
    <div class=”container”>
    <div class=”row”>
    <div class=”<?php echo cherry_get_layout_class( ‘full_width_content’ ); ?>” data-motopress-wrapper-file=”search.php” data-motopress-wrapper-type=”content”>
    <div class=”row”>
    <div class=”<?php echo cherry_get_layout_class( ‘full_width_content’ ); ?>” data-motopress-type=”static” data-motopress-static-file=”static/static-title.php”>
    <?php get_template_part(“static/static-title”); ?>
    </div>
    </div>
    <div class=”row”>
    <div class=”<?php echo cherry_get_layout_class( ‘content’ ); ?> <?php echo of_get_option(‘blog_sidebar_pos’); ?>” id=”content” data-motopress-type=”loop” data-motopress-loop-file=”loop/loop-blog.php”>
    <?php get_template_part(“loop/loop-blog”); ?>
    </div>
    <div class=”<?php echo cherry_get_layout_class( ‘sidebar’ ); ?> sidebar” id=”sidebar” data-motopress-type=”static-sidebar” data-motopress-sidebar-file=”sidebar.php”>
    <?php get_sidebar(); ?>
    </div>
    </div>
    </div>
    </div>
    </div>
    </div>

    <?php get_footer(); ?>

    I am not finding anything in reference to the excerpt length. Do you see anything above that I should adjust?

    As noted above, if you are using a theme that is a Commercial Product, you need to ask the theme vendor:

    https://www.cherryframework.com/portfolio-view/bootstrap-cherry-framework-responsive-wordpress-theme-44910/

    That said, from this page where I see a search form, I am not seeing the results you note. Please try clearing your browser cache, enabling javascript, or using another browser/device to review this.

    Thread Starter montanagrafix

    (@montanagrafix)

    Ok, thank you for your help.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Search Results Issue’ is closed to new replies.