WordPress.org

Ready to get started?Download WordPress

Forums

Filter Pages by parent in admin
[resolved] Filter appears at All Posts too (2 posts)

  1. JochenT
    Member
    Posted 2 years ago #

    Your filter is very useful but it appears on the edit page for posts too (/wp-admin/edit.php, without any argument). As posts are not hierarchical and not assigned to parent pages this does make no sense. Calling the function get_post_type_object($post_type) you can check the returned object if it has the property 'hierarchical'. This may help to restrict the display of your filter to such type of (custom) post types.

    http://wordpress.org/extend/plugins/filter-pages-by-parent-in-admin/

  2. James Irving-Swift (Swifty)
    Member
    Plugin Author

    Posted 2 years ago #

    JochenT,

    Have you tried upgrading to the latest version of the plugin. Version 1.2+ should resolve this.

    Regards,

    James

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic