Spooky
Halloween Sale

25%
OFF

Coupon Code:
SPOOKY25

Hour
Min
Sec
Expired

Limited Time Only

Coupon: BFCM50

⚡FLASH SALE⚡

End's Tonight

Coupon: FLASH4YOU

LIMITED TIME ONLY

Limited License Available

Day
Hour
Min
Sec
Expired

How to Disable Post Format Archives Pages in WordPress

Post format seems useless to a lot of bloggers. Many bloggers like to stick with the default post layout. In that case, you don’t need this extra Post Format option inside your post editor. 

You can easily remove this post format by using the following code. If you think the code is a hassle to you, then install WP Adminify plugin and enable this tweak. 

Just copy and paste the following code inside your function.php file and reload your post editor.

				
					// Remove archives post formats
add_action('template_redirect', 'jltwp_adminify_remove_archives_postformat');
function jltwp_adminify_remove_archives_postformat()
{
    if (is_tax('post_format')){
        $target = get_option('siteurl');
        $status = '301';
        wp_redirect($target, 301);
        die();
    }
}
				
			

If you are WP Adminify user, then navigate to WP Adminify> Tweaks > Post / Archives option. You will see the “Disable Post Format Archives” option. Just enable it and click on the Save button. 

Disable Post Format Archives in WordPress
Was this article helpful?

© 2022 - Adminify | All rights reserved

WP Adminfy accepted payment methods

SALE ENDS IN:

Minutes :
Seconds

— Limited Time Flash Sale—

⚡ 50% OFF ⚡

COUPON CODE: BFCM50