Fix for Blocksy theme
-
It has copied the single template to custom templates folder but it did not add the necessary line
<?php custom_post_types_get_custom_template(); ?>
to it.
I’ve added it myself (within SECTION tags of the copied template) and it’s working great.<section> <?php custom_post_types_get_custom_template(); ?> <?php get_template_part( 'template-parts/content', get_post_type() ); ?> </section>
Leaving it here just in case someone needs the same.
Thank you.
Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
- The topic ‘Fix for Blocksy theme’ is closed to new replies.