Support » Plugin: Portfolio Gallery - Responsive Image Gallery » One image in more albums

  • Resolved mariogovoni

    (@mariogovoni)


    Hello everyone,
    I have a problem and I can’t find how to solve it: can the same image
    belong to multiple albums at the same time in order to be filtered under
    multiple categories?
    For example I have an advertiser who can be both under “food and beverages” and
    under “health and wellness”: can I assign it to two albums without having to
    insert the image (and description) twice?
    Thanks.

    The page I need help with: [log in to see the link]

Viewing 1 replies (of 1 total)
  • Plugin Author totalsoft

    (@totalsoft)

    Hello, dear mariogovoni.

    Thank you for contacting us and for reporting your problem.

    To solve your problem, edit our Total-Soft-Portfolio-Widget.php file. Find code

    else { var $filteredData = $data.find('.totalsoft-portfolio-item2<?php echo $Total_Soft_Portfolio; ?>[data-type=' + filterClass + ']'); }

    Please edit the code and write like this.

    else { 
                    $data.find('.totalsoft-portfolio-newitem2<?php echo $Total_Soft_Portfolio; ?>[data-type=' + filterClass + ']').removeClass('disNone');
                    var $filteredData = $data.find('.totalsoft-portfolio-newitem2<?php echo $Total_Soft_Portfolio; ?>[data-type=' + filterClass + ']'); 
        
                }

    Thank You.

Viewing 1 replies (of 1 total)
  • You must be logged in to reply to this topic.