ਵੇਰਵਾ
You can use Simple Shortcode [wpapi-posts].
This shortcode can get many data from WP REST API(Version2).
Shortcode Example
Get 10 post from own Site
[wpapi-posts]
Get 5 Posts from http://example.com/ writing about ‘WP-API’
[wpapi-posts s="WP-API" url="http://example.com/" posts_per_page="5"]
Get 10 Pages from own Site
[wpapi-posts type="pages"]
Get 10 Thumbnail Images
[wpapi-posts type="media" size="thumbnail"]
ਸਥਾਪਤੀਕਰਨ
- Upload
wpapi-shortcodes-and-widgets
directory to the/wp-content/plugins/
directory - ਵਰਡਪ੍ਰੈਸ ‘ਚ ਵਾਧੇ ਨੂੰ ਕਿਰਿਆਸ਼ੀਲ ਕਰਨ ਲਈ ਸੂਚੀ ‘ਚੋਂ ‘ਵਾਧੇ’ ਚੁਣ ਕੇ ਕਰੋ।
ਅਕਸਰ ਪੁੱਛੇ ਜਾਂਦੇ ਸਵਾਲ
- What type can get WP-API ?
-
shortcodes can get ‘posts’,’pages’,’media’.
- Can I use WP REST API(Version1)?
-
Sorry, this plugin does not supported.
ਸਮੀਖਿਆਵਾਂ
There are no reviews for this plugin.
ਯੋਗਦਾਨੀ ਤੇ ਵਿਕਾਸਕਾਰ
“WP API Shortcodes” is open source software. The following people have contributed to this plugin.
ਯੋਗਦਾਨੀ“WP API Shortcodes” ਦਾ ਆਪਣੀ ਭਾਸ਼ਾ ਵਿੱਚ ਅਨੁਵਾਦ ਕਰੋ।
ਵਿਕਾਸ ਕਾਰਜ ਵਿੱਚ ਰੁਚੀ ਰੱਖਦੇ ਹੋ?
Browse the code, check out the SVN repository, or subscribe to the development log by RSS.
ਤਬਦੀਲੀ-ਚਿੱਠਾ
2.0
2016/01/05 Support WP REST API(Version2)
1.0
2015/03/18 released