As this is too much for a comment, I’ll post here and delete later:
http://example.org // domain
?json=get_recent_posts // controller
# Arguments for the query start here
&post_type=mytype
&custom_fields=myfield
&include=title,custom_fields
&meta_key=myfield
&meta_value=myvalue
Have you tried the following?
- Debug the response:
http://www.example.org/api/get_page_index/?dev=1 - Widget-style JSONP output:
http://www.example.org/api/get_recent_posts/?callback=show_posts_widget&read_more=More&count=3 - Redirect on error:
http://www.example.org/api/posts/create_post/?callback_error=http%3A%2F%2Fwww.example.org%2Fhelp.html
And could you post what you get out from the debug?
Related Posts:
- Query to sort a list by meta key first (if it exists), and show remaining posts without meta key ordered by title
- Max length of meta_value
- SELECT max(meta_value) FROM wp_postmeta WHERE meta_key=’price’… stops working when value is over 999
- How can I display all values of a custom field from posts with a certain value of another custom field or from certain post types?
- get_pages sort alphabetically by meta value
- Assign/update the custom field value for all posts
- Order by custom field date with ASC order
- How to break meta values into different items and avoid duplicates?
- WP_query : meta_key with custom rule for specific value
- How to sort category by custom field value
- trim custom field text value and show (…)
- Json api does not return all metadata
- Query post order by post and desc not working
- How to wrap meta values seperated by comma in ? [closed]
- How to create a Custom Meta Box with Name/Value Admin User Input Fields?
- Run a check for multiple meta key values
- Removing link ” from ” on meta_value in custom feilds
- Sort alphabetically by custom field
- Getting Custom Fields from WordPress JSON API [closed]
- pre_get_posts : only get posts by wp_usermeta value
- meta_value and meta_key filtering returning no posts [closed]
- IF Custom field value equals ZERO
- List custom field values in alphabetical order without repetition
- How to update a custom field in all posts with the value of another custom field in the same post?
- Update post meta custom field using block editor
- How to add custom filed value after in wp post title
- Sortable Custom Columns not sorting correct
- query_posts with meta_value
- Show array of meta_value in Edit Post Coloum
- Making WP_Query limit results by date before today where date is a meta_query
- User query – getting values for custom meta keys/fields
- get posts based on non-single metadata
- Set class if a meta value is set within post archive
- Query to sort a list by meta key first (if it exists), and show remaining posts without meta key ordered by title
- Create Shortcode shows only posts with custom_field meta
- 4 Unique Random Posts based on Custom Field Values
- How to add custom_fields value in JSON API using create_post
- Custom Field: Display only if a specific key is selected outside the loop
- WP Query Args – search by meta_key or title
- Saving multiple custom meta box fields
- get Custom field label (select/dropdown) on front end
- Can I count every article following extracted meta value?
- Best Practice for storing aggregate data by date or other criteria?
- Block Editor – Meta values not saved, meta changes to empty array on update
- Show Custom Fields in Quick Edit
- Validating Custom Meta Box Values & Required Fields
- SQL Query to copy value of a meta_key into another meta_key
- How can I make wp-pagenavi work on a custom query built upon a form submission? [closed]
- Custom field metabox not showing in back-end
- Extend WP Customizer to make multiple image selection possible
- Trying to perform complex custom field query with order by set to field value
- Automatic Refresh all posts at once
- Show posts on a Google Map
- Auto-add paragraphs to custom field?
- Leader board for game on homepage
- wp_handle_upload error “Specified file failed upload test” but still creates attachment?
- WordPress Custom Fields by category
- Display WP-Types custom fields in post [closed]
- how to fetch the meta field keys/meta boxes from a post type?
- Validate data on attachment_fields_to_save
- Read / Watch / Listen times – meta
- Login WP – Connect single field to an external api
- display custom field from inner blog in the main homepage of wordpress multisite
- Post selector as Custom Field
- Multiple URLS per post non-ascii
- Display Custom Meta Box Field Only If Value is Present
- Am I overusing custom fields (for adding nearly 5 images and their titles)?
- get_post_meta() retrieves meta from a specific post on pages, not the page currently viewed
- How to remove custom fields from the selector?
- What is the proper way to add a required field to a post type? [duplicate]
- How can I combine this php statement to get the results of multiple variable inputs?
- Looping inside block return
- Scripts and tags will not save or output from my custom meta box
- Is there a size limit to the value you can save in a custom field?
- Using WP Color Picker in Repeatable Fields
- Running wp_postmeta update query does not show the custom fields data in admin section
- How do I save Multiple fields in a meta box?
- How to load script conditionally on custom field in wp_postmeta?
- Output custom field value
- Showing Custom Fields on Parent Page
- Best way to achieve multiple links in a post title
- Custom Theme Fields in Settings Menu – apply filters to one of those fields?
- How to display data from custom fields I created?
- Get array of posts based on custom field values
- multiple meta_query and orderby question
- How to make menu country specific?
- Adding more fields to the registration form
- Is it possible in WordPress
- Related post thumbnail not showing up
- Edit different parts of a page seperately
- I want my post to republish again after adding a custom field
- Custom fields: dropdown values depending on other custom field value
- How do i get a specific user metadata using custom metavalue outside of wordpress?
- Creating an If/Else statement using WPAlchemy MetaBox radio boxs
- How to retrive Custom Fields as Values for a Form field
- Custom fields doesnt work well with any postTAB plugin
- Colecting values from custom field checkboxes and displaying them in the post
- Grouped Custom Meta Fields without plugin
- Conditional display based on ACF checkbox
- single data base field gets ignored in translation