plugin-icon

Sort Pages, Set Categories

제작자: sloanthrasher·
Organize pages drag-and-drop and set categories. --- ---
버전
1.0
활성화된 설치 항목
10
최근 업데이트일
Sep 12, 2024

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.
무료Business 요금제에서
설치하면 WordPress.com 서비스 약관서드파티 플러그인 약관에 동의하게 됩니다.
테스트된 버전
WordPress 6.6.4
이 플러그인은 다운로드할 수 있으며 에서 사용할 수 있습니다.