Portfolio department by default Posted in : Read WP jagustincharcoParticipant 5 October 2016 at 18:31 #44295 Hi, In my portfolio page I would like to see a department by default instead of all items. Is it possible? In other words, I know how to hide the “all” tab, but I want the first tab of the portfolio to be active by default. Thanks. ahmetsaliKeymaster 5 October 2016 at 18:40 #44296 Hi, please check out this related post; http://www.pixelwars.org/forums/topic/portfolio-departments-3/ jagustincharcoParticipant 5 October 2016 at 18:57 #44297 I tried but it doesn’t work for me. Any idea? jagustincharcoParticipant 5 October 2016 at 19:01 #44298 I mean, I used the JS but I still see all the content of the portfolio. <script> (function($) { "use strict"; $('#filters li').first().remove(); setTimeout(function() { $('#filters li').first().find('a').trigger('click')}, 1000); })(jQuery); </script> jagustincharcoParticipant 5 October 2016 at 22:07 #44300 I reply to myself. The code works OK but I’ve found that the problem is the time. If I change it to 2000 miliseconds works fine. Solved for me. Thanks. serkanModerator 9 October 2016 at 11:13 #44361 You’re welcome, please don’t forget to rate the theme on themeforest if you liked it, thanks. Viewing 6 posts - 1 through 6 (of 6 total) You must be logged in and have valid license to reply to this topic. License required for the following item Read WP - Minimalist WordPress Blog Themeby pixelwars Login and Registration Log in · Register