Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #1424450

    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.

    • This topic was modified 1 year ago by kaneljeff.
    #1424471

    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

    #1424476

    That worked perfectly! Thank you.

    We can close this one.

    • This reply was modified 1 year ago by kaneljeff.
    #1424494

    Hi,

    Great! Glad to know that the solution is working. Please let us know if you have more questions.

    Have a nice day.

    Best regards,
    Ismael

Viewing 4 posts - 1 through 4 (of 4 total)
  • The topic ‘Enfold – Ordering Portfolio Items’ is closed to new replies.