Title: Filter
Last modified: August 10, 2020

---

# Filter

 *  [tonecockpitdesign](https://wordpress.org/support/users/tonecockpitdesign/)
 * (@tonecockpitdesign)
 * [5 years, 10 months ago](https://wordpress.org/support/topic/filter-34/)
 * Hi!
 * Something have happened to the filter plugin, I think. When choosing one of the
   categories the only thing that shows is the message: “No products were found 
   matching your selection.”
    – [https://www.rovent.no/ball-tik-skyveportbeslag/](https://www.rovent.no/ball-tik-skyveportbeslag/)–
   [https://www.rovent.no/om-vaare-produkter/](https://www.rovent.no/om-vaare-produkter/)
   I have two filters, and they act the same way – no products are shown. The function
   worked perfectly just until some very few weeks ago. What am I doing wrong??
 * Thanks for your help
    /Tone 🙂
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Ffilter-34%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

Viewing 5 replies - 1 through 5 (of 5 total)

 *  Plugin Author [themifyme](https://wordpress.org/support/users/themifyme/)
 * (@themifyme)
 * [5 years, 10 months ago](https://wordpress.org/support/topic/filter-34/#post-13234998)
 * Hi,
 * On your page content, can you display some archive products here: [https://share.getcloudapp.com/RBuOdn6w](https://share.getcloudapp.com/RBuOdn6w)
 * You can use [products] shortcode to display the recent products. Product filter
   requires some products to be visible on the page, so it can swap it with the 
   filter result.
 *  Plugin Author [themifyme](https://wordpress.org/support/users/themifyme/)
 * (@themifyme)
 * [5 years, 10 months ago](https://wordpress.org/support/topic/filter-34/#post-13235008)
 * Hi,
 * There is no include/exclude option for attributes. However, you can hide it with
   CSS. What is your site URL and which brand attributes do you want to hide? We
   can provide you the sample CSS.
 *  Thread Starter [tonecockpitdesign](https://wordpress.org/support/users/tonecockpitdesign/)
 * (@tonecockpitdesign)
 * [5 years, 10 months ago](https://wordpress.org/support/topic/filter-34/#post-13235816)
 * Hi, thanks for replies.
 * You can see how one of the two filters are set up:
    [https://www.dropbox.com/s/90ba6mfaltjdnjj/Skjermbilde%202020-08-11%20kl.%2009.46.04.png?dl=0](https://www.dropbox.com/s/90ba6mfaltjdnjj/Skjermbilde%202020-08-11%20kl.%2009.46.04.png?dl=0)
 * And I added this code in the functions-file some months ago, so that the search
   results showed up in the content area …:
 * Mahmood wrote:
    You should add this code to the end of functions.php file in 
   your theme directory. 1. Please go to your theme directory. it should like this(/
   wp-content/themes/generatepress) 2. Find and open the functions.php file 3. Add
   this piece of code to the end of the file. add_filter( ‘generate_main_class’,‘
   tone_wpf_custom_css_class’ ); function tone_wpf_custom_css_class($classes){ $
   classes[] = ‘wpf-search-container’; return $classes; }
 * /Tone 🙂
 *  Thread Starter [tonecockpitdesign](https://wordpress.org/support/users/tonecockpitdesign/)
 * (@tonecockpitdesign)
 * [5 years, 10 months ago](https://wordpress.org/support/topic/filter-34/#post-13248445)
 * Hi again
 * The last message I wrote did not make any sense? Or?
    [https://www.rovent.no/ball-tik-skyveportbeslag/](https://www.rovent.no/ball-tik-skyveportbeslag/)
   If you try the make search in one of the categories on the left, you will see
   the message that comes up.
 * Very happy if you can take a look at my problem again 🙂
 * /Tone 🙂
 *  Plugin Author [themifyme](https://wordpress.org/support/users/themifyme/)
 * (@themifyme)
 * [5 years, 9 months ago](https://wordpress.org/support/topic/filter-34/#post-13277930)
 * Please see previous reply:
 * “On your page content, can you display some archive products here: [https://share.getcloudapp.com/RBuOdn6w](https://share.getcloudapp.com/RBuOdn6w)
 * You can use [products] shortcode to display the recent products. Product filter
   requires some products to be visible on the page, so it can swap it with the 
   filter result.”

Viewing 5 replies - 1 through 5 (of 5 total)

The topic ‘Filter’ is closed to new replies.

 * ![](https://ps.w.org/themify-wc-product-filter/assets/icon-128x128.png?rev=1535808)
 * [Themify - WooCommerce Product Filter](https://wordpress.org/plugins/themify-wc-product-filter/)
 * [Support Threads](https://wordpress.org/support/plugin/themify-wc-product-filter/)
 * [Active Topics](https://wordpress.org/support/plugin/themify-wc-product-filter/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/themify-wc-product-filter/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/themify-wc-product-filter/reviews/)

## Tags

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

 * 5 replies
 * 2 participants
 * Last reply from: [themifyme](https://wordpress.org/support/users/themifyme/)
 * Last activity: [5 years, 9 months ago](https://wordpress.org/support/topic/filter-34/#post-13277930)
 * Status: not resolved