Passing variables when loading templates in WordPress

One caveat faced by developers using get_template_part is the inability of passing variables to the loaded templates. There is, however an alternative using locate_template. Overview In this example we're going to display three Easy Digital Download entries. I've been using EDD for a while now and while it has a lot of features it's still… Continue reading Passing variables when loading templates in WordPress