?>
>
  <?php 
if (!Titles\titleHidden()) {
    ?>
  <header>
    <h1 class="entry-title"><?php 
    the_title();
    ?>
</h1>
  </header>
  <?php 
}
?>
  <div class="entry-content">
      <?php 
if (has_post_thumbnail() && !Titles\titleHidden()) {
    ?>
      <p>
          <?php 
    the_post_thumbnail();
    ?>
      </p>
      <?php 
}
?>
    <?php 
the_content();
?>
  </div>
</article>
Exemplo n.º 2
0
      <?php 
        get_template_part('templates/entry-meta');
        ?>
      <p class="text-muted"><?php 
        echo __('Posted on ', 'wp-proud') . get_the_date();
        ?>
</p>
      <hr />
    </header>
    <?php 
    }
    ?>
    <div class="row">
      <div class="col-md-8 entry-content">
        <?php 
    if (has_post_thumbnail() && !get_post_meta(get_the_ID(), 'hide_featured_image', true) && !Titles\titleHidden()) {
        ?>
          <div class="media text-center">
            <?php 
        the_post_thumbnail();
        ?>
            <?php 
        $media = get_post(get_post_thumbnail_id());
        ?>
            <?php 
        if ($media && !empty($media->post_excerpt)) {
            ?>
<div class="media-byline"><span><?php 
            echo $media->post_excerpt;
            ?>
</span></div><?php 
Exemplo n.º 3
0
<?php

use Proud\Theme\Titles;
?>

<?php 
if (!Titles\titleHidden()) {
    ?>
  <div><!-- class="page-header"-->
    <h1><?php 
    echo Titles\title();
    ?>
</h1>
  </div>
<?php 
}