WordPress.org

Ready to get started?Download WordPress

Forums

Network Latest Posts
[resolved] multiple CPT's possible ? (5 posts)

  1. owagu
    Member
    Posted 1 year ago #

    Hi,

    LOVE this plugin. It's better than any of the commercial versions we have on stock ! NICE WORK !

    in the widget we'd like to show posts, mixed with our bbpress forum posts (custom post type = forum ). Is it possible to mix custom post types or do we have to choose between posts or forum ??

    (tried comma separated but that throws errors)

    http://wordpress.org/extend/plugins/network-latest-posts/

  2. Jose Luis SAYAGO
    Member
    Plugin Author

    Posted 1 year ago #

    Hello owagu,

    Thanks for your comments and your feedback. You're right till version 3.0.9 it wasn't possible to set multiple custom types because they were not being converted into arrays when multiple values were passed.

    I've fixed that, it's now possible to set multiple types as you expected. I've just uploaded the new version so it will be available in 15 minutes or so, until the new version has been pushed you can check out version 3.1 working here: Custom Post Types.

    Once you've update to the new version please let me know what do you think. I'm marking this topic as resolved, feel free to change that if you encounter any problem.

    Cheers.

  3. wpprogrammeurs.nl
    Member
    Posted 1 year ago #

    Yep, works wonderful ! all CPT's work alongside and mix & match.

    Feature request (If you have a lot of time :-) ) :
    standard placeholder/image to be set per CPT

    For instance, forumposts typically don't have featured images. Would be cool if we could either suppress thumbnails for certain CPT's, or select a placeholder URL to for example an image stating "FORUM POST" ...

  4. Jose Luis SAYAGO
    Member
    Plugin Author

    Posted 1 year ago #

    Hi, thanks for your feedback.

    Hehe, well I don't have a lot of free time to do it but I'll keep this in mind, I've already noted it, I'll see what I can do.

    Cheers.

  5. Jose Luis SAYAGO
    Member
    Plugin Author

    Posted 1 year ago #

    Hello again,

    FYI wpprogrammeurs.nl, you have the thumbnail_filler option which displays a placeholder when thumbnails are not present. Just use: [nlposts cpt=mycpt thumbnail=true thumbnail_filler=placeholder] (this takes the title and puts it inside the placeholder).

    Cheers.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags