I’m looking for clarification as to whether or not this is allowed. The theme submission guidelines state:
4. If incorporated into the theme, custom template files are required to be called using get_template_part() or locate_template()
I’ve been trying to pass variables through get_template part without luck. One solution I’ve come across is to use the following instead:
include( locate_template(‘something.php’ ) )
Is this going to pass guidelines? It’ll have a major bearing on how I put the theme together.