« See all FAQs for Bigbang - Responsive WordPress Template

How to reorder portfolio filters?

Let’s say you have 4 filters and ALL label in front.

Add this code to Extra JavaScript in Brankic Panel (I think this code is easy to understand)
jQuery(document).ready(function($){
    $nav = $("#portfolio-nav");
    $nav_1 = $nav.find("li:nth-child(1)"); // ALL
    $nav_2 = $nav.find("li:nth-child(2)");
    $nav_3 = $nav.find("li:nth-child(3)");
    $nav_4 = $nav.find("li:nth-child(4)");
    $nav_5 = $nav.find("li:nth-child(5)");
    $nav.empty();
    $nav_5.append("<span>/</span>"); // old last item
    $nav_3.find("span").remove(); // new last item
    $nav.append($nav_1).append($nav_2).append($nav_5).append($nav_4).append($nav_3);
});
by
by
by
by
by
by