Title: Problem with filter (solution)
Last modified: August 22, 2016

---

# Problem with filter (solution)

 *  [pkollias](https://wordpress.org/support/users/pkollias/)
 * (@pkollias)
 * [11 years, 5 months ago](https://wordpress.org/support/topic/problem-with-filter-solution/)
 * Hi there,
 * I read that many had problem with the filter not working when a category is pressed,
   except for the “All” option. What worked for me was to alter
    all 4 lines
 * `if(!empty($terms) && is_wp_error( $terms ))`
 * with this
 * `if(!empty($terms) && !is_wp_error( $terms ))`
 * in file **rio-portfolio.php**
 * Now everything working perfectly.
 * [https://wordpress.org/plugins/rio-portfolio/](https://wordpress.org/plugins/rio-portfolio/)

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

 *  [socialorator](https://wordpress.org/support/users/socialorator/)
 * (@socialorator)
 * [11 years, 3 months ago](https://wordpress.org/support/topic/problem-with-filter-solution/#post-5507271)
 * Dude thanks for this worked a treat , do you have any solution with the slider
   disappearing once the plugin is activated?
 *  Thread Starter [pkollias](https://wordpress.org/support/users/pkollias/)
 * (@pkollias)
 * [11 years, 3 months ago](https://wordpress.org/support/topic/problem-with-filter-solution/#post-5507272)
 * What slider? Did you check your browser Console log for javascript errors?
 *  [socialorator](https://wordpress.org/support/users/socialorator/)
 * (@socialorator)
 * [11 years, 3 months ago](https://wordpress.org/support/topic/problem-with-filter-solution/#post-5507273)
 * I’m using the brankic wordpress theme ([http://demo.brankic.net/zigzagwp/](http://demo.brankic.net/zigzagwp/))
 * Turns out (from reading the problems on this forum) quite a few people who activate
   the plugin, they then loose the slider on the homepage so I figured it’s not 
   a theme issue.
 * I did check the site in two different browsers to make sure but I didn’t do a
   console log check for javascripts errors but if you tell me how or point me in
   the right direction I can.
 *  Thread Starter [pkollias](https://wordpress.org/support/users/pkollias/)
 * (@pkollias)
 * [11 years, 3 months ago](https://wordpress.org/support/topic/problem-with-filter-solution/#post-5507274)
 * Well it sounds like there is some kind of conflict between the theme and the 
   plugin. The ONLY way you find out the problem, is use the Web Console. Every 
   browser has it’s own Console, you can find it from the Menu under Tools->Web 
   Developer.
 * For Chrome, press Ctrl+Shift+I and reload the page.
    For Firefox, press Ctrl+
   Shift+K and reload the page. For IE, i don’t even use.
 * You should see every javascript error there and do changes to you code.
 *  [socialorator](https://wordpress.org/support/users/socialorator/)
 * (@socialorator)
 * [11 years, 3 months ago](https://wordpress.org/support/topic/problem-with-filter-solution/#post-5507275)
 * Hi again thanks for the advice so this is what I got when I looked via the web
   console:
 * ReferenceError: wp is not defined portfolio-custom-script.js:130
 * Use of getAttributeNode() is deprecated. Use getAttribute() instead. jquery.min.
   js:2
 * TypeError: $(…).slides is not a function slider-simple-home.js:15
 * TypeError: $container_blog.isotope is not a function jquery.isotope.min.js:65
 * Use of getPreventDefault() is deprecated. Use defaultPrevented instead.
 *  Thread Starter [pkollias](https://wordpress.org/support/users/pkollias/)
 * (@pkollias)
 * [11 years, 3 months ago](https://wordpress.org/support/topic/problem-with-filter-solution/#post-5507278)
 * Well this is classic jQuery conflict. It seems that you use different versions
   of jQuery at the same time, so there is conflict. You should do changes to the
   javascript code of rio portfolio, in order to make it work with your theme..
 *  [socialorator](https://wordpress.org/support/users/socialorator/)
 * (@socialorator)
 * [11 years, 3 months ago](https://wordpress.org/support/topic/problem-with-filter-solution/#post-5507279)
 * Thanks a lot now for the big question I assume that I need to go into the editor
   for the rio portfolio plugin and change something there in one of the css codes,
   sadly I couldn’t even pretend to be a coder but if you could off the top of your
   head tell me what to look for and what to change it to that would be super great.
 * But I do respect you have other things to do , but really appreciate the help
   so far dude.
 * Way more support than the makers of the actual plugin themselves.
 *  Thread Starter [pkollias](https://wordpress.org/support/users/pkollias/)
 * (@pkollias)
 * [11 years, 3 months ago](https://wordpress.org/support/topic/problem-with-filter-solution/#post-5507281)
 * Sadly yes, you have to make changes to the code, there is no other way. You have
   to ask help from a programmer or so. Ths cannot be done from the internet, this
   forum is for other purposes.
 * Dude you have to have basic programming knowledge when developping with Wordpres.
 * Thank you anyway 🙂
 *  Plugin Author [riosisgroup](https://wordpress.org/support/users/riosisgroup/)
 * (@riosisgroup)
 * [11 years ago](https://wordpress.org/support/topic/problem-with-filter-solution/#post-5507293)
 * Hello all..
 *  Thanks for your interest in Rio portfolio. We are working in Rio Portfolio for
   updations. Will consider your issues and suggestions. Will update you soon.
 * Thanks & Regards,
    Riosis Group

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

The topic ‘Problem with filter (solution)’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/rio-portfolio_523f6d.svg)
 * [Rio Portfolio](https://wordpress.org/plugins/rio-portfolio/)
 * [Support Threads](https://wordpress.org/support/plugin/rio-portfolio/)
 * [Active Topics](https://wordpress.org/support/plugin/rio-portfolio/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/rio-portfolio/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/rio-portfolio/reviews/)

## Tags

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

 * 9 replies
 * 3 participants
 * Last reply from: [riosisgroup](https://wordpress.org/support/users/riosisgroup/)
 * Last activity: [11 years ago](https://wordpress.org/support/topic/problem-with-filter-solution/#post-5507293)
 * Status: not resolved