@hotpixelsdesign Do you have another plugin that provides sort column configuration? I can add the ability to force the sort column to a desired value. But if I know more about your current implementation, I might be able to accommodate it without additional configuration steps.
Permissions hooks into the ‘get_pages’ filter, maintaining the sort_column value that is passed in.
@kevinb Thank you for your fast reply. I used an older plugin to test the sorting (https://wordpress.org/plugins/cms-page-order/) but it seems something might be wrong with this plugin and the way the sorting information is saved, since sometimes the page order is not saved correctly. I will look into this first.
It’s just a bit strange that WordPress seems to sort the pages correctly when no sort_column value is provided (default sorting) and this sorting differs from the default behaviour of the plugin or is changed as soon as the plugin is activated.
In Settings -> Editing the plugin provides the option to order the Page Parent dropdown by title. Could you point me into a direction how i could add more sorting options on this settings page by altering the plugin code for more tests?
EDIT: Using the build in function to change the order (Page Attributes -> Order) the menu order is not shown correctly when using the plugin. As soon as the plugin is activated, sometimes even the set parent is not showing up correctly when editing a page. It is working if you use Quickedit (at /wp-admin/edit.php?post_type=page) but not on the side in the Page Attributes box (/wp-admin/post.php?post=XX&action=edit). The pages are not ordered in the correct way or even missing.
Hi @hotpixelsdesign. Sorry, but I’m not sure this is a question about PublishPress Permissions? I tried the “CMS Page Order” plugin but really only saw error messages.
@stevejburge I dont see the issue as resolved. The error messages shown by CMS Page Order are warnings, since the plugin is old and not using the latest Walker_Page arguments. This can be easily fixed.
But even when not using the plugin but changing the page order using the build in function (setting a number via Page Attributes -> Order) causes the bug. Once Permissions is activated, the sorting is not correct and sometimes a page parent is even displayed as “No Page Parent” in the dropdown field.
Hi @hotpixelsdesign
We’re not able to recreate that error.
Please use the support form on our site to send more details.
You can include screenshots and your site’s “Site Health” information.