Take the 2-minute tour ×
WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. It's 100% free, no registration required.

Is it possible to remove the "Post Format" meta box from the edit/new post page? The blog in question has a lot of users that keep messing with that but it only uses the standard format post.

I'm kind of new to wordpress so excuse me if this is a really obvious one.

Thanks.

share|improve this question

2 Answers 2

up vote 6 down vote accepted

That gets added because your theme supports post-formats.

You can either use a plugin (or a child theme's functions.php) file to hook into after_setup_theme late and remove theme support:

<?php
add_action('after_setup_theme', 'wpse65653_remove_formats', 100);
function wpse65653_remove_formats()
{
   remove_theme_support('post-formats');
}

Or look for the the line in your theme's functions.php file:

add_theme_support('post-formats');

and remove it.

The first option is a better bet. Stick it in a plugin and it will be there for the next theme you use as well.

share|improve this answer
    
That was thorough. Thumbs up :) –  hampusn Sep 19 '12 at 16:48
// Higher value on the priority then the default of 10 makes sure this is run after the initial removal.
add_action('after_setup_theme', 'remove_post_format', 15);
function remove_post_format() {
    remove_theme_support('post-formats');
}

This should be placed in your functions.php file.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.