WordPress.org

Ready to get started?Download WordPress

Forums

Custom List Table Example
[resolved] Adding a search field (3 posts)

  1. designerken
    Member
    Posted 2 years ago #

    Is there a proper way to add a search field to this plug-in?

    http://wordpress.org/extend/plugins/custom-list-table-example/

  2. Matt van Andel
    Member
    Plugin Author

    Posted 2 years ago #

    Search is one of those unique things that has be to tackled on a case-by-case basis.

    There isn't really a one-solution-fits-all approach... it has to be built from scratch to fit your specific technical needs and use-case.

    My recommendation is to use search terms to query the database (use a LIKE-centric query to limit your results to applicable records). Provided your table usage is specifically for your admin, it shouldn't introduce any appreciable overhead.

  3. designerken
    Member
    Posted 2 years ago #

    Thanks Matt I will try as you suggest. Being new to plug-in development, PHP and WordPress its been quite a learning experience and frustrating at times.

    If you have any links that might be helpful, I would be grateful.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic