Tonic Gallery: remove ALL category from the filter

Problem:

Is it possible to remove the ALL link from the category filter?

Original poster

Solution:

In order to remove the All link, you have to open the script/portfolio-setter.js file and delete this code (starting on line 125):

//add the ALL link
var allLink= $('<li>'+options.allText+'</li>');
catUl.append(allLink);
showSelectedCat(allLink);

//bind the click event
allLink.bind({
'click': function(){
displayItems();
showSelectedCat($(this));
},
'mouseover':function(){
$(this).css({cursor:'pointer'});
}
});

Pexeto

Was this useful? 3