Move MakeJewelleryGrid from page.php to functions.php.
Move configuration to the end of functions.php.
Convert the jewellery grid to a shortcode.