Example #1
0
 *
 * @package alcatraz
 */
?>

<header class="page-header">

	<?php 
alcatraz_entry_title();
?>

</header>

<section class="no-results not-found">
	<?php 
alcatraz_entry_title();
?>

	<div class="page-content">
		<?php 
if (is_home() && current_user_can('publish_posts')) {
    ?>

			<p><?php 
    printf(wp_kses(__('Ready to publish your first post? <a href="%1$s">Get started here</a>.', 'alcatraz'), array('a' => array('href' => array()))), esc_url(admin_url('post-new.php')));
    ?>
</p>

		<?php 
} elseif (is_search()) {
    ?>
Example #2
0
/**
 * Prints the page header unless hide tile is checked.
 */
function alcatraz_entry_header()
{
    $header = sprintf('<header class="entry-header">%s%s</header>', alcatraz_entry_title(), alcatraz_entry_meta());
    echo apply_filters('alcatraz_entry_header', $header);
}