3 posts
  • 1 Year of Membership
  • Australia
  • Author Level 3
  • Exclusive Author
+1 more
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.

1891 posts The Last Man Standing
  • Weekly Top Seller
  • Author Level 8
  • Beta Tester
  • Elite Author
+9 more
ThemeWisdom
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