Slider
Hi,
I'm using the [slider] shortcode to display product images on a custom post type template built with BeBuilder.
Shortcode used:
[slider category="wall-packs-lkfs" orderby="date" order="DESC" style="" navigation=""]
ISSUE
The slider outputs the "slider-content" image size (registered as 1630x860, hard crop). My source images are square (1024x1024), so the hard crop cuts roughly 16% of the image height — the product renders appear cropped top and bottom.
I confirmed this with wp_get_registered_image_subsizes():
[slider-content] => Array
(
[width] => 1630
[height] => 860
[crop] => 1
)
I could not find any setting for this size in Theme Options, in the Slides post type, or in WordPress Media Settings.
QUESTIONS
1. Does the [slider] shortcode accept an attribute to specify a different image size? The documentation lists only category, orderby, order, style and navigation.
2. If not, is there a supported filter or hook to change which image size the slider consumes?
3. Is "slider-content" used anywhere else in the theme besides the Slides slider? I want to know the impact before re-registering it with crop = false from my child theme.
ENVIRONMENT
BeTheme 28.5.3 (child theme active)
WordPress 7.0.2
Thanks.
While waiting for a response from one of our team members, we recommend to check Support Center where it is highly likely that you will find the answer to your question in no time.
FAQ | Video Tutorials | How to