Home » Genesis framework » How to disable comments in Genesis-based WordPress themes

How to disable comments in Genesis-based WordPress themes

Every time I build a new WordPress website for my clients I like it’s administration to be as simple as possible. That’s why I use Genesis Framework. It’s as fast, simple and bloat-free as possible, but can be expanded and optimized to specific client needs with ease.

By default WordPress comes with Comments functionality which is not needed in most business websites. Genesis framework based themes lets you easily disable comments in posts and pages (more details below), but it does not disable Comments link in WordPress admin menu.

Leaving Comments link in WordPress admin menu is not a huge issue, but personally I like menus as clean and simple as possible. You and your clients probably like that too. So here you’ll find detailed instructions:

Now let’s get into the details.

How to disable Comments in Genesis Sample WordPress theme

Best WordPress hosting 2024

You can disable Comments in Genesis Sample theme using Theme Settings page.

Go to Appearance >> Customize in WordPress admin menu, or click Customize at the top of the page if you’re viewing your site as a regular visitor (using FrontEnd).

customize Genesis Sample theme

To disable comments in Genesis Sample theme go to Theme Settings >> Comments and Trackbacks, and uncheck all the checkboxes on Comments and Trackbacks. Don’t forget to click Publish to save the changes.

disable comments in Genesis Sample theme

From now on site visitors (or spam bots) won’t be able to add comments in your WordPress website.

How to remove Comments link from WordPress admin menu

Once you get rid Comment forms from your WordPress website you may also want to clean WordPress admin menu – remove Comments link from it.

comments link in WordPress admin menu

To remove Comments link from WordPress admin menu you need to go to Appearance >> Theme Editor.

Click Theme functions link on the right side of the page, and scroll down to the bottom of the page, and add this page to the end of the file:

add_action( 'admin_init', 'remove_my_comments_menu' );
function remove_my_comments_menu() {
    remove_menu_page( 'edit-comments.php' );
}

This code should work with any WordPress theme, not only with themes based on Genesis framework.

Click Update file to save changes and activate the function.

how to remove comments admin menu link in wordpress

That’s it – now you and other site editors won’t see Comments link in WordPress admin menu.

Tags:

Fathom analytics - privacy focused cookie-free website analytics

Most popular tutorials


Get our latest WordPress news and special offers from RockSolidWP!

Only useful WordPress and WooCommerce tips and tricks and exclusive offers for our readers once a month. No marketing nonsense.

Looking for reliable yet affordable WordPress hosting?
Hostinger is the way to go!

Get 10% OFF by using code IMAKEITWORK