Passing variables to a WordPress template efficiently

Learn to efficiently pass variables to a WordPress template and use them in it