WordPress.org

Support

Support » Plugins and Hacks » Relevanssi - A Better Search » Exclude the first item in search result

Exclude the first item in search result

Viewing 1 replies (of 1 total)
  • Plugin Author Mikko Saari

    @msaari

    add_filter('relevanssi_modify_wp_query', 'ucokpunk_offset');
    function ucokpunk_offset($query) {
        $query->set('offset', 1);
        return $query;
    }

    This should do the trick.

Viewing 1 replies (of 1 total)
  • The topic ‘Exclude the first item in search result’ is closed to new replies.
Skip to toolbar