mobile application - Wordpress api plugin V2 + post order -


i'm trying build mobile app using wordpress backend (see "wordpress hybrid client"), , use wp api v2 query posts category. crucial me control order of posts, i've installed several wp  plugins allow controll order of posts in site (eg 'simple poßt order'). while these posts work wondefully when browsing site, dont see way integrate them wp api v2 pluging - cant controll order of posts in application. know how it? i'm considering writing small plugin bridge these two. might take me long time since it's not field.

any suggestion or code snippet, no matther how obvious, welcomed. i'm noob wordpress.

i've ended solving issue myself - i've found 'post-order' pluging, intuitive-custom-post-order, modified support wp-api, , created pull-request. unknown reason, author not reply my-pull request.

the fix small modification, can done on 'post-order' plugin, believer:

add_action( 'init', array( $this, 'register_page_attributes' ) );  ...  function register_page_attributes() {     add_post_type_support( "post", "page-attributes" ); } 

Comments

Popular posts from this blog

java - Jasper subreport showing only one entry from the JSON data source when embedded in the Title band -

serialization - Convert Any type in scala to Array[Byte] and back -

SonarQube Plugin for Jenkins does not find SonarQube Scanner executable -