Title: WP Simple Web Services
Author: Barry Kooij
Published: <strong>3 Tháng 12, 2013</strong>
Last modified: 10 Tháng 12, 2013

---

Tìm kiếm plugin

Plugin này **chưa được cập nhật với 3 phiên bản mới nhất của WordPress**. Nó có 
thể không được hỗ trợ và bảo trì, và có thể xung đột với các phiên bản WordPress
mới nhất.

![](https://s.w.org/plugins/geopattern-icon/wp-simple-web-services.svg)

# WP Simple Web Services

 Bởi [Barry Kooij](https://profiles.wordpress.org/barrykooij/)

[Tải về](https://downloads.wordpress.org/plugin/wp-simple-web-services.1.1.0.zip)

 * [Chi tiết](https://vi.wordpress.org/plugins/wp-simple-web-services/#description)
 * [Đánh giá](https://vi.wordpress.org/plugins/wp-simple-web-services/#reviews)
 *  [Cài đặt](https://vi.wordpress.org/plugins/wp-simple-web-services/#installation)
 * [Nhà phát triển](https://vi.wordpress.org/plugins/wp-simple-web-services/#developers)

 [Hỗ trợ](https://wordpress.org/support/plugin/wp-simple-web-services/)

## Mô tả

Simple WordPress Rest Web Services. Add JSON REST web services to your WordPress
website with a few clicks.

Please report issues and bugs at [Git Hub](https://github.com/barrykooij/wp-simple-web-services/issues).

## Cài đặt

 1. Upload `wp-simple-web-services` to the `/wp-content/plugins/` directory
 2. Activate the plugin through the ‘Plugins’ menu in WordPress

## Hỏi đáp

  Why do I get a 404 error when I try to call the web service URL?

For WP Simple Web Service to work you have to have your permalinks structure set
to /%postname%/, also make sure you .htaccess file is writable.

  What kind of web service call does this plugin provide?

At this moment the WP Simple Web Service plugin only provides REST JSON GET calls
out of the box.

  Does WP Simple Web Service support custom post types?

Yes, it does.

  Does WP Simple Web Service supports (custom) meta fields?

Yes, it does.

  Can I modify the output of the ‘get_posts’ web service?

Yes, you can. WP Simple Web Service accepts all query vars you can pass to WP_Query,
you can add them to the web service request by adding them in the qv GET variable.
For example, limiting the result set to 10 results can be done by adding `&qv[posts_per_page]
=10` to the request URL.

  I am a developer, can I add my own web service calls to WP Simple Web Service ?

Yes, you can. Simply add an action to wpsws_webservice_YOUR-WEB-SERVICE and replace‘
YOUR-WEB-SERVICE’ with your own web service name. This webservice will now be called
when you visit URL/webservice/YOUR-WEB-SERVICE/

  Can I also add my own settings to the WP Simple Web Service settings screen ?

Of course! Simply hook into ‘wpsws_general_settings’ and display your custom settings.

## Đánh giá

Không có đánh giá nào cho plugin này.

## Người đóng góp & Lập trình viên

“WP Simple Web Services” là mã nguồn mở. Những người sau đã đóng góp vào plugin 
này.

Những người đóng góp

 *   [ Barry Kooij ](https://profiles.wordpress.org/barrykooij/)

[Dịch “WP Simple Web Services” sang ngôn ngữ của bạn.](https://translate.wordpress.org/projects/wp-plugins/wp-simple-web-services)

### Muốn tham gia phát triển?

[Duyệt code](https://plugins.trac.wordpress.org/browser/wp-simple-web-services/),
check out [SVN repository](https://plugins.svn.wordpress.org/wp-simple-web-services/),
hoặc theo dõi [nhật ký phát triển](https://plugins.trac.wordpress.org/log/wp-simple-web-services/)
qua [RSS](https://plugins.trac.wordpress.org/log/wp-simple-web-services/?limit=100&mode=stop_on_copy&format=rss).

## Nhật ký thay đổi

#### 1.1.0

 * Added default WP_Query argument support to get_posts web service
 * Removed JS console log

#### 1.0.1

 * Added an install function that flushed rewrite rules
 * Changed the way the plugin is loaded, removed anonymous function

#### 1.0.0

 * Initial release

## Meta

 *  Phiên bản **1.1.0**
 *  Cập nhật lần cuối **13 năm trước**
 *  Số lượt cài đặt **20+**
 *  Phiên bản WordPress ** 3.1 hoặc cao hơn **
 *  Đã kiểm tra lên đến **3.7.41**
 *  Ngôn ngữ
 * [English (US)](https://wordpress.org/plugins/wp-simple-web-services/)
 * Thẻ
 * [JSON](https://vi.wordpress.org/plugins/tags/json/)[rest](https://vi.wordpress.org/plugins/tags/rest/)
   [Web Service](https://vi.wordpress.org/plugins/tags/web-service/)[webservice](https://vi.wordpress.org/plugins/tags/webservice/)
 *  [Nâng cao](https://vi.wordpress.org/plugins/wp-simple-web-services/advanced/)

## Đánh giá

 5 trên 5 sao.

 *  [  1 5-star review     ](https://wordpress.org/support/plugin/wp-simple-web-services/reviews/?filter=5)
 *  [  0 4-star reviews     ](https://wordpress.org/support/plugin/wp-simple-web-services/reviews/?filter=4)
 *  [  0 3-star reviews     ](https://wordpress.org/support/plugin/wp-simple-web-services/reviews/?filter=3)
 *  [  0 2-star reviews     ](https://wordpress.org/support/plugin/wp-simple-web-services/reviews/?filter=2)
 *  [  0 1-star reviews     ](https://wordpress.org/support/plugin/wp-simple-web-services/reviews/?filter=1)

[Your review](https://wordpress.org/support/plugin/wp-simple-web-services/reviews/#new-post)

[Xem tất cả đánh giá](https://wordpress.org/support/plugin/wp-simple-web-services/reviews/)

## Những người đóng góp

 *   [ Barry Kooij ](https://profiles.wordpress.org/barrykooij/)

## Hỗ trợ

Có điều gì muốn nói? cần giúp đỡ?

 [Xem diễn đàn hỗ trợ](https://wordpress.org/support/plugin/wp-simple-web-services/)

## Ủng hộ

Bạn có muốn hỗ trợ vào sự phát triển của plugin này?

 [ Ủng hộ plugin này ](https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=Q7QDZTLCRKSMG)