Download the PHP package sectsect/wp-tag-order without Composer

On this page you can find all versions of the php package sectsect/wp-tag-order. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package wp-tag-order

WP Tag Order

Plugin Check PHP Unit Tests PHPStan PHP Coding Standards

Order tags independently in each posts (not site-globally) on WordPress with simple Drag-and-Drop ↕︎ sortable feature.

[!IMPORTANT] This plugin is NOT compatible with Gutenberg on WordPress 5.x. Consider using Classic Editor Plugin.

[!IMPORTANT] Mutation events will no longer be supported in Google Chrome and Edge in July 2024 (Google Chrome on July 23, 2024, and Microsoft Edge the week of July 25, 2024). As a result, WP Tag Order versions 3.6.0 or less will not work with Chrome v127 and later, which will be released on July 23, 2024.
You have to update to v3.7.0 or later.
If you still need PHP7 support, see Troubleshooting below.
See Chrome for Developers Blog for more details.

Get Started

  1. Clone this Repo into your wp-content/plugins directory.

  2. Activate the plugin through the Plugins menu in WordPress.
  3. Go to Settings -> WP Tag Order page to select which taxonomies to enable ordering for.

Features

Notes

Requirements

APIs

Function Description
get_the_tags_ordered() Based on get_the_tags() - Codex
get_the_terms_ordered() Based on get_the_terms() - Codex
get_the_tag_list_ordered() Based on get_the_tag_list() - Codex
get_the_term_list_ordered() Based on get_the_term_list() - Codex
the_tags_ordered() Based on the_tags() - Codex
the_terms_ordered() Based on the_terms() - Codex

Usage Example

get_the_tags_ordered()

get_the_terms_ordered()

get_the_tag_list_ordered()

get_the_term_list_ordered()

the_tags_ordered()

the_terms_ordered()

Programmatic Tag Order Management

The plugin provides a Tag_Updater class for developers to programmatically manage tag order:

This class allows flexible tag order updates directly from your theme or custom plugin code, supporting both array and string inputs with robust validation.

Return Value

update_tag_order() returns: int|bool

REST API

The WP Tag Order plugin provides two REST API endpoints for managing tag order:

Get Tag Order

Example Request

w/ cURL

Update Tag Order

Example Request

w/ cURL

Example Response

Authentication

For Developers

Troubleshooting

Still need support for PHP 7.

I have a branch php7 to support PHP 7 and End-of-Life for JaveScript Mutation events.
The branch will not be maintained anymore, so I recommend you migrate to PHP 8.

Change log

See CHANGELOG file.

License

See LICENSE file.

✌️

A little project by @sectsect


All versions of wp-tag-order with dependencies

PHP Build Version
Package Version
Requires php Version >=8.0
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package sectsect/wp-tag-order contains the following files

Loading the files please wait ....