Post Types Order

Описание

Over 9.8 MILLIONS DOWNLOADS and near PERFECT rating out of 200 REVIEWS.
A powerful plugin, Order Posts and Post Types Objects using a Drag and Drop Sortable JavaScript capability.

The order can be customized within default WordPress post type archive list page or a separate Re-Order interface which displays all objects.
It allows reordering the posts for any custom post types you defined, including the default Posts. Post Order has never been easier.

Применение

This plugin was developed considering everyone to be able to use the sorting feature, no matter the WordPress experience:

  • Установите плагин через интерфейс Install Plugins (Плагин —> Установить новый) или загрузите папку post-types-order в каталог /wp-content/plugins/.
  • Активируйте плагин Порядок записей
  • Новая страница настроек будет создана в Настройки > Сортировка типичных записей, вам нужно это проверить и сохранить первые параметры.
  • Using the AutoSort option as ON you don’t need to worry about any code changes, the plugin will apply the customized post order on fly.
  • Use the Re-Order interface which appears to every custom post type (non-hierarchical) to change the post order to a new one.
  • Если предпочтение отдается сортировке через код, включите ‘orderby’ =>’menu_order’ в пользовательские аргументы запроса, более подробную информацию смотрите по адресу http://www.nsp-code.com/sample-code-on-how-to-apply-the-sort-for-post-types-order-plugin/

Пример использования

Как видите, перетаскивание и сортировка сразу меняют внешний вид.
Если по какой-то причине ваш вид не обновляется, то вы либо делаете что-то неправильно, либо код вашей темы не использует стандартный запрос для правил WordPress Codex. Но мы все еще можем помочь. Используйте форум, чтобы сообщить о вашей проблеме, поскольку есть много людей, которые с радостью вам помогут.

Что-то не так с этим плагином на вашем сайте? Просто используйте форум или свяжитесь с нами по адресу Contact, и мы проверим его.

Хотите больше? Ознакомьтесь с расширенной версией этого плагина в Расширенной Сортировке типичных записей, которая включают в себя порядок иерархических сообщений, ручную и автоматическую сортировку, индивидуальную сортировку категорий, сортировку по условиям, разбиение на страницы для большого списка, готовность к мобильной версии, расширенный интерфейс, совместимость с плагинами (поддержка MultiSite Network, WPML, Polylang, WooCommerce, WP E-Commerce, Platform Pro, Genesis и т. д.), интерфейс изменения порядка шрифтов, … и многое другое !!

Этот плагин разработан Nsp-Code

Локализация

Хотите внести свой вклад с переводом на ваш язык? Пожалуйста, проверьте https://translate.wordpress.org/projects/wp-plugins/post-types-order
http://www.nsp-code.com

Скриншоты

  • Интерфейс "Изменить порядок", через который можно создать сортировку.

  • Сортировка может работать с типичными записями в пределах интерфейса WordPress по-умолчанию.

Установка

  1. Загрузите папку post-types-order в вашу папку /wp-content/plugins/.
  2. Активируйте плагин из Консоль > Плагины.
  3. После активации проверьте Настройки > Сортировка типичных записей
  4. Use Re-Order link which appear into each post type section or use default WordPress interface to make your sorting.

Часто задаваемые вопросы

Не стесняйтесь обращаться к нам по адресу electronice_delphi@yahoo.com

Since I have no PHP knowledge at all, is this plugin for me?

Absolutely, you can!
Unlike many other plugins, you don’t have to do any code changes to make your post order to apply, accordingly to custom-defined order. There is an option to auto-update the WordPress queries so the posts will be returned in customised order. This can be turned off (Autosort) to allow customized code usage.

Как вручную применить сортировку по запросам

Include a ‘orderby’ => ‘menu_order’ property within your custom query arguments.

What kind of posts/pages does this plugin allow me to sort?

You can sort ALL post types that you have defined into your WordPress as long they are not hierarhically defined: Posts (default WordPress custom post type), Movies, Reviews, Data etc..

