• Resolved hugonz

    (@hugonz)


    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.php

    and 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?

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter hugonz

    (@hugonz)

    I found this into the plugin:

    ‘has_archive’ => false, // we create our own permastructs

    This is into the args in the register_post_type, I guess they do create their own permastructs. I guess I have to take it up to the plugin.

    Thread Starter hugonz

    (@hugonz)

    I’m changing this to resolved since I switches from podlove (custom post type) to Blubrry powerpress (no custome post type)

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Featured slider shown on /?post_type=podcast. Shouldn't show.’ is closed to new replies.