Hey, I'm new to WP and trying to create a simple plugin. Can you explain how to create a simple plugin which adds just a little snippet to blog's function.php file. For example I want to add this simple snippet to function.php (just for example)
add_theme_support( 'post-formats', array( 'aside', 'gallery' ) );
Can you post full php structure of it (without header information). It would be great, please I'm new to WP and php and trying to learn some basic things :)