Since you’re not currently running a multi-site install, you can either install the WP-REST-API plugin which is currently in beta, or you can wait for it to hit core which will probably be around version 4.3 or 4.4.
If you were on a multi-site install, you could have easily used the switch_to_blog()
function to switch between blog databases to query databases.
WP Rest API Docs : http://wp-api.org/
Evan
Related Posts:
- Woocommerce get category image full size
- Display the featured image from the last post
- Add Image Size for one Media Category Only
- Extract image url associated to a category
- Retrieve Image from Media Library by it’s category
- Show category images on single product page and product overview page
- Link Attachment Image to Category
- Change thumbnail image depending product category
- category image taxonomy
- get_post_meta not working on category.php
- Random Featured Image Based on Category
- Category images are not displaying in WordPress
- How do you use the featured image of the most recent post in a category as the background image
- Need to echo category id in multi-dimensional array
- Category view with contents of [gallery]s shown
- How to add image for all posts associated to specified category?
- How to display WooCommerce category image in my category page banner as a background?
- How to make product image inherit from category image
- How to display categories image in loop homepage WordPress
- Change background image page header overlay for each category
- Image Upload Custom Form Field for Category and Custom Taxonomy
- Icon images across multiple categories
- Media Categories as Classes on WordPress Gallery Shortcode
- How to relocate images
- Display one post on category.php: Wrong featured image
- Category page with gallery for each post
- Image menu showing categories in page
- Get all first images of posts in same category
- Add category image before post title on homepage
- how do i set an image for a category in admin panel
- How to link images of one WP site to another WP site?
- How to create a photo gallery that can be filtered by the image categories
- Images as Categories
- Retrieve Product category ‘NAME’ by product category ID – WooCommerce?
- Activate Gutenberg in category-descriptions
- How to show subcategories in categories else show posts
- How to remove the parentheses from the category widget
- Filter front page posts by category
- How to get the url to tag & category base set by the user?
- How to: 301 Redirect /category/ to /customname/
- Root level category, tag, author and archive pages to work
- Display one latest post from multiple categories
- Archive pagination causing 404 with permalinks structure
- Get a list of Terms for a specific category
- Get a variable from object in array [closed]
- Remove Archive Headline and Archive Intro Text fields on category and tag archive pages in WordPress Admin with Genesis framework
- How Do I Merge Categories With phpMyAdmin
- Edit the markup of categories list
- Show category children, one level
- a-z list, categories and sub categories in loop
- Category slug $_SERVER[‘REQUEST_URI’];
- wp_dropdown_categories and custom taxonomy + custom post type
- Random taxonomy category list
- Linking products to categories
- How to remove “Category : …”
- Show all posts for a specific category/author
- Resort get_categories
- How to call custom category field data in theme?
- Query Posts Exclude Entire Category
- One Specific Category To Permalink
- Hide woocommerce category name from specific pages
- WordPress category widget only show categories with children
- Woocommerce custom category page with pagination [closed]
- Menus don’t work after 4.4 [closed]
- Custom post and category template pagination problem
- How to list all categories in three divs dynamically based on the quatity of categories?
- Grouping categories by genre
- how to “not” display new posts with a specific category on the main page?
- Limit categories and it’s subcategories for specific group of users
- show all WordPress categories in a page
- Category specific order
- Problems with my conditionals in single.php by category
- Recent post by custom select query
- WP_safe_redirect not working
- Do not show sub categories in the loop on archive-product.php
- Having a template per category? Bad for server overhead?
- Change the background of each post according to the category
- Anchor tag generates blank href attribute using echo esc_url( )
- Get categories related to particular category
- Exclude the category of the current post
- Output Title of Post’s Current Category
- Related Post by category, but not current category child
- Excluding current category from sidebar’s post widget, elementor, query-id
- get list of category from a specific post with get_term()
- Show subChild categories
- Return all Tags and Categories in Separate List
- Featured Category or Special Category in WordPress
- List non-empty categories from a custom post type
- Creating a linkable category list with post count
- Remove base category gives 404 error
- Woocommerce product catalog, products with different description
- Querying posts from two different categories while looping inside another loop
- Loop doesn’t work
- Getting Post Tags From Certain Categories
- How to get posts from many categories using WP_Query
- Custom built theme won’t filter categories
- WP_query exclude a category unless it has more than one catagory
- Narrow Down a Shop Page Results Based on a Product Tag in WooCommerce
- How to control order when displaying child categories
- Trying to WP_Query a category