too long search results
-
Hi,
I am having issues with my search results page.
The results show up as the full page or article, taking up tons of space and making my search results page ugly.I would like the search results to show an excerpt from the page.
I have installed Relevannsi and Live Search plugins in hopes they would have a setting for the search results page.
Is there something i need to change in CSS? there is very little code.
this is under search.php<?php
/**
* @package Gantry 5 Theme
* @author RocketTheme http://www.rockettheme.com
* @copyright Copyright (C) 2007 – 2018 RocketTheme, LLC
* @license GNU/GPLv2 and later
*
* http://www.gnu.org/licenses/gpl-2.0.html
*/defined(‘ABSPATH’) or die;
/*
* Search results page
*/$gantry = GantryFrameworkGantry::instance();
$theme = $gantry[‘theme’];// We need to render contents of <head> before plugin content gets added.
$context = Timber::get_context();
$context[‘page_head’] = $theme->render(‘partials/page_head.html.twig’, $context);$context[‘title’] = __(‘Search results for:’, ‘g5_fluent’) . ‘ ‘ . get_search_query();
$context[‘posts’] = Timber::get_posts();$templates = [‘search.html.twig’, ‘archive.html.twig’, ‘index.html.twig’];
Timber::render($templates, $context);
-
Hi there,
It sounds like you are using the self-hosted open source WordPress.org software, you can ask the question here:
https://wordpress.org/support/forumsWe know it looks the same but self-hosted WordPress sites and WordPress.com are two, different entities, but the essential difference is that we don’t have access to all WordPress sites, only ones hosted on our WordPress.com servers. For more information, please see:
- The topic ‘too long search results’ is closed to new replies.