Хорошо, я понимаю о сортировке шаблонов сообщений, как насчет интерфейса администратора?

There’s an option you can trigger, to see the post types order as you defined in the sort list, right into the main admin post list interface.

Есть функция, которую я хочу реализовать, можно что-то с этим сделать?

Все идеи приветствуются, и я помещаю их в свой список для внедрения в новые версии. В любом случае это занимает некоторое время, но если вы спешите, подумайте о небольшом пожертвовании, и мы сможем что-нибудь организовать.

Могу ли я заставить определенные запросы игнорировать пользовательскую сортировку при включенной Автосортировке?

This can be done by including the ignore_custom_sort within custom query arguments. An example can be found at http://www.nsp-code.com/advanced-post-types-order-api/sample-usage/

How can i force the sort to apply for certain queries when AutoSort is turned On?

A filter can be used to achieve that pto/posts_orderby. An example can be found at http://www.nsp-code.com/ignore-sort-apply-for-certain-query-on-post-types-order/

Мне все еще нужно больше функций, таких как сортировка внешнего интерфейса, короткие коды, фильтры, условная сортировка, расширенные запросы, сортировка иерархии категорий и т. д.

Рассмотрите возможность обновления до расширенной версии этого плагина по очень разумной цене Advanced Post Types Order (Расширенная сортировка типичных записей)

Отзывы

20.10.2023
Despite some negative reviews, I find the Post Types Order Plugin very useful for rearranging my art images. For my needs, I wouldn't be without it.
02.06.2023
Essential for when you need to move things around
31.05.2023
There were times when it worked fine. Now it doesn't work at all… Do you have any solution/update to get it working again
Посмотреть все 284 отзыва

Участники и разработчики

«Post Types Order» — проект с открытым исходным кодом. В развитие плагина внесли свой вклад следующие участники:

Участники

«Post Types Order» переведён на 22 языка. Благодарим переводчиков за их работу.

Перевести «Post Types Order» на ваш язык.

Заинтересованы в разработке?

Посмотрите код, проверьте SVN репозиторий, или подпишитесь на журнал разработки по RSS.

Журнал изменений

2.2.1

2.2

  • Formidable style fix when Autosort is active.
  • Plugin headers format update.
  • WordPress 6.5 compatibility check and tag update ( RC1 )

2.1.8

  • Fix: Media/images order, retrieve the items per page from user upload_per_page

2.1.4

  • PHP Deprecated fix: Constant FILTER_SANITIZE_STRING is deprecated
  • WordPress 6.4.3 compatibility check and tag update

2.1.2

  • PHP 8.2.4 check for compatibility
  • WordPress 6.4.2 compatibility check and tag update

2.1

  • Trigger wp_cache_flush when saving the order to clear the internal caches
  • WordPress 6.3 compatibility check and tag
  • Compatibility update for lite speed cache

2.0.9

  • Fix: is_plugin_active

2.0.7

  • Compatibility class re-build
  • Fix: Enfold templates when using Admin Sort

2.0.5

  • Merge the «default archive&drop» option and keep the individual menu Yes/No for the default WordPress interfaces, to avoid confusion.

2.0.2

  • The Archive drag & drop is disabled by default
  • Small layout changes
  • WordPress 6.2 compatibility tag

2.0

  • Update cmoposer.json to use the wpackagist.org
  • New option to select the drag & drop available for post types.
  • The drag & drop within the default WordPress interfaces can be done now through the new icon, under the checkbox, for each item.
  • Check if ajax call to avoid applying the order when autosort is disabled.
  • Update plugin header image

1.9.9.2

  • WordPress 6.1.1 compatibility tag

1.9.9.1

  • WordPress 6.0 compatibility tag

1.9.9

  • Fix layout change when sorting by drag&drop within default WordPress interface.
  • Add placeholder row size by setting a tr colspan of the dragable element.

1.9.8

  • Readme file updates, typos fixes.
  • WordPress 5.9 compatibility tag

