*/ ?> <article id="post-0" class="post no-results not-found"> <header class="entry-header <?php cryptum_metro_text_class(true); ?> "> <h1 class="entry-title"><?php _e('Nothing Found', 'cryptum'); ?> </h1> </header><!-- .entry-header --> <div class="entry-content <?php echo cryptum_metro_tile_class("ui"); ?> "> <?php if (is_home()) { ?> <p><?php printf(__('Ready to publish your first post? <a href="%1$s">Get started here</a>.', 'cryptum'), admin_url('post-new.php')); ?> </p> <?php } elseif (is_search()) { ?>
// are there comments to navigate through ?> <nav role="navigation" id="comment-nav-above" class="site-navigation comment-navigation"> <h1 class="assistive-text"><?php _e('Comment navigation', 'cryptum'); ?> </h1> <div class="nav-previous <?php cryptum_metro_tile_class("ui", true); ?> "><?php previous_comments_link(__('← Older Comments', 'cryptum')); ?> </div> <div class="nav-next <?php cryptum_metro_tile_class("ui", true); ?> "><?php next_comments_link(__('Newer Comments →', 'cryptum')); ?> </div> </nav> <?php } // check for comment navigation ?> <ol class="commentlist"> <?php /* Loop through and list the comments. Tell wp_list_comments() * to use cryptum_comment() to format the comments.
?> </h1> </article><!-- #post-<?php the_ID(); ?> --> <?php } else { ?> <article id="post-<?php the_ID(); ?> " <?php post_class(cryptum_metro_tile_class(cryptum_metro_get_color_current())); ?> > <header class="entry-header"> <h1 class="entry-title"><?php the_title(); ?> </h1> </header><!-- .entry-header --> <div class="entry-content"> <?php the_content(); ?> <?php wp_link_pages(array('before' => '<div class="page-links">' . __('Pages:', 'cryptum'), 'after' => '</div>'));
/** * The default template for displaying content * This should NEVER be used alone, instead a content-xxx template should be loaded * Learn more: http://codex.wordpress.org/Template_Hierarchy * * @package Cryptum * @since Cryptum 1.0 */ ?> <article id="post-<?php the_ID(); ?> " <?php post_class(cryptum_metro_tile_class(cryptum_metro_get_color())); ?> > <header class="entry-header"> <h1 class="entry-title"><a href="<?php the_permalink(); ?> " title="<?php printf(esc_attr__('Permalink to %s', 'cryptum'), the_title_attribute('echo=0')); ?> " rel="bookmark"><?php the_title(); ?> </a></h1> </header><!-- .entry-header -->
<div class="entry-content <?php cryptum_metro_tile_class(cryptum_metro_get_color(), true); ?> "> <?php the_content(); ?> <h1 class="entry-title"><?php cryptum_seperator_html(); the_title(); ?> </h1> </div><!-- .entry-content --> <footer class="entry-meta <?php cryptum_metro_tile_class(cryptum_metro_get_color(), true); ?> "> <div class="entry-meta"> <?php cryptum_posted_on(); ?> </div><!-- .entry-meta --> <?php wp_link_pages(array('before' => '<div class="page-links">' . __('Pages:', 'cryptum'), 'after' => '</div>')); ?> <?php $category_list = cryptum_get_categories(); $tag_list = cryptum_get_tags(); if (!cryptum_categorized_blog()) {
/** * Template for comments and pingbacks. * * Used as a callback by wp_list_comments() for displaying the comments. * * @since Cryptum 1.0 */ function cryptum_comment($comment, $args, $depth) { $GLOBALS['comment'] = $comment; switch ($comment->comment_type) { case 'pingback': case 'trackback': ?> <li class="post pingback"> <p><?php _e('Pingback:', 'cryptum'); ?> <?php comment_author_link(); edit_comment_link(__('(Edit)', 'cryptum'), ' '); ?> </p> <?php break; default: ?> <li <?php comment_class(); ?> id="li-comment-<?php comment_ID(); ?> "> <article id="comment-<?php comment_ID(); ?> " class="comment <? cryptum_metro_tile_class( cryptum_metro_get_color(), true) ?>"> <header> <div class="comment-author vcard"> <?php echo get_avatar($comment, 32); ?> <?php printf(__('%s', 'cryptum'), sprintf('<cite class="fn">%s</cite>' . cryptum_get_seperator(), get_comment_author_link())); ?> </div><!-- .comment-author .vcard --> <?php if ($comment->comment_approved == '0') { ?> <em><?php _e(cryptum_get_seperator() . 'Your comment is awaiting moderation.', 'cryptum'); ?> </em> <br /> <?php } ?> <div class="comment-meta commentmetadata"> <a href="<?php echo esc_url(get_comment_link($comment->comment_ID)); ?> "><time pubdate datetime="<?php comment_time('c'); ?> "> <?php /* translators: 1: date, 2: time */ printf(__('%1$s at %2$s', 'cryptum'), get_comment_date(), get_comment_time()); ?> </time></a> <?php edit_comment_link(__('Edit', 'cryptum'), cryptum_get_seperator()); ?> </div><!-- .comment-meta .commentmetadata --> </header> <div class="comment-content"><?php comment_text(); ?> </div> <div class="reply"> <?php comment_reply_link(array_merge($args, array('depth' => $depth, 'max_depth' => $args['max_depth']))); ?> </div><!-- .reply --> </article><!-- #comment-## --> <?php break; } }