Sort Pages Set Category is a WordPress plugin that allows you to organize your pages using drag-and-drop
and assign categories to the pages.
This plugin adds a menu item under the Appearance menu in the WordPress admin
dashboard, where you can easily reorder pages and save their order and category.
Simply deactivate and delete the plugin.
– This is the main plugin file that handles the functionality of the plugin. It registers the admin menu, enqueues scripts and styles, displays the admin page, and defines the REST API endpoint for saving the order and categories.
– This file contains the CSS styles for the plugin. It styles the table, order number, page title, category dropdown, and save button.
– This file contains the JavaScript for the plugin. It initializes the sortable functionality for the table rows, collects the order and category data, and sends it to the REST API endpoint for saving.