Ejemplo n.º 1
0
        // WPCS: XSS OK.
    }
}
?>
            
                <div <?php 
if (!is_single()) {
    echo 'class="shift-txt photo-num"';
} else {
    echo 'class="center-txt photo-num"';
}
?>
 >
                    
                    <p> <?php 
echo the_subheading();
?>
 </p></div>
            
                <?php 
if ('post' === get_post_type()) {
    ?>
<!--		<div class="entry-meta">
			<?php 
    php;
    ?>
		</div> .entry-meta -->
		<?php 
}
?>
Ejemplo n.º 2
0
 */
get_header();
?>

<section id="primary" class="content-area">
	<div id="content" class="site-content" role="main">

		<header class="page-header">
			<h1 id="page-title"><?php 
echo vantage_get_archive_title();
?>
</h1>

                        <?php 
if (function_exists('the_subheading')) {
    the_subheading('<p>', '</p>');
}
?>
			<?php 
if (is_category()) {
    // show an optional category description
    $category_description = category_description();
    if (!empty($category_description)) {
        echo apply_filters('vantage_category_archive_meta', '<div class="taxonomy-description">' . $category_description . '</div>');
    }
} elseif (is_tag()) {
    // show an optional tag description
    $tag_description = tag_description();
    if (!empty($tag_description)) {
        echo apply_filters('vantage_tag_archive_meta', '<div class="taxonomy-description">' . $tag_description . '</div>');
    }
Ejemplo n.º 3
0
    }
}
if ($success == false) {
    $success = true;
    $src = "http://neufrin.com/home-bg.jpg";
    echo $src;
}
?>
')">
        <div class="container" id="header_Container" style="color:white; text-align: center;">
            <div class="row">
                <div class="col-lg-8 col-lg-offset-2 col-md-10 col-md-offset-1">
                    <div class="post-heading">
                        <h1><?php 
wp_title('');
?>
</h1>
                        <h2 class="subheading"><?php 
if (function_exists('the_subheading')) {
    the_subheading('<span>', '</span>');
}
?>
 </h2>
                          <span class="subheading">Imagination is more important than knowledge</span>
                    </div>
                </div>
            </div>
        </div>
    </header>
   
		</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 {
    ?>
		<address><?php 
    the_author();
    ?>
Ejemplo n.º 5
0
<div class="c10_2">

  <?php if(have_posts()) : ?><?php while(have_posts()) : the_post(); ?>  
  <div class="post">
    <div class="header">
      <div class="g2 pre4"><h2><a href="<?php the_permalink(); ?>"><?php the_title(); ?></a></h2></div>
    </div><!--/header-->
    
    <div class="clearfix"></div>
    
    <div class="g10">
      <a href="#" class="extra_info"><p class="line">Extra Information</p></a>
    </div><!--/g10-->
    
    <div class="g10 single">
      <h3 class="subhead"><?php if (function_exists('the_subheading')) { the_subheading('<p>', '</p>'); } ?></h3>
      <div class="g3"><?php the_excerpt(); ?></div>
      <div class="g2 meta"><p><?php the_time('m.j.y') ?><br /><?php the_author(); ?></p></div>
    </div>
    
    <div class="clearfix"></div>

<!--    <div class="g2 pre2"><?php the_meta(); ?></div>-->
    <div class="g2 pre6"><a class="blackbox" href="/"><p class="blackbox">Home sweet home</p></a></div>
    <div class="g2"><?php the_tags('<ul><li>','</li><li>','</li></ul>'); ?></div>
  <?php endwhile; ?>
  <?php endif; ?>
  
</div><!--/c10-->
</body>