WordPress.org

Ready to get started?Download WordPress

Forums

WP Query Search Filter
Display only featured image of post/page in search results (2 posts)

  1. sanshr
    Member
    Posted 1 year ago #

    Hi, first i congratulate you for creating such a awesome plugin. I have two questions:

    1. Is it possible to display only featured image of post or page with title in search result?
    2. Is it possible to display search results in grid style?

    Basically i want an output with just image of posts with title.

    thanks!

    http://wordpress.org/extend/plugins/wp-query-search-filter/

  2. TC.K
    Member
    Plugin Author

    Posted 1 year ago #

    This plugin only query the result. It is depend on you how to manipulate the display of the result.

    So the answer for your question
    1. yes
    2. yes

    But this plugin wont do it for you, you have to do it by your self. Just customize your search.php. in your while loop. For example

    if($_GET['s'] == 'wqsf09be82574' )//to identify is the search result from wpsf
    {
    <--! here you can styling your result for wpsf result! or use get_template_part() to include the template that you need to use-->
    }

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.