Home Forums WoodMart support forum Edit Portfolio Filter Js

Edit Portfolio Filter Js

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #70012

    Sociality
    Participant

    Hello

    I want to select which content the filter fetches me .
    I disabled the “all” filter and made the first of the categories to have the active class but the content still from the “all” filter , i think it has to do with the javascript . which file should i edit ? Is there any other way i could do this ?

    Thanks in advance !

    #70032

    Artem Temos
    Keymaster

    Hi,

    Please, describe to us your problem in a bit more details. Attach some screenshots and provide us with a list of steps on how to reproduce it on your website.

    Thank you in advance.

    #70317

    Sociality
    Participant

    https://woodmart.xtemos.com/portfolio/

    i want to get rid of the “all” filter and use “accessories” as the first active filter

    #70328

    Artem Temos
    Keymaster

    You need to remove all from HTML in the file inc/shortcodes/portfolio.php and add the following code snippet to the Custom JS on document ready area in Theme Settings

    jQuery('.masonry-filter li:first-child a').addClass('filter-active');

Viewing 4 posts - 1 through 4 (of 4 total)