WordPressget_template_part()


Syntax

  • get_template_part( $slug, $name );
  • get_template_part( $slug );

Parameters

ParameterDetails
$slug(string) Generic template slug name
$name(string) Specialized template name