Support » Plugins » Relevanssi where to put the_excerpt() in search.php

  • I am a newbie, have installed Relevanssi and am having trouble getting it to work. In fact I’m not sure it is working at all – so I looked for a query_posts but didn’t find one, thought that perhaps the problem was in the excerpts being too big, showing the whole list instead of the area of the search term ( I really only need to search the content on one page/post on the wp site. Think a list in which the user can find an item.) So, I thought perhaps I need to put in the_excerpt() but I have no idea where.

    Sorry to bother you with such a basic question.
    Here is a pastebin with the php from the search.php for my theme.

    Thank you so much,

Viewing 3 replies - 1 through 3 (of 3 total)
  • WPyogi


    Forum Moderator

    You need to post on the plugin’s own sub-forum:

    The way the posts are printed out is here:

    get_template_part( 'content/content', get_post_format() );

    So, it is defined somewhere else. Maybe your theme has a setting that lets you choose whether search results page shows exceprts or full posts?

    Thank you Mikko, I’ve posted a query on the theme developer’s website to find out where the parameters for the search results is located. Since I don’t know php I may need additional guidance on how to change the php but I’ll try to do it on my own.

    I really appreciate you taking the time to answer all these questions people have! Stellar support for Revelanssi!

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Relevanssi where to put the_excerpt() in search.php’ is closed to new replies.