lifterlms icon indicating copy to clipboard operation
lifterlms copied to clipboard

Ability to specify number of columns when using shortcodes/blocks like [lifterlms_courses] or [lifterlms_memberships]

Open brianhogg opened this issue 11 months ago • 1 comments

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.

brianhogg avatar Jan 09 '25 13:01 brianhogg

Could perhaps add a filter on lifterlms_loop_columns right before rendering the shortcode based on an attribute, and then remove it afterwards.

brianhogg avatar Jan 09 '25 13:01 brianhogg