Esempio n. 1
0
        ?>
						</p>
					</div>
				</div>
				<?php 
    }
    ?>
			</div>
			<div class="mdl-cell mdl-cell--6-col">
				<div class="captioned-text">
					<div class="caption"><?php 
    _e('Published', 'tst');
    ?>
</div>
					<div class="text"><?php 
    echo tst_posted_on($post);
    ?>
</div>
				</div>
			</div>
		</div><!-- .row -->
	</div>
<?php 
}
?>
	
	
	<div class="mdl-cell mdl-cell--8-col-tablet mdl-cell--4-col">
		<div class="mdl-grid mdl-grid--no-spacing">
			<div class="mdl-cell mdl-cell--9-col mdl-cell--hide-phone mdl-cell--5-col-tablet">
				<div class="sharing-on-panel"><?php 
Esempio n. 2
0
<article id="post-<?php 
the_ID();
?>
" <?php 
post_class('full-post');
?>
>
	<header class="entry-header">
		<h2 class="entry-title"><?php 
the_title();
?>
</h2>

		<div class="entry-meta">
			<?php 
tst_posted_on();
?>
		</div>
		<div class="entry-meta">
			<?php 
global $post;
if (is_single() && $post->post_type == 'tasks' && $post->post_author == get_current_user_id()) {
    ?>
            <a href="<?php 
    echo site_url('/edit-task/?task=' . get_the_ID());
    ?>
"><?php 
    _e('Edit task', 'tst');
    ?>
</a>
            <?php