Answer the question
In order to leave comments, you need to log in
How to reuse templates?
for example, footer and header - it's understandable,
get_header();
get_footer();
but if I have a form (I need it on two pages),
then I try it, it <?php get_template_part( 'form-contacts.php' ) ;?>
doesn't display anything
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question