>
Download This Plugin | |
Download Elegant Themes | |
Name | Theme Blvd Image Sizes |
Version | 1.0.5 |
Author | Jason Bobich |
Rating | 0 |
Last updated | 2014-07-17 06:27:00 |
Downloads |
5169
|
Download Plugins Speed Test plugin for Wordpress |
Home page PageSpeed score has been degraded by 0%, while Post page PageSpeed score has been degraded by 0%
Theme Blvd Image Sizes plugin added 24 bytes of resources to the Home page and 27 bytes of resources to the sample Post page.
Theme Blvd Image Sizes plugin added 0 new host(s) to the Home page and 0 new host(s) to the sample Post page.
Great! Theme Blvd Image Sizes plugin ads no tables to your Wordpress blog database.When using a theme with Theme Blvd framework version 2.1+, this plugin is will provide you with a user-friendly interface to change your current theme's image sizes.
This plugin is mainly designed for non-developers who feel they need to alter the image sizes for their theme, but do not have the necessary development knowledge to manually make the changes from their child theme.
As in any WordPress theme, we setup the image sizes by using WordPress's add_image_size function for each crop size. In the version 2.0.5 update to the Theme Blvd framework, we adjusted how we call the add_image_size function by first putting all image sizes into an array, which we applied the filter: themeblvd_image_sizes
This allows for all of the image sizes of the theme to easily be filtered from your child theme or from a plugin... and this would be an example of a plugin that utilizes that. :-)
Absolutely not. In fact, if you understand the basics of PHP and the WordPress filters API, I would suggest that you do not use this plugin and instead, you manually make the changes from your child theme. Realistically, running this plugin requires extra resources on your server that can be avoided by just manually make the change you want from your child theme.
If you'd like to dive into a little development action, and accomplish the gist of what this plugin does, you'd simply do something like this from your child theme:
function my_image_sizes( $sizes ) {
$sizes['slider-large'] = array(
'width' => '960', // Your new width
'height' => '350' // Your new height
);
return $sizes;
}
add_filter( 'themeblvd_image_sizes', 'my_image_sizes' );