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

How to filter the taxonomy terms based on another taxonomy term

I did few tweaks on the earlier code, the first filter is working fine for now, I am little confused on the rest any suggestion sven ? can you help me to bring this effectively. <!– last edit started by dev –> <script type=”text/javascript”> function onchangedestination(str) { var xmlhttp; if (window.XMLHttpRequest) {// code for IE7+, … 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

How to migrate the posts from an old custom legacy blog to a new WordPress website?

Old unanswered question, but found this via the googles (1st answer) that appears to have good info / links (might be useful to someone): What is the required format for importing posts into WordPress? Plus this one from the Codex, which has info on importing from all sorts of formats, including RSS and XML. https://codex.wordpress.org/Importing_Content … Read more