WordPress.org

Ready to get started?Download WordPress

Forums

archive.php looping custom post type not the posts (1 post)

  1. sdjentertainment
    Member
    Posted 2 years ago #

    Hello Fellow WP'ers

    I've been working on a theme, mainly the archive.php file and it's doing something I've never seen before.

    Inside my sidebar I have the following and everything is working just fine.
    <?php wp_get_archives('type=monthly'); ?>

    However, when I click on any link generated from the above I get to the archive.php template and it out puts the most recent post from a custom post type, not from the built in blog portion of the site.

    Just wondering if anybody out there has experienced this problem before.

    Cheers,
    Simon

Topic Closed

This topic has been closed to new replies.

About this Topic

  • RSS feed for this topic
  • Started 2 years ago by sdjentertainment
  • This topic is not resolved
  • WordPress version: 3.3.1