The easiest way to create a product grid in WordPress is by using a plugin like SeedProd or MonsterInsights. You won't have to manually edit code to display popular products on your site. The WooCommerce and WordPress product grid plugins also offer lots of customization options.