Support » Plugin: WordPress Popular Posts » Custom Post Taxonomy

  • nikjvale

    (@nikjvale)



    I know how to display popular posts from a category using

    <?php wpp_get_mostpopular(‘post_type=”post”&cat=”1″?>

    is it possible to display popular custom post types with a certain taxonomy? Using something similar to above doesn’t seem to work.

    <?php wpp_get_mostpopular(‘post_type=”custom_post_type”&cat=”1″?>

    Thanks in advance,
    Nik

    https://wordpress.org/plugins/wordpress-popular-posts/

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

    (@hcabrera)

    Hi Nik,

    The cat parameter is for categories. Is this taxonomy you mention a category as well?

Viewing 1 replies (of 1 total)
  • The topic ‘Custom Post Taxonomy’ is closed to new replies.