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

  1. shryansh
    Posted 5 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.


  2. scribu
    Plugin Author

    Posted 5 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

  • Smart Archives Reloaded
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic