function theme1_comment($comment, $args, $depth) { $GLOBALS['comment'] = $comment; switch ($comment->comment_type) { case 'pingback': case 'trackback': ?> <li id="comment-<?php comment_ID(); ?> " <?php comment_class(); ?> > <span class="author"><?php comment_author_link(); ?> </span> - <span class="date"><?php echo get_comment_date(get_option('date_format')); ?> </span> <span class="pingcontent"><?php comment_text(); ?> </span> <?php break; default: ?> <li <?php comment_class(); ?> id="li-comment-<?php comment_ID(); ?> "> <div id="comment-<?php comment_ID(); ?> "> <?php echo get_avatar($comment, 75); ?> <div class="comment-meta cf"> <p><?php comment_author_link(); ?> </p> <?php comment_reply_link(array_merge($args, array('reply_text' => sprintf(__('%1$s Reply', OP_SN), '<img src="' . op_theme_img('reply-icon.png', true) . '" alt="' . __('Reply', OP_SN) . '" width="13" height="9" />'), 'depth' => $depth, 'max_depth' => $args['max_depth'], 'respond_id' => 'leave-reply'))); ?> <span><?php comment_date(); ?> </span> </div> <div class="comment-content"> <?php comment_text(); ?> <?php edit_comment_link(__('Edit', OP_SN), '<span class="edit-link">', '</span>'); ?> </div> <?php if ($comment->comment_approved == '0') { ?> <em class="comment-awaiting-moderation"><?php _e('Your comment is awaiting moderation.', OP_SN); ?> </em> <?php } ?> </div> <?php break; } }
if (is_singular() && get_option('thread_comments')) { wp_enqueue_script('comment-reply', false, array(OP_SN . '-noconflict-js'), OP_VERSION); } wp_head(); ?> </head> <body <?php body_class(is_home() ? op_mod('feature_area')->is_enabled('home_feature') ? 'has-feature-area' : 'no-feature-area' : ''); ?> > <?php $op_fonts = new OptimizePress_Fonts(); $header_prefs = op_get_option('header_prefs'); $alongside = op_get_option('header_prefs', 'menu-position') == 'alongside'; $has_nav = has_nav_menu('primary'); $img = op_theme_img('', true); ?> <div class="wrapper"> <div class="header"> <nav id="nav-top" class="navigation"> <div class="content-width cf"> <?php if (has_nav_menu('header_info_bar')) { ?> <ul id="navigation-above"><?php wp_nav_menu(array('theme_location' => 'header_info_bar', 'items_wrap' => '%3$s', 'container' => false, 'walker' => new Op_Arrow_Walker_Nav_Menu())); ?> </ul> <?php } $out = '';