WordPress.org

Support

Support » Plugins and Hacks » WP Most Popular » [Plugin: WP Most Popular] custom post type

[Plugin: WP Most Popular] custom post type

Viewing 4 replies - 1 through 4 (of 4 total)
  • 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';

    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’;

    Plugin Author MattGeri

    @mattgeri

    Hi all,

    Multiple post type support is coming soon 🙂

    Matt

    great news Matt ! thanks!

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘[Plugin: WP Most Popular] custom post type’ is closed to new replies.
Skip to toolbar