The tag has no usage guidance, but it has a tag wiki.

learn more… | top users | synonyms

0
votes
0answers
15 views

PHP > Scheduled Tasks > Sending daily email with dynamic API variables

I'm trying to write a PHP cron job that would call an API, return a set of numerical variables, calculate a second set of variables, and send an email to selected recipients with those variables ...
0
votes
0answers
23 views

How to get data from external api into wordprss post/page

how can i use an api into WordPress post i want to use the data from http://www.xmlsoccer.com/ its ip is on xml data also i want to add multyply apis on one single post if it is possible is there ...
0
votes
1answer
27 views

Best way to retrieve data in custom api extended from wp-api

I have extended WP API plugin to provide an API which can process documents. Routes public function register_routes($routes) { $documents_routes = array( '/v1/documents' => array( ...
0
votes
0answers
58 views

WP REST API returns post image URL with double backslashes

I'm trying to create a mobile application that use WordPress as a backend CMS, i was able to get the JSON output using WP REST API and reuse what i need from the output in my application, but i have a ...
0
votes
0answers
38 views

Create post with JSON API when not logged in

I have recently started working with WordPress & had my first task using JSON API. Now I know that after getting nonce from get_nonce method, I can create post but it is only possible if I am ...
0
votes
0answers
40 views

how to create new posts , edit_post , delete post and get articals from other site by using JSON API plugin in wordpress.?

I am developing an application to publish articles in Wordpress via JSON API, I need to take a picture with send the create new_post,edit_post and delete_post how can I do this with json api plugin in ...
2
votes
1answer
98 views

Add custom parameters to JSON API search query?

I am using JSON API plugin to query wordpress from a mobile app. Currently I have a theme on my wordpress site which works as a directory returning "near me" results when a search is made. This is ...
0
votes
1answer
43 views

JSON API - search by custom taxonomy

I am trying to get the posts base on some parameters. My JSON API query is as follow. http://www.example.com/api/get_posts/?post_type=job_listing&page=10&count=5/ Here is my JSON result for ...
0
votes
0answers
23 views

Output API response on admin_notices within user_register hook

I am using the hook user_register to execute a function that makes a couple of api calls to do extra stuff on a remote site when a user is created from my wordpress backend. The api returns a response ...
0
votes
1answer
29 views

wp_query - show pages that have parent defined

Can I achieve this with wp_query? I only want to get pages that have parent selected. I'm using JSON API plugin and need to make a http request - would this be possible with url wp query also? For ...
1
vote
0answers
26 views

Include related custom fields from one post type in another post type's JSON feed

I have a custom post type called Offers, and in this post type is a custom field called Store, which is a relationship field type to another custom post type Stores. This has been created using the ...
0
votes
1answer
65 views

Json api does not return all metadata

I am using this plugin https://wordpress.org/plugins/json-api/ to create a new entry is saved correctly in the database all the wp_postmeta customfield table, but when you run ...
2
votes
0answers
97 views

Updating Post Meta with Backbone and the REST API

I'm getting started with a project that is making use of Backbone and the WP REST API, but I"m having a little trouble. Using the built in API JS for models and collections allows me to pretty easily ...
0
votes
1answer
100 views

JSON API Plugin not showing Attachments id reused

First of all, I am talking about this plugin: https://wordpress.org/plugins/json-api/ So now regarding my problem: The plugin is working fine and without any problems. All attachments are showen for ...
3
votes
1answer
257 views

Show popular post in another php website via WP REST JSON API

I need to show popular & recent posts in another php web site under the same domain. example: domain.com -> main website (php, mysql) domain.com/blog -> wordpress blog Need to show popular, ...
0
votes
0answers
131 views

Wordpress JSON API - Prev Post / Next Post using Ajax

I am using Wordpress JSON API to pull data from posts and display it via ajax on a click event. I would like to an include a .next & .previous link which will rerun the ajax request replacing the ...
0
votes
1answer
202 views

WP JSON API meta_query not working

In the code example below I'm using the the post title (name) as the field to store the email address while the password is in a custom field. The following query will pull the correct user but it ...
1
vote
0answers
858 views

Wordpress wp-json API - Custom Post Type returns 403

I've been trying for a full day to get a really basic install of the WP-API to answer to a custom post type (in this case called 'transactions'). The post type is set up and fully public, and it's ...
1
vote
0answers
172 views

Can you use a WordPress permalink to get a post with the JSON API?

New to the WordPress JSON API (https://wordpress.org/plugins/json-rest-api/) and what I'm trying to do is get a post using it's permalink, not the id. So for instance, it would be ...
0
votes
0answers
97 views

Trying to use and understand JSON API and get_posts

Me and my friend are breaking our heads to implement something. We are trying to get the results similar to function get_posts from JSON API ...
1
vote
0answers
299 views

mod_rewrite doesn't work as I want even with JSON API Plugin disabled

I've been asked to upgrade the codebase of a Wordpress website, which exposes a small set of APIs using JSON API plugin. The Wordpress installation is not in the root, but in a secondary folder: ...
1
vote
1answer
635 views

Querying A Post That Includes Two Taxonomies Using JSON Rest API

I'm using the JSON Rest API plugin (https://wordpress.org/plugins/json-rest-api/). I have two custom taxonomies with one term each: Inner Part Categories Eye Symptoms Categories (Man) Broken Bone ...
0
votes
1answer
899 views

Getting Custom Fields from WordPress JSON API

I'm using the plugin (https://github.com/WP-API/WP-API) to get JSON Data from WordPress, but I'm stuck on something, I've a custom post type, events, with which many custom fields is attached to, such ...
1
vote
1answer
786 views

Get subcategories with JSON API plugin

How to get subcategories with JSON API wordpress plugin? I see how to get categories, but what is the way to get categories with subcategories at the same time? How should I modify the existing code? ...
-1
votes
1answer
382 views

WP API DELETE request from jquery ajax [closed]

I'm using the rest json API plugin http://wp-api.org/ to create a small application. I'm trying to delete a custom post entry with jquery ajax but something is missing, here is my code: ... //make ...
0
votes
1answer
53 views

Fetch CSS of posts

I am using JSON API plugin for fetching recent posts.Now I want to show them in my web as they are being displayed in wordpress.How can i get css of wordpress theme?
0
votes
1answer
195 views

Get JSON from self hosted wordpress site

I am very new to wordpress so this may seem basic. I have a NON-WordPress website in which I would like to consume various blogs (via category/tags etc etc) from my WordPress site. Currently I am ...
1
vote
2answers
259 views

Hook Into the_content Filter For JSON API Only

I'm trying to figure out a way to remove the shortcodes from my JSON output which I'm using the Wordpress JSON API for. I need to remove the shortcodes from the content before do_shortcode is applied ...
0
votes
0answers
124 views

JSON Feed on my wordpress Blog

I have just installed 2 plugins for JSON feed for my blog as I need to develop an Android Application for the same. Plugins used : 1.) http://wordpress.org/plugins/feed-json/ 2.) ...
1
vote
1answer
831 views

WP-API restfull JSON and post meta?

OK I'm using this plugin: https://github.com/WP-API/WP-API/ to turn my site into a rest full API and it's working great.. Then I'm using ths plugin to add custom post meta: ...
0
votes
0answers
200 views

how build custom json api controller for all registered users

i use the json api! from wordpress. And try to build an own json api controller, i want return all registered users with the following controller but thats not give an array with all users, ...
0
votes
1answer
422 views

Wordpress JSON API restrict to specific domain

I have installed and activated the Wordpress JSON API (http://wordpress.org/plugins/json-api) in my self hosted WP site. Now my site content is open to the world via this API in JSON format. But, I ...
0
votes
0answers
672 views

Plugin that uses AngularJS tutorial

I plan to make a plugin which should act as Backend for angularjs. And I search for a good tutorial for the implementation steps, but till now I did not found any good. Making some researches I found ...
0
votes
1answer
130 views

Search in particular category in wordpress

I am currently using the JSON API to get the data from wordpress http://wordpress.org/plugins/json-api/other_notes/ The plugin helps to retrieve the wordpress post data in JSON format I notice that ...
0
votes
0answers
282 views

wordpress plugin JSON API search within specific category

From the JSON API plugin doc I notice that I can get the post within some category http://abc.com/?json=get_category_posts&id=9 And I can also search the post ...
0
votes
0answers
279 views

How to add custom_fields value in JSON API using create_post

I want to add/update custom fields values using JSON API,anyone explain how we can specified custom_fields values in url for add or update.
1
vote
1answer
169 views

How do I “get the next 10 posts after post_id == x”?

I am building a mobile application that is pulling the json feed from a blog. I can easily query to get the latest 10 posts for example. But next, I want to be able to query the next 10. This presents ...
0
votes
1answer
64 views

Are all ID's used unique?

I'm using JSON api plugin to pull data from wordpress into an app I am making. I need a unique identifier to make sure I don't have any duplicates WHILE also using the identifier as a way to sort from ...
1
vote
1answer
3k views

Create post using JSON api plugin

I am working on a project where the user writes their content on one wordpress blog (as a draft) but wants it published on their own wordpress blogging site. This seems strange but it is the core ...
0
votes
1answer
153 views

Group posts by weekly or monthly

Is there an easy way to group all WordPress blog posts by Weekly or Monthly grouping. Ideally I do not want the posts to be displayed by grouping in Front Page but would like to add it as an element ...
0
votes
1answer
103 views

JSON API : Add a method called create_user to create a new user

First of all I would like to thank Dan Phiffer for providing such a wonderful plugin. I have installed the JSON API Plugin on my blog and it works and post perfectly. The problem that I need to add ...
1
vote
2answers
3k views

Create User using JSON API

I am using JSON API for get the post list from my App. I need to create user(Register new user) from App. May I know how to add new function to Wordpress JSON-API? Regards, Alex
1
vote
0answers
989 views

Why is json_decode failing?

I'm trying to determine if this is related to my having the latest version of PHP on my server while using the latest version of Wordpress. Or if I'm just doing it wrong: Here's my function that is ...
0
votes
0answers
476 views

How does the JSON API work to parse incoming JSON and fetch a post based on an ID?

So I have to interact with a large, seperate system on another server that is going to return, at the very least, post ids to my wordpress install in json format. And before others might ask why I'm ...
0
votes
0answers
392 views

Is there a way to force Featured image to show as attachement?

When adding an image as a featured image to a post - if the image is an existing image in the Media Library, then the image is not added as a true attachment but as a thumbnail, shown like this in ...
0
votes
1answer
667 views

JSON API not showing full content

I am trying to create a Windows Store App using IdeaPress, which relies on the JSON API Plugin. Unfortunately requesting recent_posts returns just content up to the <!--more--> tag. I'd ...
0
votes
1answer
116 views

uneven behaviour create a post in using json api with white spaces

$url = "http://192.168.201.214/wordpress/?json=posts/create_post&dev=1&nonce=".$_POST["nonace"]. ...
2
votes
3answers
3k views

Sorting results from JSON-API on custom fields

Is there any way, out of the box, to sort results from the JSON-API plugin based on values in custom fields? The request is paged, so the results will need to be sorted server-side. I have an http ...
-1
votes
1answer
116 views

More Fields WP Plugin

one of my clients use More Fields WP plugin and we want to generate a feed of the data entered using that plugin. http://wordpress.org/support/plugin/more-fields Have installed JSON WP plugin to ...
1
vote
1answer
1k views

How to replace or display the special characters from JSON API plugin [closed]

I started using the JSON API plugin. It works good ! But the problem i am facing is, If i enter any text containing special characters through CMS The output is not same as the given text. Why this is ...