?> > <div class="arc_maglatest_media"> <?php gabfire_media(array('name' => 'th-mag1', 'imgtag' => 1, 'link' => 1, 'enable_video' => 0, 'video_id' => 'postfull', 'enable_thumb' => 1, 'resize_type' => 'c', 'media_width' => 360, 'media_height' => 245, 'thumb_align' => 'postmedia', 'enable_default' => 0)); ?> <img class="post_topleft" src="<?php echo get_template_directory_uri(); ?> /images/star.png" alt="" /> </div> <div class="arc_maglatest_desc"> <?php gabfire_postmeta(true, true, false, false, false, false, true); ?> <h2 class="entry-title"> <a href="<?php the_permalink(); ?> " rel="bookmark" title="<?php printf(esc_attr__('Permalink to %s', 'gabfire'), the_title_attribute('echo=0')); ?> " ><?php the_title(); ?> </a> </h2>
function gabfire_singleposttitle() { global $wp_query; $post_layout = get_post_meta($wp_query->post->ID, 'gabfire_post_template', true); $subtitle = get_post_meta($wp_query->post->ID, 'subtitle', true); ?> <section class="row"> <div class="col-md-12"> <div class="post-lead"> <h1 class="post-title" itemprop="headline"><?php the_title(); ?> </h1> <?php if (!is_page() && is_single()) { ?> <p class="post-datecomment"> <?php gabfire_postmeta(true, true, false, false, false, false, false); ?> </p> <?php } /* Display subtitle below post title if thats a fullwidth or big picture post template */ if ($subtitle != '' && $post_layout == 'fullwidth') { //echo "<p class='subtitle postlead_subtitle'>$subtitle</p>"; } ?> </div> </div> </section><?php }