2 posts
  • Has collected 1+ items on Envato Market
  • Sells items exclusively on Envato Market
Brancharrow says

Hey guys,

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.

Thanks.

1293 posts The Last Man Standing
  • Elite Author: Sold more than $75,000 on Envato Market
  • Has sold $75,000+ on Envato Market and is now an Elite Author
  • Has been a beta tester for an Envato feature
  • Sells items exclusively on Envato Market
+7 more
ImanGM says

Hi,

Maybe we could be able to help better if you paste some lines of your code :)

Cheers,
Iman

by
by
by
by
by
by