WordPress.org

Ready to get started?Download WordPress

Forums

Smart Archives Reloaded
[resolved] archives don't display custom post type (2 posts)

  1. shryansh
    Member
    Posted 3 years ago #

    I'm trying to learn wordpress and get my hands dirty at it. Found your plugin and it's got great functionality. Works flawlessly with regular post type. Tried using it with custom post type it didn't seem to pick post from custom categories, something you might want to consider adding future releases.

    Thanks.

  2. scribu
    Member
    Plugin Author

    Posted 3 years ago #

    You can pass the post type in the second parameter, like so:

    <?php smart_archives('', 'post_type=my-post-type'); ?>

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic