post_title); $commentCount = intval($post->comment_count); $articleBody = esc_html($post->post_content); $url = esc_url(get_permalink( $post->ID )); $datePublished = get_the_time('Y-m-d', $post->ID); $dateModified = get_post_field('post_modified', $post->ID ); $description = esc_html(get_the_excerpt( $post->ID )); $author = get_the_author(); $author_post_url = esc_url( get_author_posts_url( get_the_author_meta( 'ID' ) ) ); $image_data = wp_get_attachment_image_src( get_post_thumbnail_id( $post->ID ), "thumbnail" ); if ( function_exists( 'the_custom_logo' ) && has_custom_logo() ) { $custom_logo_id = get_theme_mod( 'custom_logo' ); $organization_logo = wp_get_attachment_image_src( $custom_logo_id , 'full' ); } ?>