WordPress.org

Ready to get started?Download WordPress

Forums

Display Posts Shortcode
[resolved] How could I use this plugin with custom post type? (3 posts)

  1. intidigital
    Member
    Posted 8 months ago #

    HI,

    Could you please tell me how to use this plugin with custom post type?
    Any idea will be appreciate.
    Cheers.

    http://wordpress.org/plugins/display-posts-shortcode/

  2. kerso
    Member
    Posted 5 months ago #

    :((

    I have the same problem. Main problem is we use custom templates & themes. But the plugin is not well coded, even if it overrides theme the listing sucks.

    I tried another plugin too, none of them works with Blog Templates. Only working with Default Template.

    Let see, maybe we need to code from scratch, but i can't understand why these simple issue has no solution.

    We want to be able to categorize the posts with any template or theme. Currently it is calling WP_Query in same place with templates, so either plugin or template works.. :(

  3. Bill Erickson
    Member
    Plugin Author

    Posted 5 months ago #

    You can use the "post_type" parameter in the shortcode to use it with a custom post type. Let's say you had a post type called "listings". This would show the most recent listings:

    [display-posts post_type="listings"]

    kerso, it sounds like your current theme is interfering with WordPress queries. If none of these types of plugins work, there's something wrong in your theme. I recommend you hire a developer to clean up your current theme, or switch to a better coded one.

Reply

You must log in to post.

About this Plugin

About this Topic