$comment_form_args = array('title_reply' => 'Leave a comment', 'comment_notes_after' => '', 'cryptum_form_class' => cryptum_metro_tile_class("ui")); ?> <?php cryptum_comment_form($comment_form_args); ?> <?php if (have_comments()) { ?> <h2 class="comments-title <?php cryptum_metro_text_class(true); ?> "> <?php $comment_strings = array('One comment on “%2$s”', '%1$s comments on “%2$s”'); if (cryptum_get_theme_option("short_text")) { $comment_strings[0] = 'Comments (%1$s)'; $comment_strings[1] = 'Comments (%1$s)'; } printf(_n($comment_strings[0], $comment_strings[1], get_comments_number(), 'cryptum'), number_format_i18n(get_comments_number()), '<span>' . get_the_title() . '</span>'); ?> </h2> <?php if (get_comment_pages_count() > 1 && get_option('page_comments')) { // 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'); ?>
/** * Displays the hidden message in a comment in the header (see theoatmeal.com source code) * * @since Cryptum 1.0 */ function cryptum_display_hidden_message() { $comment = cryptum_get_theme_option('hidden_message'); if ($comment) { ?> <!-- <?php echo $comment; ?> --> <?php } }
/** * Get the formatted list of categories * * @since Cryptum 1.0 */ function cryptum_get_categories() { $category_list = get_the_category_list(__(', ', 'cryptum')); if (cryptum_get_theme_option("short_text")) { $category_list = '[' . get_the_category_list('] [') . ']'; } return $category_list; }
<h1 class="site-title"><a href="<?php echo home_url('/'); ?> " title="<?php echo esc_attr(get_bloginfo('name', 'display')); ?> " rel="home"><?php bloginfo('name'); ?> </a></h1> <h2 class="site-description"><?php bloginfo('description'); ?> </h2> <?php if (cryptum_get_theme_option("show_footer_credits")) { ?> <?php do_action('cryptum_credits'); ?> <h3 id="credits"> <a id="credits-wordpress" href="http://wordpress.org/" title="<?php esc_attr_e('A Semantic Personal Publishing Platform', 'cryptum'); ?> " rel="generator"><?php printf(__('Proudly powered by %s', 'cryptum'), 'WordPress'); ?> </a> <?php cryptum_seperator_html(); ?>