Beskrivelse
Get remote posts list
This wordpress plugin to Get Recent Posts from Remote Wp site using Rest api
This plugin create a widget “Get Posts from Api” after installation.
You need to add widget to your sidebar where you want to display the remote sites recent posts list.
This widget accepts two parameter, Json URL and post limit(number of posts to display).
Json url should look like http://yoursite.com/wp-json/wp/v2/posts/
You can limit the number of posts you want to retrive from remote site by setting post limit.
Installation
This section describes how to install the plugin and get it working.
e.g.
- Upload the plugin files to the
/wp-content/plugins/get-remote-post-listdirectory, or install the plugin through the WordPress plugins screen directly. - Activate the plugin through the ‘Plugins’ screen in WordPress
- Use the Settings->Plugin Name screen to configure the plugin
FAQ
- How to get json api url?
-
If the remote site is wordpress site and having rest api enabled for it, you can obtain the json urls by using the http://xxx.com/wp-json/wp/v2/posts/
Note: replace “xxx” with site domain
Anmeldelser
Bidragsydere & udviklere
“Get remote posts list” er open source-software. Følgende personer har bidraget til dette plugin.
BidragsydereOversæt “Get remote posts list” til dit eget sprog.
Interesseret i udvikling?
Gennemse koden, tjek SVN repository, eller abonner på udviklerloggen via RSS.
Ændringslog
1.0
- Adding first version of my plugin

