• Home
  • Blog
  • Showcase
  • Setup Docs
    • Sunshine Help
    • Flex Help
  • Support
    • Support Area
    • Contact us
    • Feedback
  • Connect
    • Newsletter
    • Twitter
    • Facebook
  • My Account
  • Flex
  • Sunshine
Support : Simple Pro Themes

Support : Simple Pro Themes

[Resolved] Comments

If you have purchased a product, please enter the email address that you used to register at time of purchase.
Log In
Lost Password

Create an Account
  • Your username must be unique, and cannot be changed later.
  • We use your email address to email you a secure password and verify your account.

Support › Forums › Flex Theme › Comments

Tagged: comments

  • This topic has 3 replies, 2 voices, and was last updated 6 years, 7 months ago by chasingthedonkeY.
Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • November 25, 2015 at 3:36 pm #682
    chasingthedonkeY
    Participant

    Heya! is there a way to move the comment section to the top above all of the older comments? Right now people have to scroll past all of the other comments to leave a comment. And comments have dropped off a lot since I mmoved to this theme. Thanks.

    November 25, 2015 at 6:08 pm #684
    Davinder Singh Kanith
    Moderator

    ***backup before making changes
    ***I have not tested the following code

    Add following code at the end of functions.php file

    // 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 );
    		}
    	}
    }

    Source – http://wpspeak.com/reposition-genesis-comment-form/

    November 25, 2015 at 9:34 pm #687
    chasingthedonkeY
    Participant

    It worked a treat!!! Great job as always!!!

    November 26, 2015 at 4:05 pm #693
    chasingthedonkeY
    Participant

    yes, thanks. i foolishly added the code from you email – and it broke the site. The comments look great now so I am very happy.

  • Author
    Posts
Viewing 4 posts - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.
Log In

Copyright © 2022 · Simple PRO Themes for Genesis Framework · About · FAQs · Contact · Affiliates