Put this code on your functions.php
add_action( 'after_setup_theme', 'clonecell_theme_setup' );
function clonecell_theme_setup() {
/* Set Default Image Sizes*/
add_image_size( 'mini-thumbnail', 50, 50, true ); // for clonecell recent post widget
}
Or if you already have an action hook on after_theme_setup
,put the add_image_size
on that function.
Add another add_image_size
using this format
add_image_size($name, $width = 0, $height = 0, $crop = false)
Hope this help.
Related Posts:
- Get rid of WordPress category, tag and author archives?
- How to add the category ID to admin page
- How to create a widgetized sidebar for every category dynamically?
- Only show category to certain user levels without plugin
- List Categories of the Parent Category of the Current Category
- How to split the categories of subcategories with thumbnails
- exclude category from WordPress Form function
- wp_list_categories, Add class to all list items with children
- Remove “Parent” Selection When Adding/Editing Categories?
- Check is category parent or not from its ID
- How to show in search results posts with a particular tag in a particular category?
- How can I get an tag to wrap each ancestor that gets outputted in this condition?
- If category is in parent category?
- If in category to be inside of a function
- Rename Default Category (Uncategorized) Via a Function
- Implementing a tricky wordpress menu (nested categories + thumbnails)
- Check child/parent categories if exists
- Getting URL of archive (category) page
- How to show only one category in breadcrumb navigation
- Query posts from category based on a filter most favorited
- Remove product category placeholder image (Woocomerce)
- Change thumbnail image depending product category
- Custom Walker for wp_list_categories
- Add tag parameter to category.php
- Random Featured Image Based on Category
- How to change the thumbnail size to a specific category?
- add slug beside name in Admin Category Checklists
- Change div background acording to the selected category
- Thumbnail for categories / taxonomies plugin?
- how to nest specific category thumbnails inside different containers
- How to use wp_list_categories with plugin category?
- Redirect depending on category chosen
- How to add icon over specific thumb
- How to load several hierarchical categories from functions.php
- Change Default Content when Creating a Post based on Previous Category Choice
- How can i display category title over thumbnail?
- create function to call category name and slug
- Different size video display for category page (smaller) & detail page (larger)
- How to set featured image as background for a specific category?
- Code to display category-specific single.php is overriding normal single.php, too
- Loop Through Categories in Custom Field
- Function to list posts from current post’s category fails in WP 3.8
- Show only one category in main query, issues on tag page
- Show parent-child relationship for categories in the wordpress admin
- Could not insert term into the database
- How can I get category ID by category name?
- How would I increase the Author Role to be able to add a new category?
- Randomise results from a category page?
- Adding Custom User Profile data based upon Categories
- Custom Query to search through categories
- Order posts by category name
- How can I make wp_list_categories output li with category-slug as class, for its children?
- How to set child post categories to parent post categories when updating parent post?
- Get sticky post from category?
- Remove word “Category” from WooCommerce product page [closed]
- Display name of the last child category
- How to exclude posts from a category when using this particular format
- Viewing category pages without the word ‘category’ in URL
- How to view WordPress’ default category IDs?
- how to change template?
- Multiple Domain Names – One WP Install (non-Multisite) – Default Each Domain name to Product Category WooCommerce
- Hard coded main navigation
- Display posts separated by Category in Author’s page
- How can I define a custom archive for childs of a specific category?
- The arrangement of categories always change while posting article
- List posts in alphabetical order
- Categories list loop – add separator every 3 categories [closed]
- wp_list_pages() exclude category
- Get the ID of 10 Latest Pages stored in a WordPress Category
- Assign category a default post type
- Admin: Navigation Menus do not show empty categories/taxonomies in the list’s search tab
- getting post data in functions.php
- How can i remove the posts category class names from body_class
- Different Category Headers using in_category and elseif
- Remove the number of posts displayed in wp_list_categories()
- Hide thumbnail on search results when thumbnail not set – using Oxygen
- related articles using shortcodes
- Show category meta in loop on homepage
- How to get selected taxonomy or category ID if using custom walker?
- Category link redirect to custom template page instead of index.php?
- Rebuilding a Site: How to Show Several Category Posts in Woo Framework Theme?
- Conditional category query breaking?
- Different header for each category
- Unable to browser posts in categories
- 3.1 post formats and specific categories/custom taxonomies
- sidebar troubles, taxonomy trouble
- Code for Category, Tags, Archive URLs
- Duplicate new categories across multisite network
- Template category.php with page (no posts)
- How to create Child Category page from scratch at wordpress?
- Notice: Undefined variable
- Limit Category/Tag Dropdown To blog_id in Multisite Install With Global Categories/Tags
- Adding relevant categories to related post
- Move captions under gallery images in twenty fourteen theme
- Media Library filter returns undefined function get_current_screen
- Way to show content of a post, but if exceeds character limit revert to excerpt?
- get IDs from links categories
- Display all subcategories for a product category in woocommerce
- Why does my WordPress index has a category?
- Restricted category in Woocommerce [closed]