Skip to content
This repository has been archived by the owner on Oct 21, 2020. It is now read-only.

Commit

Permalink
STUDIO-17: Added in thumbnail size supports.
Browse files Browse the repository at this point in the history
  • Loading branch information
michelled committed Dec 14, 2011
1 parent 746ee2f commit 42714c4
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions wp-content/themes/fluid-studios/functions.php
Original file line number Diff line number Diff line change
Expand Up @@ -13,15 +13,18 @@
// The maximum number of characters in the "new post" page, "title" field
if ( ! defined("FL_MAX_CHARS_IN_TITLE") ) define("FL_MAX_CHARS_IN_TITLE", 80);

//TODO: make sure we don't require the thumbnail sizes
// The size of the featured image on the index page
if ( ! defined("FL_THUMBNAIL_WIDTH") ) define("FL_THUMBNAIL_WIDTH", 240);
if ( ! defined("FL_THUMBNAIL_HEIGHT") ) define("FL_THUMBNAIL_HEIGHT", 160);



/**********************************
* Wordpress Supports
* Configure thumbnails
**********************************/
// TODO: check with cindy if this needs to be wrapped in a check for function existance
add_theme_support('post-thumbnails');
set_post_thumbnail_size( FL_THUMBNAIL_WIDTH, FL_THUMBNAIL_HEIGHT, true );



Expand Down

0 comments on commit 42714c4

Please sign in to comment.