Download the PHP package carawebs/wp-organise-posts without Composer
On this page you can find all versions of the php package carawebs/wp-organise-posts. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download carawebs/wp-organise-posts
More information about carawebs/wp-organise-posts
Files in carawebs/wp-organise-posts
Download carawebs/wp-organise-posts
More information about carawebs/wp-organise-posts
Files in carawebs/wp-organise-posts
Vendor carawebs
Package wp-organise-posts
Short Description Set the display order of WordPress Custom Post Types by drag and drop on the posts edit screen. Ordering is achieved by an index that is set when you drag and drop them in place.
License GPL-2.0+
Homepage http://example.com/
Package wp-organise-posts
Short Description Set the display order of WordPress Custom Post Types by drag and drop on the posts edit screen. Ordering is achieved by an index that is set when you drag and drop them in place.
License GPL-2.0+
Homepage http://example.com/
Please rate this library. Is it a good library?
Informations about the package wp-organise-posts
Organise Posts by Drag and Drop
Set the display order of Custom Post Types by drag and drop on the posts edit screen. Ordering is achieved by an index that is set when you drag and drop them in place.
Build Notes
A post meta value is used to order projects on project-category taxonomy archive pages.
It was tricky to create a modified loop that displayed:
- FIRST: projects with the relevant post meta key set, in the correct order as determined by the value
- SECOND: projects without the key
The key value pairing will be added after sorting, so it is important that all projects are shown, even if they don't have the key.
This simple query returns all posts with the key, by value order:
<?php
// query in old format
$query->set( 'meta_query', array(
'relation' => 'OR',
array( 'key' => $key, 'compare' => 'EXISTS' ),
array( 'key' => $key, 'compare' => 'NOT EXISTS' )
) );
$query->set( 'orderby', [ $key => 'ASC', 'date' => 'DESC' ] );
All versions of wp-organise-posts with dependencies
PHP Build Version
Package Version
The package carawebs/wp-organise-posts contains the following files
Loading the files please wait ....