WordPress.org

Support

Support » Plugins and Hacks » Add more than one custom post type to get_mostpopular

Add more than one custom post type to get_mostpopular

Viewing 1 replies (of 1 total)
  • Plugin Author Hector Cabrera
    Participant

    @hcabrera

    Hi Stefan,

    Just pass the other post types separated by comma, like this:

    <?php get_mostpopular("post_type='podcast,video'&range=weekly&limit=5&order_by=avg&stats_comments=0&pages=0"); ?>

Viewing 1 replies (of 1 total)
  • The topic ‘Add more than one custom post type to get_mostpopular’ is closed to new replies.