1.9.7

  • Удалить кнопку Twitter
  • Remove unused gif image
  • HTPML and CSS cleanup

1.9.5.7

  • Очистка кода
  • WordPress 5.8.1 compatibility tag

1.9.5.6

  • Исправлено уведомление PHP implode()

1.9.5.5

  • Исправлено уведомление PHP implode()

1.9.5.4

  • Исправлено уведомление PHP implode()
  • Ensure the drag & drop interface show for correct post types, non hierarchically to ensure correct functionality
  • WordPress 5.6 compatibility tag

1.9.5.2

  • Clean post cache on order update to allow menu_order to change on cached data
  • Метка совместимости с WordPress 5.5

1.9.5.1

  • Fix: Outputs the admin save notice through admin_notices filter

1.9.5

  • Fix: disable drag & drop within taxonomies interfaces; fix WooCommerce attributes sort issue
  • Reorder interface slight styles improvements
  • Обновлены метки совместимости для WordPress 5.4.2

1.9.4.3

  • Option text translation update
  • Changed the posts class to to wp-list-table when applying sortable for better compatibility
  • Обновлены метки совместимости для WordPress 5.4

1.9.4.2

  • Обновлены метки совместимости для WordPress 5.3

1.9.4.1

  • Ignore the Events Calendar posts
  • Filter typo fix

1.9.3.9

  • Ignore sorting when doing Search and there’s a search key-phrase specified.
  • Ignore sorting when doing Search within admin dashboard
  • Removed Google Social as it produced some JavaScript errors
  • Обновление меток WordPress 4.9.7

1.9.3.6

  • Clear LiteSpeed Cache on order update to reflect on front side
  • Обновление меток WordPress 4.9.1

1.9.3.5

  • Fix: updated capability from switch_theme to manage_options within ‘Minimum Level to use this plugin’ option
  • Default admin capability changed from install_plugins to manage_options to prevent DISALLOW_FILE_MODS issue. https://wordpress.org/support/topic/plugin-breaks-when-disallow_file_mods-is-set-to-true/
  • Prepare plugin for Composer package

1.9.3.3

  • Опция плагина для включения аргумента запроса ASC / DESC

1.9.3.2

  • Включить ASC / DESC, если есть аргумент запроса порядка
  • Avada исправляет игнорирование ‘product_orderby’

1.9.3.1

  • Уведомление о совместимости WordPress 4.8
  • Незначительные изменения кода, удаление неиспользуемых кавычек активировать / деактивировать
  • Обновлен файл перевода .po
  • Активы обновлены

1.9.3

  • Исправлена сортировка для пользовательских типичных объектов на странице где используется сортировка перетаскиванием интерфейса архива по-умолчанию
  • Код плагина переписан и реструктурирован
  • Улучшена совместимость с другими плагинами
  • Улучшения безопасности для обновления сортировки с помощью AJAX

1.9

  • Убрать перевод из пакета
  • Убрать ссылку на пожертвования
  • Wp Скрыть уведомление о доступности плагина
  • Новый фильтр pto/get_options позволяет изменять параметры по-умолчанию; Пользовательские возможности могут быть установлены на «возможно»
  • Новый фильтр pto/admin/plugin_options/capability добавляет возможность быть включенным в пользовательский html

1.8.9.2

  • Исправлен WPDB аргумент подготовки
  • Объекты предпочтений пользователя на странице установлены по умолчанию, если пустые

1.8.9

  • Дублено Nonce для настроек администратора
  • Update queries to use prepare
  • Drag & Drop Sortable within Post Type archive interface
  • Очистка кода
  • Установлено ограничение по времени для вызовов ajax, чтобы применить выполнение кода.

1.8.7

  • Admin Post / Page Gallery items order fix
  • New filter pto/posts_orderby to ignore sort apply

1.8.6

  • PHP 7 deprecated nottice fix Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP;
  • Fix: $_REQUEST[‘action’] comparison evaluate as Identical instead equal
  • New filter cpto/interface_itme_data to append additional data for items within sortable interface
  • Slight style updates
  • Replaced Socialize FB like page

