WordPress.org

Ready to get started?Download WordPress

Forums

Better WordPress Recent Comments
Custom Post Type Selection Not Working (2 posts)

  1. WebEndev
    Member
    Posted 5 months ago #

    Hello,

    When I select a custom post type from the drop down in the widget, it returns a mix of those custom post types comments, plus a comment from the 'post' post type.

    What I think is happening is this:
    I have only 4 comments in the my 'Prompt' custom post type.
    In the plugins General Options tab, 'Show at most X recent comments' is set to 5. Since I have only 4 comments in my custom post type, it is returning those 4 comments, plus one comment from the normal 'post' post type.
    What it should be doing is returning ONLY the custom post type comments, even if there are less than the number in the 'Show at most' setting.

    Hope this is clear.

    Very nice plugin. Thank you for your work on this.

    https://wordpress.org/plugins/bwp-recent-comments/

  2. Khang Minh
    Member
    Plugin Author

    Posted 5 months ago #

    Hmm this should not happen, I will try to reproduce and let you know. Other than post type do you select any other setting for your widget?

Reply

You must log in to post.

About this Plugin

About this Topic

Tags

No tags yet.