跳到内容

Sort Pages, Set Categories

v1.0

sloanthrasher · 2024年9月12日 上架

Organize pages drag-and-drop and set categories. --- ---

正在使用
10+
评分
暂无
累计下载
2,698
最近更新
2024年9月13日
需要 WordPress 5.3+已测试到 6.6.12PHP 7.3+

贡献者

What It Does

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.

Features

  • Drag-and-drop page sorting
  • Assign categories (0 or more) to pages using multiple select
  • Save the page order and categories with a single click
  • Display pages in the saved order

How to uninstall the plugin?

Simply deactivate and delete the plugin.

Usage

  • After activating the plugin, go to Appearance > Sort and Categorize Pages in the WordPress admin dashboard.
  • You will see a list of your pages. Drag and drop the rows to reorder the pages as desired.
  • Use the category dropdown to assign a category to each page.
  • Click the “Save Changes” button to save the order and categories.

Files

sort-pages-set-cat.php

– 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.

css/cstspp_styles.css

– This file contains the CSS styles for the plugin. It styles the table, order number, page title, category dropdown, and save button.

js/cstspp_scripts.js

– 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.

assets/*.png

  • This folder contains the images used in the plugin, and plugin’s documentation.

languages/*.mo

  • This folder will contain the translation files for the plugin. To Be Done.

Plums

按场景查找 WordPress 插件。安装量、评分和兼容版本来自官方目录。

导航

说明

WordPress 是 WordPress Foundation 的商标。本站与 WordPress Foundation、Automattic 没有隶属关系。这里不托管插件文件,下载和安装以 WordPress.org 上的页面为准。

© 2026 Plums