Nikko, I have spent much time searching for a way to order my portfolio items – to match the navigation that the client requested. I have had no luck. No matter what I try it always comes up alphabetical. I even changed the dates under quick edit to earlier dates and that had no effect.
Thoughts!
Hey pamk21,
Thank you for the inquiry.
You can manually adjust the order of the portfolio item using the Page Attributes > Page Order field. To enable it for the portfolio items, add this filter 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');
Edit the portfolio grid element and make sure to set the “Order by” settings to “Page Order”. For more info about the Page Order field and how it works, please check this documentation.
// https://wordpress.com/support/pages/page-options/#page-order
Best regards,
Ismael