How to move comment respond above the comments

Homepage Community Forums Epik Theme Support How to move comment respond above the comments

Tagged: 

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #16939
    Paolo
    Customer

      Hi,
      I would like to know if there is a way to move the area where a person can leave a comment above the comments already published.
      Right now if I have 50 comments on a blog post, the user needs to scroll all of them in order to finally find the form to post a new comment.
      I would like to move it to the top.
      Is there a way?
      Thanks

      These are the divs:
      <div class=”entry-comments” id=”comments”>
      <div id=”respond” class=”comment-respond”>

      #16968
      kronos
      Customer

        Give this a try – http://wpspeak.com/reposition-genesis-comment-form/

        // Reposition Genesis Comment Form
        add_action( 'genesis_before_comments' , 'wps_post_type_check' );
        function wps_post_type_check () {
            if ( is_single() ) {
        		if ( have_comments() ) {
        			remove_action( 'genesis_comment_form', 'genesis_do_comment_form' );
        			add_action( 'genesis_list_comments', 'genesis_do_comment_form' , 5 );
        		}
        	}
        }
        #16973
        Paolo
        Customer

          Thanks Kronos 馃檪
          it works perfectly.

        Viewing 3 posts - 1 through 3 (of 3 total)
        • The topic ‘How to move comment respond above the comments’ is closed to new replies.