• Good morning,

    I love the plugin. It’s a great solution for sites with many pages. My clients seem to appreciate it.

    My situation requires that I have complete control over elements within admin. The menu of pages output by your plugin should be accessible, but certain pages unlisted. Hiding the li.nestedSortable on a per-page basis isn’t possible so I needed to find a work-around.

    I don’t like editing core plugin files, but in this case I don’t have another option interim. So I thought I would suggest adding this solution to assign classes unique to the page ID for CSS.

    Here’s my suggested edit of the index.php on line 233 file to append the page ID within the class.

    Original: $output .= "<li class='$class''data-post-id='".$one_page->ID."'>";

    Edit: $output .= "<li class='$class css-".$one_page->ID."''data-post-id='".$one_page->ID."'>";

    Very simple solution and now menu page links have unique classes for CSS. 🙂

    Perhaps consider this in the next update, if any?

    https://wordpress.org/plugins/admin-menu-tree-page-view/

The topic ‘Admin Menu CSS’ is closed to new replies.