Update shortcodes.php with pagination