add_filter('avf_portfolio_cpt_args', 'avf_portfolio_cpt_args_mod', 10);
function avf_portfolio_cpt_args_mod($args) {
$args['rewrite']['slug'] = '%portfolio_entries%';
$args['rewrite']['with_front'] = false;
return $args;
}
jQuery(window).load(function(){
function setEqualHeight(columns){
var tallestcolumn = 0;
columns.each(function(){
currentHeight = $(this).height();
if(currentHeight > tallestcolumn){
tallestcolumn = currentHeight;
}
});
columns.height(tallestcolumn);
}
setEqualHeight(jQuery(".column"));
});