Title: Search by ID
Author: Uffe Fey
Published: <strong>25 septembra, 2012</strong>
Last modified: 20 decembra, 2018

---

Search plugins

This plugin **hasn’t been tested with the latest 3 major releases of WordPress**.
It may no longer be maintained or supported and may have compatibility issues when
used with more recent versions of WordPress.

![](https://s.w.org/plugins/geopattern-icon/search-by-id.svg)

# Search by ID

 By [Uffe Fey](https://profiles.wordpress.org/wpkonsulent/)

[Download](https://downloads.wordpress.org/plugin/search-by-id.zip)

 * [Details](https://sl.wordpress.org/plugins/search-by-id/#description)
 * [Reviews](https://sl.wordpress.org/plugins/search-by-id/#reviews)
 *  [Installation](https://sl.wordpress.org/plugins/search-by-id/#installation)
 * [Development](https://sl.wordpress.org/plugins/search-by-id/#developers)

 [Support](https://wordpress.org/support/plugin/search-by-id/)

## Description

Ever wanted to do a quick search for a post with a specific ID? The built-in search
doesn’t allow that. But now you can.

#### Features:

 * Works for all kinds of posts (regular posts, pages, custom post types and media).
 * No configuration needed.
 * Doesn’t add javascript or css; it has virtually no impact whatsoever.
 * No front-end functionality, just back-end.
 * Doesn’t add any options or tables to the database.

Just a nice, clean and easy, seamless extension of the built-in search.

#### How to use it:

Simply enter an ID into the search field. If a post with that ID is found, it will
show up in the search result.

You can even enter a list of IDs if you want to search multiple IDs. For instance“
100, 200, 300”.

## Installation

 1. Upload the `search-by-id` folder to the `/wp-content/plugins/` directory
 2. Activate the plugin through the ‘Plugins’ menu in WordPress

That’s right. There’s no step three.

## FAQ

  What does it do?

Whenever a search is executed, the plugin simply hooks into that query and checks
if the query (the phrase you entered into the search field) is a numeric value. 
If it is, it modifies the query so that it also searches for post ID’s (default 
is to only search title and content).

  I’ve installed and activated the plugin, but cannot find it in the admin area

There is nothing new to be found, my friend. It hooks into the good old search input
field you see in the top right corner when viewing the lists of posts (or pages,
or whatever post type you may use). Just enter an ID into that field, and you will
see.

  It’s not working

That’s not really a very descriptive question, but I shall try to answer nonetheless;).
If you find that searching for an ID that definitely does exist does not work, it’s
most likely because you have another plugin installed that interferes with the same
filter that this plugin uses. I’m afraid I can’t do anything about that. Almost 
every bug report I receive is caused by an interfering plugin, so please check before
you post in the support forum.

## Reviews

![](https://secure.gravatar.com/avatar/d1b749c9c3b4d8cef10468d97d84aa4766c93ec5aa1abe35e69bbbb48bd4bc54?
s=60&d=retro&r=g)

### 󠀁[It works great!](https://wordpress.org/support/topic/it-works-great-175/)󠁿

 [whatanoisybird](https://profiles.wordpress.org/whatanoisybird/) 27 januarja, 2021

Just tested it with Wordpress 5.6! Thank you for this great plugin!

![](https://secure.gravatar.com/avatar/72b223d64d2d8cbfb475b5da40917691af4321eaa474eb3e8774ea0f3be6baff?
s=60&d=retro&r=g)

### 󠀁[Simple and efficient](https://wordpress.org/support/topic/simple-and-efficient-236/)󠁿

 [lama010101](https://profiles.wordpress.org/lama010101/) 23 septembra, 2019

Thanks for your work!

![](https://secure.gravatar.com/avatar/3c2a9b433b18cfb942c353b45e42e09f889d93973c5b9fcc5f7e7e3c65436111?
s=60&d=retro&r=g)

### 󠀁[Nice, but…](https://wordpress.org/support/topic/nice-but-78/)󠁿

 [Fabian_Niesen](https://profiles.wordpress.org/fabian_niesen/) 31 marca, 2019 2
replies

Very nice and useful. What would be great, when it also would work in the frontend
search

![](https://secure.gravatar.com/avatar/2e22db173c053cc0ba9901e82d5a8e99f7524f5bd8f5741225bb7cd182d34501?
s=60&d=retro&r=g)

### 󠀁[It works](https://wordpress.org/support/topic/it-works-1558/)󠁿

 [rocknrollninjahacker](https://profiles.wordpress.org/rocknrollninjahacker/) 29
januarja, 2019

It worked better than I expected. Great plugin for searching by ID

![](https://secure.gravatar.com/avatar/a91935d0881561ec7024f5f65f0039554b6f0c4616cec2bb628635dd0d23f7d0?
s=60&d=retro&r=g)

### 󠀁[Thanks a Ton.](https://wordpress.org/support/topic/thanks-a-ton-3/)󠁿

 [pixeldroid](https://profiles.wordpress.org/pixeldroid/) 30 decembra, 2018

Thanks for writing this! Once again I find myself wondering how such a popular CMS
can be so poor at content management…

![](https://secure.gravatar.com/avatar/ffc688bb67e4771c58b848ad73d0a0009373221b2e41eb4ec6cedff46eff084f?
s=60&d=retro&r=g)

### 󠀁[Just what I needed](https://wordpress.org/support/topic/just-what-i-needed-737/)󠁿

 [WPSeeker](https://profiles.wordpress.org/wpseeker/) 23 aprila, 2018

Does the job and it’s exactly what I needed to search for posts by ID. Thanks

 [ Read all 18 reviews ](https://wordpress.org/support/plugin/search-by-id/reviews/)

## Contributors & Developers

“Search by ID” is open source software. The following people have contributed to
this plugin.

Contributors

 *   [ Uffe Fey ](https://profiles.wordpress.org/wpkonsulent/)

[Translate “Search by ID” into your language.](https://translate.wordpress.org/projects/wp-plugins/search-by-id)

### Interested in development?

[Browse the code](https://plugins.trac.wordpress.org/browser/search-by-id/), check
out the [SVN repository](https://plugins.svn.wordpress.org/search-by-id/), or subscribe
to the [development log](https://plugins.trac.wordpress.org/log/search-by-id/) by
[RSS](https://plugins.trac.wordpress.org/log/search-by-id/?limit=100&mode=stop_on_copy&format=rss).

## Changelog

#### 1.3

 * Code maintenance for five oh. No new features has been added.

#### 1.2

 * Updated for 4.1.1. Slight rewrite of the filter was necessary. Updated description
   and FAQ.

#### 1.1

 * Added support for searching multiple IDs. Credit goes to Ben Wise for suggesting
   this.

#### 1.0

 * Initial release.

## Meta

 *  Version **1.3**
 *  Last updated **7 let ago**
 *  Active installations **700+**
 *  WordPress version ** 4.0 or higher **
 *  Tested up to **5.0.25**
 *  Language
 * [English (US)](https://wordpress.org/plugins/search-by-id/)
 * Tags
 * [custom post types](https://sl.wordpress.org/plugins/tags/custom-post-types/)
   [id](https://sl.wordpress.org/plugins/tags/id/)[pages](https://sl.wordpress.org/plugins/tags/pages/)
   [posts](https://sl.wordpress.org/plugins/tags/posts/)[search](https://sl.wordpress.org/plugins/tags/search/)
 *  [Advanced View](https://sl.wordpress.org/plugins/search-by-id/advanced/)

## Ratings

 5 out of 5 stars.

 *  [  18 5-star reviews     ](https://wordpress.org/support/plugin/search-by-id/reviews/?filter=5)
 *  [  0 4-star reviews     ](https://wordpress.org/support/plugin/search-by-id/reviews/?filter=4)
 *  [  0 3-star reviews     ](https://wordpress.org/support/plugin/search-by-id/reviews/?filter=3)
 *  [  0 2-star reviews     ](https://wordpress.org/support/plugin/search-by-id/reviews/?filter=2)
 *  [  0 1-star reviews     ](https://wordpress.org/support/plugin/search-by-id/reviews/?filter=1)

[Your review](https://wordpress.org/support/plugin/search-by-id/reviews/#new-post)

[See all reviews](https://wordpress.org/support/plugin/search-by-id/reviews/)

## Contributors

 *   [ Uffe Fey ](https://profiles.wordpress.org/wpkonsulent/)

## Support

Got something to say? Need help?

 [View support forum](https://wordpress.org/support/plugin/search-by-id/)