get_post_meta( $post->ID, $key, true ); $title = $post->post_title; $description = $post->post_excerpt ?: wp_trim_words( strip_tags( $post->post_content ), 25 ); $url = get_permalink( $post->ID ); $thumbnail = get_the_post_thumbnail_url( $post->ID, 'medium' ); $start_year = $get( '_acc_collab_start_year' ) ?: ''; $end_year = $get( '_acc_collab_end_year' ) ?: ''; $institution = $get( '_acc_collab_institution' ) ?: ''; $collab_url = $get( '_acc_collab_url' ) ?: ''; ?>
<?php echo esc_attr( $title ); ?>