Title: WordPress 3.1 Post Format
Last modified: August 19, 2016

---

# WordPress 3.1 Post Format

 *  [fanderzzon](https://wordpress.org/support/users/fanderzzon/)
 * (@fanderzzon)
 * [15 years, 2 months ago](https://wordpress.org/support/topic/wordpress-31-post-format/)
 * Hi,
 * I’ve updated from 3.0.5 to 3.1 and the updating were perfect but when i in functions.
   php add this line,
 * add_theme_support( ‘post-formats’, array( ‘aside’, ‘gallery’ ) );
 * Then i don’t see any effect of it when i add a new post. Someone more that have
   this issue?
 * Best regards
    Fredrik

Viewing 2 replies - 1 through 2 (of 2 total)

 *  Thread Starter [fanderzzon](https://wordpress.org/support/users/fanderzzon/)
 * (@fanderzzon)
 * [15 years, 2 months ago](https://wordpress.org/support/topic/wordpress-31-post-format/#post-1938815)
 * Hi i read the documentation,
 * Note that you must call this before the init hook gets called! A good hook to
   use is the after_setup_theme hook.
 * I had done that before with no effect but then I updated the functions.php and
   it now works. Strange 😉
 *  Thread Starter [fanderzzon](https://wordpress.org/support/users/fanderzzon/)
 * (@fanderzzon)
 * [15 years, 2 months ago](https://wordpress.org/support/topic/wordpress-31-post-format/#post-1938816)
 * Does this function works with custom post type?

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘WordPress 3.1 Post Format’ is closed to new replies.

## Tags

 * [post format](https://wordpress.org/support/topic-tag/post-format/)

 * In: [Installing WordPress](https://wordpress.org/support/forum/installation/)
 * 2 replies
 * 1 participant
 * Last reply from: [fanderzzon](https://wordpress.org/support/users/fanderzzon/)
 * Last activity: [15 years, 2 months ago](https://wordpress.org/support/topic/wordpress-31-post-format/#post-1938816)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
