Thread Starter
glarts
(@glarts)
It worked! Thank you! I had something similar to this from one of your other support posts but couldn’t get it quite right.
Thread Starter
glarts
(@glarts)
this is the current code i tried
function dfi_posttype_book ( $dfi_id, $post_id ) {
$post = get_post($post_id);
if ( ‘category’ === $post->testimonial ) {
return 0; // invalid id
}
return $dfi_id; // the original featured image id
}
add_filter( ‘dfi_thumbnail_id’, ‘dfi_posttype_book’, 10, 2 );
-
This reply was modified 8 years, 3 months ago by glarts.
Is this something that you are working on? It would be helpful to be able to sort the display by name automatically and/or override the order for certain members via the “Post Order” number in each team member (e.g. make “post order” override name for executive committee members to show first, which rest of board shows in alphabetical order).