Marco
Support threads created in the last 30 days: 0
Favorite Forum Topics
This user has no favorite topics.
Forum Topics Created
Status | Topic | Supporter | Voices | Posts | Freshness |
---|---|---|---|---|---|
Thumbnails in the same proportion and size
Started by: Marco
in: Toolset Professional Support
Problem: Customer needed to get the thumbnails in the same proportion and size without distortion Solution: First you need to register the size of the thumbnails inside your child theme's functions.php file and define the crop option as true, eg.: add_image_size( 'custom-size', '360', '200', true ); Then you can register it as an option so it appears in the GUI: add_filter( 'image_size_names_choose', 'the_custom_sizes_as_registered_by_you' ); function the_custom_sizes_as_registered_by_you( $sizes ) { return array_merge( $sizes, array( 'custom-size' => __( 'Custom Size' ), ) ); } Now whenever you pick your sizes using blocks, in the Image Settings, the custom size you created should be available in there and with the crop option enabled by default: Relevant Documentation: https://developer.wordpress.org/reference/hooks/image_size_names_choose/ |
2 | 2 | 1 year, 1 month ago | ||
Split: Only 1 instead of 2 fields may be filled in – set cred field required dynamically using javascript/jquery
Started by: Marco in: Toolset Professional Support |
2 | 2 | 1 year, 3 months ago | ||
Only 1 instead of 2 fields may be filled in
Started by: Marco in: Toolset Professional Support |
2 | 6 | 1 year, 3 months ago | ||
onsuccess='self' do not work
Started by: Marco in: Toolset Professional Support |
2 | 3 | 1 year, 3 months ago | ||
Don't want to play the video at the overview.
Started by: Marco in: Toolset Professional Support |
2 | 3 | 1 year, 4 months ago | ||
Edit post form don't remember category
Started by: Marco in: Toolset Professional Support |
2 | 13 | 1 year, 5 months ago | ||
When I place a Custom Search Filter I cannot select USER.
1
2
Started by: Marco in: Toolset Professional Support |
2 | 20 | 1 year, 5 months ago | ||
limit number uploading files whit credform
Started by: Marco in: Toolset Professional Support |
2 | 3 | 1 year, 5 months ago | ||
Limited Characters in a Textfield and 2 textareas in 1 form
Started by: Marco in: Toolset Professional Support |
2 | 3 | 1 year, 5 months ago | ||
How can I automatically link a submitted post with a post form to a category?
Started by: Marco in: Toolset Professional Support |
1 | 2 | 1 year, 6 months ago | ||
Change file upload error text, add maximum upload file size
Started by: Marco
in: Types Community Support
Problem: I would like to use different text in the CRED form image upload error alert. I would like to add the maximum upload size to my own custom text. Solution: add_filter( 'gettext', 'better_ajax_upload_filesize_error', 20, 3); function better_ajax_upload_filesize_error( $translated_text, $text, $domain ) { if( $text == 'The file you uploaded it too large. You can upload files up to ' && $domain =='wp-cred' ){ $translated_text = "The file you attempted to upload is too large. You can upload files up to "; } return $translated_text; } |
2 | 8 | 7 years, 1 month ago |