1.8.5

  • Text domain change to post-types-order to allow translations at https://translate.wordpress.org/projects/wp-plugins/post-types-order
  • New query argument ignore_custom_sort , to be used with Autosort. Ignore any customised sort and return posts in default order.

1.8.4.1

  • Sortable interface styling improvements
  • Portuguese translation update — Pedro Mendonca — http://www.pedromendonca.pt
  • Text doamin fix for few texts

1.8.3.1

  • Advanced Custom Fields Page Rule fix
  • Show / Hide Re_order inderface for certain menus. Option available within Settings area.
  • Media Sort interface objects order fix, when query-attachments REQUEST
  • Bug — Thumbnails test code remove

1.8.2

  • Media Uploaded To after sort fix

1.8.1

  • Next / Previous sorting apply bug fix for custom taxonomies
  • Portuguese translation update — Pedro Mendonca — http://www.pedromendonca.pt
  • Options — phrase translation fix

1.7.9

  • Next / Previous sorting apply option
  • Filter for Next / Previous sorting applpy
  • Help updates
  • Appearance /css updates
  • Исправление сортировки столбцов администратора
  • Media re-order

1.7.7

  • Next / Previous post link functionality update
  • Code improvements
  • Norvegian translation update — Bjorn Johansen bjornjohansen.no
  • Czech translation — dUDLAJ; Martin Kucera — http://jsemweb.cz/

1.7.4

  • Japanese translation — Git6 Sosuke Watanabe — http://git6.com/
  • Portuguese translation update — Pedro Mendon?a — http://www.pedromendonca.pt
  • Chinese translation — Coolwp coolwp.com@gmail.com

1.7.0

  • Swedish translation — Onlinebyran — http://onlinebyran.se
  • Portuguese translation — Pedro Mendon?a — http://www.pedromendonca.pt
  • AJAX-фильтр сохранения

1.6.8

  • Edit Gallery — image order fix
  • «re-order» menu item allow translation
  • Hungarian translation — Adam Laki — http://codeguide.hu/
  • Minor admin style improvements

1.6.5

  • Updates/Fixes
  • German translation
  • Norwegian (norsk) translation

1.6.4

  • DISALLOW_FILE_MODS fix, change the administrator capability to switch_themes

1.6.3

  • Updates/Fixes
  • Menu Walker nottices Fix

1.6.2

  • Updates/Fixes
  • Turkish — T?rk?e translation

1.6.1

  • Updates/Fixes
  • Menu Walker nottices Fix
  • Hebrew translation — Lunasite Team http://www.lunasite.co.il
  • Dutch translation — Denver Sessink

1.5.8

  • Updates/Fixes
  • Ignore Search queries when Autosort is ON
  • Text Instances translatable fix
  • Italian translation — Black Studio http://www.blackstudio.it
  • Spanish translation — Marcelo Cannobbio

1.5.7

  • Updates/Fixes
  • Using Capabilities instead levels
  • Updating certain code for WordPress 3.5 compatibility
  • Set default order as seccondary query order param

1.5.4

  • Updates/Fixes

1.5.1

  • Updates/Fixes

1.4.6

  • Get Previous / Next Posts Update

1.4.3

  • Small improvements

1.4.1

  • Re-Order Menu Item Appearance fix for update versions
  • Improved post order code

1.3.9

  • Re-Order Menu Item Appearance fix

1.3.8

  • Another Plugin conflict fix (thanks Steve Reed)
  • Multiple Improvments (thanks for support Video Geek — bestpocketvideocams.com)
  • Localisation Update (thanks Gabriel Reguly — ppgr.com.br/wordpress/)

1.1.2

  • Bug Fix

1.0.9

  • Admin will set the roles which can use the plugins (thanks for support Nick — peerpressurecreative.com)

1.0.2

  • Default order used if no sort occour

1.0.1

  • Post order support implemented

1.0

  • First stable version (thanks for support Andrew — PageLines.com)

0.9.

  • Первый релиз