• Skip to main content
  • Skip to forum navigation

StudioPress

  • Shop for Themes
  • My StudioPress

Forum navigation

  • Home
  • General Genesis Discussions
  • StudioPress Themes
  • Genesis Blocks
    • Genesis Blocks
    • Genesis Custom Blocks
  • Retired Themes
  • FAQs
  • Forum Rules
  • Internationalization and Translations
  • Forum Bugs and Suggestions
  • Forum Log In

Are You Using The WordPress Block Editor?

Genesis now offers plugins that help you build better sites faster with the WordPress block editor (Gutenberg). Try the feature-rich free versions of each plugin for yourself!

Genesis Blocks Genesis Custom Blocks

Moving the Comments section on pages/posts

Welcome!

These forums are for general discussion on WordPress and Genesis. Official support for StudioPress themes is offered exclusively at My StudioPress. Responses in this forum are not guaranteed. Please note that this forum will require a new username, separate from the one used for My.StudioPress.

Log In
Register Lost Password

Community Forums › Forums › Archived Forums › General Discussion › Moving the Comments section on pages/posts

This topic is: not resolved

Tagged: reposition comments

  • This topic has 6 replies, 2 voices, and was last updated 12 years, 7 months ago by jillchongva.
Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • December 20, 2012 at 12:46 pm #6477
    jillchongva
    Member

    A client has asked me to reposition the comments box to show ABOVE the comments themselves.  What's the proper way to do that?


    jill chongva
    online marketing: lusciouspress.com
    organizing: lusciousorganizing.com
    em: [email protected]

    December 20, 2012 at 1:18 pm #6484
    media317
    Participant

    Can you provide a link to the site?  It will help with support.


    Alan Smith
    Media317

    December 20, 2012 at 1:28 pm #6487
    jillchongva
    Member

    Sorry about that! Here's a sample of the current set up.

    http://www.hedyyumi.com/store/encounter-centered-couples-therapy-10-part-video-program/

    I'd like the "Share Your Thoughts" box above the comments themselves.


    jill chongva
    online marketing: lusciouspress.com
    organizing: lusciousorganizing.com
    em: [email protected]

    December 20, 2012 at 1:37 pm #6491
    media317
    Participant

    Try the following.  Place this in your functions.php

    remove_action( 'genesis_comment_form', 'genesis_do_comment_form' );

    add_action( 'genesis_before_comments' , 'genesis_do_comment_form' );


    Alan Smith
    Media317

    December 20, 2012 at 2:07 pm #6496
    jillchongva
    Member

    I added it but it didn't work.  The box is still below the comments.


    jill chongva
    online marketing: lusciouspress.com
    organizing: lusciousorganizing.com
    em: [email protected]

    December 21, 2012 at 1:03 pm #6706
    media317
    Participant

    The problem is with the single quote mark.  In your editor, remove he ' and add it back.  There is a difference between ' marks (which I couldn't explain).

    remove_action( 'genesis_after_header', 'genesis_do_subnav' );
    add_action( 'genesis_after_header', 'genesis_do_subnav', 15 );


    Alan Smith
    Media317

    December 21, 2012 at 2:33 pm #6733
    jillchongva
    Member

    Awesome - worked like a charm, after switching out the ' and remembering that it was comments and not subnav 🙂

    jill


    jill chongva
    online marketing: lusciouspress.com
    organizing: lusciousorganizing.com
    em: [email protected]

  • Author
    Posts
Viewing 7 posts - 1 through 7 (of 7 total)
  • The topic ‘Moving the Comments section on pages/posts’ is closed to new replies.

CTA

Ready to get started? Create a site or shop for themes.

Create a site with WP EngineShop for Themes

Footer

StudioPress

© 2025 WPEngine, Inc.

Products
  • Create a Site with WP Engine
  • Shop for Themes
  • Theme Features
  • Get Started
  • Showcase
Company
  • Brand Assets
  • Terms of Service
  • Accptable Usse Policy
  • Privacy Policy
  • Refund Policy
  • Contact Us
Community
  • Find Developers
  • Forums
  • Facebook Group
  • #GenesisWP
  • Showcase
Resources
  • StudioPress Blog
  • Help & Documentation
  • FAQs
  • Code Snippets
  • Affiliates
Connect
  • StudioPress Live
  • StudioPress FM
  • Facebook
  • Twitter
  • Dribbble