CMS Page Order
[resolved] Filter request (3 posts)

  1. jaqx
    Posted 3 years ago #

    Hi, firstly love your plugin. I would like to request a filter for the $defaults array in the cmspo_list_pages function [line 302] so I can customise the query that grabs the posts to be displayed in the tree.

    For me this would be greatly useful as I use my own navigation system and want to only display posts that have certain meta data attached to them so as to not confuse my clients with posts that shouldn't be there.


  2. Bill Erickson
    Plugin Author

    Posted 3 years ago #

    Just added it: https://github.com/billerickson/cms-page-order/commit/bdaf79a521ba9811e5065265aaf5b401eb6c7b8c

    When a few more features are added, I'll push out this new version on WordPress.org (not many people will benefit from this filter, so no use having them update).

    You can download the development version which includes this feature here: https://github.com/billerickson/cms-page-order/archive/master.zip

  3. jaqx
    Posted 3 years ago #

    Great thanks Bill, I hope it makes it to a proper release here on WP soon!

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • CMS Page Order
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic


No tags yet.