WordPress thumbnail settings change
The Regenerate Thumbnails plugin will go through your media library and re crop all your images.
The Regenerate Thumbnails plugin will go through your media library and re crop all your images.
Assuming you are using Twenty Ten, Twenty Eleven, or one of the several Themes that derive Post Thumbnail (i.e. “featured image”) feature handling from either of these Themes: The Featured Image is applied to the header image, if and only if the dimensions of the Featured Image exceed the dimensions of the header image. The … Read more
so you’re images are already in a custom field? you could use the Get the Image plugin…. i know it will pull your thumbnail from a custom field and i think it might automatically set it as the featured image, tho it has been a while and i’m not sure of that. http://wordpress.org/extend/plugins/get-the-image/
Featured Image box is internally a meta box, added using add_meta_box (ref. edit-form-advanced.php line no. 128). As far as my research went, there is no filter applied to the meta box title (ref. template.php line no. 846). Hence you cant change the metabox title using a filter. Though you can try printing the contents of … Read more
Refer to the add_image_size() Codex entry: <?php add_image_size( $name, $width, $height, $crop ); ?> The $crop parameter is the key: (boolean) (optional) Crop the image or not. False – Soft proportional crop mode ; True – Hard crop mode. Default: false That is: False (default): box-resize – (resize image against the constraining dimension) True: hard-crop … Read more
UPDATE I did not test this method, but it is not very old. It adds custom meta information to the caption section of the image, which can then be styled as needed. Again, I did not try the method, and I am not a coder, but from reading through the tutorial, it sounds like it … Read more
They work independently of eachother. You need to call the one you created in the functions.php. So in your functions.php you would have something like: if (function_exists(‘add_theme_support’)) { add_theme_support( ‘post-thumbnails’ ); set_post_thumbnail_size( 75, 75, true ); // default thumbnail size add_image_size(‘my-custom-thumb’, 80, 80, true); //custom size } and then to call your custom thumbnail you … Read more
<?php /* Set the name of the category and the number os posts to be displayed */?> <?php $first_query = new WP_Query(‘category_name=name&posts_per_page=7’); ?> <?php /* Show the posts */ ?> <?php while ($first_query->have_posts()) : $first_query->the_post(); ?> <?php /* Make the hiperlink to the post */ ?> <a href=”https://wordpress.stackexchange.com/questions/59934/<?php the_permalink(); ?>”> <?php /* Get the featured … Read more
The featured image is stored in the *_postmeta table under the _thumbnail_id key. In fact, chances are that you’ve got a lot of image/media urls in that table, which you haven’t changed. The problem is that a number of things are stored in serialized arrays and changing them with SQL as above will (probably) break … Read more
You might try something like this in your functions.php: //remove class from the_post_thumbnail function the_post_thumbnail_remove_class($output) { $output = preg_replace(‘/class=”.*?”https://wordpress.stackexchange.com/”, ”, $output); return $output; } add_filter(‘post_thumbnail_html’, ‘the_post_thumbnail_remove_class’);