plugin-icon

Sort Pages, Set Categories

Organize pages drag-and-drop and set categories. --- ---
Version
1.0
Aktive Installationen
10
Zuletzt aktualisiert
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.
Kostenlosmit dem Business-Tarif
Mit deiner Installation stimmst du den Geschäftsbedingungen von WordPress.com sowie den Bedingungen für Drittanbieter-Plugins zu.
Getestet bis
WordPress 6.6.4
Dieses Plugin steht für deine -Website zum Download zur Verfügung.