Hi Ying,
Thanks for your response, and apologies, reading back it didn’t make too much sense!
I’ve un-commented that line, and removed the generate_do_template_part( ‘newsletter’ );
, so my file now looks like this.
Lines 24-31:
if ( generate_has_default_loop() ) {
while ( have_posts() ) :
the_post();
get_template_part( 'content', 'newsletter' );
endwhile;
}
However it’s still not displaying the code I’ve added to content-newsletter.php,
Thanks,
Tom