Is there a plugin or simple way to add a multiple images metabox to a post?
This cab be done very easy by custom code or using Meta Box Script For WordPress which makes my life a lot easier when it comes to creating custom meta boxes.
This cab be done very easy by custom code or using Meta Box Script For WordPress which makes my life a lot easier when it comes to creating custom meta boxes.
You can use this for an author photo: http://wordpress.org/extend/plugins/user-photo/ And this one might give you multiple images for the author: http://wordpress.org/extend/plugins/sem-author-image/ The final approach is to use a gallery plugin of some kind (NexGen Gallery Perhapse?) and create an album for each author, labeling it “John Doe”. Then, call the gallery in the authors.php file … Read more
It is very easy to change the wordpress default thumbnail size at any time. Login to your wordpress and go to Settings->media and use the right options or change size of thumbnail with the crop option unchecked. Then use this plugin to regenerate the thumbnails http://wordpress.org/extend/plugins/regenerate-thumbnails/ Or if it still doesn’t work, that means your … Read more
These are two different things: How can I set full image thumbnail on category pages vs Image should be small in dimensions but not been cropped. In order to display the full-size image thumbnail, use: <?php the_post_thumbnail( ‘full’ ); ?> In order to display a box-resized, rather than hard-cropped, image, you need to tell WordPress … Read more
If your talking about the images that are written into $post->post_content (the_content()) you’ll either need to write a filter that strips out all images and replaces them with the smaller version. Or you could just use CSS. For CSS make sure you have body_class() in your body tag then you can localise a maxwidth to … Read more
Add this code to your functions.php if(function_exists(‘add_theme_support’)) add_theme_support(‘post-thumbnails’); // Set the thumbnail size add_image_size(‘custom_logo’, 200, 200, true ); add_image_size(‘custom_website_thumb’, 450, 200, true ); add_image_size(‘custom_print_ad_thumb’, 200, 400, true ); Put this in your post template where you want to see the image. <?php echo get_the_post_thumbnail($post_id, ‘custom_logo’); ?> You can also wrap it in a link like … Read more
First off, kudos to this pretty cool solution. I think you’re on the right track and not sure how much more you could do. You could certainly replicate the above with PHP & CSS, thus not requiring jQuery. It would require you to have an array of your sizes and just loop through them. This … Read more
WordPress will always create the additional images for “thumbnail”, “medium” and “large” sizes. The options panel doesn’t add an additional size- it just resizes the one you’ve selected using CSS. If you want to override that CSS you can hook in an additional stylesheet that will override the id on that option.
As far as I know, media management didn’t change from WP 3.2 to 3.3 (except for replacing the uploader itself with PLuploader). It has always been possible to upload images directly to the media manager (by uploading via Dashboard -> Media Library ), in which case such uploaded images would not be attached to any … Read more
The problem is that the_excerpt() strips all HTML. There’s a good reason for this: what if the 49th word of a 50 word excerpt was the first word of a bulleted list? Or the second word in an <h1>? The way I would work around this is by using post thumbnails. These allow you to … Read more