WordPress.org

Forums

Search Everything
Exclude a specific post type (3 posts)

  1. Felipe de Castro
    Member
    Posted 2 years ago #

    Hi, is there a way for me to exclude a specific post type from appear in my search results?

    Thanks!

    http://wordpress.org/extend/plugins/search-everything/

  2. nikoza
    Member
    Posted 2 years ago #

    You don't need of this plugin.

    When you register your post type (register_post_type) then use the 'exclude_from_search' => true

    http://codex.wordpress.org/Function_Reference/register_post_type

  3. Felipe de Castro
    Member
    Posted 2 years ago #

    yeah.. i saw that after i post this.

    Thanks for the tip.

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Search Everything
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic

Tags

No tags yet.