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.
- Please read our community guidelines. Self promotion and discussion of piracy is not allowed.
- Open a support ticket if you would like specific help with your account, deposits or purchases.
- Item Support by authors is optional and may vary. Please see the Support tab on each item page.
Most of all, enjoy your time here. Thank you for being a valued Envato community member.