Elephant Post Order

Apraksts

This plugin allows you to easily reorder your WordPress posts by dragging and dropping them in the admin “All Posts” list.
It updates each post’s menu_order value and can optionally modify front-end queries so that posts are displayed in the same order you set.

Features

  • Adds a “Reorder” column with a drag handle in the Posts list.
  • Supports drag and drop reordering directly in the WordPress admin.
  • Saves order instantly via AJAX.
  • Optionally changes front-end queries to order by menu_order instead of date.
  • Lightweight, no external dependencies.

Uzstādīšana

  1. Upload the plugin folder post-reorder-dragdrop to the /wp-content/plugins/ directory, or upload the ZIP from Plugins Add New.
  2. Activate the plugin through the “Plugins” screen in WordPress.
  3. Go to Posts All Posts. You’ll see a new “Order” column with a drag handle.
  4. Drag posts to reorder them. The order is saved automatically.

BUJ

Does this work for Pages or Custom Post Types?

By default, it only applies to Posts.
You can extend it by editing the plugin code to register the reorder column for other post types.

Will it affect my theme or other plugins?

It changes the menu_order field. If your theme or another plugin already uses menu_order, you should test carefully.

How do I disable the front-end reordering?

Comment out or remove the pre_get_posts action at the bottom of the main plugin file.

Atsauksmes

Par šo spraudni nav atsauksmju.

Autori un izstrādātāji

“Elephant Post Order” ir atvērtā pirmkoda programmatūra. Šo spraudni ir veidojuši šādi cilvēki.

Līdzdalībnieki

Tulkot “Elephant Post Order&#8221 savā valodā.

Vai jūs interesē attīstība?

Pārlūkojiet kodu, apmeklējiet SVN krātuvi vai abonējiet attīstības žurnālu, ko izveidojis RSS.