WordPress.org

Ready to get started?Download WordPress

Forums

Search by ID
[resolved] Error in searching post (2 posts)

  1. askari
    Member
    Posted 1 year ago #

    I have installed your plugin in my website. but the problem is it is not searching all post. It is searching only those post which are posted before the installation of the plugin.

    http://wordpress.org/extend/plugins/search-by-id/

  2. Uffe Fey
    Member
    Plugin Author

    Posted 1 year ago #

    The plugin extends the built-in search algorithm, but doesn't change any of the other parameters. What it does is actually very simple. It takes the normal search query and simply adds 'also try to find posts with this ID' (an OR statement is added to the SQL where clause).

    In other words.. if you find that searching planned posts (those with a future publish date) doesn't work, it is due to the mechanics of the built-in native search.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic