ninjacolin
Forum Replies Created
-
Forum: Plugins
In reply to: [Contact Form 7] Extending Contact Form 7: custom validation not workingThanks, I can’t believe I didn’t think to check the change log.
I wish this was in the documentation.Same for Russian. ??
Hi, Mikko. Your plugin is very cool. Actually, I do want it enabled in the admin area. I have the option checked because I want it to work on the post list screen (admin area) and it does that very very well. It works just as well as the front end search does. I use it to return search results based on custom fields.
The problem is it ONLY works for posts: When you try to search in the media gallery or anywhere else in the admin area (custom post types, pages, etc) the search results are filtered by Relevanssi just like on the front end.
Forum: Hacks
In reply to: [hack] crop custom thumbnail sizesAlso, when you crop an image the image is renamed to something with a long E number like: “myImagename-e1303127369443-thumbnail.jpg”
Forum: Hacks
In reply to: [hack] crop custom thumbnail sizesredannick
your code for /wp-admin/includes/image-edit.php ~ Line 613 has an ambiguous closing brace here:
if ( $success && ('nothumb' == $target || 'all' == $target) ) { $sizes = apply_filters( 'intermediate_image_sizes', array_keys($meta['sizes']) ); if ( 'nothumb' == $target ) $sizes = array_diff( $sizes, array('thumbnail') ); }
Is that closing brace just a mistake or is there a missing opening brace on this if:
if ( 'nothumb' == $target ) $sizes = array_diff( $sizes, array('thumbnail') ); }
Forum: Hacks
In reply to: [hack] crop custom thumbnail sizesThanks, I was able to sucessfully use redannick’s code.
he had one mistype though. He forgot to open with a curly brace at:
if ( 'nothumb' == $target )
so the correct way should be:
if ( 'nothumb' == $target ){
It works pretty well. Thanks to both of you!
Forum: Hacks
In reply to: [hack] crop custom thumbnail sizesHmm… so, you wouldn’t happen to know of a way that we could crop JUST the medium sized version of an image, huh?
I think the functionality redannick (and I) are after is being able to use that wonderful WP crop tool on any one size-instance of the uploaded image.
Being able to crop one the custom sizes would be important too.
(thanks for your support, man! good stuff)
Forum: Hacks
In reply to: [hack] crop custom thumbnail sizesTheDoubtfulRebel, could you repost that code?
It seems kinda silly that all image sizes aren’t available for custom cropping by default in the EDIT section.