You can call add_image_size()
again to update the existing image size. Assuming it is called medium_large
(Events Manager Pro is a paid plugin so not very much people have it) you can do something like:
<?php
function update_medium_large_size_wpse216595() {
add_image_size( 'medium_large', 600, 255, array( 'center', 'top' ) );
}
add_action( 'init', 'update_medium_large_size_wpse216595', 11 );
Then you will need to regenerate the thumbnails. Although I am not 100% sure that init
is the right hook for the job.
p.s. You can check this if you are using a child theme.
p.s. 2. I am not sure that I understand the center cropping correctly. You many need to play with it a bit. array( 'center', 'top' )
will crop the picture in the center (‘trimming’ the right and left part).
Related Posts:
- image_size with respect to aspect ratios
- Missing feature image link function
- Issues with title-tag and document_title_parts
- How to influence the information displayed on widget inside wp-admin
- Is there a hook or function I can use to display all theme files being used on a current page?
- Add action hook conditionally – only when home.php in use
- why doesnt is_home() work in functions.php
- Implementing DNS Prefetching with WordPress
- Help me to understand wp_header() and wp_footer() functions
- How can I tell if I’m on a login page? [duplicate]
- In WooCommerce I need to modify the thankyou.php page [closed]
- How can I add an extra WooCommerce hook
- Why get_header() or get_footer() does not run twice if called in the same php file?
- Add options to featured image
- Generating Responsive Background Image Sizes in PHP
- Remove Page Title from Static Frontpage
- How to override WordPress registration and insert an auto-generated username?
- Set default options for inserting media
- Change parent theme file function in child themes functions.php
- Adding extra SVGs to TwentyNineteen child theme using class TwentyNineteen_SVG_Icons
- How to hook into the quick edit action?
- gform_after_submission content appears immediately after , not in post body [closed]
- Make WordPress size and name images for Retina.js
- the_post_thumbnail fallback using hooks
- WooCommerce add_action hook results in 500 error
- Display height and width properties with the_post_thumbnail() or related function
- Removing the first image in content
- How to set the jpg image compression for specific thumbnail sizes?
- Function to auto-set a featured image that is already in use
- Increment price for Woocommerce Minicart [closed]
- how to change link of some wordpress pages
- Gravity Forms field entries into wp_query loop [closed]
- Post thumbnail relative link and HTML modify
- Proper way of using functions in action hook?
- How to preserve edits to Name or Slug of term when using wp_update_term on save?
- Accepted arguments value in hook functions
- Get current page_id before loop, in functions.php
- Get the 5 lastest Featured Posts from a category
- How to properly add function called by action-hooked function to functions.php?
- Which action hook to use for function?
- wp_get_attachment_image function size argument not working if I also add a custom class
- Inserting a functions output after the content
- Modify a function without editing template
- Don’t delete a page if it holds users
- Problem only while using require_once() within functions.php
- Passing values from a widget to a function within a plugin
- set_post_thumbnail when user is not logged in
- How to stop twenty fifteen theme from cropping featured images?
- Can you put a condition on add_image_size() depending on the width of the uploaded image?
- What did I do wrong in my functions code, that will not change the “Get New Password” text to “Send It”?
- Replace a menu with widget or a custom template file programmatically
- Footer disappears when using the_content ( )
- Can’t generate thumbnail images
- Get User Login Data (date, time… )
- Registration Hooks don’t appear to be working
- Why does re-using this function not work? [closed]
- Pass parameter to hooked function using custom page template
- What is the text that appears beside the page titles in the list of pages in the WP admin?
- How to edit the Tags within the image file URLs?
- Is my code correct to enqueue CSS on a specific page?
- Can’t properly set the_title add_filter to show short_URL
- (Woocommerce) Order by price when entering specific category
- Auto log in hook is requiring a page refresh
- How to hide image-url if no attachment?
- Possible to hook into Media Library preview File column and use a custom image?
- Can set_post_thumbnail be used to remove a thumbnail?
- WordPress wraps span tags into p tags
- Is it possible to use add_filter in an included file in the child theme’s functions.php?
- Insert Content Before div#main from the functions.php File
- update_post_meta is Updating with two page id
- Replace admin header logo with an image
- Why I can’t load my JavaScripts using an hook inside my functions.php file?
- Show Featured Image in else statement
- is_home() not working in functions.php file
- How to conditionally add a widget via a hook in functions.php
- resizing of thumbnails not working
- Featured Image keeps cropping
- Changing the text of Upload/Insert on Posts and Pages Screen
- struggling with syntax for the_post_thumbnail();
- Filter for replacing the WP_query object for a given category
- Warning at top of website & top menu gone
- Does hook have an effect on increasing the page load?
- What is the earliest Hook a Script can use?
- Populate acf-field, depending on block name
- How Do I Unhook This Parent Theme Function?
- Can You Set A Minimum Image Dimension For Resizing Images?
- Calling hooks in functions
- Featured image on archive page based on post type
- How to add custom column into custom post, when field is select
- True email confirmation for registration (keeping unvalidated users from user table)
- Best way to add image to recent posts widget?
- Slider Thumbnail Size Issue [closed]
- Apply height and width for the_content() inside youtube video tag
- Init hook for header send
- add_theme_support not outputting thumbnails
- How can I append and prepend something to all post hyperlinks without using ::before or ::after? PHP hook solution?
- How do I add functionality to images?
- How to hook wp_mail to add a custom email as BCC for each sent email?
- Get category of post inside save_post hook
- Create section wit form