Exemplo n.º 1
0
<div class="author well">
    <h2>
        <small><?php 
_e('Written by', 'podiant');
?>
<br /></small>
        <a href="<?php 
echo get_author_posts_url(get_the_author_meta('ID'), get_the_author_meta('user_nicename'));
?>
"><?php 
the_author();
?>
</a>
    </h2>
</div>

<p class="text-muted">
    <?php 
printf(__('This %s was published on %s in the %s%s%s.', 'podiant'), strtolower(get_post_type_object(get_post_type())->labels->singular_name), get_the_time('jS F Y'), sprintf('<a href="%s">%s</a>', home_url('/'), sprintf('%s blog', get_bloginfo('title'))), podiant_category_links(_(', under ')), podiant_tag_links(_(' and tagged ')));
?>
</p>

<?php 
get_template_part('includes/share');
?>
&nbsp;
Exemplo n.º 2
0
                <?php 
foreach (apply_filters('podiant_podcast_subscirbe_links', array()) as $name => $url) {
    ?>
                    <a class="btn-subscribe" href="<?php 
    echo esc_attr($url);
    ?>
" target="_blank"><?php 
    echo esc_html($name);
    ?>
</a>
                <?php 
}
?>
            </div>

            <p class="text-muted">
                <?php 
printf(__('This episode was published on %s%s%s.', 'podiant'), get_the_time('jS F Y'), podiant_category_links(_(', categorised ')), podiant_tag_links(_(' and tagged ')));
?>
            </p>

            <div class="hidden-xs">
                <?php 
get_template_part('includes/share');
?>
            </div>
        </div>
    </div>
</div>