WordPress.org

Ready to get started?Download WordPress

Forums

List Pages Shortcode
[resolved] Support Custom Post Types (8 posts)

  1. Eric
    Member
    Posted 1 year ago #

    Please do add support for custom post types. As noted in this request two years ago, the fix is very simple, just one line added to the defaults. If you simply include 'post_type' => 'page', in the default array, then we can override that default with something like [child-pages post_type='articles'] to support our own custom post types. The change has no ill effects or backward compatibility issues.

    Custom post types are now more common than they were two years ago, since recent versions of WordPress have made using them easier. Please include this fix in your next update of List Pages Shortcode so that we don't have to patch the code after each update.

    Thanks!

    http://wordpress.org/extend/plugins/list-pages-shortcode/

  2. Ben Huson
    Member
    Plugin Author

    Posted 1 year ago #

    Yes, I'll definitely get that added into the next version!

  3. Ben Huson
    Member
    Plugin Author

    Posted 1 year ago #

    Please test this updated version and let me know if it works as expected.
    https://github.com/benhuson/list-pages-shortcode/archive/master.zip

    Thanks

  4. mlapi73@
    Member
    Posted 1 year ago #

    hello

    thanks for the plug in

    is there a way to only password protect a blog category diretory

    thanks

    mario

  5. Ben Huson
    Member
    Plugin Author

    Posted 1 year ago #

    I'm not sure how that related to the List Pages Shortcode plugin. Have you posted in the wrong thread?

  6. Ben Huson
    Member
    Plugin Author

    Posted 9 months ago #

    Version 1.6 now accepts post_type as a parameter.

  7. Eric
    Member
    Posted 9 months ago #

    Thanks, Ben. You've been busy!

  8. Ben Huson
    Member
    Plugin Author

    Posted 9 months ago #

    I found some time to catch up on bug fixes ;)

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic