CMS Tree Page View
[resolved] Filtering the titles in the tree view (3 posts)

  1. Ben Huson
    Posted 2 years ago #

    It would nice to get able to filter the titles just in the tree page view.

    I have a custom post type where lots of posts have the same title (but different content and meta data) and I would like to append the excerpt or custom meta to the title in the Tree View in the admin as otherwise I just get a list of similar titles.

    I could use a WordPress filter to filter the title but that affects all titles, there doesn't seem to be any appropriate hooks to narrow it down just to the tree view.

    I'm thinking either the introduction of a CMS Tree View Title filter might be useful:

    $title = apply_filters( 'cms_tree_page_view_post_title', $title, $onePage );

    Many thanks


  2. Pär Thernström
    Plugin Author

    Posted 2 years ago #

    Nice idea! I'll add it to my to-do-list.

    If you're handy you could do a pull request for it here:

  3. Ben Huson
    Posted 2 years ago #

    Nice, I see you just added this in version 1.2.27

    Thank you :)

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • CMS Tree Page View
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic