This site's Website Portfolio page displays portfolio custom post types. Actually, I borrowed the portfolio code from the Genesis Executive Pro theme and customized it to work with the Parallax Pro theme that we use on this site. While copying the php code, CSS, and templates from the Executive Pro theme is a pretty straight forward affair, I wanted the portfolio custom post types to be ordered alphabetically instead of the WordPress default reverse chronological order. To achieve this effect, I added the following code to the theme's functions.php file:
//* Sort the portfolio thumbnails alphabetically add_filter("posts_orderby", "vmf_orderby_filter", 10, 2); function vmf_orderby_filter($orderby, &$query){ global $wpdb; //figure out whether you want to change the order if (get_query_var("post_type") == "portfolio") { return "$wpdb->posts.post_title ASC"; } return $orderby; }