Possible bug regarding post formats
-
Sorry guys, I looked at your forum but there was no section related to this theme, so I am posting my question here:
I believe I found a bug related to specific post types: When I switch for example a certain post to type “Image”, it appears that instead of “content-image.php” the theme always loads “content-single.php”. This is true for other custom post types as well.
I created a child theme and changed line 15 of “single.php” from:
<?php get_template_part( 'content', 'single' ); ?>
to
<?php get_template_part( 'content', get_post_format() ); ?>
and it appears to respect the post type now.
This is FYI, thanks for this beautiful theme.
Robert
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘Possible bug regarding post formats’ is closed to new replies.