You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently if we want to get the custom image size we have to get the id from the url and then again get the size. By adding size in the image field it will be more efficient.
Kirki::add_field( 'my_config', array(
'type' => 'image',
'size' => 'thumbnail' // Add new parameter to get custom size image
'settings' => 'image_demo',
'label' => __( 'This is the label', 'my_textdomain' ),
'section' => 'my_section'
) )
The text was updated successfully, but these errors were encountered:
Feature Request
Currently if we want to get the custom image size we have to get the id from the url and then again get the size. By adding size in the image field it will be more efficient.
The text was updated successfully, but these errors were encountered: