WordPress.org

Forums

WP Most Popular
custom post type (5 posts)

  1. kowalski
    Member
    Posted 3 years ago #

    very simple and realy great. will you add custom post type support in near future?

    http://wordpress.org/extend/plugins/wp-most-popular/

  2. idonic
    Member
    Posted 3 years ago #

    As a temporary fix, while the plugin author doesn't solve this, i managed to make it work with custom post types.

    On wp-most-popular/system/helpers.php simply change line 7 from:

    $post_type = 'post';

    to

    $post_type = 'my_custom_post_type_name';

  3. kowalski
    Member
    Posted 3 years ago #

    great, what if i want to display it form 2 diferent CPT?
    does it make sense?

    $post_type = 'my_custom_post_type_name1', 'my_custom_post_type_name2';

  4. MattGeri
    Member
    Plugin Author

    Posted 3 years ago #

    Hi all,

    Multiple post type support is coming soon :)

    Matt

  5. kowalski
    Member
    Posted 3 years ago #

    great news Matt ! thanks!

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • WP Most Popular
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic