Is there a way to specify the order in which Portfolio Items are listed? Masonry seems to suggest that “Page Order” can be used, but I cannot find that entry in Portfolio Items. Is there a method to set the order? Thanks.
Hey kaneljeff,
Thank you for the inquiry.
The portfolio items doesn’t support the page attributes or page order field by default but it can be enabled with a filter. Please add this code in the functions.php file.
/* Change portfolio post type settings */
function avf_portfolio_cpt_args_mod($args) {
$args['supports'][] = 'page-attributes';
return $args;
}
add_filter('avf_portfolio_cpt_args', 'avf_portfolio_cpt_args_mod');
Best regards,
Ismael
That worked perfectly! Thank you.
We can close this one.