Skip to content

Sort Pages and Assign Categories

[csttoc_index title=”In This Article” selectors=”.nv-single-page-wrap h2, .nv-single-page-wrap h3, .nv-single-page-wrap h4″]

Streamlining Your WordPress Admin: How to Sort and Categorize Pages Easily

Managing a WordPress site with numerous pages can become quite a task, especially when trying to maintain a logical order and assign relevant categories to each page. To simplify this process, I’ve developed the Sort Pages Plugin, a simple, user-friendly tool designed to help you organize your pages effortlessly.

What is the Sort Pages And Categorize Pages Plugin?

The Sort Pages Plugin is a versatile WordPress plugin that allows you to rearrange your pages with simple drag-and-drop functionality and assign categories to them through an intuitive dropdown menu. This plugin seamlessly integrates with your WordPress admin dashboard, adding a new menu item under the Appearance section.

Key Features

  • Drag-and-Drop Sorting: Easily reorder your pages by dragging and dropping them into your desired sequence.
  • Category Assignment: Quickly assign one or more categories to each page listed using a dropdown menu. Also remove one or more categories from a page.
  • Save with One Click: Save the new order and category assignments with a single click.
  • Reflect Order in Display: Ensure your pages are displayed in the saved order across your site.

Getting Started

Installation

  1. Download the plugin files and upload them to your WordPress site’s wp-content/plugins directory.
  2. Activate the plugin through the ‘Plugins’ menu in WordPress.

Using the Plugin

Once installed, Sort And Categorize Pages will appear in the Appearance menu in the admin section of your site.

  1. Navigate to Appearance > Sort Pages in your WordPress admin dashboard.
  2. Upon clicking the menu item, you’ll be presented with a list of your pages. This list will show the current order, the title of each page, an excerpt of the page, and the assigned categories (if any).
  3. To reorder the pages, simply drag and drop the rows into the desired sequence. You can also select one or more categories for each page from the dropdown menu.
  4. Once you’ve made your changes, click the Save Changes button at the bottom of the list to save your new order and category assignments.

Tips for Effective Page Management

  • Pre-Create Categories: Before using this utility, ensure you’ve created all the categories you need, including any sub-categories. This preparation will save time and streamline the assignment process.
  • Use with Other Plugins: If you’re using the Pages By Category and Sub-Categories plugin, the levels of the categories will be reflected in the page lists it generates, providing a cohesive experience.
  • Regularly Save Changes: Always click the Save Changes button before leaving the page to ensure your adjustments are saved.

Conclusion

The Sort Pages Plugin is a useful tool for any WordPress admin looking to maintain a well-organized site structure. By simplifying the process of sorting pages and assigning categories, this plugin helps you keep your site intuitive and user-friendly.

Specifically useful for themes that do not have the ability to set page order.

Features that I want to add include

  1. Pagination:
    • Allow users to set the number of page items displayed per page.
    • Enable a search functionality to quickly find specific pages.
  2. Add Block Actions:
    • Allow assigning one or more categories to selected pages.
    • Allow removing one or more categories for selected pages.
  3. Search For Page:
    • Enable a search functionality to quickly find specific pages by Title, Author Name, and Date.
  4. Filter By Category:
    • Add the ability to filter the list of pages based on selected categories.
  5. Add Categories:
    • Provide an option to create new categories directly from the maintenance page.
  6. Adding Language Support on the Maintenance Page:
    • Implement additional languages to make the maintenance page accessible in multiple languages.

This is the first plugin I’ve written, so your feedback will be greatly appreciated! Any suggestions regarding the user interface, how it functions, or features that should be integrated will be greatly appreciated.


For more information, updates, and support, visit our GitHub page. Bug reports, feature requests, and comments are welcome and appreciated. Happy organizing!

Support My Programming Addiction!

I love writing software and have been doing so for several decades. This plugin is offered free of charge, and you are welcome to use it on as many sites as you like, without any fee. Now that I am retired, instead of doing others’ bidding, I get to choose what I want to work on. However, even after retirement, I can’t seem to stay away from my computer, continually creating web pages, programs, and plugins. I even get the shakes if I’m away from my computer for a few days!

If you have found this plugin useful, and it has saved you time and effort, I would greatly appreciate a small token of your thanks. You might buy me a fancy coffee, a fast food lunch, or even dinner with my sweetheart. Click here to make a donation.