2017 © Pedro Peláez
 

library wp-ajaxonomy

image

megumi/wp-ajaxonomy

  • Tuesday, September 29, 2015
  • by miya0001
  • Repository
  • 2 Watchers
  • 2 Stars
  • 20 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 14 Versions
  • 0 % Grown

The README.md

megumi/wp-ajaxonomy

Build Status Latest Stable Version Total Downloads Latest Unstable Version License, (*1)

Installation

Create a composer.json in your plugin root or mu-plugins, (*2)

{
    "require": {
        "megumi/wp-ajaxonomy": "*"
    }
}

Place the following code into your plugin., (*3)

require_once dirname( __FILE__ ) . '/vendor/autoload.php';

Then:, (*4)

$ composer install

How to use

Megumi\WP\Ajaxonomy has same parameters with register_taxonomy()., (*5)

<?php
/*
Plugin Name: My Music Library
Version: 0.1-alpha
Description: PLUGIN DESCRIPTION HERE
Author: YOUR NAME HERE
Author URI: YOUR SITE HERE
Plugin URI: PLUGIN SITE HERE
Text Domain: ajax-taxonomy
Domain Path: /languages
*/

require_once dirname( __FILE__ ) . '/vendor/autoload.php';

add_action( 'plugins_loaded', function(){
    $args = array(
        'label'            => 'Music',
    );
    $tax = new Megumi\WP\Ajaxonomy( 'music', 'post', $args );
    $tax->set_order = 'ASC';
    $tax->set_order = 'slug'; // Default is `slug`
    $tax->register();
} );

Then:, (*6)

Post Screen, (*7)

Taxonomy Screen, (*8)

The Versions

29/09 2015

dev-stable

dev-stable

  Sources   Download

GPL2

The Requires

  • php >=5.3

 

29/09 2015

1.1.0

1.1.0.0

  Sources   Download

GPL2

The Requires

  • php >=5.3

 

29/09 2015

dev-master

9999999-dev

  Sources   Download

GPL2

The Requires

  • php >=5.3

 

28/09 2015

1.0.0

1.0.0.0

  Sources   Download

GPL2

The Requires

  • php >=5.3

 

27/09 2015

0.9.0

0.9.0.0

  Sources   Download

GPL2

The Requires

  • php >=5.3

 

26/09 2015

0.8.0

0.8.0.0

  Sources   Download

GPL2

The Requires

  • php >=5.3

 

24/09 2015

0.7.0

0.7.0.0

  Sources   Download

GPL2

The Requires

  • php >=5.3

 

23/09 2015

0.6.1

0.6.1.0

  Sources   Download

GPL2

The Requires

  • php >=5.3

 

23/09 2015

0.6.0

0.6.0.0

  Sources   Download

GPL2

The Requires

  • php >=5.3

 

22/09 2015

0.5.0

0.5.0.0

  Sources   Download

GPL2

The Requires

  • php >=5.3

 

22/09 2015

0.4.0

0.4.0.0

  Sources   Download

GPL2

The Requires

  • php >=5.3

 

22/09 2015

0.3.0

0.3.0.0

  Sources   Download

GPL2

The Requires

  • php >=5.3

 

22/09 2015

0.2.0

0.2.0.0

  Sources   Download

GPL2

The Requires

  • php >=5.3

 

22/09 2015

0.1.0

0.1.0.0

  Sources   Download

GPL2

The Requires

  • php >=5.3