I’m writing a tutorial on how to register new sizes for featured image, so here are some codes I use:
/** Add new image sizes */ add_image_size( 'grid-thumbnail', 236, 157, TRUE ); add_image_size( 'single-post-thumbnail', 236, 236, TRUE ); add_image_size( 'video-small', 110, 73, TRUE );
However, there is some strange behaviour of the syntax highlighter. Please see the image here http://i.imgur.com/GBtOj.jpg
The first parameter $name is pushed to the right. When I hover it, it slides to the left (as can be seen on the last one in the image attached).
The blog is WPSpeak.com
- The topic ‘Strange behaviour’ is closed to new replies.