Create post using JSON api plugin

I’ve worked on JSON API for a iPhone app development for a WordPress site to post photos but not using JSON API Plugin, But the basic procedure would be: As you need to be logged in to publish your post, the communication is going to be two way 1. Author writes a article as draft … Read more

Custom fields on a virtual page

If you use get_post_meta in the template, that calls get_metadata with meta type post, which contains the filter get_{$meta_type}_metadata, which in this case will be get_post_metadata. There you can check the key and return whatever data you want. function wpd_fake_meta( $meta_data, $object_id, $meta_key, $single ){ if( ‘somekey’ == $meta_key ){ return ‘somefakevalue’; } return null; … Read more