"; ?>
1 && get_option( 'page_comments' ) ) : // Are there comments to navigate through? echo ""; echo ""; previous_comments_link( __( '« Older Comments', 'avia_framework' ) ); echo ""; echo ""; next_comments_link( __( 'Newer Comments »', 'avia_framework' ) ); echo ""; echo ""; endif; // check for comment navigation //get comments $comment_entries = get_comments(array( 'type'=> 'comment', 'post_id' => $post->ID )); if(!empty($comment_entries)){ ?>
    'comment', 'callback' => 'avia_inc_custom_comments' ) ); ?>
'pings', 'post_id' => $post->ID )); if(!empty($ping_entries)){ echo "

".__('Trackbacks & Pingbacks','avia_framework')."

"; ?>
    'pings', 'reverse_top_level'=>true ) ); ?>
1 && get_option( 'page_comments' ) ) : // Are there comments to navigate through? echo ""; echo ""; previous_comments_link( __( '« Older Comments', 'avia_framework' ) ); echo ""; echo ""; next_comments_link( __( 'Newer Comments »', 'avia_framework' ) ); echo ""; echo ""; endif; // check for comment navigation echo "
"; else : // or, if we don't have comments: //do nothing endif; // end have_comments() /* Last but not least the comment_form() wordpress function * renders the comment form as defined by wordpress itself * if you want to modify the submission form check the documentation here: * http://codex.wordpress.org/Function_Reference/comment_form */ if(comments_open()){ echo "
"; echo "

".__('Leave a Reply','avia_framework')."

"; echo "".__('Want to join the discussion?','avia_framework')."
".__('Feel free to contribute!','avia_framework')."
"; comment_form(); echo "
"; } else if(get_comments_number()) { /* If there are no comments and comments are closed, * let's leave a little note, shall we? */ echo "

".__( 'Comments are closed.', 'avia_framework' )."

"; } ?>