Portfolio department by default

  • Posted in : Read WP
  • jagustincharco
    Participant

    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.

    ahmetsali
    Keymaster

    Hi, please check out this related post;

    http://www.pixelwars.org/forums/topic/portfolio-departments-3/

    jagustincharco
    Participant

    I tried but it doesn’t work for me. Any idea?

    jagustincharco
    Participant

    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>

    jagustincharco
    Participant

    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.

    serkan
    Moderator

    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
Login and Registration Log in · Register