• 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

remove comment-reply.js

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 › Design Tips and Tricks › remove comment-reply.js

This topic is: not resolved

Tagged: comments

  • This topic has 4 replies, 4 voices, and was last updated 11 years, 11 months ago by iamzeus.
Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • January 3, 2014 at 9:24 am #82904
    Onizuki
    Member

    Hi

    how can I change the header.php to not load comment-reply.js?
    I've found a solution here http://ardamis.com/2010/08/03/how-to-speed-up-wordpress/
    but its not for genesis.

    Im actually using this code in functions.php
    /* Remove the post info function
    ________________________________________*/
    remove_action( 'genesis_entry_header', 'genesis_post_info', 12 );
    // Remove post meta
    remove_action( 'genesis_entry_footer', 'genesis_post_meta' );
    // Remove the entry (post) title (requires HTML5 theme support)
    remove_action( 'genesis_entry_header', 'genesis_do_post_title' );

    best

    July 21, 2014 at 11:07 pm #115323
    iamzeus
    Member

    Im interested in this as well?

    how did you removed it?

    July 22, 2014 at 12:03 am #115330
    eadev19entsp
    Member

    he has not

    July 22, 2014 at 1:19 pm #115439
    WisdmLabs
    Member

    Hey,
    add this code to your functions.php, this will remove comment-reply.js.

    add_action('wp_enqueue_scripts', 'wdm_enqueue_script');
    function wdm_enqueue_script(){
    	wp_dequeue_script( 'comment-reply' );
    }

    for more info on how wordpress includes js and css files read
    http://codex.wordpress.org/Function_Reference/wp_enqueue_script


    http://wisdmlabs.com/

    July 24, 2014 at 10:28 pm #115795
    iamzeus
    Member

    Wow, great... that did the job, thanks a lot

  • Author
    Posts
Viewing 5 posts - 1 through 5 (of 5 total)
  • The forum ‘Design Tips and Tricks’ is closed to new topics and replies.

CTA

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

Create a site with WP EngineShop for Themes

Footer

StudioPress

© 2026 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