I'm using get_template_part()
function on my file (page-home.php
) like
page-home.php and it is working fine until I called it 5 times on the same file (page-home.php
) but when I called it 6th times like
<?php get_template_part( 'template-parts/content', 'project' ); ?>
data from advanced custom field plugin is not showing, but the data from Custom Post Type UI
plugin is showing correctly and if I delete any of the above get_template_part()
the data from <?php get_template_part( 'template-parts/content', 'project' ); ?>
is showing correctly.
Any type of help is appreciated.