fbpx

Passing variables to template parts in WordPress

How to pass variables to template parts when building a WordPress theme.  I wish I knew how easy it was to let a variable to hitch a ride on the query using set_query_var().

Leave a Reply

Your email address will not be published. Required fields are marked *