Featured slider shown on /?post_type=podcast. Shouldn't show.
-
Hello all,
I’m displaying podcast episodes in my wordpress installation. I use:
https://www.libertarios.info/?post_type=podcast
But this page shows the featured posts that are not of post_type=podcast. As I understand from the WP codex, the preference for templates would be:
archive-podcast.php
archive.phpand finally
index.php
But I don’t understand why the featured posts are displayed, since I have an archive-podcast.php and an archive.php, but the featured post code is in index.php:
<?php get_template_part(‘inc/featured’); ?>
Would this be a bug/limitation of hueman? What should I do to keep the featured posts from displaying when WP should be displaying an archive page only?
- The topic ‘Featured slider shown on /?post_type=podcast. Shouldn't show.’ is closed to new replies.