lifterlms
lifterlms copied to clipboard
Ability to specify number of columns when using shortcodes/blocks like [lifterlms_courses] or [lifterlms_memberships]
Is your feature request related to a problem? Please describe.
There's no way to change the number of columns when using a particular shortcode, only globally via the lifterlms_loop_columns filter.
Describe the solution you'd like Adding a "columns" option to the shortcode and block would give more flexibility.
Could perhaps add a filter on lifterlms_loop_columns right before rendering the shortcode based on an attribute, and then remove it afterwards.