WordPress.org

Support

Support » Plugins and Hacks » [Resolved] how to pull and display count from custom post types ?

[Resolved] how to pull and display count from custom post types ?

  • southcast
    Member

    @southcast

    Congrats on such a great little plugin and an awesome support.

    Although, It displays the recommend button on my single-custom-post-type article and works fine, I am having a little issue trying to get the count in the “most recommended posts” widget, from the custom-post-type articles. Seems like plugin is configured to only pull the counts from the wordpress’s default-post-type.

    I would very much like to pull and display the counts from my CPTs. Any suggestion on how I can make this happen.

    Cheers !

    http://wordpress.org/extend/plugins/i-recommend-this/

Viewing 2 replies - 1 through 2 (of 2 total)
  • southcast
    Member

    @southcast

    Never mind, I got it. Just had to change the post-type in the line
    481 of dot-irecommendthis.php
    Just leaving a feedback here in case someone else wished to do the same.
    Once again. Thank you Mr. Developer for such a cool plugin.

    Mat
    Member

    @mat2010

    That works perfectly. Thanks for sharing your solution, @southcast !

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘[Resolved] how to pull and display count from custom post types ?’ is closed to new replies.