Title: Shortcode Filter from GET
Last modified: May 29, 2018

---

# Shortcode Filter from GET

 *  Resolved [frequentmiler](https://wordpress.org/support/users/frequentmiler/)
 * (@frequentmiler)
 * [8 years ago](https://wordpress.org/support/topic/shortcode-filter-from-get/)
 * I’m using the Shortcode Filter from GET extension and it works fine. The only
   problem I have is that I want to default to displaying nothing when there is 
   no filter in the URL (or if the filter doesn’t have a match). Currently it shows
   all rows when there is no match. Is there any way to do this? Alternatively I’d
   accept a solution where no-match results in just one set row showing up (that
   way i can set the contents of the row to “not found” or something like that).

Viewing 1 replies (of 1 total)

 *  Plugin Author [Tobias Bäthge](https://wordpress.org/support/users/tobiasbg/)
 * (@tobiasbg)
 * [8 years ago](https://wordpress.org/support/topic/shortcode-filter-from-get/#post-10339732)
 * Hi,
 * thanks for your post, and sorry for the trouble.
 * For this, you will basically have to modify the file tablepress-shortcode-filter-
   get-parameter.php with your own logic.
 * For example, move the line
 *     ```
       	return tablepress_get_table( $attributes );
       ```
   
 * one line up and instead put something like
 *     ```
       return "No filter word was entered.";
       ```
   
 * in its current place.
 * Regards,
    Tobias

Viewing 1 replies (of 1 total)

The topic ‘Shortcode Filter from GET’ is closed to new replies.

 * ![](https://ps.w.org/tablepress/assets/icon.svg?rev=3192944)
 * [TablePress - Tables in WordPress made easy](https://wordpress.org/plugins/tablepress/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/tablepress/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/tablepress/)
 * [Active Topics](https://wordpress.org/support/plugin/tablepress/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/tablepress/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/tablepress/reviews/)

## Tags

 * [filter](https://wordpress.org/support/topic-tag/filter/)

 * 1 reply
 * 2 participants
 * Last reply from: [Tobias Bäthge](https://wordpress.org/support/users/tobiasbg/)
 * Last activity: [8 years ago](https://wordpress.org/support/topic/shortcode-filter-from-get/#post-10339732)
 * Status: resolved