You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Just wanted to see if there was any interest in using ajax to load the child pages on click of the dropdown icon.
We have a custom plugin that is heavily based on hierarchical CPTs. For the sake of performance I was considering using pre_get_posts to only show top level pages in the admin list. Not only would this help performance, but it would also then show the correct page count when viewing the admin page. Lastly, on click of the dropdown icon, ajax would load the child pages below the parent.
It may be more work than I'm thinking, but would be a really cool addition.
If it goes that route, it may be beneficial to create a settings page for which CPT's to use the plugin on, and which CPTs to use ajax load on.
Thoughts?
The text was updated successfully, but these errors were encountered:
Just wanted to see if there was any interest in using ajax to load the child pages on click of the dropdown icon.
We have a custom plugin that is heavily based on hierarchical CPTs. For the sake of performance I was considering using pre_get_posts to only show top level pages in the admin list. Not only would this help performance, but it would also then show the correct page count when viewing the admin page. Lastly, on click of the dropdown icon, ajax would load the child pages below the parent.
It may be more work than I'm thinking, but would be a really cool addition.
If it goes that route, it may be beneficial to create a settings page for which CPT's to use the plugin on, and which CPTs to use ajax load on.
Thoughts?
The text was updated successfully, but these errors were encountered: