/** * Instantiate or return the one Simple_FB_Instant_Articles instance. * * @return Simple_FB_Instant_Articles */ public static function instance($file = null, $version = '') { if (is_null(self::$instance)) { self::$instance = new self($file, $version); } return self::$instance; }
<summary><?php echo esc_html($kicker); ?> </summary> </details> <?php } ?> <?php $full_width_video = get_post_meta(get_the_ID(), '_format_video_embed', true); $has_article_cover = !empty($full_width_video); $thumbnail_id = get_post_thumbnail_id(); // Post featured image as FB IA cover image. if (!$has_article_cover && $thumbnail_id) { Simple_FB_Instant_Articles::instance()->render_image_markup($thumbnail_id); } the_title('<h1>', '</h1>'); if (function_exists('the_subheading')) { the_subheading('<h2>', '</h2>'); } ?> <?php if (function_exists('coauthors')) { ?> <?php coauthors('</address>, <address>', ' </address> and <address> ', '<address>', '</address>'); ?> <?php } else {