Add the ability to declare the number of slides to be rendered (the default value is 3). This update fixes a bug affecting variable numItems on a PHP 8.3 installation.
numItems
Closes #3476245